spaarti 1.0.5 → 1.1.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
- SHA1:
3
- metadata.gz: 7b4352f61872ac4a4159172a1895582911078f7b
4
- data.tar.gz: e5a3787f035b3756b5d1c128de7c99c0b3dbe9a0
2
+ SHA256:
3
+ metadata.gz: 89e563735fb1b7995008d7273b45536b8d856ad48ea632ec7ff915af6186d7cd
4
+ data.tar.gz: 9f05333c7bd92b3bc1887d5632d1c26a1fabe9291d3aa649d5a4d672a9a3bddb
5
5
  SHA512:
6
- metadata.gz: 95553fd20caea0b910ae5199e31f62cc741f441a20262d7f903879cab664e688cfb6d227895d120452f4bebc57202845f7c07d5224c0bba25371ff17e35f27e2
7
- data.tar.gz: 57cd290359964615a918bf5cf09fd2dd550d4d384462fc9b8214b1d0cfb45e442eb6851a11a4a41bca8e459b94e609bf2fef0e91396d541b08cdf39dd6722fde
6
+ metadata.gz: 4f27513085b3b7736ed5196d6ce16365f372e06d03abf9b18e6043f7a8daf96d7cca84c5a3fb5dda29b5c53aadaf91a950f69942e738d19d3a386211e9bcf678
7
+ data.tar.gz: 48a534db59a10d585671ff3ae24e6f35eb5c49646c95c552fcf67224d2f109012c69438fa7e25fbd05bc5d2bdaa34bca77ad12be424de7d1ef69989c9ed163c2
data/.circle-ruby CHANGED
@@ -1,3 +1,3 @@
1
- 2.4.1
2
- 2.3.4
3
- 2.2.7
1
+ 2.5.3
2
+ 2.4.5
3
+ 2.3.8
data/.prospectus CHANGED
@@ -1,11 +1,11 @@
1
+ my_slug = 'akerl/spaarti'
2
+
3
+ Prospectus.extra_dep('file', 'prospectus_travis')
4
+ Prospectus.extra_dep('file', 'prospectus_gems')
5
+
1
6
  item do
2
- expected do
3
- static
4
- set 'green'
5
- end
7
+ noop
6
8
 
7
- actual do
8
- gemnasium
9
- slug 'akerl/spaarti'
10
- end
9
+ extend ProspectusGems::Gemspec.new
10
+ extend ProspectusTravis::Build.new(my_slug)
11
11
  end
data/.rubocop.yml CHANGED
@@ -1,5 +1,2 @@
1
- Encoding:
2
- Enabled: false
3
- Metrics/BlockLength:
4
- Exclude:
5
- - spec/**/*
1
+ inherit_gem:
2
+ goodcop: .rubocop.yml
data/.travis.yml ADDED
@@ -0,0 +1,10 @@
1
+ dist: trusty
2
+ install:
3
+ - for i in $(cat .circle-ruby) ; do rvm install $i || exit 1 ; done
4
+ - for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done
5
+ script:
6
+ - for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done
7
+ notifications:
8
+ email: false
9
+ slack:
10
+ secure: F9goVE9+dDE3FpGNgzV4419xmNk/TtrExS2vPYBZsQ1BfCz+frL4TWR+BzLp9iOKk3quMAzxw8sLVXxeUV4GjEoy00UJ7gcOcPHyFyA5ku1LlMc+PMy+85rGORc/Ks00MxkWNGXhWKNCA7Cb5QpPYqNoSzgdatk9DdA2pz+X8RCRUoaTKgWpKQvqbgAXt/ErtS6fXLzCPjSVGSg2rEC0nt0I1+vVpe8ZbQ8Q/nbroHeBIKcL6mV+YFPQ/ED69teGF1ptgAkESRhQNEZEyukDHG2SzgxxBq5ez3lTvHOqqSAlHVDH4mEil+xeh7n8antmeBbwZPSw6vwJdbFMYh9v2Pds2VWnMidAowzUrftUBAgRBFVXtjP+BQiL07Y51QaK0cpZ/OkuwrdA/PxeeUJpTXyHxNiIcdYGrgN6GSaB7Va2oSSRe0s6gjegOqdbRcR15+n9E2OPKwSSApKYsYTW85y/l0Lo9X0ANsuftDlKaS2yBV1rpdOCU5h1pgyiluidIq+gh+av7FarD9EAoMF/UBzEXpD7WPF41cCJr7MdxoolzAajYpO/ssexhRTue2953Rkii2Eg5rhTl0lZCzF3q5rGZGb00mU2gf3JvJLuy808uGV2tOd0bbCsbXFBiVxyoKkE6EQ8R1zS94FjUvdFRgQL+nMcvbdS2d30DlTHxhk=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 1.1.0 / 2018-10-28
2
+
3
+ * [ENHANCEMENT] Update Cymbal dep
4
+
5
+ # 1.0.5 / 2017-04-27
6
+
7
+ * [ENHANCEMENT] Update deps
8
+
1
9
  # 1.0.3 / 2016-09-06
2
10
 
3
11
  * [FEATURE] Allow use with GitHub Enterprise by passing api_endpoint in config file
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
data/README.md CHANGED
@@ -2,8 +2,7 @@ spaarti
2
2
  =========
3
3
 
4
4
  [![Gem Version](https://img.shields.io/gem/v/spaarti.svg)](https://rubygems.org/gems/spaarti)
5
- [![Dependency Status](https://img.shields.io/gemnasium/akerl/spaarti.svg)](https://gemnasium.com/akerl/spaarti)
6
- [![Build Status](https://img.shields.io/circleci/project/akerl/spaarti/master.svg)](https://circleci.com/gh/akerl/spaarti)
5
+ [![Build Status](https://img.shields.io/travis/com/akerl/spaarti.svg)](https://travis-ci.com/akerl/spaarti)
7
6
  [![Coverage Status](https://img.shields.io/codecov/c/github/akerl/spaarti.svg)](https://codecov.io/github/akerl/spaarti)
8
7
  [![Code Quality](https://img.shields.io/codacy/65bacb9d92d948f6ae637ce63ade3557.svg)](https://www.codacy.com/app/akerl/spaarti)
9
8
  [![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
data/Rakefile CHANGED
@@ -7,8 +7,7 @@ RSpec::Core::RakeTask.new(:spec)
7
7
 
8
8
  desc 'Run Rubocop on the gem'
9
9
  RuboCop::RakeTask.new(:rubocop) do |task|
10
- task.patterns = ['lib/**/*.rb', 'spec/**/*.rb', 'bin/*']
11
10
  task.fail_on_error = true
12
11
  end
13
12
 
14
- task default: [:spec, :rubocop, :build, :install]
13
+ task default: %i[spec rubocop build install]
data/lib/spaarti/site.rb CHANGED
@@ -12,7 +12,7 @@ module Spaarti
12
12
  auth_file: :default,
13
13
  config_file: File.expand_path('~/.spaarti.yml'),
14
14
  exclude: [],
15
- format: '%{full_name}',
15
+ format: '%<full_name>s',
16
16
  git_config: {},
17
17
  quiet: false,
18
18
  purge: false,
@@ -3,5 +3,5 @@
3
3
  ##
4
4
  # Set the version (needed for Mercenary -v)
5
5
  module Spaarti
6
- VERSION = '1.0.5'.freeze
6
+ VERSION = '1.1.0'.freeze
7
7
  end
data/spaarti.gemspec CHANGED
@@ -1,10 +1,11 @@
1
- $:.unshift File.expand_path('../lib/', __FILE__)
1
+ require 'English'
2
+ $LOAD_PATH.unshift File.expand_path('lib', __dir__)
2
3
  require 'spaarti/version'
3
4
 
4
5
  Gem::Specification.new do |s|
5
6
  s.name = 'spaarti'
6
7
  s.version = Spaarti::VERSION
7
- s.date = Time.now.strftime("%Y-%m-%d")
8
+ s.date = Time.now.strftime('%Y-%m-%d')
8
9
 
9
10
  s.summary = 'Helper for cloning GitHub repos'
10
11
  s.description = 'Maintain local clones of repos you have access to on GitHub'
@@ -17,16 +18,17 @@ Gem::Specification.new do |s|
17
18
  s.test_files = `git ls-files spec/*`.split
18
19
  s.executables = ['spaarti']
19
20
 
20
- s.add_dependency 'octokit', '~> 4.7.0'
21
- s.add_dependency 'octoauth', '~> 1.4.7'
21
+ s.add_dependency 'cymbal', '~> 2.0.0'
22
22
  s.add_dependency 'mercenary', '~> 0.3.4'
23
- s.add_dependency 'cymbal', '~> 1.0.0'
23
+ s.add_dependency 'octoauth', '~> 1.5.5'
24
+ s.add_dependency 'octokit', '~> 4.13.0'
24
25
 
25
- s.add_development_dependency 'rubocop', '~> 0.48.0'
26
- s.add_development_dependency 'rake', '~> 12.0.0'
27
26
  s.add_development_dependency 'codecov', '~> 0.1.1'
28
- s.add_development_dependency 'rspec', '~> 3.5.0'
29
- s.add_development_dependency 'fuubar', '~> 2.2.0'
30
- s.add_development_dependency 'webmock', '~> 3.0.0'
31
- s.add_development_dependency 'vcr', '~> 3.0.0'
27
+ s.add_development_dependency 'fuubar', '~> 2.3.0'
28
+ s.add_development_dependency 'goodcop', '~> 0.6.0'
29
+ s.add_development_dependency 'rake', '~> 12.3.0'
30
+ s.add_development_dependency 'rspec', '~> 3.8.0'
31
+ s.add_development_dependency 'rubocop', '~> 0.60.0'
32
+ s.add_development_dependency 'vcr', '~> 4.0.0'
33
+ s.add_development_dependency 'webmock', '~> 3.4.0'
32
34
  end
metadata CHANGED
@@ -1,169 +1,183 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaarti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.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: 2017-04-27 00:00:00.000000000 Z
11
+ date: 2018-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: octokit
14
+ name: cymbal
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.7.0
19
+ version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.7.0
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: octoauth
28
+ name: mercenary
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.4.7
33
+ version: 0.3.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.4.7
40
+ version: 0.3.4
41
41
  - !ruby/object:Gem::Dependency
42
- name: mercenary
42
+ name: octoauth
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.4
47
+ version: 1.5.5
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.3.4
54
+ version: 1.5.5
55
55
  - !ruby/object:Gem::Dependency
56
- name: cymbal
56
+ name: octokit
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.0
61
+ version: 4.13.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: 1.0.0
68
+ version: 4.13.0
69
69
  - !ruby/object:Gem::Dependency
70
- name: rubocop
70
+ name: codecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.48.0
75
+ version: 0.1.1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.48.0
82
+ version: 0.1.1
83
83
  - !ruby/object:Gem::Dependency
84
- name: rake
84
+ name: fuubar
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 12.0.0
89
+ version: 2.3.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 12.0.0
96
+ version: 2.3.0
97
97
  - !ruby/object:Gem::Dependency
98
- name: codecov
98
+ name: goodcop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.1.1
103
+ version: 0.6.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 0.1.1
110
+ version: 0.6.0
111
111
  - !ruby/object:Gem::Dependency
112
- name: rspec
112
+ name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 3.5.0
117
+ version: 12.3.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 3.5.0
124
+ version: 12.3.0
125
125
  - !ruby/object:Gem::Dependency
126
- name: fuubar
126
+ name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 2.2.0
131
+ version: 3.8.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 2.2.0
138
+ version: 3.8.0
139
139
  - !ruby/object:Gem::Dependency
140
- name: webmock
140
+ name: rubocop
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 3.0.0
145
+ version: 0.60.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: 3.0.0
152
+ version: 0.60.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: vcr
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 4.0.0
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 4.0.0
167
+ - !ruby/object:Gem::Dependency
168
+ name: webmock
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
158
172
  - !ruby/object:Gem::Version
159
- version: 3.0.0
173
+ version: 3.4.0
160
174
  type: :development
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - ~>
178
+ - - "~>"
165
179
  - !ruby/object:Gem::Version
166
- version: 3.0.0
180
+ version: 3.4.0
167
181
  description: Maintain local clones of repos you have access to on GitHub
168
182
  email: me@lesaker.org
169
183
  executables:
@@ -171,18 +185,18 @@ executables:
171
185
  extensions: []
172
186
  extra_rdoc_files: []
173
187
  files:
174
- - .circle-ruby
175
- - .gitignore
176
- - .prospectus
177
- - .rspec
178
- - .rubocop.yml
188
+ - ".circle-ruby"
189
+ - ".gitignore"
190
+ - ".prospectus"
191
+ - ".rspec"
192
+ - ".rubocop.yml"
193
+ - ".travis.yml"
179
194
  - CHANGELOG.md
180
195
  - Gemfile
181
196
  - LICENSE
182
197
  - README.md
183
198
  - Rakefile
184
199
  - bin/spaarti
185
- - circle.yml
186
200
  - lib/spaarti.rb
187
201
  - lib/spaarti/repo.rb
188
202
  - lib/spaarti/site.rb
@@ -206,17 +220,17 @@ require_paths:
206
220
  - lib
207
221
  required_ruby_version: !ruby/object:Gem::Requirement
208
222
  requirements:
209
- - - '>='
223
+ - - ">="
210
224
  - !ruby/object:Gem::Version
211
225
  version: '0'
212
226
  required_rubygems_version: !ruby/object:Gem::Requirement
213
227
  requirements:
214
- - - '>='
228
+ - - ">="
215
229
  - !ruby/object:Gem::Version
216
230
  version: '0'
217
231
  requirements: []
218
232
  rubyforge_project:
219
- rubygems_version: 2.0.14.1
233
+ rubygems_version: 2.7.6
220
234
  signing_key:
221
235
  specification_version: 4
222
236
  summary: Helper for cloning GitHub repos
data/circle.yml DELETED
@@ -1,7 +0,0 @@
1
- dependencies:
2
- override:
3
- - 'for i in $(cat .circle-ruby) ; do rvm-exec $i gem update --system --no-doc || exit 1 ; done'
4
- - 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle install || exit 1 ; done'
5
- test:
6
- override:
7
- - 'for i in $(cat .circle-ruby) ; do rvm-exec $i bundle exec rake || exit 1 ; done'