shelly-dependencies 0.2.4 → 0.2.5

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
  SHA1:
3
- metadata.gz: 1fd51e01a3955a7891572f02289cc4829a796247
4
- data.tar.gz: 1ac7ebbaec06077eeb836971c7f7d4fd9d2c16a7
3
+ metadata.gz: 91c81d8bb6f877084b60b99e2b4a3dd19b130569
4
+ data.tar.gz: ff57a76aae7f773054fec44a2ea941caf35dc0b3
5
5
  SHA512:
6
- metadata.gz: 62c37bc638903cf9795bfd235fb4ccb922195dbb20521d67478a2cf466ce39eac621eb3b76e2404dc807f905376e691197adb5fd46ecd052813af432d1120ce2
7
- data.tar.gz: 97af0af877c0e1608df443fe574fe41b153ee5a2e32f0026bba5732d1f0e6d861325ae0c3fcb1b31e65abc46f0cc456e4cf705f9f258ab5933464d600c7e7dac
6
+ metadata.gz: eb538c8db6006974b1587f21785f54e385bce90f040189053bf3b52d8fe8ad1fe18033035943ceb912718feb3a2160e65aefb1fbbdab64ccdc9d4fe32a7ab118
7
+ data.tar.gz: 1a8dad902a4864eba7f477089403a1c4cff44ac400456efd3ff1d92365d725e41570927bb5ab67f130bf662a133a63fba6eb1802da0618fb47889f3f0473b69f
data/README.md CHANGED
@@ -8,6 +8,10 @@ Current gem dependencies:
8
8
  * [thin](http://code.macournoyer.com/thin/)
9
9
  * [rake](http://rake.rubyforge.org/)
10
10
 
11
+ Changed settings for Rails >= 4.2.0 applications:
12
+
13
+ * `config.serve_statis_files = true`
14
+
11
15
  Changed settings for Rails >= 3.0.0 applications:
12
16
 
13
17
  * `config.serve_static_assets = true`
@@ -1,8 +1,14 @@
1
1
  module ShellyDependencies
2
2
  if defined?(Rails) && Rails.version >= "3.0.0"
3
3
  class Engine < Rails::Engine
4
- initializer "shelly-dependencies.serve_static_assets" do |app|
5
- app.config.serve_static_assets = true
4
+ if Rails.version >= "4.2.0"
5
+ initializer "shelly-dependencies.serve_static_files" do |app|
6
+ app.config.serve_static_files = true
7
+ end
8
+ else
9
+ initializer "shelly-dependencies.serve_static_assets" do |app|
10
+ app.config.serve_static_assets = true
11
+ end
6
12
  end
7
13
 
8
14
  if Rails.version >= "3.1.0"
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "shelly-dependencies"
5
- s.version = "0.2.4"
5
+ s.version = "0.2.5"
6
6
  s.authors = ["Shelly Cloud team"]
7
7
  s.email = ["support@shellycloud.com"]
8
8
  s.homepage = "https://shellycloud.com"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelly-dependencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shelly Cloud team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2015-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  requirements: []
86
86
  rubyforge_project:
87
- rubygems_version: 2.2.1
87
+ rubygems_version: 2.4.6
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Shelly Cloud deployment dependencies