hyper-store 0.2.0 → 0.2.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: dcf8d340f606a363553e9262590d505a6869364f
4
- data.tar.gz: 24413f2c87e3301a1145d3d7d36c41bb92ce81aa
3
+ metadata.gz: 93d5b0d7eb268b027273efe9f66096179d6aa290
4
+ data.tar.gz: 6565ff13c39ab24c8b8d97c4f7919e3feef70750
5
5
  SHA512:
6
- metadata.gz: 5ad79ce6e50b8d2155bd2d686ce517378fe1a33f2b4e6fc045fa6201b09a71c58c1d69ebcbaabbd3a293703130a108c87991f46cca1cfcd72a804a92e99b5a7f
7
- data.tar.gz: 37330230ca21eae1c231ed2bb706c52272304bc2cd825b2bbd4934c89a3a72c506c3ea621de520fd4877b261dbd69c3f9f0a85e4f57e781b3f927bbe842e3954
6
+ metadata.gz: d6e778a8736004ead631296bd81c316f50d3ea92743c85fb37bdbd35488f05fe1d484208a2353c0b7a87e62a0d7708e94caaecab894f6de24f20bada6af0e228
7
+ data.tar.gz: a0602c617f7a6746f2e7bcde5999f78176e39d743deb7498347ff9a17e0b29af760c1d3dd1e7b9c24983506e18ad01b69f47a0ccaeb6abaa6cca3c86187428fe
@@ -1,56 +1,46 @@
1
- PATH
2
- remote: ../hyper-react
3
- specs:
4
- hyper-react (0.12.0)
5
- hyper-store
6
- hyperloop-config
7
- opal (>= 0.8.0)
8
- opal-activesupport (>= 0.2.0)
9
- react-rails
10
-
11
1
  PATH
12
2
  remote: .
13
3
  specs:
14
- hyper-store (0.2.0)
15
- hyperloop-config
4
+ hyper-store (0.2.1)
5
+ hyperloop-config (>= 0.9.2)
16
6
 
17
7
  GEM
18
8
  remote: https://rubygems.org/
19
9
  specs:
20
10
  abstract_type (0.0.7)
21
- actioncable (5.0.1)
22
- actionpack (= 5.0.1)
23
- nio4r (~> 1.2)
11
+ actioncable (5.0.2)
12
+ actionpack (= 5.0.2)
13
+ nio4r (>= 1.2, < 3.0)
24
14
  websocket-driver (~> 0.6.1)
25
- actionmailer (5.0.1)
26
- actionpack (= 5.0.1)
27
- actionview (= 5.0.1)
28
- activejob (= 5.0.1)
15
+ actionmailer (5.0.2)
16
+ actionpack (= 5.0.2)
17
+ actionview (= 5.0.2)
18
+ activejob (= 5.0.2)
29
19
  mail (~> 2.5, >= 2.5.4)
30
20
  rails-dom-testing (~> 2.0)
31
- actionpack (5.0.1)
32
- actionview (= 5.0.1)
33
- activesupport (= 5.0.1)
21
+ actionpack (5.0.2)
22
+ actionview (= 5.0.2)
23
+ activesupport (= 5.0.2)
34
24
  rack (~> 2.0)
35
25
  rack-test (~> 0.6.3)
36
26
  rails-dom-testing (~> 2.0)
37
27
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
38
- actionview (5.0.1)
39
- activesupport (= 5.0.1)
28
+ actionview (5.0.2)
29
+ activesupport (= 5.0.2)
40
30
  builder (~> 3.1)
41
31
  erubis (~> 2.7.0)
42
32
  rails-dom-testing (~> 2.0)
43
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
44
- activejob (5.0.1)
45
- activesupport (= 5.0.1)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.0.2)
35
+ activesupport (= 5.0.2)
46
36
  globalid (>= 0.3.6)
47
- activemodel (5.0.1)
48
- activesupport (= 5.0.1)
49
- activerecord (5.0.1)
50
- activemodel (= 5.0.1)
51
- activesupport (= 5.0.1)
37
+ activemodel (5.0.2)
38
+ activesupport (= 5.0.2)
39
+ activerecord (5.0.2)
40
+ activemodel (= 5.0.2)
41
+ activesupport (= 5.0.2)
52
42
  arel (~> 7.0)
53
- activesupport (5.0.1)
43
+ activesupport (5.0.2)
54
44
  concurrent-ruby (~> 1.0, >= 1.0.2)
55
45
  i18n (~> 0.7)
56
46
  minitest (~> 5.1)
@@ -68,14 +58,14 @@ GEM
68
58
  execjs (~> 2.0)
69
59
  builder (3.2.3)
70
60
  byebug (9.0.6)
71
- capybara (2.12.0)
61
+ capybara (2.12.1)
72
62
  addressable
73
63
  mime-types (>= 1.16)
74
64
  nokogiri (>= 1.3.3)
75
65
  rack (>= 1.0.0)
76
66
  rack-test (>= 0.5.4)
77
67
  xpath (~> 2.0)
78
- childprocess (0.6.1)
68
+ childprocess (0.6.2)
79
69
  ffi (~> 1.0, >= 1.0.11)
80
70
  cliver (0.3.2)
81
71
  coderay (1.1.1)
@@ -89,7 +79,7 @@ GEM
89
79
  equalizer (0.0.11)
90
80
  erubis (2.7.0)
91
81
  execjs (2.7.0)
92
- ffi (1.9.17)
82
+ ffi (1.9.18)
93
83
  globalid (0.3.7)
94
84
  activesupport (>= 4.1.0)
95
85
  hike (1.2.3)
@@ -103,9 +93,9 @@ GEM
103
93
  selenium-webdriver (= 2.53.4)
104
94
  timecop
105
95
  unparser (= 0.2.5)
106
- hyperloop-config (0.9.1)
96
+ hyperloop-config (0.9.2)
107
97
  opal
108
- i18n (0.8.0)
98
+ i18n (0.8.1)
109
99
  ice_nine (0.11.2)
110
100
  jquery-rails (4.2.2)
111
101
  rails-dom-testing (>= 1, < 3)
@@ -127,7 +117,7 @@ GEM
127
117
  mime-types-data (3.2016.0521)
128
118
  mini_portile2 (2.1.0)
129
119
  minitest (5.10.1)
130
- nio4r (1.2.1)
120
+ nio4r (2.0.0)
131
121
  nokogiri (1.7.0.1)
132
122
  mini_portile2 (~> 2.1.0)
133
123
  opal (0.10.3)
@@ -167,33 +157,33 @@ GEM
167
157
  coderay (~> 1.1.0)
168
158
  method_source (~> 0.8.1)
169
159
  slop (~> 3.4)
170
- pry-byebug (3.4.0)
160
+ pry-byebug (3.4.2)
171
161
  byebug (~> 9.0)
172
162
  pry (~> 0.10)
173
163
  public_suffix (2.0.5)
174
164
  rack (2.0.1)
175
165
  rack-test (0.6.3)
176
166
  rack (>= 1.0)
177
- rails (5.0.1)
178
- actioncable (= 5.0.1)
179
- actionmailer (= 5.0.1)
180
- actionpack (= 5.0.1)
181
- actionview (= 5.0.1)
182
- activejob (= 5.0.1)
183
- activemodel (= 5.0.1)
184
- activerecord (= 5.0.1)
185
- activesupport (= 5.0.1)
167
+ rails (5.0.2)
168
+ actioncable (= 5.0.2)
169
+ actionmailer (= 5.0.2)
170
+ actionpack (= 5.0.2)
171
+ actionview (= 5.0.2)
172
+ activejob (= 5.0.2)
173
+ activemodel (= 5.0.2)
174
+ activerecord (= 5.0.2)
175
+ activesupport (= 5.0.2)
186
176
  bundler (>= 1.3.0, < 2.0)
187
- railties (= 5.0.1)
177
+ railties (= 5.0.2)
188
178
  sprockets-rails (>= 2.0.0)
189
179
  rails-dom-testing (2.0.2)
190
180
  activesupport (>= 4.2.0, < 6.0)
191
181
  nokogiri (~> 1.6)
192
182
  rails-html-sanitizer (1.0.3)
193
183
  loofah (~> 2.0)
194
- railties (5.0.1)
195
- actionpack (= 5.0.1)
196
- activesupport (= 5.0.1)
184
+ railties (5.0.2)
185
+ actionpack (= 5.0.2)
186
+ activesupport (= 5.0.2)
197
187
  method_source
198
188
  rake (>= 0.8.7)
199
189
  thor (>= 0.18.1, < 2.0)
@@ -239,7 +229,7 @@ GEM
239
229
  ruby-progressbar (~> 1.7)
240
230
  unicode-display_width (~> 1.0, >= 1.0.1)
241
231
  ruby-progressbar (1.8.1)
242
- ruby_dep (1.4.0)
232
+ ruby_dep (1.5.0)
243
233
  rubyzip (1.2.1)
244
234
  selenium-webdriver (2.53.4)
245
235
  childprocess (~> 0.5)
@@ -256,7 +246,7 @@ GEM
256
246
  sprockets (>= 2.8, < 4.0)
257
247
  sqlite3 (1.3.13)
258
248
  thor (0.19.4)
259
- thread_safe (0.3.5)
249
+ thread_safe (0.3.6)
260
250
  tilt (2.0.6)
261
251
  timecop (0.8.1)
262
252
  tzinfo (1.2.2)
@@ -282,7 +272,6 @@ PLATFORMS
282
272
 
283
273
  DEPENDENCIES
284
274
  bundler (~> 1.12)
285
- hyper-react!
286
275
  hyper-spec
287
276
  hyper-store!
288
277
  listen
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'hyperloop-config'
22
+ spec.add_dependency 'hyperloop-config', '>= 0.9.2'
23
23
  spec.add_development_dependency 'bundler', '~> 1.12'
24
- spec.add_development_dependency 'hyper-react', '>= 0.12.0'
24
+ #spec.add_development_dependency 'hyper-react', '>= 0.12.0'
25
25
  spec.add_development_dependency 'hyper-spec'
26
26
  spec.add_development_dependency 'listen'
27
27
  spec.add_development_dependency 'opal'
@@ -1,6 +1,6 @@
1
1
  require 'set'
2
2
  require 'hyperloop-config'
3
- Hyperloop.require 'hyper-store', gem: true
3
+ Hyperloop.import 'hyper-store'
4
4
 
5
5
 
6
6
  module HyperStore # allows us to easily turn off BasicObject for debug
@@ -1,3 +1,3 @@
1
1
  module HyperStore
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  module React
2
2
  class State
3
3
 
4
- ALWAYS_UPDATE_STATE_AFTER_RENDER = true
4
+ ALWAYS_UPDATE_STATE_AFTER_RENDER = Hyperloop.on_client? # if on server then we don't wait to update the state
5
5
  @rendering_level = 0
6
6
 
7
7
  class << self
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.0
4
+ version: 0.2.1
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-13 00:00:00.000000000 Z
12
+ date: 2017-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hyperloop-config
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: 0.9.2
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: '0'
27
+ version: 0.9.2
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -39,20 +39,6 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '1.12'
42
- - !ruby/object:Gem::Dependency
43
- name: hyper-react
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - ">="
47
- - !ruby/object:Gem::Version
48
- version: 0.12.0
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- version: 0.12.0
56
42
  - !ruby/object:Gem::Dependency
57
43
  name: hyper-spec
58
44
  requirement: !ruby/object:Gem::Requirement