pushapp 0.1.5 → 0.1.6

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: 75e7c78964b24459a8dd00bd5bd4ff44872b7453
4
- data.tar.gz: df97b71761f307e3b078cd191a5de4bfbe5a0143
3
+ metadata.gz: 1e90dc0cb518973fc30250f946a10aab6f202af0
4
+ data.tar.gz: 2c1b52340bcb0d18d4e26fb4a03f644506b5d1fd
5
5
  SHA512:
6
- metadata.gz: 206a525b0ba677af936731e0eefff4b82f51b17bcefb535f09f59cf935543f802e8cbeb17b10336fef68a28a1c6b76ae32d0e4ed87577e46423196387de49678
7
- data.tar.gz: e8830b909209ea6409cc92958c158df713d978c4ec51499a05f465f50e37c74eca13d7c0608f20a096b6767ba3fde75febfc042c72b4e78b933f69d3bf3d8646
6
+ metadata.gz: 4db0093b2a821561af32f723815999b2e403e0551b4b8100953be3ec11c87ee3cf1f0c42291cc584cfccc1ac2de94d6fbbb8f8eb0c7de145451c077a0c3d7744
7
+ data.tar.gz: 43f0b438bff2c0e076701371b287627c0934a0a26429ce4a770ad90e205e36d7b6b8ef236c6548ddb71d8b1ee9061299d6fb170e6c5d9db138ab09a388c3af79
@@ -75,7 +75,7 @@ module Pushapp
75
75
 
76
76
  method_option :ruby,
77
77
  type: :string,
78
- default: '2.0.0-p0'
78
+ default: '2.0.0-p195'
79
79
 
80
80
  def chef_solo(remote)
81
81
  options[:remote] = remote
@@ -130,30 +130,30 @@ module Pushapp
130
130
  def postgresql_config
131
131
  {
132
132
  config: {
133
- listen_addresses: "*",
134
- port: "5432"
133
+ listen_addresses: '*',
134
+ port: '5432'
135
135
  },
136
136
  pg_hba: [
137
137
  {
138
- type: "local",
139
- db: "postgres",
140
- user: "postgres",
138
+ type: 'local',
139
+ db: 'postgres',
140
+ user: 'postgres',
141
141
  addr: nil,
142
- method: "trust"
142
+ method: 'trust'
143
143
  },
144
144
  {
145
- type: "host",
146
- db: "all",
147
- user: "all",
148
- addr: "0.0.0.0/0",
149
- method: "md5"
145
+ type: 'host',
146
+ db: 'all',
147
+ user: 'all',
148
+ addr: '0.0.0.0/0',
149
+ method: 'md5'
150
150
  },
151
151
  {
152
- type: "host",
153
- db: "all",
154
- user: "all",
155
- addr: "::1/0",
156
- method: "md5"
152
+ type: 'host',
153
+ db: 'all',
154
+ user: 'all',
155
+ addr: '::1/0',
156
+ method: 'md5'
157
157
  }
158
158
  ],
159
159
  password: {
@@ -167,17 +167,17 @@ module Pushapp
167
167
  :server_root_password => options[:db_password],
168
168
  :server_repl_password => options[:db_password],
169
169
  :server_debian_password => options[:db_password],
170
- :service_name => "mysql",
171
- :basedir => "/usr",
172
- :data_dir => "/var/lib/mysql",
173
- :root_group => "root",
174
- :mysqladmin_bin => "/usr/bin/mysqladmin",
175
- :mysql_bin => "/usr/bin/mysql",
176
- :conf_dir => "/etc/mysql",
177
- :confd_dir => "/etc/mysql/conf.d",
178
- :socket => "/var/run/mysqld/mysqld.sock",
179
- :pid_file => "/var/run/mysqld/mysqld.pid",
180
- :grants_path => "/etc/mysql/grants.sql"
170
+ :service_name => 'mysql',
171
+ :basedir => '/usr',
172
+ :data_dir => '/var/lib/mysql',
173
+ :root_group => 'root',
174
+ :mysqladmin_bin => '/usr/bin/mysqladmin',
175
+ :mysql_bin => '/usr/bin/mysql',
176
+ :conf_dir => '/etc/mysql',
177
+ :confd_dir => '/etc/mysql/conf.d',
178
+ :socket => '/var/run/mysqld/mysqld.sock',
179
+ :pid_file => '/var/run/mysqld/mysqld.pid',
180
+ :grants_path => '/etc/mysql/grants.sql'
181
181
  }
182
182
  end
183
183
 
@@ -193,15 +193,15 @@ module Pushapp
193
193
  def common_config
194
194
  cfg = {
195
195
  nginx: {
196
- dir: "/etc/nginx",
197
- log_dir: "/var/log/nginx",
198
- binary: "/usr/sbin/nginx",
199
- user: "www-data",
200
- pid: "/var/run/nginx.pid",
201
- worker_connections: "1024"
196
+ dir: '/etc/nginx',
197
+ log_dir: '/var/log/nginx',
198
+ binary: '/usr/sbin/nginx',
199
+ user: 'www-data',
200
+ pid: '/var/run/nginx.pid',
201
+ worker_connections: '1024'
202
202
  },
203
203
  git: {
204
- prefix: "/usr/local"
204
+ prefix: '/usr/local'
205
205
  },
206
206
  }
207
207
  cfg[:mysql] = mysql_config if mysql?
@@ -266,9 +266,9 @@ module Pushapp
266
266
  user: user,
267
267
  rubies: [ options[:ruby] ],
268
268
  global: options[:ruby],
269
- environment: { CFLAGS: "-march=native -O2 -pipe" },
269
+ environment: { CFLAGS: '-march=native -O2 -pipe' },
270
270
  gems: {
271
- options[:ruby] => [{name: "bundler", version: "1.3.5"}]
271
+ options[:ruby] => [{name: 'bundler', version: '1.3.5'}]
272
272
  }
273
273
  }]
274
274
  }
@@ -1,3 +1,3 @@
1
1
  module Pushapp
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Korolev