overlay 0.0.8 → 0.0.9

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: 22e57e20d164f28143d25813ff6c3d73c98762d5
4
- data.tar.gz: a02359245cb792bb0a0d2b9ca0788f748287ffea
3
+ metadata.gz: b4706e5a02ba3659599d261fdef377ef3f6c93a0
4
+ data.tar.gz: bcf7e96301b133743290b6dceeeebbc713269511
5
5
  SHA512:
6
- metadata.gz: b6731c2e56c4f01448ec668bb13ca4c27513ce2fdb24944e6a9676a4d5587a967c17587c59106d987a57db1d8e376b3726513973fca8ca928c618e5121e7e27c
7
- data.tar.gz: 17e86b2dc38bc82b22330f6426efb6a0ce5ebd5457d70b89985836512b8e64a62a35015edff82ae2cc440c227968f061495c99d4428bff6716813bd8165d9935
6
+ metadata.gz: 6cc965f9dfabc6b135de7e6dde66d7dce7867c9d45a9cfd438d150fc6ee4f721fb7b44a30bd8e5c42513bf2f67f22f38081f2beca7fe095aa2a5510c83bc0da0
7
+ data.tar.gz: 16180b98bd79d9553cf0fa9be6055a0446b4e2858786e4116ed5f4d47efa4a8a244e1fcd21b0bc9254ad08293470e95b1f0f2a0acb2d8b2b3227528f5937db46
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Overlay
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -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.8
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-13 00:00:00.000000000 Z
11
+ date: 2013-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails