Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated actuator removed #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/casing/camel/array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def self.call(val, include_values: nil, symbol_to_string: nil)
Casing::Camel.(v, include_values: include_values, symbol_to_string: symbol_to_string)
end
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
1 change: 0 additions & 1 deletion lib/casing/camel/hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ def self.call(val, include_values: nil, symbol_to_string: nil)

::Hash[val.map { |k, v| [Casing::Camel.(k, include_values: true, symbol_to_string: symbol_to_string), Casing::Camel.(v, include_values: include_values, symbol_to_string: symbol_to_string)] }]
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
1 change: 0 additions & 1 deletion lib/casing/camel/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def self.call(val, include_values: nil, symbol_to_string: nil)

converted
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
5 changes: 0 additions & 5 deletions lib/casing/casing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ def call(val, include_values: nil, symbol_to_string: nil)
end
end

# TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
def !(val, include_values: nil, symbol_to_string: nil)
call(val, include_values: include_values, symbol_to_string: symbol_to_string)
end

def case?(val, include_values: nil, symbol_to_string: nil)
include_values ||= false
symbol_to_string ||= false
Expand Down
1 change: 0 additions & 1 deletion lib/casing/pascal/array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class Array
def self.call(*)
raise Casing::Error, "Array cannot be converted to pascal case"
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
1 change: 0 additions & 1 deletion lib/casing/pascal/hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class Hash
def self.call(*)
raise Casing::Error, "Hash cannot be converted to pascal case"
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
1 change: 0 additions & 1 deletion lib/casing/pascal/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def self.call(val, include_values: nil, symbol_to_string: nil)

converted
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
1 change: 0 additions & 1 deletion lib/casing/underscore/array.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def self.call(val, include_values: nil, symbol_to_string: nil)
Casing::Underscore.(v, include_values: include_values, symbol_to_string: symbol_to_string)
end
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
1 change: 0 additions & 1 deletion lib/casing/underscore/hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ def self.call(val, include_values: nil, symbol_to_string: nil)

::Hash[val.map { |k, v| [Casing::Underscore.(k, include_values: true, symbol_to_string: symbol_to_string), Casing::Underscore.(v, include_values: include_values, symbol_to_string: symbol_to_string)] }]
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end
1 change: 0 additions & 1 deletion lib/casing/underscore/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def self.call(val, include_values: nil, symbol_to_string: nil)

converted
end
class << self; alias :! :call; end # TODO: Remove deprecated actuator [Kelsey, Thu Oct 08 2015]
end
end
end