robot_sweatshop 0.4.1 → 0.4.2
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 +4 -4
- data/bin/sweatshop +1 -1
- data/bin/sweatshop-input +2 -0
- data/config.defaults.yaml +1 -0
- data/robot_sweatshop.gemspec +2 -1
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4ad8bb0e13b6949560dbc5540199d64ad5f0772
|
|
4
|
+
data.tar.gz: 181c02c2b6ca2c7b5f07e95e0c44a7257e32283f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5874e518f387f6d71e935f7cf93d1fbb660342baa1721981003a365dd9c1c0b1c2fd01aad267dda276cf512dcfad1d3108b661bbf90d30dc452a5273939ebe9e
|
|
7
|
+
data.tar.gz: 0131a56ffdac509ddcaab1d9c671ff9d9cf83012cd1d5522785631100cbab69cda8232d86ba79d77af94f0d43e84ddfdee36214e4a267b7e168d26e97583d874
|
data/bin/sweatshop
CHANGED
|
@@ -8,7 +8,7 @@ require 'robot_sweatshop/config'
|
|
|
8
8
|
require 'robot_sweatshop/create-config-directories'
|
|
9
9
|
|
|
10
10
|
program :name, 'Robot Sweatshop'
|
|
11
|
-
program :version, '0.4.
|
|
11
|
+
program :version, '0.4.2'
|
|
12
12
|
program :description, 'A lightweight, unopinionated CI server'
|
|
13
13
|
program :help, 'Author', 'Justin Scott <jvscott@gmail.com>'
|
|
14
14
|
|
data/bin/sweatshop-input
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
require 'bundler/setup'
|
|
3
3
|
require 'sinatra'
|
|
4
|
+
require 'sinatra/cross_origin'
|
|
4
5
|
require 'ezmq'
|
|
5
6
|
require 'robot_sweatshop/config'
|
|
6
7
|
require 'robot_sweatshop/connections'
|
|
@@ -12,6 +13,7 @@ configure do
|
|
|
12
13
|
set :run, true
|
|
13
14
|
set :conveyor, EZMQ::Client.new(port: configatron.conveyor_port)
|
|
14
15
|
settings.conveyor.serialize_with_json!
|
|
16
|
+
enable :cross_origin if configatron.http_cross_origin
|
|
15
17
|
end
|
|
16
18
|
|
|
17
19
|
get '/' do
|
data/config.defaults.yaml
CHANGED
data/robot_sweatshop.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |gem|
|
|
2
2
|
gem.name = 'robot_sweatshop'
|
|
3
|
-
gem.version = '0.4.
|
|
3
|
+
gem.version = '0.4.2'
|
|
4
4
|
gem.licenses = 'MIT'
|
|
5
5
|
gem.authors = ['Justin Scott']
|
|
6
6
|
gem.email = 'jvscott@gmail.com'
|
|
@@ -23,6 +23,7 @@ Gem::Specification.new do |gem|
|
|
|
23
23
|
gem.add_runtime_dependency 'configatron'
|
|
24
24
|
gem.add_runtime_dependency 'contracts'
|
|
25
25
|
gem.add_runtime_dependency 'sinatra'
|
|
26
|
+
gem.add_runtime_dependency 'sinatra-cross_origin'
|
|
26
27
|
gem.add_runtime_dependency 'ezmq'
|
|
27
28
|
gem.add_runtime_dependency 'stubborn_queue'
|
|
28
29
|
gem.add_runtime_dependency 'oj'
|
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.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Scott
|
|
@@ -122,6 +122,20 @@ dependencies:
|
|
|
122
122
|
- - ">="
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
|
+
- !ruby/object:Gem::Dependency
|
|
126
|
+
name: sinatra-cross_origin
|
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
|
128
|
+
requirements:
|
|
129
|
+
- - ">="
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '0'
|
|
132
|
+
type: :runtime
|
|
133
|
+
prerelease: false
|
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
- - ">="
|
|
137
|
+
- !ruby/object:Gem::Version
|
|
138
|
+
version: '0'
|
|
125
139
|
- !ruby/object:Gem::Dependency
|
|
126
140
|
name: ezmq
|
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|