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 +4 -4
- data/README.md +4 -0
- data/lib/shelly-dependencies.rb +8 -2
- data/shelly-dependencies.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91c81d8bb6f877084b60b99e2b4a3dd19b130569
|
4
|
+
data.tar.gz: ff57a76aae7f773054fec44a2ea941caf35dc0b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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`
|
data/lib/shelly-dependencies.rb
CHANGED
@@ -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
|
-
|
5
|
-
|
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"
|
data/shelly-dependencies.gemspec
CHANGED
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
|
+
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:
|
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.
|
87
|
+
rubygems_version: 2.4.6
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Shelly Cloud deployment dependencies
|