global 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: 6a7a9a5f156b4b36c926824c62d8d6fd048299c4
4
- data.tar.gz: c329c0815b12aece018e069943370ca3e4a89d3f
3
+ metadata.gz: cc018c60be91bbac80695e0dd7c5d21507e05a00
4
+ data.tar.gz: 99fe732e9ec437f375b16465a760b0dd976d4874
5
5
  SHA512:
6
- metadata.gz: 44cc4084bb0cbf4de92b1243c77b3a17ecb3c330d4b38940296af1ddc7dabbcb20e3e4559ce0c1431f9aad3baf3854055659c041ea2a0e04d1856aea4e70572a
7
- data.tar.gz: 7cd22c3acb70423318182cad6783b5e99811dd2c0887d9660b6051ddf0689291d003e77a79b86b44c534bae76774afa5f34433398f6f041feb93e585b7d8236c
6
+ metadata.gz: 51469cc612efe4b3ef4886b47668ac58a97d873187077590a0ce51435d6a78df89a04c8cc87f2eb5195f956e9496799f6e9cfdbcdcc5f555649b6af9eec3aff3
7
+ data.tar.gz: 0db0206fe9ada5910bf9184152ba603a061382c8a819a7e06706e9a0eb4351dd109abbdbe2756d59501b3190b037ce8095a550850db4872f516d831fa9d493ca
@@ -61,7 +61,7 @@ module Global
61
61
  "application/javascript",
62
62
  SprocketsExtension
63
63
  )
64
- else
64
+ elsif Rails.application.config.respond_to?(:assets)
65
65
  # Other rails version, assumed newer
66
66
  Rails.application.config.assets.configure do |config|
67
67
  config.register_preprocessor(
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Global
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: global
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Railsware LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-04 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubyforge_project: global
133
- rubygems_version: 2.4.8
133
+ rubygems_version: 2.6.11
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: Simple way to load your configs from yaml