cells-rails 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: a7b0dcf280b05760c17e077945620957e91f6ca8cf9384379d8d6e982efe06ae
4
- data.tar.gz: ec0289e903975584640a1aeaf8c9417514a775d2b106c5f8d1d993894c27d51d
3
+ metadata.gz: 260cc70d64299766c8bf4fb71c07842c2bd159d22fa0dac7f2f95c14bf508d5e
4
+ data.tar.gz: 5187ab95f256a3dde5da97008642f36653a54c81d93b36b0a6a92045a624c49e
5
5
  SHA512:
6
- metadata.gz: 3fa9e93d578670b6a9f13cc7008c2a05e581c2b0fc42579a91af913cc3c9f207f7426e5a6662488c2254f29ad29404b255289bb3eaa4b0575b9101bd08a41987
7
- data.tar.gz: 1162939f99fc4e9f4989f46624f93ed5c148e5a3be1cece4e3a5ae86669509a09f5406542ff4e489b68b2d8424b43c8040ea05ee296ab3950cf034c8dad45c1a
6
+ metadata.gz: 6e178bdcd28798e3f1e613145e164dbe2f38edb606a9b376407357daca42ca000224c579d5af483206d4b7ee262a6132fb421ecd690fc9ed0494fbcd906d973d
7
+ data.tar.gz: 9895f1f7d41a2ce2408ca8f455db29ca418498b64e3232e631823b82d022bf9aae56927429869da6240b913aa917f90303581574498976bb10c2a41d284d1e1e
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.2
2
+
3
+ * Fix `LocalJumpError` from our Railtie.
4
+
1
5
  ## 0.1.1
2
6
 
3
7
  * The `Cell.view_paths` are now set automatically for `Trailblazer::Cell`s, too, if the gem is present. This allows starting Rails in daemon mode `rails s -d` and cells finding its views.
@@ -77,9 +77,10 @@ module Cell
77
77
  end
78
78
 
79
79
  initializer "trailblazer.cells.update_view_paths" do |app|
80
- return unless Object.const_defined?(:Trailblazer) && Trailblazer.const_defined?(:Cell)
81
- # Add Rails.root to view_paths
82
- Trailblazer::Cell.view_paths = [Rails.root.join("app", "concepts")]
80
+ if Object.const_defined?(:Trailblazer) && Trailblazer.const_defined?(:Cell)
81
+ # Add Rails.root to view_paths
82
+ Trailblazer::Cell.view_paths = [Rails.root.join("app", "concepts")]
83
+ end
83
84
  end
84
85
 
85
86
  rake_tasks do
@@ -1,5 +1,5 @@
1
1
  module Cells
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cells-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-16 00:00:00.000000000 Z
11
+ date: 2020-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cells
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  version: '0'
190
190
  requirements: []
191
191
  rubyforge_project:
192
- rubygems_version: 2.7.6
192
+ rubygems_version: 2.7.3
193
193
  signing_key:
194
194
  specification_version: 4
195
195
  summary: Convenient Rails support for Cells.