reactive-ruby 0.7.23 → 0.7.24

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: 07287ee1cef383b6be9138dddaf7241b7c5f13ca
4
- data.tar.gz: 8d71d2136f76dc0a7b51069c568715da6d1b4640
3
+ metadata.gz: 547919552a1ae42fb64e13f1cb6b33a930143d55
4
+ data.tar.gz: 92a3b2a9dedb1c2eb9e91735bb4c29431e24a88e
5
5
  SHA512:
6
- metadata.gz: 630e32da18390106e2aa6e9b17a86c5ffdde5f20fa1c6a0401c12255845c11ee0f014ab81aa4ef4d0e392ea2c2cc71a0f7e82ccbcc11ec15c497fd2b72a98da2
7
- data.tar.gz: ee3293d87ef084eda0e9a31518a804d9fd0cbdeaf4bd3436edc808c3ecc96a376dde584bcf390e3afb746c568e48a84ccc65f54ca94691cedc6206c48a2a487b
6
+ metadata.gz: acd13c0b42bbcc589bb8ed30881777f50ca537ecf7d89fdbf214019628f42f7806597c6aac933f4aa5f0b873f3055563e452a04d50ea7a0eb8179795a43a98c7
7
+ data.tar.gz: 0442a98972896cc22c2b9632f67cbfd71ec336a72d1e589bfa09d53a05fdd4ca3335f7365718db5a7a8830e2cb70cc074b2c3a20b336314736cea2bb9f766aa2
data/Gemfile.lock CHANGED
@@ -13,7 +13,7 @@ GIT
13
13
  PATH
14
14
  remote: .
15
15
  specs:
16
- reactive-ruby (0.7.21)
16
+ reactive-ruby (0.7.23)
17
17
  opal
18
18
  opal-activesupport (>= 0.2.0)
19
19
  opal-browser
@@ -180,3 +180,6 @@ DEPENDENCIES
180
180
  rspec-rails
181
181
  sinatra
182
182
  sqlite3
183
+
184
+ BUNDLED WITH
185
+ 1.10.6
@@ -6,3 +6,4 @@ gem 'sinatra'
6
6
  gem 'opal-jquery'
7
7
  #gem 'react-source'
8
8
  gem 'reactive-router'
9
+ gem 'opal-rails'
@@ -1,31 +1,122 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- reactive-ruby (0.7.19)
4
+ reactive-ruby (0.7.23)
5
5
  opal
6
- opal-activesupport
6
+ opal-activesupport (>= 0.2.0)
7
7
  opal-browser
8
8
 
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
+ actionmailer (4.2.4)
13
+ actionpack (= 4.2.4)
14
+ actionview (= 4.2.4)
15
+ activejob (= 4.2.4)
16
+ mail (~> 2.5, >= 2.5.4)
17
+ rails-dom-testing (~> 1.0, >= 1.0.5)
18
+ actionpack (4.2.4)
19
+ actionview (= 4.2.4)
20
+ activesupport (= 4.2.4)
21
+ rack (~> 1.6)
22
+ rack-test (~> 0.6.2)
23
+ rails-dom-testing (~> 1.0, >= 1.0.5)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
+ actionview (4.2.4)
26
+ activesupport (= 4.2.4)
27
+ builder (~> 3.1)
28
+ erubis (~> 2.7.0)
29
+ rails-dom-testing (~> 1.0, >= 1.0.5)
30
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
+ activejob (4.2.4)
32
+ activesupport (= 4.2.4)
33
+ globalid (>= 0.3.0)
34
+ activemodel (4.2.4)
35
+ activesupport (= 4.2.4)
36
+ builder (~> 3.1)
37
+ activerecord (4.2.4)
38
+ activemodel (= 4.2.4)
39
+ activesupport (= 4.2.4)
40
+ arel (~> 6.0)
41
+ activesupport (4.2.4)
42
+ i18n (~> 0.7)
43
+ json (~> 1.7, >= 1.7.7)
44
+ minitest (~> 5.1)
45
+ thread_safe (~> 0.3, >= 0.3.4)
46
+ tzinfo (~> 1.1)
47
+ arel (6.0.3)
48
+ builder (3.2.2)
49
+ erubis (2.7.0)
50
+ globalid (0.3.6)
51
+ activesupport (>= 4.1.0)
12
52
  hike (1.2.3)
53
+ i18n (0.7.0)
54
+ jquery-rails (4.0.5)
55
+ rails-dom-testing (~> 1.0)
56
+ railties (>= 4.2.0)
57
+ thor (>= 0.14, < 2.0)
58
+ json (1.8.3)
59
+ loofah (2.0.3)
60
+ nokogiri (>= 1.5.9)
61
+ mail (2.6.3)
62
+ mime-types (>= 1.16, < 3)
63
+ mime-types (2.6.2)
64
+ mini_portile (0.6.2)
65
+ minitest (5.8.1)
66
+ nokogiri (1.6.6.2)
67
+ mini_portile (~> 0.6.0)
13
68
  opal (0.8.0)
14
69
  hike (~> 1.2)
15
70
  sourcemap (~> 0.1.0)
16
71
  sprockets (~> 3.1)
17
72
  tilt (>= 1.4)
18
- opal-activesupport (0.1.0)
73
+ opal-activesupport (0.2.0)
19
74
  opal (>= 0.5.0, < 1.0.0)
20
75
  opal-browser (0.2.0)
21
76
  opal
22
77
  paggio
23
78
  opal-jquery (0.4.0)
24
79
  opal (>= 0.7.0, < 0.9.0)
25
- paggio (0.2.4)
80
+ opal-rails (0.8.0)
81
+ jquery-rails
82
+ opal (~> 0.8.0)
83
+ opal-activesupport (>= 0.0.5)
84
+ opal-jquery (~> 0.4.0)
85
+ opal-rspec (~> 0.4.3)
86
+ rails (>= 3.2, < 5.0)
87
+ opal-rspec (0.4.3)
88
+ opal (>= 0.7.0, < 0.9)
89
+ paggio (0.2.5)
26
90
  rack (1.6.4)
27
91
  rack-protection (1.5.3)
28
92
  rack
93
+ rack-test (0.6.3)
94
+ rack (>= 1.0)
95
+ rails (4.2.4)
96
+ actionmailer (= 4.2.4)
97
+ actionpack (= 4.2.4)
98
+ actionview (= 4.2.4)
99
+ activejob (= 4.2.4)
100
+ activemodel (= 4.2.4)
101
+ activerecord (= 4.2.4)
102
+ activesupport (= 4.2.4)
103
+ bundler (>= 1.3.0, < 2.0)
104
+ railties (= 4.2.4)
105
+ sprockets-rails
106
+ rails-deprecated_sanitizer (1.0.3)
107
+ activesupport (>= 4.2.0.alpha)
108
+ rails-dom-testing (1.0.7)
109
+ activesupport (>= 4.2.0.beta, < 5.0)
110
+ nokogiri (~> 1.6.0)
111
+ rails-deprecated_sanitizer (>= 1.0.1)
112
+ rails-html-sanitizer (1.0.2)
113
+ loofah (~> 2.0)
114
+ railties (4.2.4)
115
+ actionpack (= 4.2.4)
116
+ activesupport (= 4.2.4)
117
+ rake (>= 0.8.7)
118
+ thor (>= 0.18.1, < 2.0)
119
+ rake (10.4.2)
29
120
  reactive-router (0.7.8)
30
121
  reactive-ruby
31
122
  sinatra (1.4.6)
@@ -35,13 +126,22 @@ GEM
35
126
  sourcemap (0.1.1)
36
127
  sprockets (3.3.4)
37
128
  rack (~> 1.0)
129
+ sprockets-rails (2.3.3)
130
+ actionpack (>= 3.0)
131
+ activesupport (>= 3.0)
132
+ sprockets (>= 2.8, < 4.0)
133
+ thor (0.19.1)
134
+ thread_safe (0.3.5)
38
135
  tilt (2.0.1)
136
+ tzinfo (1.2.2)
137
+ thread_safe (~> 0.1)
39
138
 
40
139
  PLATFORMS
41
140
  ruby
42
141
 
43
142
  DEPENDENCIES
44
143
  opal-jquery
144
+ opal-rails
45
145
  reactive-router
46
146
  reactive-ruby!
47
147
  sinatra
@@ -400,9 +400,10 @@ module React
400
400
  current_state = React::State.get_state(from || self, name)
401
401
  yield name, React::State.get_state(from || self, name), current_state if block and block.arity > 0
402
402
  React::State.set_state(from || self, name, current_state)
403
- React::Observable.new(current_state) do |new_value|
404
- yield name, React::State.get_state(from || self, name), new_value if block and block.arity > 0
405
- React::State.set_state(from || self, name, new_value)
403
+ React::Observable.new(current_state) do |update|
404
+ current_state = React::State.get_state(from || self, name)
405
+ yield name, current_state, update if block and block.arity > 0
406
+ React::State.set_state(from || self, name, current_state)
406
407
  end
407
408
  end
408
409
  end
@@ -1,3 +1,3 @@
1
1
  module React
2
- VERSION = "0.7.23"
2
+ VERSION = "0.7.24"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactive-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.23
4
+ version: 0.7.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-09 00:00:00.000000000 Z
11
+ date: 2015-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal