overlay 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/overlay/github.rb +6 -0
- data/lib/overlay/version.rb +1 -1
- data/spec/dummy/log/test.log +25 -0
- data/spec/github_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4706e5a02ba3659599d261fdef377ef3f6c93a0
|
4
|
+
data.tar.gz: bcf7e96301b133743290b6dceeeebbc713269511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cc965f9dfabc6b135de7e6dde66d7dce7867c9d45a9cfd438d150fc6ee4f721fb7b44a30bd8e5c42513bf2f67f22f38081f2beca7fe095aa2a5510c83bc0da0
|
7
|
+
data.tar.gz: 16180b98bd79d9553cf0fa9be6055a0446b4e2858786e4116ed5f4d47efa4a8a244e1fcd21b0bc9254ad08293470e95b1f0f2a0acb2d8b2b3227528f5937db46
|
data/lib/overlay/github.rb
CHANGED
@@ -8,6 +8,12 @@ module Overlay
|
|
8
8
|
# Cycle through all configured repositories and overlay
|
9
9
|
#
|
10
10
|
def self.process_overlays
|
11
|
+
# This can be called in an application initializer which will
|
12
|
+
# load anytime the environment is loaded. Make sure we are prepared to run
|
13
|
+
# this.
|
14
|
+
#
|
15
|
+
return unless (config.host_port || ENV['HOST_PORT'] || defined? Rails::Server)
|
16
|
+
|
11
17
|
# Configure github api
|
12
18
|
configure
|
13
19
|
|
data/lib/overlay/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -142,3 +142,28 @@ Processing by Overlay::GithubController#update as HTML
|
|
142
142
|
Completed 200 OK in 7ms (Views: 6.3ms)
|
143
143
|
Processing by Overlay::GithubController#update as HTML
|
144
144
|
Completed 200 OK in 1ms (Views: 0.4ms)
|
145
|
+
Processing by Overlay::GithubController#update as HTML
|
146
|
+
Rendered inline template (0.6ms)
|
147
|
+
Completed 200 OK in 4ms (Views: 3.4ms)
|
148
|
+
Processing by Overlay::GithubController#update as HTML
|
149
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
150
|
+
Processing by Overlay::GithubController#update as HTML
|
151
|
+
Rendered inline template (0.6ms)
|
152
|
+
Completed 200 OK in 4ms (Views: 3.5ms)
|
153
|
+
Processing by Overlay::GithubController#update as HTML
|
154
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
155
|
+
Processing by Overlay::GithubController#update as HTML
|
156
|
+
Rendered inline template (1.0ms)
|
157
|
+
Completed 200 OK in 7ms (Views: 6.0ms)
|
158
|
+
Processing by Overlay::GithubController#update as HTML
|
159
|
+
Completed 200 OK in 1ms (Views: 0.4ms)
|
160
|
+
Processing by Overlay::GithubController#update as HTML
|
161
|
+
Rendered inline template (0.6ms)
|
162
|
+
Completed 200 OK in 4ms (Views: 3.4ms)
|
163
|
+
Processing by Overlay::GithubController#update as HTML
|
164
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
165
|
+
Processing by Overlay::GithubController#update as HTML
|
166
|
+
Rendered inline template (0.6ms)
|
167
|
+
Completed 200 OK in 4ms (Views: 3.4ms)
|
168
|
+
Processing by Overlay::GithubController#update as HTML
|
169
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
data/spec/github_spec.rb
CHANGED
@@ -8,6 +8,10 @@ describe Overlay::Github do
|
|
8
8
|
Overlay.configure do |config|
|
9
9
|
config.auth = 'test_user:test_password'
|
10
10
|
config.repositories << Overlay::GithubRepo.new('saarinen', 'overlay', 'master', 'spec', 'spec')
|
11
|
+
|
12
|
+
# Configure host port as Rails::Server is not available
|
13
|
+
#
|
14
|
+
config.host_port = 3000
|
11
15
|
end
|
12
16
|
end
|
13
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overlay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Saarinen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|