shelly-dependencies 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1fd51e01a3955a7891572f02289cc4829a796247
4
+ data.tar.gz: 1ac7ebbaec06077eeb836971c7f7d4fd9d2c16a7
5
+ SHA512:
6
+ metadata.gz: 62c37bc638903cf9795bfd235fb4ccb922195dbb20521d67478a2cf466ce39eac621eb3b76e2404dc807f905376e691197adb5fd46ecd052813af432d1120ce2
7
+ data.tar.gz: 97af0af877c0e1608df443fe574fe41b153ee5a2e32f0026bba5732d1f0e6d861325ae0c3fcb1b31e65abc46f0cc456e4cf705f9f258ab5933464d600c7e7dac
data/README.md CHANGED
@@ -1,15 +1,18 @@
1
1
  # Shelly Dependencies
2
2
 
3
- This gem loads gems required on [Shelly Cloud](https://shellycloud.com).
4
-
5
- When using Rails 3.x it detects if application is deployed on Shelly and sets recommended settings.
3
+ This gem loads gems required on [Shelly Cloud](https://shellycloud.com)
4
+ and sets recommended settings.
6
5
 
7
6
  Current gem dependencies:
8
7
 
9
8
  * [thin](http://code.macournoyer.com/thin/)
10
9
  * [rake](http://rake.rubyforge.org/)
11
10
 
12
- Changed settings for Rails 3.x applications ran on Shelly
11
+ Changed settings for Rails >= 3.0.0 applications:
12
+
13
+ * `config.serve_static_assets = true`
14
+
15
+ Changed settings for Rails >= 3.1.0 applications:
13
16
 
14
- * config.serve_static_assets = true
15
- * config.assets.compile = true
17
+ * `config.assets.compile = true`
18
+ * `config.static_cache_control = "public, max-age=31536000"`
@@ -9,6 +9,10 @@ module ShellyDependencies
9
9
  initializer "shelly-dependencies.assets.compile" do |app|
10
10
  app.config.assets.compile = true
11
11
  end
12
+
13
+ initializer "shelly-dependencies.static_cache_control" do |app|
14
+ app.config.static_cache_control = "public, max-age=31536000"
15
+ end
12
16
  end
13
17
  end
14
18
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "shelly-dependencies"
5
- s.version = "0.2.3"
5
+ s.version = "0.2.4"
6
6
  s.authors = ["Shelly Cloud team"]
7
7
  s.email = ["support@shellycloud.com"]
8
8
  s.homepage = "https://shellycloud.com"
@@ -10,7 +10,6 @@ Gem::Specification.new do |s|
10
10
  s.description = %q{Loads gems required for deployment on Shelly Cloud}
11
11
 
12
12
  s.add_development_dependency "bundler"
13
- s.add_development_dependency "rake"
14
13
 
15
14
  s.add_runtime_dependency "thin"
16
15
  s.add_runtime_dependency "rake"
metadata CHANGED
@@ -1,78 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelly-dependencies
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.2.3
4
+ version: 0.2.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Shelly Cloud team
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-16 00:00:00.000000000 Z
11
+ date: 2014-02-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- prerelease: false
16
- type: :development
17
14
  name: bundler
18
- version_requirements: !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ! '>='
22
- - !ruby/object:Gem::Version
23
- version: '0'
24
15
  requirement: !ruby/object:Gem::Requirement
25
- none: false
26
16
  requirements:
27
- - - ! '>='
17
+ - - ">="
28
18
  - !ruby/object:Gem::Version
29
19
  version: '0'
30
- - !ruby/object:Gem::Dependency
31
- prerelease: false
32
20
  type: :development
33
- name: rake
21
+ prerelease: false
34
22
  version_requirements: !ruby/object:Gem::Requirement
35
- none: false
36
23
  requirements:
37
- - - ! '>='
24
+ - - ">="
38
25
  - !ruby/object:Gem::Version
39
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thin
40
29
  requirement: !ruby/object:Gem::Requirement
41
- none: false
42
30
  requirements:
43
- - - ! '>='
31
+ - - ">="
44
32
  - !ruby/object:Gem::Version
45
33
  version: '0'
46
- - !ruby/object:Gem::Dependency
47
- prerelease: false
48
34
  type: :runtime
49
- name: thin
35
+ prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
- none: false
52
37
  requirements:
53
- - - ! '>='
38
+ - - ">="
54
39
  - !ruby/object:Gem::Version
55
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
56
43
  requirement: !ruby/object:Gem::Requirement
57
- none: false
58
44
  requirements:
59
- - - ! '>='
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
47
  version: '0'
62
- - !ruby/object:Gem::Dependency
63
- prerelease: false
64
48
  type: :runtime
65
- name: rake
49
+ prerelease: false
66
50
  version_requirements: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ! '>='
70
- - !ruby/object:Gem::Version
71
- version: '0'
72
- requirement: !ruby/object:Gem::Requirement
73
- none: false
74
51
  requirements:
75
- - - ! '>='
52
+ - - ">="
76
53
  - !ruby/object:Gem::Version
77
54
  version: '0'
78
55
  description: Loads gems required for deployment on Shelly Cloud
@@ -82,7 +59,7 @@ executables: []
82
59
  extensions: []
83
60
  extra_rdoc_files: []
84
61
  files:
85
- - .gitignore
62
+ - ".gitignore"
86
63
  - Gemfile
87
64
  - README.md
88
65
  - Rakefile
@@ -90,26 +67,25 @@ files:
90
67
  - shelly-dependencies.gemspec
91
68
  homepage: https://shellycloud.com
92
69
  licenses: []
70
+ metadata: {}
93
71
  post_install_message:
94
72
  rdoc_options: []
95
73
  require_paths:
96
74
  - lib
97
75
  required_ruby_version: !ruby/object:Gem::Requirement
98
- none: false
99
76
  requirements:
100
- - - ! '>='
77
+ - - ">="
101
78
  - !ruby/object:Gem::Version
102
79
  version: '0'
103
80
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
81
  requirements:
106
- - - ! '>='
82
+ - - ">="
107
83
  - !ruby/object:Gem::Version
108
84
  version: '0'
109
85
  requirements: []
110
86
  rubyforge_project:
111
- rubygems_version: 1.8.25
87
+ rubygems_version: 2.2.1
112
88
  signing_key:
113
- specification_version: 3
89
+ specification_version: 4
114
90
  summary: Shelly Cloud deployment dependencies
115
91
  test_files: []