osx_provision 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/{osx_provision.json → .osx_provision.json} +9 -4
- data/CHANGES +4 -0
- data/README.md +1 -0
- data/lib/osx_provision/generic_provision.rb +9 -17
- data/lib/osx_provision/osx_provision.rb +34 -60
- data/lib/osx_provision/osx_provision_scripts.sh +90 -41
- data/lib/osx_provision/version.rb +1 -1
- data/thor/osx_install.thor +31 -52
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZTU1NGY0YThjMGM3YTYwZWM3ZmVkM2ZkYzVlNjJhNWY3NWRkMzU4NA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 9060e75aeda053718ddf9ee5a8bf7b6b275aa2df
|
4
|
+
data.tar.gz: 182fcf1605ce989a1605f4d57a36ebe333cff7c4
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZWU4M2QwZTdiZDRjM2VkOWMyMjVlN2I5YmNkYmM3Yzc3YzdkOGU2ODY2NDg1
|
11
|
-
OTljNmVmYzM1MjA2MGNmMjIyN2RmMGM5NDgyOWY1ZWJmMjQ0OTQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MWM5NjY0MTFjN2YxOGVjMTUzOTVmZjkzMmU2YTRmYWQ4NjlhNmVkZTNjMDAy
|
14
|
-
Y2IxZjY2Y2E5MjQ3ZmQ2NjIwODg5Y2MxZWQ3ZWM2NWE3OGJmNGY1Nzg5ODAx
|
15
|
-
MzBlNzE0YjA5MWZlYzA4NjE3NmQzM2QxMTNlMzhlOTYwZDgxODQ=
|
6
|
+
metadata.gz: b2287fc9d00f947627d1459c191a6d89ca0224d73147b1e67d399f214052987286d6e0417e84384e552d217928fdf1b16a03367f8330b43fc9ce58f548551ffb
|
7
|
+
data.tar.gz: d87b3ba5aa3b4f25f54f1d517bac9962d4314ab5b156d5dbfd6fa85f968889b48e2d085ffd47c3dc45939119cff89bb017ab7f4cb823186c5ac441a006ae91e7
|
@@ -3,20 +3,25 @@
|
|
3
3
|
"domain": "127.0.0.1",
|
4
4
|
"user": "ENV['USER']",
|
5
5
|
"home": "ENV['HOME']",
|
6
|
+
"port": "",
|
6
7
|
"remote": false
|
7
8
|
},
|
8
9
|
|
10
|
+
"project": {
|
11
|
+
"home": "#{node.home}/osx_provision/demo",
|
12
|
+
"ruby_version": "1.9.3",
|
13
|
+
"gemset": "osx_provision"
|
14
|
+
},
|
15
|
+
|
9
16
|
"postgres": {
|
10
17
|
"hostname": "localhost", "user": "postgres", "password": "postgres",
|
11
|
-
|
12
|
-
"app_user": "ruby_dev_user",
|
18
|
+
"app_user": "ruby_dev", "app_password": "ruby_dev",
|
13
19
|
"app_schemas": ["ruby_dev_test", "ruby_dev_dev", "ruby_dev_prod"]
|
14
20
|
},
|
15
21
|
|
16
22
|
"mysql": {
|
17
23
|
"hostname": "localhost", "user": "root", "password": "root",
|
18
|
-
|
19
|
-
"app_user": "ruby_dev_user",
|
24
|
+
"app_user": "ruby_dev", "app_password": "ruby_dev",
|
20
25
|
"app_schemas": ["ruby_dev_test", "ruby_dev_dev", "ruby_dev_prod"]
|
21
26
|
}
|
22
27
|
|
data/CHANGES
CHANGED
data/README.md
CHANGED
@@ -21,27 +21,19 @@ class GenericProvision
|
|
21
21
|
@script_list.merge!(scripts(name))
|
22
22
|
end
|
23
23
|
|
24
|
-
|
24
|
+
create_script_methods
|
25
25
|
|
26
26
|
@server_info = env[:node] ? env[:node] : {}
|
27
27
|
end
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
# end
|
38
|
-
#
|
39
|
-
# # create methods on installer
|
40
|
-
# current_metaclass.send(:define_method, name.to_sym) do |_, _|
|
41
|
-
# current.send :run, current.server_info, name.to_s, current.env
|
42
|
-
# end
|
43
|
-
# end
|
44
|
-
# end
|
29
|
+
def create_script_methods
|
30
|
+
script_list.keys.each do |name|
|
31
|
+
new_name = "#{name}_script"
|
32
|
+
singleton_class.send(:define_method, new_name.to_sym) do
|
33
|
+
self.send :run, server_info, new_name.to_s, env
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
45
37
|
|
46
38
|
protected
|
47
39
|
|
@@ -3,6 +3,12 @@ require 'osx_provision/generic_provision'
|
|
3
3
|
class OsxProvision < GenericProvision
|
4
4
|
USER_LOCAL_BIN = "/usr/local/bin"
|
5
5
|
|
6
|
+
def initialize config_file_name=".osx_provision.json", scripts_file_names=[]
|
7
|
+
scripts_file_names.unshift(File.expand_path("osx_provision_scripts.sh", File.dirname(__FILE__))) # make it first
|
8
|
+
|
9
|
+
super
|
10
|
+
end
|
11
|
+
|
6
12
|
def prepare
|
7
13
|
env['password'] = ask_password("Enter password for #{env[:node][:user]}: ")
|
8
14
|
|
@@ -135,85 +141,53 @@ class OsxProvision < GenericProvision
|
|
135
141
|
run(server_info, "selenium_restart", env.merge({started: started}))
|
136
142
|
end
|
137
143
|
|
138
|
-
def
|
139
|
-
|
140
|
-
|
141
|
-
schemas.each do |schema|
|
142
|
-
create_postgres_schema user, schema
|
143
|
-
end
|
144
|
+
def postgres_create_user
|
145
|
+
run(server_info, "postgres_create_user", env)
|
144
146
|
end
|
145
147
|
|
146
|
-
def
|
147
|
-
|
148
|
-
|
148
|
+
def postgres_create_schemas
|
149
|
+
env[:postgres][:app_schemas].each do |schema|
|
150
|
+
run(server_info, "postgres_create_schema", env.merge(schema: schema))
|
149
151
|
end
|
150
|
-
|
151
|
-
drop_postgres_user user, schemas.first
|
152
|
-
end
|
153
|
-
|
154
|
-
def postgres_test schema
|
155
|
-
result = get_postgres_schemas schema
|
156
|
-
|
157
|
-
puts result
|
158
|
-
end
|
159
|
-
|
160
|
-
private
|
161
|
-
|
162
|
-
def service_started name
|
163
|
-
result = run server_info.merge(:suppress_output => true, :capture_output => true),
|
164
|
-
"service_started", env.merge({name: name})
|
165
|
-
|
166
|
-
result.chomp.size > 0
|
167
152
|
end
|
168
153
|
|
169
|
-
def
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
def create_mysql_schema schema
|
174
|
-
schema_exists = mysql_schema_exist?(config[:mysql][:hostname], config[:mysql][:user], config[:mysql][:password], schema)
|
175
|
-
|
176
|
-
run(server_info, "create_mysql_schema", env) unless schema_exists
|
177
|
-
end
|
178
|
-
|
179
|
-
def mysql_schema_exist?(hostname, user, password, schema)
|
180
|
-
get_mysql_schemas(hostname, user, password, schema).include?(schema)
|
154
|
+
def postgres_drop_schemas
|
155
|
+
env[:postgres][:app_schemas].each do |schema|
|
156
|
+
run(server_info, "postgres_drop_schema", env.merge(schema: schema))
|
157
|
+
end
|
181
158
|
end
|
182
159
|
|
183
|
-
def
|
184
|
-
|
185
|
-
|
186
|
-
run_command server_info.merge(:suppress_output => true, :capture_output => true), command
|
160
|
+
def postgres_drop_user
|
161
|
+
run(server_info, "postgres_drop_user", env)
|
187
162
|
end
|
188
163
|
|
189
|
-
def
|
190
|
-
|
164
|
+
def mysql_create_user
|
165
|
+
run(server_info, "mysql_create_user", env)
|
191
166
|
end
|
192
167
|
|
193
|
-
def
|
194
|
-
|
195
|
-
|
196
|
-
run_command server_info.merge(:suppress_output => true, :capture_output => true), command
|
168
|
+
def mysql_drop_user
|
169
|
+
run(server_info, "mysql_drop_user", env)
|
197
170
|
end
|
198
171
|
|
199
|
-
def
|
200
|
-
|
172
|
+
def mysql_create_schemas
|
173
|
+
env[:mysql][:app_schemas].each do |schema|
|
174
|
+
run(server_info, "mysql_create_schema", env.merge(schema: schema))
|
175
|
+
end
|
201
176
|
end
|
202
177
|
|
203
|
-
def
|
204
|
-
|
205
|
-
|
206
|
-
|
178
|
+
def mysql_drop_schemas
|
179
|
+
env[:mysql][:app_schemas].each do |schema|
|
180
|
+
run(server_info, "mysql_drop_schema", env.merge(schema: schema))
|
181
|
+
end
|
207
182
|
end
|
208
183
|
|
209
|
-
|
210
|
-
run(server_info, "create_postgres_schema", env.merge({app_user: app_user, schema: schema}))
|
211
|
-
end
|
184
|
+
private
|
212
185
|
|
213
|
-
def
|
214
|
-
|
186
|
+
def service_started name
|
187
|
+
result = run server_info.merge(:suppress_output => true, :capture_output => true),
|
188
|
+
"service_started", env.merge({name: name})
|
215
189
|
|
216
|
-
|
190
|
+
result.chomp.size > 0
|
217
191
|
end
|
218
192
|
|
219
193
|
def package_installed package_path
|
@@ -53,22 +53,25 @@ mkdir #{home}/Library/LaunchAgents/
|
|
53
53
|
[mysql]
|
54
54
|
|
55
55
|
PATH=$PATH:/usr/local/bin
|
56
|
-
USER_HOME=
|
56
|
+
USER_HOME='#{node.home}'
|
57
|
+
|
58
|
+
USER='#{mysql.user}'
|
59
|
+
PASSWORD='#{mysql.password}'
|
57
60
|
|
58
61
|
brew install mysql
|
59
62
|
|
60
63
|
mkdir -p $USER_HOME/Library/LaunchAgents
|
61
64
|
|
62
|
-
ln -sfv /usr/local/opt/mysql/*.plist $USER_HOME/Library/LaunchAgents
|
65
|
+
sudo ln -sfv /usr/local/opt/mysql/*.plist $USER_HOME/Library/LaunchAgents
|
63
66
|
|
64
|
-
mysqladmin -u
|
67
|
+
mysqladmin -u$USER password $PASSWORD
|
65
68
|
|
66
69
|
|
67
70
|
#######################################
|
68
71
|
[mysql_restart]
|
69
72
|
|
70
|
-
STARTED=
|
71
|
-
USER_HOME=
|
73
|
+
STARTED='[#{started}]'
|
74
|
+
USER_HOME='#{node.home}'
|
72
75
|
|
73
76
|
if [ "$STARTED" = "[true]" ] ; then
|
74
77
|
launchctl unload $USER_HOME/Library/LaunchAgents/homebrew.mxcl.mysql.plist
|
@@ -77,36 +80,6 @@ fi
|
|
77
80
|
launchctl load $USER_HOME/Library/LaunchAgents/homebrew.mxcl.mysql.plist
|
78
81
|
|
79
82
|
|
80
|
-
#######################################
|
81
|
-
[create_mysql_user]
|
82
|
-
|
83
|
-
PATH=$PATH:/usr/local/bin
|
84
|
-
|
85
|
-
APP_USER='#{app_user}'
|
86
|
-
HOST_NAME='#{mysql[:hostname]}'
|
87
|
-
USER='#{mysql[:user]}'
|
88
|
-
PASSWORD='#{mysql][:password]}'
|
89
|
-
|
90
|
-
mysql -h $HOST_NAME -u root -p"root" -e "DROP USER '$APP_USER'@'$HOST_NAME';"
|
91
|
-
mysql -h $HOST_NAME -u root -p"root" -e "CREATE USER '$APP_USER'@'$HOST_NAME' IDENTIFIED BY '$APP_USER';"
|
92
|
-
|
93
|
-
mysql -h $HOST_NAME -u root -p"root" -e "grant all privileges on *.* to '$APP_USER'@'$HOST_NAME' identified by '$APP_USER' with grant option;"
|
94
|
-
mysql -h $HOST_NAME -u root -p"root" -e "grant all privileges on *.* to '$APP_USER'@'%' identified by '$APP_USER' with grant option;"
|
95
|
-
|
96
|
-
|
97
|
-
#######################################
|
98
|
-
[create_mysql_schema]
|
99
|
-
|
100
|
-
PATH=$PATH:/usr/local/bin
|
101
|
-
|
102
|
-
SCHEMA='#{schema}'
|
103
|
-
HOST_NAME='#{mysql[:hostname]}'
|
104
|
-
USER='#{mysql[:user]}'
|
105
|
-
PASSWORD='#{mysql[:password]}'
|
106
|
-
|
107
|
-
mysql -h $HOST_NAME -u root -p"root" -e "create database $SCHEMA;"
|
108
|
-
|
109
|
-
|
110
83
|
#######################################
|
111
84
|
[postgres]
|
112
85
|
|
@@ -150,26 +123,102 @@ launchctl load -w $USER_HOME/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
|
|
150
123
|
|
151
124
|
|
152
125
|
#######################################
|
153
|
-
[
|
126
|
+
[postgres_create_user]
|
154
127
|
|
155
128
|
PATH=$PATH:/usr/local/bin
|
156
129
|
|
157
|
-
APP_USER='#{app_user}'
|
130
|
+
APP_USER='#{postgres.app_user}'
|
158
131
|
|
159
132
|
createuser -s -d -r $APP_USER
|
160
133
|
|
161
134
|
|
162
135
|
#######################################
|
163
|
-
[
|
136
|
+
[postgres_create_schema]
|
164
137
|
|
165
138
|
PATH=$PATH:/usr/local/bin
|
166
139
|
|
167
|
-
APP_USER='#{app_user}'
|
140
|
+
APP_USER='#{postgres.app_user}'
|
168
141
|
SCHEMA='#{schema}'
|
169
142
|
|
170
143
|
createdb -U $APP_USER $SCHEMA
|
171
144
|
|
172
145
|
|
146
|
+
#######################################
|
147
|
+
[postgres_drop_schema]
|
148
|
+
|
149
|
+
PATH=$PATH:/usr/local/bin
|
150
|
+
|
151
|
+
SCHEMA='#{schema}'
|
152
|
+
|
153
|
+
dropdb $SCHEMA
|
154
|
+
|
155
|
+
|
156
|
+
#######################################
|
157
|
+
[postgres_drop_user]
|
158
|
+
|
159
|
+
PATH=$PATH:/usr/local/bin
|
160
|
+
|
161
|
+
APP_USER='#{postgres.app_user}'
|
162
|
+
|
163
|
+
dropuser $APP_USER
|
164
|
+
|
165
|
+
|
166
|
+
#######################################
|
167
|
+
[mysql_create_user]
|
168
|
+
|
169
|
+
PATH=$PATH:/usr/local/bin
|
170
|
+
|
171
|
+
HOST_NAME='#{mysql.hostname}'
|
172
|
+
APP_USER='#{mysql.app_user}'
|
173
|
+
USER='#{mysql.user}'
|
174
|
+
PASSWORD='#{mysql.password}'
|
175
|
+
|
176
|
+
mysql -h $HOST_NAME -u$USER -p$PASSWORD -e "CREATE USER '$APP_USER'@'$HOST_NAME' IDENTIFIED BY '$APP_USER';"
|
177
|
+
mysql -h $HOST_NAME -u$USER -p$PASSWORD -e "GRANT ALL PRIVILEGES ON *.* to '$APP_USER'@'$HOST_NAME' IDENTIFIED BY '$APP_USER' WITH GRANT OPTION;"
|
178
|
+
|
179
|
+
#######################################
|
180
|
+
[mysql_drop_user]
|
181
|
+
|
182
|
+
PATH=$PATH:/usr/local/bin
|
183
|
+
|
184
|
+
HOST_NAME='#{mysql.hostname}'
|
185
|
+
USER='#{mysql.user}'
|
186
|
+
PASSWORD='#{mysql.password}'
|
187
|
+
APP_USER='#{mysql.app_user}'
|
188
|
+
|
189
|
+
mysql -h $HOST_NAME -u$USER -p$PASSWORD -e "DROP USER '$APP_USER'@'$HOST_NAME';"
|
190
|
+
|
191
|
+
|
192
|
+
#######################################
|
193
|
+
[mysql_create_schema]
|
194
|
+
|
195
|
+
PATH=$PATH:/usr/local/bin
|
196
|
+
|
197
|
+
SCHEMA='#{schema}'
|
198
|
+
|
199
|
+
HOST_NAME='#{mysql.hostname}'
|
200
|
+
USER='#{mysql.user}'
|
201
|
+
PASSWORD='#{mysql.password}'
|
202
|
+
APP_USER='#{mysql.app_user}'
|
203
|
+
|
204
|
+
mysql -h $HOST_NAME -u$USER -p$PASSWORD -e "create database $SCHEMA;"
|
205
|
+
|
206
|
+
|
207
|
+
#######################################
|
208
|
+
[mysql_drop_schema]
|
209
|
+
|
210
|
+
PATH=$PATH:/usr/local/bin
|
211
|
+
|
212
|
+
SCHEMA='#{schema}'
|
213
|
+
|
214
|
+
HOST_NAME='#{mysql.hostname}'
|
215
|
+
USER='#{mysql.user}'
|
216
|
+
PASSWORD='#{mysql.password}'
|
217
|
+
APP_USER='#{mysql.app_user}'
|
218
|
+
|
219
|
+
mysql -h $HOST_NAME -u$USER -p$PASSWORD -e "drop database $SCHEMA;"
|
220
|
+
|
221
|
+
|
173
222
|
#######################################
|
174
223
|
[ruby]
|
175
224
|
|
@@ -219,7 +268,7 @@ ln -sfv /usr/local/opt/selenium-server-standalone/*.plist $USER_HOME/Library/Lau
|
|
219
268
|
STARTED="[#{started}]"
|
220
269
|
USER_HOME="#{node.home}"
|
221
270
|
|
222
|
-
if [ "$STARTED" = "true" ] ; then
|
271
|
+
if [ "$STARTED" = "[true]" ] ; then
|
223
272
|
launchctl unload $USER_HOME/Library/LaunchAgents/homebrew.mxcl.selenium-server-standalone.plist
|
224
273
|
fi
|
225
274
|
|
@@ -241,7 +290,7 @@ ls #{package_path}
|
|
241
290
|
#######################################
|
242
291
|
[service_started]
|
243
292
|
|
244
|
-
NAME="#{name
|
293
|
+
NAME="#{name}"
|
245
294
|
|
246
295
|
TEMPFILE="$(mktemp XXXXXXXX)"
|
247
296
|
launchctl list | grep $NAME > $TEMPFILE
|
data/thor/osx_install.thor
CHANGED
@@ -3,14 +3,25 @@ $: << File.expand_path(File.dirname(__FILE__) + '/../lib')
|
|
3
3
|
require 'osx_provision/osx_provision'
|
4
4
|
|
5
5
|
class OsxInstall < Thor
|
6
|
-
|
6
|
+
def self.installer
|
7
|
+
@@installer ||= OsxProvision.new ".osx_provision.json"
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.create_thor_script_methods parent_class
|
11
|
+
installer.script_list.each do |name, value|
|
12
|
+
title = installer.script_title(value)
|
7
13
|
|
8
|
-
|
9
|
-
@installer = OsxProvision.new ".osx_provision.json", "osx_provision_scripts.sh"
|
14
|
+
title = title.nil? ? name : title
|
10
15
|
|
11
|
-
|
16
|
+
parent_class.send :desc, name, title
|
17
|
+
parent_class.send(:define_method, name.to_sym) do
|
18
|
+
self.class.installer.send "#{name}".to_sym
|
19
|
+
end
|
20
|
+
end
|
12
21
|
end
|
13
22
|
|
23
|
+
create_thor_script_methods self
|
24
|
+
|
14
25
|
desc "all", "Installs all required packages"
|
15
26
|
def all
|
16
27
|
invoke :brew
|
@@ -32,63 +43,31 @@ class OsxInstall < Thor
|
|
32
43
|
|
33
44
|
invoke :ruby
|
34
45
|
|
35
|
-
invoke :
|
36
|
-
|
46
|
+
invoke :postgres_create_user
|
47
|
+
invoke :postgres_create_schemas
|
37
48
|
|
38
|
-
|
39
|
-
|
40
|
-
installer.mysql_restart
|
49
|
+
invoke :mysql_create_user
|
50
|
+
invoke :mysql_create_schemas
|
41
51
|
end
|
42
52
|
|
43
|
-
desc "
|
44
|
-
def
|
45
|
-
installer.
|
53
|
+
desc "postgres_create_schemas", "Initializes postgres schemas"
|
54
|
+
def postgres_create_schemas
|
55
|
+
self.class.installer.postgres_create_schemas
|
46
56
|
end
|
47
57
|
|
48
|
-
desc "
|
49
|
-
def
|
50
|
-
installer.
|
58
|
+
desc "postgres_drop_schemas", "Drops postgres schemas"
|
59
|
+
def postgres_drop_schemas
|
60
|
+
self.class.installer.postgres_drop_schemas
|
51
61
|
end
|
52
62
|
|
53
|
-
desc "
|
54
|
-
def
|
55
|
-
installer.
|
63
|
+
desc "mysql_create_schemas", "Initializes mysql schemas"
|
64
|
+
def mysql_create_schemas
|
65
|
+
self.class.installer.mysql_create_schemas
|
56
66
|
end
|
57
67
|
|
58
|
-
desc "
|
59
|
-
def
|
60
|
-
installer.
|
61
|
-
end
|
62
|
-
|
63
|
-
desc "selenium_restart", "Restarts selenium server"
|
64
|
-
def selenium_restart
|
65
|
-
installer.selenium_restart
|
66
|
-
end
|
67
|
-
|
68
|
-
desc "postgres_create", "Initializes postgres project schemas"
|
69
|
-
def postgres_create
|
70
|
-
installer.postgres_create env["app_user"], env["app_schemas"]
|
71
|
-
end
|
72
|
-
|
73
|
-
desc "postgres_drop", "Drops postgres project schemas"
|
74
|
-
def postgres_drop
|
75
|
-
installer.postgres_drop env["app_user"], env["app_schemas"]
|
76
|
-
end
|
77
|
-
|
78
|
-
desc "postgres_test", "Test postgres schemas"
|
79
|
-
def postgres_test
|
80
|
-
installer.postgres_test env["app_user"]
|
81
|
-
end
|
82
|
-
|
83
|
-
desc "test", "test"
|
84
|
-
def test
|
85
|
-
puts "test"
|
86
|
-
end
|
87
|
-
|
88
|
-
private
|
89
|
-
|
90
|
-
def method_missing(method, *args, &block)
|
91
|
-
installer.send(method, *args, &block)
|
68
|
+
desc "mysql_drop_schemas", "Drops mysql schemas"
|
69
|
+
def mysql_drop_schemas
|
70
|
+
self.class.installer.mysql_drop_schemas
|
92
71
|
end
|
93
72
|
|
94
73
|
end
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osx_provision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: text-interpolator
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: script_executor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0.19'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0.19'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: json_pure
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.8'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.8'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: gemspec_deps_gen
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '1.1'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.1'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: gemcutter
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.7'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.7'
|
97
97
|
description: Library for building Mac OSX computer provisioning
|
@@ -100,9 +100,10 @@ executables: []
|
|
100
100
|
extensions: []
|
101
101
|
extra_rdoc_files: []
|
102
102
|
files:
|
103
|
-
- .gitignore
|
104
|
-
- .
|
105
|
-
- .ruby-
|
103
|
+
- ".gitignore"
|
104
|
+
- ".osx_provision.json"
|
105
|
+
- ".ruby-gemset"
|
106
|
+
- ".ruby-version"
|
106
107
|
- CHANGES
|
107
108
|
- Gemfile
|
108
109
|
- LICENSE
|
@@ -116,7 +117,6 @@ files:
|
|
116
117
|
- lib/osx_provision/version.rb
|
117
118
|
- osx_provision.gemspec
|
118
119
|
- osx_provision.gemspec.erb
|
119
|
-
- osx_provision.json
|
120
120
|
- spec/osx_provision_spec.rb
|
121
121
|
- spec/spec_helper.rb
|
122
122
|
- thor/osx_install.thor
|
@@ -129,12 +129,12 @@ require_paths:
|
|
129
129
|
- lib
|
130
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- -
|
132
|
+
- - ">="
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- -
|
137
|
+
- - ">="
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|