lines-engine 1.2.2 → 1.2.3

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: 9d783e21d838d7aa76b9832d67a1e78f8b0f4c8d
4
- data.tar.gz: 7544fcd145785c195449f64f83b36d60d8e317c8
3
+ metadata.gz: 0aef2fa0f45914942069afc763cedcc3ce21e897
4
+ data.tar.gz: bb29b382a0362bd60538cd75cc9390d3c3cc818a
5
5
  SHA512:
6
- metadata.gz: 63409b07a5359f1d0d4376439a2ea99e903a756e3ac48a44dbc342babdb81dae7ab090a8c9801969fd8de37364c62c6ec94688b0820d1ac5a604bbd11135189e
7
- data.tar.gz: bf474198669f0088dc07ebf0423102786ee129a37d24ee99d4256de554bdc8cc7d9645973ab90c10bbe4174316d9c1ace5cd0c0be6972165c933c86fc3a81919
6
+ metadata.gz: 691cc02c2e7e077a39d7174d9fa344f0789577309635cdce6da5ee8f77451aee2d097505d0ed31872ff47640792a72ae6244234136cdccbca1f2ef93882da9da
7
+ data.tar.gz: 5819682fec4c262a5651c2412ff991620836d264b5b5ac3a075b2c475c66d760fa775a764819c3cbb29cf1c0481f0f97de998719903533d24e855fad16c97102
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.3
4
+ - fix No such middleware to insert before: ActionDispatch::Static (Thanks to @scottbarrow)
5
+
3
6
  ## 1.2.2
4
7
  - Fix JqueryUI datepicker (Thanks to @edgarlepe)
5
8
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lines-engine (1.2.2)
4
+ lines-engine (1.2.3)
5
5
  acts-as-taggable-on (>= 3.5)
6
6
  bcrypt (~> 3.1.0, >= 3.1.0)
7
7
  bcrypt-ruby (>= 3.0.0)
@@ -316,4 +316,4 @@ DEPENDENCIES
316
316
  yard
317
317
 
318
318
  BUNDLED WITH
319
- 1.14.6
319
+ 1.15.4
@@ -21,7 +21,7 @@ module Lines
21
21
 
22
22
  # Initializer to combine this engines static assets with the static assets of the hosting site.
23
23
  initializer "static assets" do |app|
24
- app.middleware.insert_before(::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public")
24
+ app.middleware.insert_after(::Rack::Runtime, ::ActionDispatch::Static, "#{root}/public")
25
25
  end
26
26
 
27
27
  initializer "lines.assets.precompile" do |app|
@@ -34,6 +34,10 @@ module Lines
34
34
  end
35
35
  end
36
36
 
37
+ initializer "host helpers" do |app|
38
+ Lines::ApplicationController.helper app.helpers
39
+ end
40
+
37
41
  # Disable error wrapper around form fields
38
42
  config.action_view.field_error_proc = Proc.new { |html_tag, instance|
39
43
  class_attr_index = html_tag.index 'class="'
@@ -1,3 +1,3 @@
1
1
  module Lines
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lines-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Opoloo GbR
@@ -30,7 +30,7 @@ cert_chain:
30
30
  wY3tQr5y6n09S9cmFLHMM1DRAqhYQWSbqw/R0RTB9gqsI+4uX4gW4Qd4bDPdL+i5
31
31
  SdefFMfOAx3jQTFQ
32
32
  -----END CERTIFICATE-----
33
- date: 2017-10-16 00:00:00.000000000 Z
33
+ date: 2017-11-20 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: orm_adapter
metadata.gz.sig CHANGED
Binary file