prophet 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/prophet/prophet.rb +3 -2
  3. metadata +4 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d406c9bd4203b9aa5c02875eafd8295d102746d3
4
- data.tar.gz: 24e1380804b9b326c782ce7b170c95a3b9886d43
3
+ metadata.gz: 3a03cdc7b74ef29b89a87fe997327cb088866998
4
+ data.tar.gz: 0c30193560861e6d77f8c72e51033f023fcae629
5
5
  SHA512:
6
- metadata.gz: 5b801cca85b70e5d1509f3fa20fae331ce6e91dda9ccf35f89bb97c162f82455e56304c771edbd10ff40e9e987475495c4ec8dffc22766f4018f75e05779eff2
7
- data.tar.gz: 57e9e478771fe063f828d236705bf143d943986d28cc5228725da32f6c92408a48bc54bfb2de143fbe6101271c4fabb757626d250c2db3abb89be2245dc0b6ec
6
+ metadata.gz: 2f83eb11cc1a5d241598b66f05fa68e727cffa2a78ab154e7f09a06a02978c5f0fd894fda55920d54603a3f633d8384aac0c4d6000e56e09f943bc66f37a4b8a
7
+ data.tar.gz: 6c15d03d14ec406e7c612763c6408b1c71b9a10a7bcd3f219e4cf5a9a2686d99325e7c56eb02297f88525865000f820a64569df47f58b9608d729afbbfc8c3bf
@@ -127,10 +127,11 @@ class Prophet
127
127
  github.login
128
128
  @log.info "Successfully logged into GitHub (API v#{github.api_version}) with user '#{user}'."
129
129
  # Ensure the user has access to desired project.
130
- # NOTE: Both variants should work:
130
+ # NOTE: All three variants should work:
131
131
  # 'ssh://git@github.com:user/project.git'
132
132
  # 'git@github.com:user/project.git'
133
- @project ||= /com:(.*)\.git/.match(git_config['remote.origin.url'])[1]
133
+ # 'https://github.com/user/project.git'
134
+ @project ||= /github\.com[\/:](.*)\.git$/.match(git_config['remote.origin.url'])[1]
134
135
  begin
135
136
  github.repo @project
136
137
  @log.info "Successfully accessed GitHub project '#{@project}'"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prophet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Bamberger
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-07-01 00:00:00.000000000 Z
13
+ date: 2014-07-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday_middleware
@@ -79,12 +79,12 @@ require_paths:
79
79
  - lib
80
80
  required_ruby_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
@@ -95,4 +95,3 @@ specification_version: 4
95
95
  summary: An easy way to loop through open pull requests and run code onthe merged
96
96
  branch.
97
97
  test_files: []
98
- has_rdoc: