robot_sweatshop 0.4.5 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9644e9dc1d94285d8c2d01852ba53210fb6e72dd
4
- data.tar.gz: 8c0ecc30b95179b2a1dc348df433599c68332073
3
+ metadata.gz: acc02c9c05d562880ac2ae2856bcb5697395ca1f
4
+ data.tar.gz: df5ffe594c0e6c3f0af75d1a96b10fe7ef6ced63
5
5
  SHA512:
6
- metadata.gz: 9a32bbd3c95489988b17675ab4ed5551ddb743bf9c2bf5386efe665867f253a184fa8bdb75a76cb42a5cea0a10e17a68871d64e56994e0bbce63996f7d294cee
7
- data.tar.gz: bac318be912e59607b969eb0721c03131ba0b83ca736e5c45fcff372c008c11df313941eb0ae8ef3ba19812a7114a4a11178f2163e2ae58fc063022b643b1f47
6
+ metadata.gz: 4b442e68f7963fb3f9b681d445e4d88ba0b9940a7a556506a9bac03a031cf7853c6e3385e424ca28df2356164444a8aa4ecffa04ff7cedb83d0faed15bf26cfc
7
+ data.tar.gz: 482a8ccdb5cc3be30969a5a671ea4f82e0aed3dfb20f2979bfda1a127d015308b5b1da5d74eaa7c29d2aae21a331aeb64cafd46c5d6ba4fc14c5027ceab055d0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- robot_sweatshop (0.4.4)
4
+ robot_sweatshop (0.4.5)
5
5
  bundler
6
6
  commander
7
7
  configatron
data/bin/sweatshop CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- require 'bundler/setup'
3
2
  require 'yaml'
4
3
  require 'commander/import'
5
4
  require 'terminal-announce'
@@ -8,7 +7,7 @@ require 'robot_sweatshop/config'
8
7
  require 'robot_sweatshop/create-config-directories'
9
8
 
10
9
  program :name, 'Robot Sweatshop'
11
- program :version, '0.4.5'
10
+ program :version, '0.4.6'
12
11
  program :description, 'A lightweight, nonopinionated CI server'
13
12
  program :help, 'Author', 'Justin Scott <jvscott@gmail.com>'
14
13
 
@@ -68,11 +67,12 @@ end
68
67
  command :gears do |c|
69
68
  c.syntax = 'sweatshop gears ...'
70
69
  c.description = 'See `sweatshop-gears --help`'
71
- c.action do |args, options|
70
+ c.option '--path'
71
+ c.action do
72
72
  begin
73
- `sweatshop-gears #{args.join ' '}`
73
+ system "sweatshop-gears #{ARGV[1..-1].join ' '}"
74
74
  rescue Errno::ENOENT
75
- Announce.failure 'Sweatshop Gears not found. Run `gem install sweatshop-gears`'
75
+ Announce.failure 'Sweatshop Gears not found. Run `gem install sweatshop_gears`'
76
76
  end
77
77
  end
78
78
  end
@@ -15,6 +15,5 @@ config.each do |key, value|
15
15
  end
16
16
  end
17
17
  %w(pidfile_path logfile_path).each do |path|
18
- p File.expand_path("#{configatron[path]}/gears")
19
18
  create_path File.expand_path("#{configatron[path]}/gears")
20
19
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'robot_sweatshop'
3
- gem.version = '0.4.5'
3
+ gem.version = '0.4.6'
4
4
  gem.licenses = 'MIT'
5
5
  gem.authors = ['Justin Scott']
6
6
  gem.email = 'jvscott@gmail.com'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robot_sweatshop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Scott