shelly-dependencies 0.1.2 → 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.
data/README.md CHANGED
@@ -1,8 +1,15 @@
1
1
  # Shelly Dependencies
2
2
 
3
- Loads gems needed for deployment on [Shelly Cloud](https://shellycloud.com).
3
+ This gem loads gems required on [Shelly Cloud](https://shellycloud.com).
4
4
 
5
- Current dependencies:
5
+ When using Rails 3.x it detects if application is deployed on Shelly and sets recommended settings.
6
+
7
+ Current gem dependencies:
6
8
 
7
9
  * [thin](http://code.macournoyer.com/thin/)
8
- * [rake](http://rake.rubyforge.org/)
10
+ * [rake](http://rake.rubyforge.org/)
11
+
12
+ Changed settings for Rails 3.x applications ran on Shelly
13
+
14
+ * config.serve_static_assets = true
15
+ * config.assets.compile = true
@@ -5,6 +5,10 @@ module ShellyDependencies
5
5
  initializer "shelly-dependencies.serve_static_assets" do |app|
6
6
  app.config.serve_static_assets = true
7
7
  end
8
+
9
+ initializer "shelly-dependencies.assets.compile" do |app|
10
+ app.config.assets.compile = true
11
+ end
8
12
  end
9
13
  end
10
14
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "shelly-dependencies"
5
- s.version = "0.1.2"
5
+ s.version = "0.2.1"
6
6
  s.authors = ["Shelly Cloud team"]
7
7
  s.email = ["support@shellycloud.com"]
8
8
  s.homepage = "https://shellycloud.com"
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.2
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-28 00:00:00.000000000 Z
12
+ date: 2012-07-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -113,3 +113,4 @@ signing_key:
113
113
  specification_version: 3
114
114
  summary: Shelly Cloud deployment dependencies
115
115
  test_files: []
116
+ has_rdoc: