hyper-store 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: 93d5b0d7eb268b027273efe9f66096179d6aa290
4
- data.tar.gz: 6565ff13c39ab24c8b8d97c4f7919e3feef70750
3
+ metadata.gz: ac3437a8af330eca09b43ab409113997a453d403
4
+ data.tar.gz: 7446aaee29721c9f067c531ea70c75c655fbb78d
5
5
  SHA512:
6
- metadata.gz: d6e778a8736004ead631296bd81c316f50d3ea92743c85fb37bdbd35488f05fe1d484208a2353c0b7a87e62a0d7708e94caaecab894f6de24f20bada6af0e228
7
- data.tar.gz: a0602c617f7a6746f2e7bcde5999f78176e39d743deb7498347ff9a17e0b29af760c1d3dd1e7b9c24983506e18ad01b69f47a0ccaeb6abaa6cca3c86187428fe
6
+ metadata.gz: a2efc4e5af3b03b19cc217caf1f9ef99ab892fe4fa5b2e219d88ad7f898ce3bb833d29be349042321a35a57d35b780a8d230b565a018efd03ac42a80d110bbb4
7
+ data.tar.gz: 3a71a932603a7cb65accd84633c8b218ee20bf23394268f829a22db7996d42e530d29b47495a24e5f674725cdd26ba37e7e568c7f0cfe1d0b7516f6c37fd66ae
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hyper-store (0.2.1)
4
+ hyper-store (0.2.2)
5
5
  hyperloop-config (>= 0.9.2)
6
6
 
7
7
  GEM
@@ -83,6 +83,11 @@ GEM
83
83
  globalid (0.3.7)
84
84
  activesupport (>= 4.1.0)
85
85
  hike (1.2.3)
86
+ hyper-react (0.12.5)
87
+ hyper-store (>= 0.2.1)
88
+ hyperloop-config (>= 0.9.7)
89
+ opal (>= 0.8.0)
90
+ opal-activesupport (>= 0.2.0)
86
91
  hyper-spec (0.1.0)
87
92
  capybara
88
93
  opal
@@ -93,8 +98,9 @@ GEM
93
98
  selenium-webdriver (= 2.53.4)
94
99
  timecop
95
100
  unparser (= 0.2.5)
96
- hyperloop-config (0.9.2)
101
+ hyperloop-config (0.9.7)
97
102
  opal
103
+ opal-browser
98
104
  i18n (0.8.1)
99
105
  ice_nine (0.11.2)
100
106
  jquery-rails (4.2.2)
@@ -272,6 +278,7 @@ PLATFORMS
272
278
 
273
279
  DEPENDENCIES
274
280
  bundler (~> 1.12)
281
+ hyper-react
275
282
  hyper-spec
276
283
  hyper-store!
277
284
  listen
@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency 'rspec'
35
35
  spec.add_development_dependency 'rspec-steps'
36
36
  spec.add_development_dependency 'sqlite3'
37
+ spec.add_development_dependency 'hyper-react'
37
38
 
38
39
  # Keep linter-rubocop happy
39
40
  spec.add_development_dependency 'rubocop'
@@ -1,5 +1,5 @@
1
1
  module HyperStore
2
- class StateWrapper < BaseStoreClass #< BasicObject # TODO StateWrapper should from basic object to avoid name space conflicts
2
+ class StateWrapper < BaseStoreClass
3
3
  extend ArgumentValidator
4
4
 
5
5
  class << self
@@ -1,3 +1,3 @@
1
1
  module HyperStore
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -9,7 +9,9 @@ module Hyperloop
9
9
  end
10
10
 
11
11
  def receivers
12
- @receivers ||= []
12
+ # use the force: true option so that system code needing to receive
13
+ # boot will NOT be erased on the next Hyperloop::Context.reset!
14
+ Hyperloop::Context.set_var(self, :@receivers, force: true) { [] }
13
15
  end
14
16
  end
15
17
  end unless defined? Operation
@@ -26,8 +28,6 @@ module Hyperloop
26
28
  receivers.each do |receiver|
27
29
  receiver.call params
28
30
  end
29
- rescue Exception => e
30
- puts "called Boot.run and she broke #{e}"
31
31
  end
32
32
  end unless defined? Boot
33
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hyper-store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - catmando
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-03-14 00:00:00.000000000 Z
12
+ date: 2017-03-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hyperloop-config
@@ -207,6 +207,20 @@ dependencies:
207
207
  - - ">="
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
+ - !ruby/object:Gem::Dependency
211
+ name: hyper-react
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ type: :development
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
210
224
  - !ruby/object:Gem::Dependency
211
225
  name: rubocop
212
226
  requirement: !ruby/object:Gem::Requirement