parsable 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab6073c965b0d9bf5241f4a1e9083388e57ecd7b
4
- data.tar.gz: dc4214f8d8f41bbf11187efaa2cf06825d6fac48
3
+ metadata.gz: 6dc2aca5f2edb3f0bb1d0522ac63de4a73125969
4
+ data.tar.gz: 207194e469beaf3c8ebc89e49bdbda02251550c5
5
5
  SHA512:
6
- metadata.gz: fecf0d3de669811f5a290dc7fbb08c3b4aa3c034575cd8b1ba58f3b1175103c193e409cf9b8eadbf8ddab88874e9669a7251bbdb2646bd417c4190eed87494ae
7
- data.tar.gz: a526d289ec739e6f95401b388352d4cc8d0b20a028037339c21c189e751f60eef309dc748e52b5842222ba831bf8ce661fb7299dbc27585ed29296152da6b0b0
6
+ metadata.gz: 952219dcc4492b0df30c0bb15b1415c3cdf0ebdddd344d46fb963b9c1cba9b612164d51885996a34b1e60dd33c109928e9ae872a4044ca75867488fa401baae3
7
+ data.tar.gz: c12bdd6d23ee1ba81c7a555ddba9d18e6ce06394a5abe1276e8d25f107e2df6e6a6eb9607a585512a300f7ce995ef940321ab2b393e326fe73a223d1af7c54d1
data/.travis.yml CHANGED
@@ -3,3 +3,4 @@ rvm:
3
3
  - 1.8.7
4
4
  - 1.9.2
5
5
  - 1.9.3
6
+ - 2.0.0
@@ -1,3 +1,3 @@
1
1
  module Parsable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/spec/context_spec.rb CHANGED
@@ -13,14 +13,14 @@ describe Parsable::Context do
13
13
  describe '#custom_store' do
14
14
  it "stores custom variables in the custom object_key" do
15
15
  context.custom_store :email, "test@test.com"
16
- expect(context.instance_variable_get('@variables')[:custom][:email]).to eql("test@test.com")
16
+ expect(context.instance_variable_get('@variables')[:custom].email).to eql("test@test.com")
17
17
  end
18
18
  end
19
19
 
20
20
  describe '#system_store' do
21
21
  it "stores variables as a top level object_key" do
22
22
  context.system_store :test_object, 'test_attribute', 'test_value'
23
- expect(context.instance_variable_get('@variables')[:test_object][:test_attribute]).to eql("test_value")
23
+ expect(context.instance_variable_get('@variables')[:test_object].test_attribute).to eql("test_value")
24
24
  end
25
25
  end
26
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parsable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hubert Liu