shelly-dependencies 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shelly-dependencies.rb +11 -0
- data/shelly-dependencies.gemspec +1 -1
- metadata +4 -3
@@ -0,0 +1,11 @@
|
|
1
|
+
module ShellyDependencies
|
2
|
+
if ENV['SHELLYCLOUD_DEPLOYMENT']
|
3
|
+
if defined?(Rails) && Rails.version >= "3.0.0"
|
4
|
+
class Engine < Rails::Engine
|
5
|
+
initializer "shelly-dependencies.serve_static_assets" do |app|
|
6
|
+
app.config.serve_static_assets = true
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
data/shelly-dependencies.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelly-dependencies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- Gemfile
|
71
71
|
- README.md
|
72
72
|
- Rakefile
|
73
|
+
- lib/shelly-dependencies.rb
|
73
74
|
- shelly-dependencies.gemspec
|
74
75
|
homepage: https://shellycloud.com
|
75
76
|
licenses: []
|
@@ -85,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
86
|
version: '0'
|
86
87
|
segments:
|
87
88
|
- 0
|
88
|
-
hash:
|
89
|
+
hash: 669725610478204050
|
89
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
91
|
none: false
|
91
92
|
requirements:
|
@@ -94,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
95
|
version: '0'
|
95
96
|
segments:
|
96
97
|
- 0
|
97
|
-
hash:
|
98
|
+
hash: 669725610478204050
|
98
99
|
requirements: []
|
99
100
|
rubyforge_project:
|
100
101
|
rubygems_version: 1.8.23
|