rash_alt 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1e89e219464af68e33ecf40a1fdf02a7383f71e0986f5651afe2afc3261eb95
4
- data.tar.gz: 6ce218fce8f78e22a739be318456835feb1bd5b741a5cb7db3e36274252d6dce
3
+ metadata.gz: 2dd1100f448e31fc6ea93c36771dd1af58009b6167aabf92312b6fd5c183c448
4
+ data.tar.gz: 10cc07c093a9eedb1dd2ab96f8cd98aeebe1b787d09b0ddc96d4e87ca5258664
5
5
  SHA512:
6
- metadata.gz: 1b6a80394ee5332f5bd788ae4c90a4c773ce112d1077a25d915fd93836062547611433a339fa873a044dba66b9aab0ca7e72f9d83c72648fe178faf8149735d7
7
- data.tar.gz: 212038c995cdeb5209ff6eb4d8113bb13892dad36d3e74b7b12302330aef7aa63b4b2485182483ec34d9732c4d252d5a57fedc3dbc1ef8bd9b141bad92010472
6
+ metadata.gz: 4754aaa44eeecc05ca8be6f279f4759c643b74ce9a40efb5fac447936ab06aa12da90de9788275bc5c3d8fb48db013745156311412d3f36e879cf9694799a936
7
+ data.tar.gz: c32efb72c4a1f6fa71051b2fe79382cdf4535b35ceaba64be6d26f226d7a85b1a549d1eb2caaf30f64b07f0073e943b23e435991beffe2b1ca16183cc3793aac
data/README.md CHANGED
@@ -74,6 +74,7 @@ WARN -- : You are setting a key that conflicts with a built-in method Hashie::Ma
74
74
  ```
75
75
 
76
76
  if you want to disable this, use `disable_warnings`
77
+
77
78
  https://github.com/hashie/hashie#mash
78
79
 
79
80
  ## Note on Patches/Pull Requests
data/lib/rash/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rash
2
- VERSION = '0.4.11'
2
+ VERSION = '0.4.12'
3
3
  end
data/spec/rash_spec.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'spec_helper'
2
+ require 'hashie'
2
3
 
3
4
  describe Hashie::Mash::Rash do
4
5
  subject {
@@ -49,7 +50,7 @@ describe Hashie::Mash::Rash do
49
50
 
50
51
  it "should allow camelCased accessors" do
51
52
  #avoiding hashie v5- warnings
52
- subject.class.disable_warnings(:varOne)
53
+ subject.class.disable_warnings(:varOne) if Gem::Version.new(Hashie::VERSION) >= Gem::Version.new("5.0.0")
53
54
 
54
55
  subject.varOne.should == 1
55
56
  subject.varOne = "once"
@@ -59,7 +60,7 @@ describe Hashie::Mash::Rash do
59
60
 
60
61
  it "should allow camelCased accessors on nested hashes" do
61
62
  # avoiding hashie v5- warnings
62
- subject.class.disable_warnings(:nestedOne)
63
+ subject.class.disable_warnings(:nestedOne) if Gem::Version.new(Hashie::VERSION) >= Gem::Version.new("5.0.0")
63
64
 
64
65
  subject.nested.nestedOne.should == "One"
65
66
  subject.nested.nestedOne = "once"
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.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - tcocca