prophet 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prophet/prophet.rb +3 -2
- metadata +4 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a03cdc7b74ef29b89a87fe997327cb088866998
|
4
|
+
data.tar.gz: 0c30193560861e6d77f8c72e51033f023fcae629
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f83eb11cc1a5d241598b66f05fa68e727cffa2a78ab154e7f09a06a02978c5f0fd894fda55920d54603a3f633d8384aac0c4d6000e56e09f943bc66f37a4b8a
|
7
|
+
data.tar.gz: 6c15d03d14ec406e7c612763c6408b1c71b9a10a7bcd3f219e4cf5a9a2686d99325e7c56eb02297f88525865000f820a64569df47f58b9608d729afbbfc8c3bf
|
data/lib/prophet/prophet.rb
CHANGED
@@ -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:
|
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
|
-
|
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.
|
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-
|
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:
|