o2webappizer 0.1.12 → 0.1.13

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: 8458a9177ac1fde2b14481d8cdb15fb586186696
4
- data.tar.gz: 76cafc2f6c00c10ed83a7093b6fcf2e1d139aa6b
3
+ metadata.gz: 0c45a6ef674aff3dcfd4017b9f2f552a0ecb45ee
4
+ data.tar.gz: 1a18d695ef3f01be8d711f6df89c45dc8af92ecc
5
5
  SHA512:
6
- metadata.gz: 958c9232628423cf9f00805b5dfe4c093a92ded22fb1512725d2c2847bca025d09f92eac05f6a433c1d7597e04570552b66b509998137f864c63a420185ca129
7
- data.tar.gz: 6c1c59f94d3b2d387df5d67d358b9beb9d05226cae937e3d4d86bafb0fb8c5c49f62fd8c439c3998fa448ea529745855fe00062fcf793d688c672ac0ac637e25
6
+ metadata.gz: b9f484f506728431c87d937b1ae8f736e57d308e2e887c2184016299c636c6ac5981f71b0b263cdcc2601ec446396911cf133725a924f95592606368482f1fa8
7
+ data.tar.gz: d758115a677fa77f5655264bf9d6cabb89319f9d483720f35506407c1aac08a93da440f778912a004103fcfc7d3a1e045c333b765898ae52b943bbb17786eb06
@@ -232,6 +232,8 @@ module O2webappizer
232
232
 
233
233
  def configure_production
234
234
  configure_env 'production', 'error'
235
+ gsub_file 'production.rb', 'config.assets.js_compressor = :uglifier',
236
+ 'config.assets.js_compressor = Uglifier.new(copyright: false)'
235
237
  end
236
238
 
237
239
  def configure_staging
@@ -1,5 +1,5 @@
1
1
  module O2webappizer
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
4
  RAILS_VERSION = "4.2"
5
5
  end
data/templates/Gemfile.tt CHANGED
@@ -41,7 +41,7 @@ group :development, :test do
41
41
  gem 'spring', '~> 1.3.6'
42
42
 
43
43
  # gem 'web-console', '~> 3.0'
44
- gem 'xray-rails', github: 'mattbrictson/xray-rails', branch: 'sprockets-rails-3'
44
+ gem 'xray-rails', github: 'brentd/xray-rails'
45
45
  gem 'quiet_assets'
46
46
  gem 'coffee-rails-source-paths', github: 'Machiaweliczny/coffee-rails-source-paths'
47
47
  gem 'sass-rails-source-maps', github: 'inopinatus/sass-rails-source-maps'
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Local setup, make sure that these librairies are installed with:
4
4
 
5
+ ```console
6
+ brew tap homebrew/dupes
7
+ brew tap homebrew/versions
8
+ ```
9
+
5
10
  ```console
6
11
  brew install autoconf gdbm libpng ossp-uuid autoenv gettext libtool pcre readline automake git libyaml redis
7
12
  ```
@@ -52,9 +52,6 @@ server {
52
52
  gzip_static on;
53
53
  expires 1M;
54
54
  add_header Cache-Control public;
55
- add_header Last-Modified "";
56
- add_header ETag "";
57
- break;
58
55
  }
59
56
  <% end %>
60
57
  }
@@ -70,6 +70,8 @@ http {
70
70
 
71
71
  passenger_root /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini;
72
72
  passenger_ruby /home/<%= fetch(:deployer_name) %>/.rbenv/shims/ruby;
73
+ passenger_pool_idle_time 0;
74
+ passenger_max_request_queue_size 1000;
73
75
 
74
76
  ##
75
77
  # Virtual Host Configs
@@ -1,5 +1,6 @@
1
1
  if sunzi.to_be_done "install sysstat"; then
2
2
  sunzi.install "sysstat"
3
+ sunzi.install "iotop"
3
4
 
4
5
  sed -i 's/ENABLED="false"/ENABLED="true"/' /etc/default/sysstat
5
6
  /etc/init.d/sysstat restart
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: o2webappizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-25 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -207,4 +207,3 @@ signing_key:
207
207
  specification_version: 4
208
208
  summary: Project Boilerplate Builder used by O2Web
209
209
  test_files: []
210
- has_rdoc: