janky 0.9.10 → 0.9.11

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.
data/CHANGES CHANGED
@@ -1,3 +1,12 @@
1
+ = 0.9.11 / 2011-03-01
2
+
3
+ * Fix HipChat setup instructions. [Andre Sachs]
4
+
5
+ * Fix OAuth authentication bug introduced in version 0.9.9. [Lucas Mazza]
6
+
7
+ * Fix `db:migrate` Rake task on Heroku when using HipChat. See the updated
8
+ gist at https://gist.github.com/1497335. [Simon Rozet]
9
+
1
10
  = 0.9.10 / 2011-02-11
2
11
 
3
12
  * Fix an issue where Campfire settings are overridden on Heroku [Simon Rozet]
data/README.md CHANGED
@@ -161,8 +161,9 @@ Required settings:
161
161
 
162
162
  Installation:
163
163
 
164
- * Add `require "janky/chat_service/hipchat"` to the `config.ru` file.
165
- * `echo 'gem "hipchat", "~>0.4" >> Gemfile'`
164
+ * Add `require "janky/chat_service/hipchat"` to the `config/environment.rb` file
165
+ **before** the `Janky.setup(ENV)` line.
166
+ * `echo 'gem "hipchat", "~>0.4"' >> Gemfile`
166
167
  * `bundle`
167
168
  * `git commit -am "install hipchat"`
168
169
 
@@ -11,7 +11,7 @@ Gem::Specification.new "janky", Janky::VERSION do |s|
11
11
  # runtime
12
12
  s.add_dependency "rake", "~>0.9.2"
13
13
  s.add_dependency "sinatra", "~>1.3"
14
- s.add_dependency "sinatra_auth_github", "~>0.1.5"
14
+ s.add_dependency "sinatra_auth_github", "~>0.3.1"
15
15
  s.add_dependency "mustache", "~>0.11"
16
16
  s.add_dependency "yajl-ruby", "~>1.1.0"
17
17
  s.add_dependency "activerecord", "~>3.1.0"
@@ -58,7 +58,7 @@ module Janky
58
58
  mustache :index
59
59
  end
60
60
 
61
- get %r{\/([-_\.0-9a-zA-Z]+)\/([-_\.a-zA-z0-9\/]+)} do |repo_name, branch|
61
+ get %r{^(?!\/auth\/github\/callback)\/([-_\.0-9a-zA-Z]+)\/([-_\.a-zA-z0-9\/]+)} do |repo_name, branch|
62
62
  repo = find_repo(repo_name)
63
63
  authorize_repo(repo)
64
64
 
@@ -1,3 +1,3 @@
1
1
  module Janky
2
- VERSION = "0.9.10"
2
+ VERSION = "0.9.11"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: janky
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 10
10
- version: 0.9.10
9
+ - 11
10
+ version: 0.9.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - GitHub, Inc.
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-11 00:00:00 +01:00
18
+ date: 2012-03-01 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -60,9 +60,9 @@ dependencies:
60
60
  hash: 17
61
61
  segments:
62
62
  - 0
63
+ - 3
63
64
  - 1
64
- - 5
65
- version: 0.1.5
65
+ version: 0.3.1
66
66
  type: :runtime
67
67
  version_requirements: *id003
68
68
  - !ruby/object:Gem::Dependency