pull_request-create 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f03297b5d98a0449c721a94c914d34961c3cd358
4
- data.tar.gz: 937f7e85939d9c6184863a4c6806232b8564be50
3
+ metadata.gz: 7773340e89adf5e66b0634d502151ce9a825674c
4
+ data.tar.gz: 150e6437006ec88f8853ad134395f0feaf78e954
5
5
  SHA512:
6
- metadata.gz: dfdc095b523fc46eb72136e55d9dca37cf407103cca41c55d43c9b8ffa00ab2419d3936a0ee74e8da8345cba99c3415e618b7228e89db8d46db584239e5f827b
7
- data.tar.gz: 04bbfbdae4c6aec0da76f1b8c7743fdc813bb2a2631d7019b219f50485ae538083d54c7a4d006e5e9e153f76af86c0d5c8943408b95f94f871c427a92fbf8709
6
+ metadata.gz: d6e67bf0e4f06fb3cca16b1934100b99e0c8620bc5afe1aa31f13a2a3bae844a522c81fc531939a137964f67a0969f187138a56deb166ab7de6d4c797bff94a9
7
+ data.tar.gz: 10214844bdc4f7151ef057a241afef38ed475b1f1c996305ac82de11065e6caf8fdbf2dd3bccd86dfe57a35d6b01db6a2d726a3ddb89c30b6273bbdc579fd181
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 0.1.2 (2015-12-07)
2
+
3
+
4
+ #### Features
5
+
6
+ * **deps:** support git_clone_url api change ([9ee1a1b3](https://github.com/packsaddle/ruby-pull_request-create/commit/9ee1a1b3842a6885b6dd46225eec780a199bb837))
7
+
8
+
1
9
  ### 0.1.1 (2015-12-04)
2
10
 
3
11
  * **deps:** Cap dependency version
@@ -19,7 +19,7 @@ module PullRequest
19
19
  end
20
20
 
21
21
  def slug
22
- slug_regex = %r{\A/(?<slug>.*?)(?:\.git)?\Z}
22
+ slug_regex = %r{\A/?(?<slug>.*?)(?:\.git)?\Z}
23
23
  remote_urls.map do |url|
24
24
  uri = GitCloneUrl.parse(url)
25
25
  match = slug_regex.match(uri.path)
@@ -1,5 +1,5 @@
1
1
  module PullRequest
2
2
  module Create
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.add_runtime_dependency 'thor'
34
34
  spec.add_runtime_dependency 'git'
35
35
  spec.add_runtime_dependency 'octokit'
36
- spec.add_runtime_dependency 'git_clone_url', '>= 1.0', '< 2.0'
36
+ spec.add_runtime_dependency 'git_clone_url', '>= 2.0'
37
37
 
38
38
  spec.add_development_dependency 'bundler'
39
39
  spec.add_development_dependency 'rake'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pull_request-create
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-03 00:00:00.000000000 Z
11
+ date: 2015-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -57,9 +57,6 @@ dependencies:
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '1.0'
62
- - - "<"
63
60
  - !ruby/object:Gem::Version
64
61
  version: '2.0'
65
62
  type: :runtime
@@ -67,9 +64,6 @@ dependencies:
67
64
  version_requirements: !ruby/object:Gem::Requirement
68
65
  requirements:
69
66
  - - ">="
70
- - !ruby/object:Gem::Version
71
- version: '1.0'
72
- - - "<"
73
67
  - !ruby/object:Gem::Version
74
68
  version: '2.0'
75
69
  - !ruby/object:Gem::Dependency