potion 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NWJlNDZlMTFjZTE5MWIzM2E5Yjk2NmRiNDIyODMxNTA4NzA0NjM1NA==
5
- data.tar.gz: !binary |-
6
- NDk3NjZhNDJkZmZhYWY5YzI1YmY0NjQ4NTcyMTIyZDYxOTQyYWZlNQ==
2
+ SHA1:
3
+ metadata.gz: 97ba55faf5459d54368a37b102023555371e844c
4
+ data.tar.gz: 927959e58826f9259745d0117b3bef5b7420ff48
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OTliMjgxZmVkYzUyMDM2ZDU3ZjI1ZjA3ZDhiNmM5Yzc3ODQzZjcyYzUyODZh
10
- NDRlMjkxYzg3OGE1NmQ2NmNhNDQ5ZGY2Y2E1YmE5YmIyZmQ5ZWY3YjcxNDNj
11
- MWZiZDZlNjIxYTNlYjE2MTVmMjNiMGQ3Yzc3OTRiMTcwMzJjMTQ=
12
- data.tar.gz: !binary |-
13
- ZDNlYTYzODg0ZDY3MmNjZDE4MTFkOWM2MTZiMzIzYWRkNmY0NWU3OWNhNzY0
14
- YjBjMmE4YWIzZWM2OGFlY2FlMzc0NmJmNmQ3OGE3ZDk5YTE1ZTU5ZjJmMTBj
15
- N2NlYzk0ZTY5N2NhNjRmYWExZTM2NWEwMmRjZjc4NDQ0ZDY4NTM=
6
+ metadata.gz: 91bc9b776264b44458793a959aeeaaffab63ac05865083498c8d5c8cb8552429401560401a817a19d68a4cf835f0de9afd120789d597f13857b567fb071accd1
7
+ data.tar.gz: 44f7b3bcaf174bf613407406960c08bf349557b7ae810749f60206026362d1de23beb2059fd6c045709e86ee435ff0d850f59f95b3cd301f805d2be8af2c7b0b
@@ -1,33 +1,33 @@
1
1
  module Potion::Deployers
2
2
  def deploy_to_gh_pages(source_dir)
3
3
  original_branch = `git status`.match(/On branch (?<branch>\S*)/)['branch']
4
-
4
+
5
5
  base_dir = `pwd`.strip
6
6
  tmp_file_path = "/tmp/potion_#{Time.now.to_i}"
7
7
  FileUtils.mkdir_p(tmp_file_path)
8
8
  FileUtils.cp_r(File.join(source_dir, "."), tmp_file_path)
9
-
9
+
10
10
  File.open(File.join(tmp_file_path, "potion_deploy.txt"), "w+") do |file|
11
11
  file.puts "Built and deployed by Potion on: #{Time.now}"
12
12
  end
13
-
13
+
14
14
  switch_branches = `git checkout gh-pages 2>&1`.strip
15
- raise "Could not switch branches: \n#{switch_branches}" unless switch_branches.include?("Switched to branch 'gh-pages'")
16
-
15
+ raise "Could not switch branches: \n#{switch_branches}" unless switch_branches.include?("Switched to branch 'gh-pages'")
16
+
17
17
  delete_current_files = `rm -rf * 2>&1`.strip
18
18
  raise "Error clearing out old files: \n#{delete_current_files}" unless delete_current_files == ""
19
-
19
+
20
20
  FileUtils.cp_r(File.join(tmp_file_path, "."), base_dir)
21
-
21
+
22
22
  `git add .`
23
23
  `git commit -a -m "Automatic commit by Potion as part of deploy: #{Time.now}"`
24
-
24
+
25
25
  puts "*** Pushing to: origin/gh-pages"
26
- `git push origin gh-pages`
27
-
26
+ `git push origin gh-pages --force`
27
+
28
28
  puts
29
-
29
+
30
30
  `git checkout #{original_branch}`
31
31
  puts "\n*** Deploy complete."
32
32
  end
33
- end
33
+ end
@@ -1,3 +1,3 @@
1
1
  module Potion
2
- VERSION = "0.0.4"
3
- end
2
+ VERSION = "0.0.5"
3
+ end
metadata CHANGED
@@ -1,435 +1,435 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: potion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Gough
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-19 00:00:00.000000000 Z
11
+ date: 2014-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ! '>='
16
+ - - '>='
18
17
  - !ruby/object:Gem::Version
19
18
  version: 1.0.0
20
- type: :runtime
21
19
  prerelease: false
20
+ name: bundler
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
- - - ! '>='
23
+ - - '>='
25
24
  - !ruby/object:Gem::Version
26
25
  version: 1.0.0
26
+ type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
- name: tilt
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
- - - ! '>='
30
+ - - '>='
32
31
  - !ruby/object:Gem::Version
33
32
  version: 1.3.4
34
- type: :runtime
35
33
  prerelease: false
34
+ name: tilt
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
- - - ! '>='
37
+ - - '>='
39
38
  - !ruby/object:Gem::Version
40
39
  version: 1.3.4
40
+ type: :runtime
41
41
  - !ruby/object:Gem::Dependency
42
- name: commander
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
- - - ! '>='
44
+ - - '>='
46
45
  - !ruby/object:Gem::Version
47
46
  version: 4.1.3
48
- type: :runtime
49
47
  prerelease: false
48
+ name: commander
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
- - - ! '>='
51
+ - - '>='
53
52
  - !ruby/object:Gem::Version
54
53
  version: 4.1.3
54
+ type: :runtime
55
55
  - !ruby/object:Gem::Dependency
56
- name: mini_magick
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
- - - ! '>='
58
+ - - '>='
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
62
- type: :runtime
63
61
  prerelease: false
62
+ name: mini_magick
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
- - - ! '>='
65
+ - - '>='
67
66
  - !ruby/object:Gem::Version
68
67
  version: '0'
68
+ type: :runtime
69
69
  - !ruby/object:Gem::Dependency
70
- name: directory_watcher
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
- - - ! '>='
72
+ - - '>='
74
73
  - !ruby/object:Gem::Version
75
74
  version: '0'
76
- type: :runtime
77
75
  prerelease: false
76
+ name: directory_watcher
78
77
  version_requirements: !ruby/object:Gem::Requirement
79
78
  requirements:
80
- - - ! '>='
79
+ - - '>='
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0'
82
+ type: :runtime
83
83
  - !ruby/object:Gem::Dependency
84
- name: require_all
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
- - - ! '>='
86
+ - - '>='
88
87
  - !ruby/object:Gem::Version
89
88
  version: '0'
90
- type: :runtime
91
89
  prerelease: false
90
+ name: require_all
92
91
  version_requirements: !ruby/object:Gem::Requirement
93
92
  requirements:
94
- - - ! '>='
93
+ - - '>='
95
94
  - !ruby/object:Gem::Version
96
95
  version: '0'
96
+ type: :runtime
97
97
  - !ruby/object:Gem::Dependency
98
- name: asciidoctor
99
98
  requirement: !ruby/object:Gem::Requirement
100
99
  requirements:
101
- - - ! '>='
100
+ - - '>='
102
101
  - !ruby/object:Gem::Version
103
102
  version: 0.1.0
104
- type: :runtime
105
103
  prerelease: false
104
+ name: asciidoctor
106
105
  version_requirements: !ruby/object:Gem::Requirement
107
106
  requirements:
108
- - - ! '>='
107
+ - - '>='
109
108
  - !ruby/object:Gem::Version
110
109
  version: 0.1.0
110
+ type: :runtime
111
111
  - !ruby/object:Gem::Dependency
112
- name: RedCloth
113
112
  requirement: !ruby/object:Gem::Requirement
114
113
  requirements:
115
- - - ! '>='
114
+ - - '>='
116
115
  - !ruby/object:Gem::Version
117
116
  version: '0'
118
- type: :runtime
119
117
  prerelease: false
118
+ name: RedCloth
120
119
  version_requirements: !ruby/object:Gem::Requirement
121
120
  requirements:
122
- - - ! '>='
121
+ - - '>='
123
122
  - !ruby/object:Gem::Version
124
123
  version: '0'
124
+ type: :runtime
125
125
  - !ruby/object:Gem::Dependency
126
- name: bluecloth
127
126
  requirement: !ruby/object:Gem::Requirement
128
127
  requirements:
129
- - - ! '>='
128
+ - - '>='
130
129
  - !ruby/object:Gem::Version
131
130
  version: '0'
132
- type: :runtime
133
131
  prerelease: false
132
+ name: bluecloth
134
133
  version_requirements: !ruby/object:Gem::Requirement
135
134
  requirements:
136
- - - ! '>='
135
+ - - '>='
137
136
  - !ruby/object:Gem::Version
138
137
  version: '0'
138
+ type: :runtime
139
139
  - !ruby/object:Gem::Dependency
140
- name: builder
141
140
  requirement: !ruby/object:Gem::Requirement
142
141
  requirements:
143
- - - ! '>='
142
+ - - '>='
144
143
  - !ruby/object:Gem::Version
145
144
  version: '0'
146
- type: :runtime
147
145
  prerelease: false
146
+ name: builder
148
147
  version_requirements: !ruby/object:Gem::Requirement
149
148
  requirements:
150
- - - ! '>='
149
+ - - '>='
151
150
  - !ruby/object:Gem::Version
152
151
  version: '0'
152
+ type: :runtime
153
153
  - !ruby/object:Gem::Dependency
154
- name: coffee-script
155
154
  requirement: !ruby/object:Gem::Requirement
156
155
  requirements:
157
- - - ! '>='
156
+ - - '>='
158
157
  - !ruby/object:Gem::Version
159
158
  version: '0'
160
- type: :runtime
161
159
  prerelease: false
160
+ name: coffee-script
162
161
  version_requirements: !ruby/object:Gem::Requirement
163
162
  requirements:
164
- - - ! '>='
163
+ - - '>='
165
164
  - !ruby/object:Gem::Version
166
165
  version: '0'
166
+ type: :runtime
167
167
  - !ruby/object:Gem::Dependency
168
- name: contest
169
168
  requirement: !ruby/object:Gem::Requirement
170
169
  requirements:
171
- - - ! '>='
170
+ - - '>='
172
171
  - !ruby/object:Gem::Version
173
172
  version: '0'
174
- type: :runtime
175
173
  prerelease: false
174
+ name: contest
176
175
  version_requirements: !ruby/object:Gem::Requirement
177
176
  requirements:
178
- - - ! '>='
177
+ - - '>='
179
178
  - !ruby/object:Gem::Version
180
179
  version: '0'
180
+ type: :runtime
181
181
  - !ruby/object:Gem::Dependency
182
- name: creole
183
182
  requirement: !ruby/object:Gem::Requirement
184
183
  requirements:
185
- - - ! '>='
184
+ - - '>='
186
185
  - !ruby/object:Gem::Version
187
186
  version: '0'
188
- type: :runtime
189
187
  prerelease: false
188
+ name: creole
190
189
  version_requirements: !ruby/object:Gem::Requirement
191
190
  requirements:
192
- - - ! '>='
191
+ - - '>='
193
192
  - !ruby/object:Gem::Version
194
193
  version: '0'
194
+ type: :runtime
195
195
  - !ruby/object:Gem::Dependency
196
- name: erubis
197
196
  requirement: !ruby/object:Gem::Requirement
198
197
  requirements:
199
- - - ! '>='
198
+ - - '>='
200
199
  - !ruby/object:Gem::Version
201
200
  version: '0'
202
- type: :runtime
203
201
  prerelease: false
202
+ name: erubis
204
203
  version_requirements: !ruby/object:Gem::Requirement
205
204
  requirements:
206
- - - ! '>='
205
+ - - '>='
207
206
  - !ruby/object:Gem::Version
208
207
  version: '0'
208
+ type: :runtime
209
209
  - !ruby/object:Gem::Dependency
210
- name: haml
211
210
  requirement: !ruby/object:Gem::Requirement
212
211
  requirements:
213
- - - ! '>='
212
+ - - '>='
214
213
  - !ruby/object:Gem::Version
215
214
  version: 2.2.11
216
- type: :runtime
217
215
  prerelease: false
216
+ name: haml
218
217
  version_requirements: !ruby/object:Gem::Requirement
219
218
  requirements:
220
- - - ! '>='
219
+ - - '>='
221
220
  - !ruby/object:Gem::Version
222
221
  version: 2.2.11
222
+ type: :runtime
223
223
  - !ruby/object:Gem::Dependency
224
- name: kramdown
225
224
  requirement: !ruby/object:Gem::Requirement
226
225
  requirements:
227
- - - ! '>='
226
+ - - '>='
228
227
  - !ruby/object:Gem::Version
229
228
  version: '0'
230
- type: :runtime
231
229
  prerelease: false
230
+ name: kramdown
232
231
  version_requirements: !ruby/object:Gem::Requirement
233
232
  requirements:
234
- - - ! '>='
233
+ - - '>='
235
234
  - !ruby/object:Gem::Version
236
235
  version: '0'
236
+ type: :runtime
237
237
  - !ruby/object:Gem::Dependency
238
- name: less
239
238
  requirement: !ruby/object:Gem::Requirement
240
239
  requirements:
241
- - - ! '>='
240
+ - - '>='
242
241
  - !ruby/object:Gem::Version
243
242
  version: '0'
244
- type: :runtime
245
243
  prerelease: false
244
+ name: less
246
245
  version_requirements: !ruby/object:Gem::Requirement
247
246
  requirements:
248
- - - ! '>='
247
+ - - '>='
249
248
  - !ruby/object:Gem::Version
250
249
  version: '0'
250
+ type: :runtime
251
251
  - !ruby/object:Gem::Dependency
252
- name: liquid
253
252
  requirement: !ruby/object:Gem::Requirement
254
253
  requirements:
255
- - - ! '>='
254
+ - - '>='
256
255
  - !ruby/object:Gem::Version
257
256
  version: '0'
258
- type: :runtime
259
257
  prerelease: false
258
+ name: liquid
260
259
  version_requirements: !ruby/object:Gem::Requirement
261
260
  requirements:
262
- - - ! '>='
261
+ - - '>='
263
262
  - !ruby/object:Gem::Version
264
263
  version: '0'
264
+ type: :runtime
265
265
  - !ruby/object:Gem::Dependency
266
- name: markaby
267
266
  requirement: !ruby/object:Gem::Requirement
268
267
  requirements:
269
- - - ! '>='
268
+ - - '>='
270
269
  - !ruby/object:Gem::Version
271
270
  version: '0'
272
- type: :runtime
273
271
  prerelease: false
272
+ name: markaby
274
273
  version_requirements: !ruby/object:Gem::Requirement
275
274
  requirements:
276
- - - ! '>='
275
+ - - '>='
277
276
  - !ruby/object:Gem::Version
278
277
  version: '0'
278
+ type: :runtime
279
279
  - !ruby/object:Gem::Dependency
280
- name: maruku
281
280
  requirement: !ruby/object:Gem::Requirement
282
281
  requirements:
283
- - - ! '>='
282
+ - - '>='
284
283
  - !ruby/object:Gem::Version
285
284
  version: '0'
286
- type: :runtime
287
285
  prerelease: false
286
+ name: maruku
288
287
  version_requirements: !ruby/object:Gem::Requirement
289
288
  requirements:
290
- - - ! '>='
289
+ - - '>='
291
290
  - !ruby/object:Gem::Version
292
291
  version: '0'
292
+ type: :runtime
293
293
  - !ruby/object:Gem::Dependency
294
- name: nokogiri
295
294
  requirement: !ruby/object:Gem::Requirement
296
295
  requirements:
297
- - - ! '>='
296
+ - - '>='
298
297
  - !ruby/object:Gem::Version
299
298
  version: '0'
300
- type: :runtime
301
299
  prerelease: false
300
+ name: nokogiri
302
301
  version_requirements: !ruby/object:Gem::Requirement
303
302
  requirements:
304
- - - ! '>='
303
+ - - '>='
305
304
  - !ruby/object:Gem::Version
306
305
  version: '0'
306
+ type: :runtime
307
307
  - !ruby/object:Gem::Dependency
308
- name: radius
309
308
  requirement: !ruby/object:Gem::Requirement
310
309
  requirements:
311
- - - ! '>='
310
+ - - '>='
312
311
  - !ruby/object:Gem::Version
313
312
  version: '0'
314
- type: :runtime
315
313
  prerelease: false
314
+ name: radius
316
315
  version_requirements: !ruby/object:Gem::Requirement
317
316
  requirements:
318
- - - ! '>='
317
+ - - '>='
319
318
  - !ruby/object:Gem::Version
320
319
  version: '0'
320
+ type: :runtime
321
321
  - !ruby/object:Gem::Dependency
322
- name: rdiscount
323
322
  requirement: !ruby/object:Gem::Requirement
324
323
  requirements:
325
- - - ! '>='
324
+ - - '>='
326
325
  - !ruby/object:Gem::Version
327
326
  version: '0'
328
- type: :runtime
329
327
  prerelease: false
328
+ name: rdiscount
330
329
  version_requirements: !ruby/object:Gem::Requirement
331
330
  requirements:
332
- - - ! '>='
331
+ - - '>='
333
332
  - !ruby/object:Gem::Version
334
333
  version: '0'
334
+ type: :runtime
335
335
  - !ruby/object:Gem::Dependency
336
- name: rdoc
337
336
  requirement: !ruby/object:Gem::Requirement
338
337
  requirements:
339
- - - ! '>='
338
+ - - '>='
340
339
  - !ruby/object:Gem::Version
341
340
  version: '0'
342
- type: :runtime
343
341
  prerelease: false
342
+ name: rdoc
344
343
  version_requirements: !ruby/object:Gem::Requirement
345
344
  requirements:
346
- - - ! '>='
345
+ - - '>='
347
346
  - !ruby/object:Gem::Version
348
347
  version: '0'
348
+ type: :runtime
349
349
  - !ruby/object:Gem::Dependency
350
- name: redcarpet
351
350
  requirement: !ruby/object:Gem::Requirement
352
351
  requirements:
353
- - - ! '>='
352
+ - - '>='
354
353
  - !ruby/object:Gem::Version
355
354
  version: '0'
356
- type: :runtime
357
355
  prerelease: false
356
+ name: redcarpet
358
357
  version_requirements: !ruby/object:Gem::Requirement
359
358
  requirements:
360
- - - ! '>='
359
+ - - '>='
361
360
  - !ruby/object:Gem::Version
362
361
  version: '0'
362
+ type: :runtime
363
363
  - !ruby/object:Gem::Dependency
364
- name: sass
365
364
  requirement: !ruby/object:Gem::Requirement
366
365
  requirements:
367
- - - ! '>='
366
+ - - '>='
368
367
  - !ruby/object:Gem::Version
369
368
  version: '0'
370
- type: :runtime
371
369
  prerelease: false
370
+ name: sass
372
371
  version_requirements: !ruby/object:Gem::Requirement
373
372
  requirements:
374
- - - ! '>='
373
+ - - '>='
375
374
  - !ruby/object:Gem::Version
376
375
  version: '0'
376
+ type: :runtime
377
377
  - !ruby/object:Gem::Dependency
378
- name: wikicloth
379
378
  requirement: !ruby/object:Gem::Requirement
380
379
  requirements:
381
- - - ! '>='
380
+ - - '>='
382
381
  - !ruby/object:Gem::Version
383
382
  version: '0'
384
- type: :runtime
385
383
  prerelease: false
384
+ name: wikicloth
386
385
  version_requirements: !ruby/object:Gem::Requirement
387
386
  requirements:
388
- - - ! '>='
387
+ - - '>='
389
388
  - !ruby/object:Gem::Version
390
389
  version: '0'
390
+ type: :runtime
391
391
  - !ruby/object:Gem::Dependency
392
- name: yajl-ruby
393
392
  requirement: !ruby/object:Gem::Requirement
394
393
  requirements:
395
- - - ! '>='
394
+ - - '>='
396
395
  - !ruby/object:Gem::Version
397
396
  version: '0'
398
- type: :runtime
399
397
  prerelease: false
398
+ name: yajl-ruby
400
399
  version_requirements: !ruby/object:Gem::Requirement
401
400
  requirements:
402
- - - ! '>='
401
+ - - '>='
403
402
  - !ruby/object:Gem::Version
404
403
  version: '0'
404
+ type: :runtime
405
405
  - !ruby/object:Gem::Dependency
406
- name: rspec
407
406
  requirement: !ruby/object:Gem::Requirement
408
407
  requirements:
409
408
  - - ~>
410
409
  - !ruby/object:Gem::Version
411
410
  version: '2'
412
- type: :development
413
411
  prerelease: false
412
+ name: rspec
414
413
  version_requirements: !ruby/object:Gem::Requirement
415
414
  requirements:
416
415
  - - ~>
417
416
  - !ruby/object:Gem::Version
418
417
  version: '2'
418
+ type: :development
419
419
  - !ruby/object:Gem::Dependency
420
- name: rake
421
420
  requirement: !ruby/object:Gem::Requirement
422
421
  requirements:
423
- - - ! '>='
422
+ - - '>='
424
423
  - !ruby/object:Gem::Version
425
424
  version: '0'
426
- type: :development
427
425
  prerelease: false
426
+ name: rake
428
427
  version_requirements: !ruby/object:Gem::Requirement
429
428
  requirements:
430
- - - ! '>='
429
+ - - '>='
431
430
  - !ruby/object:Gem::Version
432
431
  version: '0'
432
+ type: :development
433
433
  description: A static site generator that supports code, photos and files.
434
434
  email:
435
435
  - aaron@aarongough.com
@@ -496,12 +496,12 @@ require_paths:
496
496
  - lib
497
497
  required_ruby_version: !ruby/object:Gem::Requirement
498
498
  requirements:
499
- - - ! '>='
499
+ - - '>='
500
500
  - !ruby/object:Gem::Version
501
501
  version: '0'
502
502
  required_rubygems_version: !ruby/object:Gem::Requirement
503
503
  requirements:
504
- - - ! '>='
504
+ - - '>='
505
505
  - !ruby/object:Gem::Version
506
506
  version: 1.3.6
507
507
  requirements: []