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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 268c6e26a8ebda25948278bcd25fe09d95406e9a2d1fd2796fbf2477b162feca
|
4
|
+
data.tar.gz: 2a6ad369a5921fa673abf4b2852fbd0e442e604db94ae7599c35eeeccfe6d4f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 629cd4305384afeb3c86d3ad586cc8e8743e8a311a0a342c758905c95fd0e7b92b7880747fdaea6d08f07d428bc6eb1c7f202997ec2df8ca7aaeb83659767f5c
|
7
|
+
data.tar.gz: cb6d7ce3cd4bf786fc1e336def80a781c2091f53a8ab761e62bb414cefb5b3da7445adfc41af8c0a778fb51d2d76b1e0352e12e2dd509428b2e9075148d0c8dc
|
@@ -0,0 +1,79 @@
|
|
1
|
+
name: Verify
|
2
|
+
on: push
|
3
|
+
jobs:
|
4
|
+
lint:
|
5
|
+
name: Lint
|
6
|
+
runs-on: ubuntu-latest
|
7
|
+
steps:
|
8
|
+
- name: Checkout Repository
|
9
|
+
uses: actions/checkout@v2
|
10
|
+
- name: Install dependencies for the Fog gem
|
11
|
+
run: |
|
12
|
+
sudo apt-get update
|
13
|
+
sudo apt-get install libcurl4-openssl-dev
|
14
|
+
- name: Set up Ruby
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: 2.7.3
|
18
|
+
- name: Cache Ruby Gems
|
19
|
+
uses: actions/cache@v2
|
20
|
+
with:
|
21
|
+
path: vendor/bundle
|
22
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
23
|
+
restore-keys: |
|
24
|
+
${{ runner.os }}-gems-
|
25
|
+
- name: Bundle Install
|
26
|
+
run: |
|
27
|
+
gem install bundler
|
28
|
+
bundle config path vendor/bundle
|
29
|
+
bundle install --jobs 4 --retry 3
|
30
|
+
- name: Formatting Checks
|
31
|
+
run: |
|
32
|
+
bundle exec rubocop
|
33
|
+
security:
|
34
|
+
name: Security
|
35
|
+
runs-on: ubuntu-latest
|
36
|
+
steps:
|
37
|
+
- name: Checkout Repository
|
38
|
+
uses: actions/checkout@v2
|
39
|
+
- name: Install dependencies for the Fog gem
|
40
|
+
run: |
|
41
|
+
sudo apt-get update
|
42
|
+
sudo apt-get install libcurl4-openssl-dev
|
43
|
+
- name: Set up Ruby
|
44
|
+
uses: ruby/setup-ruby@v1
|
45
|
+
with:
|
46
|
+
ruby-version: 2.7.3
|
47
|
+
- name: Cache Ruby Gems
|
48
|
+
uses: actions/cache@v2
|
49
|
+
with:
|
50
|
+
path: vendor/bundle
|
51
|
+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
52
|
+
restore-keys: |
|
53
|
+
${{ runner.os }}-gems-
|
54
|
+
- name: Bundle Install
|
55
|
+
run: |
|
56
|
+
gem install bundler
|
57
|
+
bundle config path vendor/bundle
|
58
|
+
bundle install --jobs 4 --retry 3
|
59
|
+
- name: Security Checks
|
60
|
+
run: |
|
61
|
+
bundle exec brakeman -z --force
|
62
|
+
gem install bundle-audit
|
63
|
+
bundle-audit update
|
64
|
+
bundle-audit
|
65
|
+
tests:
|
66
|
+
name: Tests
|
67
|
+
runs-on: ubuntu-latest
|
68
|
+
steps:
|
69
|
+
- name: Checkout code
|
70
|
+
uses: actions/checkout@v2
|
71
|
+
- name: Setup Ruby and install gems
|
72
|
+
uses: ruby/setup-ruby@v1
|
73
|
+
with:
|
74
|
+
ruby-version: 2.7.3
|
75
|
+
bundler-cache: true
|
76
|
+
- name: Rspec
|
77
|
+
run: |
|
78
|
+
bundle exec rspec
|
79
|
+
|
data/.gitignore
CHANGED