react_rails_webpack 2.0.1 → 2.0.2

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: 526f01f221d0531a7edb733ac8338a706a744def
4
- data.tar.gz: f64c05bb1ac937bad7b464e1cb889d0b62ea1ad0
3
+ metadata.gz: c4b0dff19a83c0ec6417746b7b8aec0a5014dc4f
4
+ data.tar.gz: 856fbb2cf877e0ba948fdc600d7b58e279f19581
5
5
  SHA512:
6
- metadata.gz: 376d408105338c7b3ce01ae88a42516ad4ff389328184dfc94f98a00b5b85a97e13ec53aa23dd803c54238787ca00611e1191e705e3602875e7b6ee4ab2a676f
7
- data.tar.gz: 326ac7b3d784ff6f1cb27217209ea3cb2b866065700d0518899f5480668e247f79c2704f6b7b30bfbe359c671c55faf401225b937a101325a65ff55697008ef9
6
+ metadata.gz: f4c7b4e51d0e623dd3ce442b9ed0277d1ca208ec2c3d87a271d74173534cb9f408ff0dc6f127bb15c748a98698dbfa49f5b7b8e907772f1dc5408152ddc87ca5
7
+ data.tar.gz: 7d62db4616ecd75a0bb938a8365ced4b30e175ec55e2e311fb3354ab807a1fb90d0e8dc51ad85b2f16d0fdde6ddca94c772918efb105e485545a919d64e4bb81
data/README.md CHANGED
@@ -130,7 +130,7 @@ The meat of the integration with Rails is in [the client/app folder](lib/react_r
130
130
  That example is what it would look like if you called `react_component` like this:
131
131
 
132
132
  ```ruby
133
- react_component "ComponentName", {myProp: 'some value'}
133
+ react_component :ComponentName, {myProp: 'some value'}
134
134
  ```
135
135
 
136
136
  When your browser hits that `renderLastComponentDiv()` call, it grabs the component name (which is "ComponentName" in the example) from the parent div, then looks it up in [the availableComponents.js file](lib/react_rails_webpack/client/src/app/availableComponents.js).
@@ -1,3 +1,3 @@
1
1
  <aside>Find the source for this page in app/views/react_example/greeting.html.erb</aside>
2
- <%= react_component "Hello", @props_for_hello_component %>
3
- <%= react_component "HelloWithRedux", @props_for_hello_with_redux_component %>
2
+ <%= react_component :Hello, @props_for_hello_component %>
3
+ <%= react_component :HelloWithRedux, @props_for_hello_with_redux_component %>
@@ -1,3 +1,3 @@
1
1
  module ReactRailsWebpack
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_rails_webpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neurodynamic