kamelcase 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.rspec +1 -0
- data/.semver +5 -0
- data/Gemfile +18 -0
- data/Gemfile.lock +121 -0
- data/LICENSE.txt +20 -0
- data/README.org +44 -0
- data/Rakefile +51 -0
- data/kamelcase.gemspec +86 -0
- data/lib/kamelcase.rb +21 -0
- metadata +239 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a4f034cc7bda12c1cd8ced2b678fd640f5c2237a
|
4
|
+
data.tar.gz: abf59bb16f6dcbb4c92250cdbed0e2f87a54e87a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: af62f6454d00139c176a9ebf8282bcae150ad001055399754b50ead0f8d16840f7bf52d91df28a54310559ae19f376f45b8204a510771ecf887c15511ef95ed3
|
7
|
+
data.tar.gz: e97485b436f6821d5893995674cd0589e0e2355f69fb3f39fa1f917f8ad19c804865e5c76bc0bdc3bce8dd9f926d622939b390e3c7ce541481650c933b4d1b8f
|
data/.document
ADDED
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/.semver
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gem "semver2", "~> 3"
|
4
|
+
|
5
|
+
group :development do
|
6
|
+
gem "rspec", "~> 3"
|
7
|
+
gem "yard", "~> 0"
|
8
|
+
gem "rdoc", "~> 3"
|
9
|
+
gem "bundler", "~> 1"
|
10
|
+
gem "juwelier", "~> 2"
|
11
|
+
gem "simplecov", ">= 0"
|
12
|
+
gem "pry", "~> 0"
|
13
|
+
gem "pry-byebug", "~> 3"
|
14
|
+
gem "pry-doc", "~> 0"
|
15
|
+
gem "pry-remote", "~> 0"
|
16
|
+
gem "pry-rescue", "~> 1"
|
17
|
+
gem "pry-stack_explorer", "~> 0"
|
18
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
addressable (2.4.0)
|
5
|
+
binding_of_caller (0.7.2)
|
6
|
+
debug_inspector (>= 0.0.1)
|
7
|
+
builder (3.2.3)
|
8
|
+
byebug (9.0.6)
|
9
|
+
coderay (1.1.1)
|
10
|
+
debug_inspector (0.0.3)
|
11
|
+
descendants_tracker (0.0.4)
|
12
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
13
|
+
diff-lcs (1.3)
|
14
|
+
docile (1.1.5)
|
15
|
+
faraday (0.9.2)
|
16
|
+
multipart-post (>= 1.2, < 3)
|
17
|
+
git (1.3.0)
|
18
|
+
github_api (0.17.0)
|
19
|
+
addressable (~> 2.4.0)
|
20
|
+
descendants_tracker (~> 0.0.4)
|
21
|
+
faraday (~> 0.8, < 0.10)
|
22
|
+
hashie (>= 3.4)
|
23
|
+
mime-types (>= 1.16, < 3.0)
|
24
|
+
oauth2 (~> 1.0)
|
25
|
+
hashie (3.5.5)
|
26
|
+
highline (1.7.8)
|
27
|
+
interception (0.5)
|
28
|
+
json (1.8.6)
|
29
|
+
juwelier (2.4.0)
|
30
|
+
builder
|
31
|
+
bundler (>= 1.13)
|
32
|
+
git (>= 1.2.5)
|
33
|
+
github_api
|
34
|
+
highline (>= 1.6.15)
|
35
|
+
nokogiri (>= 1.5.10)
|
36
|
+
psych (~> 2.2)
|
37
|
+
rake
|
38
|
+
rdoc
|
39
|
+
semver2
|
40
|
+
jwt (1.5.6)
|
41
|
+
method_source (0.8.2)
|
42
|
+
mime-types (2.99.3)
|
43
|
+
mini_portile2 (2.1.0)
|
44
|
+
multi_json (1.12.1)
|
45
|
+
multi_xml (0.6.0)
|
46
|
+
multipart-post (2.0.0)
|
47
|
+
nokogiri (1.7.1)
|
48
|
+
mini_portile2 (~> 2.1.0)
|
49
|
+
oauth2 (1.3.1)
|
50
|
+
faraday (>= 0.8, < 0.12)
|
51
|
+
jwt (~> 1.0)
|
52
|
+
multi_json (~> 1.3)
|
53
|
+
multi_xml (~> 0.5)
|
54
|
+
rack (>= 1.2, < 3)
|
55
|
+
pry (0.10.4)
|
56
|
+
coderay (~> 1.1.0)
|
57
|
+
method_source (~> 0.8.1)
|
58
|
+
slop (~> 3.4)
|
59
|
+
pry-byebug (3.4.2)
|
60
|
+
byebug (~> 9.0)
|
61
|
+
pry (~> 0.10)
|
62
|
+
pry-doc (0.10.0)
|
63
|
+
pry (~> 0.9)
|
64
|
+
yard (~> 0.9)
|
65
|
+
pry-remote (0.1.8)
|
66
|
+
pry (~> 0.9)
|
67
|
+
slop (~> 3.0)
|
68
|
+
pry-rescue (1.4.5)
|
69
|
+
interception (>= 0.5)
|
70
|
+
pry
|
71
|
+
pry-stack_explorer (0.4.9.2)
|
72
|
+
binding_of_caller (>= 0.7)
|
73
|
+
pry (>= 0.9.11)
|
74
|
+
psych (2.2.4)
|
75
|
+
rack (2.0.2)
|
76
|
+
rake (12.0.0)
|
77
|
+
rdoc (3.12.2)
|
78
|
+
json (~> 1.4)
|
79
|
+
rspec (3.6.0)
|
80
|
+
rspec-core (~> 3.6.0)
|
81
|
+
rspec-expectations (~> 3.6.0)
|
82
|
+
rspec-mocks (~> 3.6.0)
|
83
|
+
rspec-core (3.6.0)
|
84
|
+
rspec-support (~> 3.6.0)
|
85
|
+
rspec-expectations (3.6.0)
|
86
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
87
|
+
rspec-support (~> 3.6.0)
|
88
|
+
rspec-mocks (3.6.0)
|
89
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
90
|
+
rspec-support (~> 3.6.0)
|
91
|
+
rspec-support (3.6.0)
|
92
|
+
semver2 (3.4.2)
|
93
|
+
simplecov (0.14.1)
|
94
|
+
docile (~> 1.1.0)
|
95
|
+
json (>= 1.8, < 3)
|
96
|
+
simplecov-html (~> 0.10.0)
|
97
|
+
simplecov-html (0.10.0)
|
98
|
+
slop (3.6.0)
|
99
|
+
thread_safe (0.3.6)
|
100
|
+
yard (0.9.9)
|
101
|
+
|
102
|
+
PLATFORMS
|
103
|
+
ruby
|
104
|
+
|
105
|
+
DEPENDENCIES
|
106
|
+
bundler (~> 1)
|
107
|
+
juwelier (~> 2)
|
108
|
+
pry (~> 0)
|
109
|
+
pry-byebug (~> 3)
|
110
|
+
pry-doc (~> 0)
|
111
|
+
pry-remote (~> 0)
|
112
|
+
pry-rescue (~> 1)
|
113
|
+
pry-stack_explorer (~> 0)
|
114
|
+
rdoc (~> 3)
|
115
|
+
rspec (~> 3)
|
116
|
+
semver2 (~> 3)
|
117
|
+
simplecov
|
118
|
+
yard (~> 0)
|
119
|
+
|
120
|
+
BUNDLED WITH
|
121
|
+
1.14.6
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2017 Fred Mitchell
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.org
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
* kamelcase
|
2
|
+
|
3
|
+
This is a -- yet another -- super-simple monkeypatch of the
|
4
|
+
String class to offer both camelCase and snake_case.
|
5
|
+
|
6
|
+
** Installing
|
7
|
+
|
8
|
+
From the command-line:
|
9
|
+
#+begin_src bash
|
10
|
+
gem install kamelcase
|
11
|
+
#+end_src
|
12
|
+
|
13
|
+
From your gemfile:
|
14
|
+
#+begin_src ruby
|
15
|
+
gem 'kamelcase', '~> 0'
|
16
|
+
#+end_src
|
17
|
+
|
18
|
+
** Usage and Examples
|
19
|
+
#+begin_src ruby
|
20
|
+
require 'kamelcase'
|
21
|
+
s = 'little green men'
|
22
|
+
|
23
|
+
puts s.camel # LittleGreenMen
|
24
|
+
puts s.camel_lower # littleGreenMen
|
25
|
+
puts s.snake # little_green_men
|
26
|
+
puts s.camel.snake # little_green_men
|
27
|
+
puts s.snake.camel # LittleGreenMen
|
28
|
+
puts s.snake.camel_lower # littleGreenMen
|
29
|
+
#+end_src
|
30
|
+
|
31
|
+
** Contributing to kamelcase
|
32
|
+
|
33
|
+
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
|
34
|
+
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
|
35
|
+
- Fork the project.
|
36
|
+
- Start a feature/bugfix branch.
|
37
|
+
- Commit and push until you are happy with your contribution.
|
38
|
+
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
39
|
+
- Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
40
|
+
|
41
|
+
** Copyright
|
42
|
+
|
43
|
+
Copyright (c) 2017 Fred Mitchell. See LICENSE.txt for
|
44
|
+
further details.
|
data/Rakefile
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'bundler'
|
5
|
+
begin
|
6
|
+
Bundler.setup(:default, :development)
|
7
|
+
rescue Bundler::BundlerError => e
|
8
|
+
$stderr.puts e.message
|
9
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
10
|
+
exit e.status_code
|
11
|
+
end
|
12
|
+
require 'rake'
|
13
|
+
|
14
|
+
require 'semver'
|
15
|
+
|
16
|
+
def s_version
|
17
|
+
SemVer.find.format "%M.%m.%p%s"
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'juwelier'
|
21
|
+
Juwelier::Tasks.new do |gem|
|
22
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
23
|
+
gem.name = "kamelcase"
|
24
|
+
gem.homepage = "http://github.com/flajann2/kamelcase"
|
25
|
+
gem.license = "MIT"
|
26
|
+
gem.summary = %Q{Supersimple monkeypatch of the String class to add camelCase}
|
27
|
+
gem.description = %Q{This is a -- yet another -- super-simple monkeypatch of the
|
28
|
+
String class to offer both camelCase and snake_case.}
|
29
|
+
gem.email = "fred.mitchell@gmx.de"
|
30
|
+
gem.authors = ["Fred Mitchell"]
|
31
|
+
gem.version = s_version
|
32
|
+
|
33
|
+
# dependencies defined in Gemfile
|
34
|
+
end
|
35
|
+
Juwelier::RubygemsDotOrgTasks.new
|
36
|
+
require 'rspec/core'
|
37
|
+
require 'rspec/core/rake_task'
|
38
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
39
|
+
spec.pattern = FileList['spec/**/*_spec.rb']
|
40
|
+
end
|
41
|
+
|
42
|
+
desc "Code coverage detail"
|
43
|
+
task :simplecov do
|
44
|
+
ENV['COVERAGE'] = "true"
|
45
|
+
Rake::Task['spec'].execute
|
46
|
+
end
|
47
|
+
|
48
|
+
task :default => :spec
|
49
|
+
|
50
|
+
require 'yard'
|
51
|
+
YARD::Rake::YardocTask.new
|
data/kamelcase.gemspec
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# Generated by juwelier
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: kamelcase 0.0.0 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "kamelcase".freeze
|
9
|
+
s.version = "0.0.0"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Fred Mitchell".freeze]
|
14
|
+
s.date = "2017-05-09"
|
15
|
+
s.description = "This is a -- yet another -- super-simple monkeypatch of the\n String class to offer both camelCase and snake_case.".freeze
|
16
|
+
s.email = "fred.mitchell@gmx.de".freeze
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE.txt",
|
19
|
+
"README.org"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".rspec",
|
24
|
+
".semver",
|
25
|
+
"Gemfile",
|
26
|
+
"Gemfile.lock",
|
27
|
+
"LICENSE.txt",
|
28
|
+
"README.org",
|
29
|
+
"Rakefile",
|
30
|
+
"kamelcase.gemspec",
|
31
|
+
"lib/kamelcase.rb"
|
32
|
+
]
|
33
|
+
s.homepage = "http://github.com/flajann2/kamelcase".freeze
|
34
|
+
s.licenses = ["MIT".freeze]
|
35
|
+
s.rubygems_version = "2.6.11".freeze
|
36
|
+
s.summary = "Supersimple monkeypatch of the String class to add camelCase".freeze
|
37
|
+
|
38
|
+
if s.respond_to? :specification_version then
|
39
|
+
s.specification_version = 4
|
40
|
+
|
41
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
|
+
s.add_runtime_dependency(%q<semver2>.freeze, ["~> 3"])
|
43
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3"])
|
44
|
+
s.add_development_dependency(%q<yard>.freeze, ["~> 0"])
|
45
|
+
s.add_development_dependency(%q<rdoc>.freeze, ["~> 3"])
|
46
|
+
s.add_development_dependency(%q<bundler>.freeze, ["~> 1"])
|
47
|
+
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2"])
|
48
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<pry>.freeze, ["~> 0"])
|
50
|
+
s.add_development_dependency(%q<pry-byebug>.freeze, ["~> 3"])
|
51
|
+
s.add_development_dependency(%q<pry-doc>.freeze, ["~> 0"])
|
52
|
+
s.add_development_dependency(%q<pry-remote>.freeze, ["~> 0"])
|
53
|
+
s.add_development_dependency(%q<pry-rescue>.freeze, ["~> 1"])
|
54
|
+
s.add_development_dependency(%q<pry-stack_explorer>.freeze, ["~> 0"])
|
55
|
+
else
|
56
|
+
s.add_dependency(%q<semver2>.freeze, ["~> 3"])
|
57
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3"])
|
58
|
+
s.add_dependency(%q<yard>.freeze, ["~> 0"])
|
59
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 3"])
|
60
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 1"])
|
61
|
+
s.add_dependency(%q<juwelier>.freeze, ["~> 2"])
|
62
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
63
|
+
s.add_dependency(%q<pry>.freeze, ["~> 0"])
|
64
|
+
s.add_dependency(%q<pry-byebug>.freeze, ["~> 3"])
|
65
|
+
s.add_dependency(%q<pry-doc>.freeze, ["~> 0"])
|
66
|
+
s.add_dependency(%q<pry-remote>.freeze, ["~> 0"])
|
67
|
+
s.add_dependency(%q<pry-rescue>.freeze, ["~> 1"])
|
68
|
+
s.add_dependency(%q<pry-stack_explorer>.freeze, ["~> 0"])
|
69
|
+
end
|
70
|
+
else
|
71
|
+
s.add_dependency(%q<semver2>.freeze, ["~> 3"])
|
72
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3"])
|
73
|
+
s.add_dependency(%q<yard>.freeze, ["~> 0"])
|
74
|
+
s.add_dependency(%q<rdoc>.freeze, ["~> 3"])
|
75
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 1"])
|
76
|
+
s.add_dependency(%q<juwelier>.freeze, ["~> 2"])
|
77
|
+
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
78
|
+
s.add_dependency(%q<pry>.freeze, ["~> 0"])
|
79
|
+
s.add_dependency(%q<pry-byebug>.freeze, ["~> 3"])
|
80
|
+
s.add_dependency(%q<pry-doc>.freeze, ["~> 0"])
|
81
|
+
s.add_dependency(%q<pry-remote>.freeze, ["~> 0"])
|
82
|
+
s.add_dependency(%q<pry-rescue>.freeze, ["~> 1"])
|
83
|
+
s.add_dependency(%q<pry-stack_explorer>.freeze, ["~> 0"])
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
data/lib/kamelcase.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
class String
|
2
|
+
def camel
|
3
|
+
return self if self !~ /_| / && self =~ /[A-Z]+.*/
|
4
|
+
split(/_| /).map{|e| e.capitalize}.join
|
5
|
+
end
|
6
|
+
|
7
|
+
def camel_lower
|
8
|
+
self.split(/_| /).inject([]){ |buffer, e|
|
9
|
+
buffer.push(buffer.empty? ? e : e.capitalize)
|
10
|
+
}.join
|
11
|
+
end
|
12
|
+
|
13
|
+
def snake
|
14
|
+
self.gsub(/::/, '/').
|
15
|
+
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
|
16
|
+
gsub(/([a-z\d])([A-Z])/,'\1_\2').
|
17
|
+
tr("-", "_").
|
18
|
+
tr(' ', '_').
|
19
|
+
downcase
|
20
|
+
end
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,239 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kamelcase
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Fred Mitchell
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: semver2
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: yard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rdoc
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: juwelier
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: pry
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry-byebug
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '3'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '3'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry-doc
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry-remote
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: pry-rescue
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '1'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '1'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: pry-stack_explorer
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
description: |-
|
196
|
+
This is a -- yet another -- super-simple monkeypatch of the
|
197
|
+
String class to offer both camelCase and snake_case.
|
198
|
+
email: fred.mitchell@gmx.de
|
199
|
+
executables: []
|
200
|
+
extensions: []
|
201
|
+
extra_rdoc_files:
|
202
|
+
- LICENSE.txt
|
203
|
+
- README.org
|
204
|
+
files:
|
205
|
+
- ".document"
|
206
|
+
- ".rspec"
|
207
|
+
- ".semver"
|
208
|
+
- Gemfile
|
209
|
+
- Gemfile.lock
|
210
|
+
- LICENSE.txt
|
211
|
+
- README.org
|
212
|
+
- Rakefile
|
213
|
+
- kamelcase.gemspec
|
214
|
+
- lib/kamelcase.rb
|
215
|
+
homepage: http://github.com/flajann2/kamelcase
|
216
|
+
licenses:
|
217
|
+
- MIT
|
218
|
+
metadata: {}
|
219
|
+
post_install_message:
|
220
|
+
rdoc_options: []
|
221
|
+
require_paths:
|
222
|
+
- lib
|
223
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - ">="
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '0'
|
228
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
229
|
+
requirements:
|
230
|
+
- - ">="
|
231
|
+
- !ruby/object:Gem::Version
|
232
|
+
version: '0'
|
233
|
+
requirements: []
|
234
|
+
rubyforge_project:
|
235
|
+
rubygems_version: 2.6.11
|
236
|
+
signing_key:
|
237
|
+
specification_version: 4
|
238
|
+
summary: Supersimple monkeypatch of the String class to add camelCase
|
239
|
+
test_files: []
|