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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b5d379f248e1cb49dbdc63d5c6a1ae02a8b2368f3101f00d55f38e6d3dbfecc
4
- data.tar.gz: b118d063e8d4075d9f545a9bd62d5448298880a482f2093ff8601df12791a108
3
+ metadata.gz: 5deb1f80675a1e8b869c4e50d3f72d0460b752947192f1bdfef55c0df04aee24
4
+ data.tar.gz: 5243fe0c88e09e68b40b807c63467024202601ce7d13525bb7f9de74a6106e1f
5
5
  SHA512:
6
- metadata.gz: 386f8b2cdecd5b9dc7c5cdfb40bedc9577492a5d96dcd6038ea936f4d47ddf0ade31c8e9422d7f153f96731a1a551f175f292dcc339980d5f401f7bb9b60e1a5
7
- data.tar.gz: 413a472e7349f6a21d1a3532c2a511b5c36474ee7b442f0aa6f030ee298ec0d005643ca804cd8872062e91e2558ffc752d65ac9d440b4aa5d2742b22f026e0b2
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/rails_sewing_kit_example/blob/master/app/ui/App.jsx))
105
- - In an `erb` view, add a placeholder for React content ([example](https://github.com/Shopify/rails_sewing_kit_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/rails_sewing_kit_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/rails_sewing_kit_example/blob/master/app/views/layouts/application.html.erb#L8))
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
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module SewingKit
3
- VERSION = "0.92.0"
3
+ VERSION = "0.92.1"
4
4
  end
@@ -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 (mode == 'development' && ENV['SK_SIMULATE_PRODUCTION'] != '1') || Rails.env.test?
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.0
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-07-16 00:00:00.000000000 Z
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
- rubyforge_project:
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