sewing_kit 0.92.0 → 0.92.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 +4 -4
- data/README.md +4 -4
- data/lib/sewing_kit/version.rb +1 -1
- data/lib/sewing_kit/webpack/manifest.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5deb1f80675a1e8b869c4e50d3f72d0460b752947192f1bdfef55c0df04aee24
|
|
4
|
+
data.tar.gz: 5243fe0c88e09e68b40b807c63467024202601ce7d13525bb7f9de74a6106e1f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df9ca32fc3d06d06067e9a218636524d20d3c0542eaad6111ffb3db6ddef1d8444692dfde49fe786f2731e609b032b6c0caeacaeb28ae953402483dd30df1674
|
|
7
|
+
data.tar.gz: 770786a01757467eaa8f74b6921f7145952ad96755a30cb601badb016ba9b14a98e351a6c54581dc6b1df0e42e8eb42b42321af27fddcebbe460e7992eea3c3b
|
data/README.md
CHANGED
|
@@ -101,10 +101,10 @@ Minimally, it is required that the project does not have its own `babel-*` libra
|
|
|
101
101
|
|
|
102
102
|
## React Boilerplate
|
|
103
103
|
|
|
104
|
-
- Create a React app in `app/ui/App.js` ([example](https://github.com/Shopify/
|
|
105
|
-
- In an `erb` view, add a placeholder for React content ([example](https://github.com/Shopify/
|
|
106
|
-
- In `index.js`, render a React component into the placeholder element ([example](https://github.com/Shopify/
|
|
107
|
-
- Use `sewing_kit_script_tag`/`sewing_kit_link_tag` helpers to link erb/js ([example](https://github.com/Shopify/
|
|
104
|
+
- Create a React app in `app/ui/App.js` ([example](https://github.com/Shopify/sewing-kit-gem-example/blob/master/app/ui/App.jsx))
|
|
105
|
+
- In an `erb` view, add a placeholder for React content ([example](https://github.com/Shopify/sewing-kit-gem-example/blob/master/app/views/home/index.html.erb#L4))
|
|
106
|
+
- In `index.js`, render a React component into the placeholder element ([example](https://github.com/Shopify/sewing-kit-gem-example/blob/master/app/ui/index.js))
|
|
107
|
+
- Use `sewing_kit_script_tag`/`sewing_kit_link_tag` helpers to link erb/js ([example](https://github.com/Shopify/sewing-kit-gem-example/blob/master/app/views/layouts/application.html.erb#L8))
|
|
108
108
|
|
|
109
109
|
## FAQ
|
|
110
110
|
|
data/lib/sewing_kit/version.rb
CHANGED
|
@@ -51,7 +51,7 @@ module SewingKit
|
|
|
51
51
|
|
|
52
52
|
def instance
|
|
53
53
|
mode = ENV['NODE_ENV'] || Rails.env.to_s
|
|
54
|
-
@instance ||= if
|
|
54
|
+
@instance ||= if mode == 'development' && ENV['SK_SIMULATE_PRODUCTION'] != '1'
|
|
55
55
|
Development.new
|
|
56
56
|
else
|
|
57
57
|
Production.new
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sewing_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.92.
|
|
4
|
+
version: 0.92.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Sauve
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -135,8 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
136
|
version: '0'
|
|
137
137
|
requirements: []
|
|
138
|
-
|
|
139
|
-
rubygems_version: 2.7.6
|
|
138
|
+
rubygems_version: 3.0.3
|
|
140
139
|
signing_key:
|
|
141
140
|
specification_version: 4
|
|
142
141
|
summary: Shopify's modern front-end tooling, nicely packaged for Rails
|