gh 0.16.0 → 0.17.0

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
- SHA256:
3
- metadata.gz: 341160c8880ccfe4b1fc6d787bab47854dce5d6c1f495d811221d8f11471ade0
4
- data.tar.gz: bacec06fe9279cff1a88f6343f45dd0f4be018e4baa47f92d8a689c6f0da01f1
2
+ SHA1:
3
+ metadata.gz: f8a1b32f6b0b712cec230706a3948ccd79fd1dd2
4
+ data.tar.gz: 7353b2fbd8c71586f0a1d3dd75df921d750681fd
5
5
  SHA512:
6
- metadata.gz: cead5b81f8d9eb5971d1e3842be1dfd1a47142d16c1acf79bef338092a0c984d3faaedc75a97b5b8dab319dc2cf240d1ed81fa315b29a88da0bb01aebf164397
7
- data.tar.gz: 5aa291f8988aa0f6a05d8fa2d852d00207246fcabaa188c47bdebd3e8c68a1f04ee46bbbc2fdd41960f16b5362cfc52aaf638ab6d9f4c50c0abdcb4904f2eb46
6
+ metadata.gz: 1319063155020881887605d5a32251f5b1a00a112d3ff70bf0ba4f5e2d7bc586b7c567db793220c0423f4b95ffe16c1797ea7ce51addd4b7c7c34b517e4c7370
7
+ data.tar.gz: 6b474c2a615f8c8cebb8182a439a64f067d9816a801f7cbb1180f04d2a3bb2dbef021b8e774262af096061ea7e234f726dc8d771fc68934bc7aaf7bdab096ff3
@@ -99,7 +99,7 @@ module GH
99
99
  when /^repos?_(.*)$/ then "repository_#{$1}"
100
100
  when /^(.*)_repo$/ then "#{$1}_repository"
101
101
  when /^(.*)_repos$/ then "#{$1}_repositories"
102
- when 'commit', 'commit_id', 'id' then value =~ /^\w{40}$/ ? 'sha' : key
102
+ when 'commit', 'commit_id', 'id' then value.to_s =~ /^\w{40}$/ ? 'sha' : key
103
103
  when 'comments' then Numeric === value ? 'comment_count' : key
104
104
  when 'forks' then Numeric === value ? 'fork_count' : key
105
105
  when 'repositories' then Numeric === value ? 'repository_count' : key
@@ -1,4 +1,4 @@
1
1
  module GH
2
2
  # Public: Library version.
3
- VERSION = '0.16.0'
3
+ VERSION = '0.17.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-07 00:00:00.000000000 Z
11
+ date: 2020-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.8'
47
+ version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.8'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: faraday_middleware
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.14'
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.14'
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  version: '0'
185
185
  requirements: []
186
186
  rubyforge_project:
187
- rubygems_version: 2.7.6.2
187
+ rubygems_version: 2.6.14
188
188
  signing_key:
189
189
  specification_version: 4
190
190
  summary: layered github client