shackles 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 23205d6343336809e09e975d3be07cf530c2d190
4
- data.tar.gz: 3f26bddb52cadf78b0ff40e4fa2c458d216d8e00
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NWUyMDk2NmUzZTUxMTlmMzRjM2I0MGZiMjVhMGNiMjA5NDIyZjUxZA==
5
+ data.tar.gz: !binary |-
6
+ Nzc2ZTdkNWMzZDgxYWFkZGMxNTBlOWQ5ODVkOThiYTAzZjgzNTlkMg==
5
7
  SHA512:
6
- metadata.gz: e11d0cce5aa33ef195fdc5559f0da888981806fa0b16929100cff327f391e7285c4cf9c421c3c33a79e86e6caaa6ed047ffd6980392cff895e2c397654f4b00c
7
- data.tar.gz: e6b6a73d80c93bb76b3f5e9794ecb22d181b30808d90525c5d58f15c2fe42742cb39d73138460eb733c2326dfc3972076b4b83786cb07a5d9a1b610e4d9ff070
8
+ metadata.gz: !binary |-
9
+ OGM5MzhmZTA3NjNkZjkyMDFiZDc2MzE2ODk0ZTZmYzE4YTAzZWE1MTI0ZDk4
10
+ NWE3YzBkMTlhZGRhNmEyNDY0YTlkN2M2ZTkxMmVmMmE1MjY3YmFjOTg4NWU4
11
+ M2M1Zjc1MmFlY2RiMTRiYTQ2ZjgzZjgzOGUwYWVjZmVmNGE1NDE=
12
+ data.tar.gz: !binary |-
13
+ MTMwZWJhNDA0ZmUxY2NkZDMyNjM4N2FjMjM2ZmRmOWYxNDNlZjI2ZmFkMjk4
14
+ NmYyZTRkOWJhOTdkZjJlNjVlYTVjZDA3YTM1ZWY4ODExZmJiZmZjNDA2ZDNj
15
+ MzEwNTg5YTMzMWMzZmZkMzYyMDk0MmMxZDJkNDYwMDhmMTI4ZDc=
@@ -23,6 +23,12 @@ module Shackles
23
23
  def dup
24
24
  Hash[self]
25
25
  end
26
+
27
+ # in rails 4.2, active support tries to create a copy of the original object's class
28
+ # instead of making a new Hash object, so it fails since initialize expects an argument
29
+ def symbolize_keys
30
+ dup.symbolize_keys
31
+ end
26
32
  end
27
33
 
28
34
  def self.included(klass)
@@ -1,3 +1,3 @@
1
1
  module Shackles
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
3
3
  end
metadata CHANGED
@@ -1,61 +1,61 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shackles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-13 00:00:00.000000000 Z
11
+ date: 2015-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
- - - "<"
20
+ - - <
21
21
  - !ruby/object:Gem::Version
22
- version: '4.2'
22
+ version: '4.3'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.2'
30
- - - "<"
30
+ - - <
31
31
  - !ruby/object:Gem::Version
32
- version: '4.2'
32
+ version: '4.3'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: mocha
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
37
+ - - ! '>='
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ">="
44
+ - - ! '>='
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sqlite3
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ">="
51
+ - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ">="
58
+ - - ! '>='
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  description: Allows multiple environments in database.yml, and dynamically switching
@@ -84,12 +84,12 @@ require_paths:
84
84
  - lib
85
85
  required_ruby_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">="
92
+ - - ! '>='
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []