camel_snake_keys 0.0.6 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +79 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +13 -1173
- data/.ruby-version +1 -1
- data/CHANGELOG.md +27 -6
- data/Gemfile +9 -2
- data/README.md +2 -16
- data/Rakefile +2 -1
- data/camel_snake.gemspec +19 -15
- data/lib/camel_snake_keys.rb +49 -35
- data/lib/version.rb +4 -1
- data/spec/lib/camel_snake_keys_spec.rb +126 -49
- metadata +48 -21
- data/.travis.yml +0 -37
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camel_snake_keys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Buermann
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -25,33 +25,61 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: brakeman
|
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: byebug
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
44
72
|
requirements:
|
45
|
-
- - "
|
73
|
+
- - ">="
|
46
74
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
75
|
+
version: '0'
|
48
76
|
type: :development
|
49
77
|
prerelease: false
|
50
78
|
version_requirements: !ruby/object:Gem::Requirement
|
51
79
|
requirements:
|
52
|
-
- - "
|
80
|
+
- - ">="
|
53
81
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
82
|
+
version: '0'
|
55
83
|
description: ''
|
56
84
|
email:
|
57
85
|
- buermann@gmail.com
|
@@ -60,10 +88,10 @@ extensions: []
|
|
60
88
|
extra_rdoc_files: []
|
61
89
|
files:
|
62
90
|
- ".coveralls.yml"
|
91
|
+
- ".github/workflows/main.yml"
|
63
92
|
- ".gitignore"
|
64
93
|
- ".rubocop.yml"
|
65
94
|
- ".ruby-version"
|
66
|
-
- ".travis.yml"
|
67
95
|
- CHANGELOG.md
|
68
96
|
- Gemfile
|
69
97
|
- README.md
|
@@ -76,26 +104,25 @@ files:
|
|
76
104
|
homepage: https://github.com/buermann/camel_snake_keys
|
77
105
|
licenses:
|
78
106
|
- MIT
|
79
|
-
metadata:
|
80
|
-
|
107
|
+
metadata:
|
108
|
+
rubygems_mfa_required: 'true'
|
109
|
+
post_install_message:
|
81
110
|
rdoc_options: []
|
82
111
|
require_paths:
|
83
112
|
- lib
|
84
113
|
required_ruby_version: !ruby/object:Gem::Requirement
|
85
114
|
requirements:
|
86
|
-
- - "
|
115
|
+
- - ">"
|
87
116
|
- !ruby/object:Gem::Version
|
88
|
-
version: '2.
|
117
|
+
version: '2.3'
|
89
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
119
|
requirements:
|
91
120
|
- - ">="
|
92
121
|
- !ruby/object:Gem::Version
|
93
122
|
version: '0'
|
94
123
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
96
|
-
signing_key:
|
124
|
+
rubygems_version: 3.5.3
|
125
|
+
signing_key:
|
97
126
|
specification_version: 4
|
98
127
|
summary: Convert nested data structure hash keys between camel and snake case.
|
99
|
-
test_files:
|
100
|
-
- spec/lib/camel_snake_keys_spec.rb
|
101
|
-
- spec/test_helper.rb
|
128
|
+
test_files: []
|
data/.travis.yml
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
before_install:
|
3
|
-
- gem install bundler
|
4
|
-
install: bundle install --jobs=1 --retry=1
|
5
|
-
script:
|
6
|
-
- bundle install
|
7
|
-
- bundle exec rspec
|
8
|
-
|
9
|
-
rvm:
|
10
|
-
- 2.3.0
|
11
|
-
- 2.2
|
12
|
-
- 2.1
|
13
|
-
- 2.0.0
|
14
|
-
# - jruby-9.1.0.0
|
15
|
-
- ruby-head
|
16
|
-
# - jruby-head
|
17
|
-
|
18
|
-
matrix:
|
19
|
-
allow_failures:
|
20
|
-
- rvm: ruby-head
|
21
|
-
- rvm: jruby-head
|
22
|
-
|
23
|
-
env:
|
24
|
-
matrix:
|
25
|
-
- RAILS=3.2.22
|
26
|
-
- RAILS=4.1.13
|
27
|
-
- RAILS=4.2.7.1
|
28
|
-
- RAILS=master
|
29
|
-
global:
|
30
|
-
# - JRUBY_OPTS="-J-Xmx1024m --debug"
|
31
|
-
|
32
|
-
notifications:
|
33
|
-
email:
|
34
|
-
recipients:
|
35
|
-
- buermann@gmail.com
|
36
|
-
on_success: change
|
37
|
-
on_failure: always
|