rash_alt 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +28 -0
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/Gemfile +0 -0
- data/LICENSE +0 -0
- data/README.rdoc +4 -4
- data/Rakefile +0 -0
- data/lib/hashie/mash/rash.rb +0 -0
- data/lib/rash.rb +0 -0
- data/lib/rash/version.rb +1 -1
- data/rash.gemspec +4 -4
- data/spec/rash_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +12 -12
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3920d80eaaf42c233ab230959255e5f46a923ae1396a6a8fdd568b6153a81f1f
|
4
|
+
data.tar.gz: bda635dd1d4efd1764cb4f5e45d3a3a8d46c66e36a4517cb48ca18570d0aa300
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54ff95712ca7bef94d59a8326e99eff8aa7c1c48d6c243c95c56a95daf1e428306d69ec837e8492233dbd998dc29092f698a953e35bcf51ff14e5374eaa64c70
|
7
|
+
data.tar.gz: 25e256ef5cd5570920de5585d70fa38daaf93f2da7202a4b9449abe47d5797bcce588495f229226e71da4f9bcbac95f6b6ccefe38e20f5f9a90faec50b0d91f9
|
@@ -0,0 +1,28 @@
|
|
1
|
+
name: ruby
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- "*"
|
9
|
+
jobs:
|
10
|
+
rspec:
|
11
|
+
runs-on: ${{ matrix.os }}
|
12
|
+
strategy:
|
13
|
+
fail-fast: false
|
14
|
+
matrix:
|
15
|
+
os: [ubuntu-20.04, ubuntu-18.04]
|
16
|
+
ruby: [2.5, 2.6, 2.7, 3.0]
|
17
|
+
steps:
|
18
|
+
- uses: actions/checkout@v2
|
19
|
+
with:
|
20
|
+
fetch-depth: 1
|
21
|
+
- uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby }}
|
24
|
+
bundler-cache: true
|
25
|
+
- name: install dependency
|
26
|
+
run: bundle install
|
27
|
+
- name: run spec
|
28
|
+
run: bundle exec rake spec
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/LICENSE
CHANGED
File without changes
|
data/README.rdoc
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
{<img src="https://img.shields.io/gem/v/rash_alt.svg" alt="Gem Version" />}[https://rubygems.org/gems/rash_alt]
|
4
4
|
{<img src="https://img.shields.io/travis/shishi/rash_alt.svg" alt="Build Status" />}[https://travis-ci.org/shishi/rash_alt]
|
5
5
|
|
6
|
-
Rash is an extension to Hashie ( http://github.com/
|
6
|
+
Rash is an extension to Hashie ( http://github.com/hashie/hashie ).
|
7
7
|
|
8
|
-
Rash subclasses Hashie::Mash to convert all keys in the hash to underscore
|
8
|
+
Rash subclasses Hashie::Mash to convert all keys in the hash to underscore.
|
9
9
|
|
10
|
-
The purpose of this is when working w/ Java (or any other apis) that return hashes (including nested) that have camelCased keys
|
10
|
+
The purpose of this is when working w/ Java (or any other apis) that return hashes (including nested) that have camelCased keys.
|
11
11
|
|
12
|
-
You will now be able to access those keys through underscored key names (camelCase still available)
|
12
|
+
You will now be able to access those keys through underscored key names (camelCase still available).
|
13
13
|
|
14
14
|
== Installation
|
15
15
|
|
data/Rakefile
CHANGED
File without changes
|
data/lib/hashie/mash/rash.rb
CHANGED
File without changes
|
data/lib/rash.rb
CHANGED
File without changes
|
data/lib/rash/version.rb
CHANGED
data/rash.gemspec
CHANGED
@@ -13,10 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
|
14
14
|
s.version = Rash::VERSION
|
15
15
|
|
16
|
-
s.add_dependency 'hashie', '~>
|
17
|
-
s.add_development_dependency 'rake', '~>
|
18
|
-
s.add_development_dependency 'rdoc', '~> 6.
|
19
|
-
s.add_development_dependency 'rspec', '~> 3.
|
16
|
+
s.add_dependency 'hashie', '~> 4.1'
|
17
|
+
s.add_development_dependency 'rake', '~> 13.0'
|
18
|
+
s.add_development_dependency 'rdoc', '~> 6.3'
|
19
|
+
s.add_development_dependency 'rspec', '~> 3.10'
|
20
20
|
|
21
21
|
s.require_paths = ['lib']
|
22
22
|
s.files = `git ls-files`.split("\n")
|
data/spec/rash_spec.rb
CHANGED
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rash_alt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tcocca
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-12-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hashie
|
@@ -17,56 +17,56 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '4.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '4.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '13.0'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '13.0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rdoc
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '6.
|
48
|
+
version: '6.3'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: '6.
|
55
|
+
version: '6.3'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rspec
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '3.
|
62
|
+
version: '3.10'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '3.
|
69
|
+
version: '3.10'
|
70
70
|
description: simple extension to Hashie::Mash for rubyified keys, all keys are converted
|
71
71
|
to underscore to eliminate horrible camelCasing
|
72
72
|
email: tom.cocca@gmail.com, shishi.s.n@gmail.com
|
@@ -74,9 +74,9 @@ executables: []
|
|
74
74
|
extensions: []
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
|
+
- ".github/workflows/ruby.yml"
|
77
78
|
- ".gitignore"
|
78
79
|
- ".rspec"
|
79
|
-
- ".travis.yml"
|
80
80
|
- Gemfile
|
81
81
|
- LICENSE
|
82
82
|
- README.rdoc
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
- !ruby/object:Gem::Version
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
|
-
rubygems_version: 3.
|
109
|
+
rubygems_version: 3.1.2
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: simple extension to Hashie::Mash for rubyified keys
|