spaarti 1.1.0 → 2.0.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
2
  SHA256:
3
- metadata.gz: 89e563735fb1b7995008d7273b45536b8d856ad48ea632ec7ff915af6186d7cd
4
- data.tar.gz: 9f05333c7bd92b3bc1887d5632d1c26a1fabe9291d3aa649d5a4d672a9a3bddb
3
+ metadata.gz: 11cb46ba9d4286d50abc75683e01d3433d060a0a5230e15af6504ad9f9c1abf8
4
+ data.tar.gz: d7cf2513bbf67eb47206e6b9e5fe5e52064a86413eb06a22be4efd96c0178535
5
5
  SHA512:
6
- metadata.gz: 4f27513085b3b7736ed5196d6ce16365f372e06d03abf9b18e6043f7a8daf96d7cca84c5a3fb5dda29b5c53aadaf91a950f69942e738d19d3a386211e9bcf678
7
- data.tar.gz: 48a534db59a10d585671ff3ae24e6f35eb5c49646c95c552fcf67224d2f109012c69438fa7e25fbd05bc5d2bdaa34bca77ad12be424de7d1ef69989c9ed163c2
6
+ metadata.gz: fce4a9832661cd46b893214e4b4d3bf9356054faa26c73913a5c5c2cd2eb90babed048171c1e96065c1e3950f7514ab50606f20176a9635230f62b75ca61d3ee
7
+ data.tar.gz: d47a0d30c6b405fda7b16928b5c2a99752d53742c70489742d6c86426d9447c9949bb46fb0a3c679491aca81128bbdbbf6db8e7c229c49954236a94882c43b65
data/.circle-ruby CHANGED
@@ -1,3 +1,4 @@
1
+ 2.6.0
1
2
  2.5.3
2
3
  2.4.5
3
4
  2.3.8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 2.0.0 / 2019-01-12
2
+
3
+ * [FEATURE] Generate new GitHub API tokens with read:org, read:user, and repo scopes. This allows the token to enumerate and fetch repos from orgs the user is a member of. **This also grants read/write access to all repos, which increases the danger of the token**
4
+
1
5
  # 1.1.0 / 2018-10-28
2
6
 
3
7
  * [ENHANCEMENT] Update Cymbal dep
data/lib/spaarti/site.rb CHANGED
@@ -69,6 +69,7 @@ module Spaarti
69
69
  def auth
70
70
  @auth ||= Octoauth.new(
71
71
  note: 'spaarti',
72
+ scopes: %w[read:org read:user repo],
72
73
  file: @options[:auth_file],
73
74
  autosave: true,
74
75
  api_endpoint: @options[:api_endpoint]
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Set the version (needed for Mercenary -v)
5
5
  module Spaarti
6
- VERSION = '1.1.0'.freeze
6
+ VERSION = '2.0.0'.freeze
7
7
  end
data/spaarti.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
28
28
  s.add_development_dependency 'goodcop', '~> 0.6.0'
29
29
  s.add_development_dependency 'rake', '~> 12.3.0'
30
30
  s.add_development_dependency 'rspec', '~> 3.8.0'
31
- s.add_development_dependency 'rubocop', '~> 0.60.0'
31
+ s.add_development_dependency 'rubocop', '~> 0.62.0'
32
32
  s.add_development_dependency 'vcr', '~> 4.0.0'
33
- s.add_development_dependency 'webmock', '~> 3.4.0'
33
+ s.add_development_dependency 'webmock', '~> 3.5.1'
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaarti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-28 00:00:00.000000000 Z
11
+ date: 2019-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cymbal
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 0.60.0
145
+ version: 0.62.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 0.60.0
152
+ version: 0.62.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: vcr
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 3.4.0
173
+ version: 3.5.1
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 3.4.0
180
+ version: 3.5.1
181
181
  description: Maintain local clones of repos you have access to on GitHub
182
182
  email: me@lesaker.org
183
183
  executables:
@@ -229,8 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubyforge_project:
233
- rubygems_version: 2.7.6
232
+ rubygems_version: 3.0.2
234
233
  signing_key:
235
234
  specification_version: 4
236
235
  summary: Helper for cloning GitHub repos