sleet 0.4.0 → 0.4.1

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: 022c2a45bc1d863b22fd82ab7af14dbc67ba5aef247b5dae0769ac980ce9a2a2
4
- data.tar.gz: c4fe3d8aa029508432ac6fce6215cb7c81782e12bc9a458adfe80540f9aae669
3
+ metadata.gz: 36ddaacead84e702849b36dd91308e7028782d3775e91937054e6d2d54632554
4
+ data.tar.gz: ac73e5669a06f891cc250e3c2c67d27ce38c4d9d8b72b44233cec204c4086ef4
5
5
  SHA512:
6
- metadata.gz: 8bf1267eec2081f51b2afadce3da9e66f42d04ea190a7ac3c7788d39db47f0dc9d524bd1bb0109fbd009540b0392cc2f8430bd7425a4d2b51352fbc17f0bc06d
7
- data.tar.gz: 7b735f0733806f08f66fe9357bf4bfd44d46b3dc3f402eb232cabde4dffd7397d691117360913dd00a147270d65f9e7be3459ec83bfb5cc69ff6f375ee815c37
6
+ metadata.gz: 24ae81f4d3265a67c3a7ee272ea5aefdb7df57fcd930e584aba4a34290c20ff16cc2fd779c5be25329e8f3cd9e2e4301cd209d478a0dd4900af9f946634b4d44
7
+ data.tar.gz: eea0a055ba465999874d97ca5493b148c02039e6908d8eb75993cc7c9403afdaf5f65c2df099cf7e1ce0342c827f87b1616d39084449cff77fc385ab3a3c2a9e
@@ -1,7 +1,7 @@
1
1
  version: 2
2
2
  jobs:
3
- build:
4
- parallelism: 2
3
+ test:
4
+ parallelism: 1
5
5
  docker:
6
6
  - image: circleci/ruby:latest
7
7
 
@@ -53,3 +53,8 @@ jobs:
53
53
  - store_artifacts:
54
54
  path: spec/.rspec_example_statuses
55
55
 
56
+ workflows:
57
+ version: 2
58
+ test-workflow:
59
+ jobs:
60
+ - test
@@ -1,35 +1,11 @@
1
- require: rubocop-rspec
1
+ inherit_gem:
2
+ rubocop-coreyja:
3
+ - config/default.yml
2
4
 
3
5
  inherit_from: .rubocop_todo.yml
4
6
 
5
7
  AllCops:
6
8
  TargetRubyVersion: 2.4
7
- Exclude:
8
- - 'vendor/**/*'
9
-
10
- Metrics/LineLength:
11
- Max: 120
12
-
13
- Metrics/ClassLength:
14
- Exclude:
15
- - 'spec/**/*'
16
-
17
- Metrics/BlockLength:
18
- Exclude:
19
- - 'spec/**/*'
20
- - '*.gemspec'
21
-
22
- Documentation:
23
- Enabled: false
24
-
25
- Style/StringLiterals:
26
- Description: Checks if uses of quotes match the configured preference.
27
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
28
- Enabled: true
29
- EnforcedStyle: single_quotes
30
- SupportedStyles:
31
- - single_quotes
32
- - double_quotes
33
9
 
34
10
  RSpec/MultipleExpectations:
35
11
  Enabled: false
@@ -1,5 +1,19 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.4.1](https://github.com/coreyja/sleet/tree/v0.4.1) (2018-11-24)
4
+ [Full Changelog](https://github.com/coreyja/sleet/compare/v0.4.0...v0.4.1)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - chore: Set up Rubocop-Coreyja gem [\#45](https://github.com/coreyja/sleet/pull/45) ([coreyja](https://github.com/coreyja))
9
+ - Update README.md [\#40](https://github.com/coreyja/sleet/pull/40) ([coreyja](https://github.com/coreyja))
10
+ - Update gem-release requirement to = 2.0.1 [\#33](https://github.com/coreyja/sleet/pull/33) ([dependabot[bot]](https://github.com/apps/dependabot))
11
+ - Update webmock requirement to ~\> 3.4.0 [\#28](https://github.com/coreyja/sleet/pull/28) ([dependabot[bot]](https://github.com/apps/dependabot))
12
+ - Update faraday requirement to \>= 0.13.1, \< 0.16.0 [\#27](https://github.com/coreyja/sleet/pull/27) ([dependabot[bot]](https://github.com/apps/dependabot))
13
+ - Update rubocop requirement to ~\> 0.55.0 [\#26](https://github.com/coreyja/sleet/pull/26) ([dependabot[bot]](https://github.com/apps/dependabot))
14
+ - Update gem-release requirement to = 2.0.0.rc.3 [\#25](https://github.com/coreyja/sleet/pull/25) ([dependabot[bot]](https://github.com/apps/dependabot))
15
+ - Update rugged requirement to \>= 0.26, \< 0.28 [\#24](https://github.com/coreyja/sleet/pull/24) ([dependabot[bot]](https://github.com/apps/dependabot))
16
+
3
17
  ## [v0.4.0](https://github.com/coreyja/sleet/tree/v0.4.0) (2018-03-08)
4
18
  [Full Changelog](https://github.com/coreyja/sleet/compare/v0.3.10...v0.4.0)
5
19
 
data/README.md CHANGED
@@ -127,7 +127,7 @@ Build-Test-Deploy Demo:
127
127
 
128
128
  For this example you have three jobs in your CircleCI Workflow, `build`, `test` and `deploy`, but only 1 (the `test` build) generate an Rspec persistance file
129
129
 
130
- This command will pick the `test` build and saw it's artificats to the `.rspec_example_statuses` file
130
+ This command will pick the `test` build and save it's artificats to the `.rspec_example_statuses` file
131
131
 
132
132
  ```
133
133
  sleet fetch --workflows test:.rspec_example_statuses
@@ -31,6 +31,7 @@ module Sleet
31
31
  exit
32
32
  end
33
33
  raise Sleet::Error, 'circle_ci_token required and not provided' unless sleet_config.circle_ci_token
34
+
34
35
  Sleet::FetchCommand.new(sleet_config).do!
35
36
  end
36
37
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  module Sleet
4
4
  class Repo
5
- REMOTE_BRANCH_REGEX = %r{^([^\/.]+)\/(.+)}
6
- CURRENT_BRANCH_REGEX = %r{^refs\/heads\/}
7
- GITHUB_MATCH_REGEX = %r{github.com[:\/](.+)\/(.+)\.git}
5
+ REMOTE_BRANCH_REGEX = %r{^([^\/.]+)\/(.+)}.freeze
6
+ CURRENT_BRANCH_REGEX = %r{^refs\/heads\/}.freeze
7
+ GITHUB_MATCH_REGEX = %r{github.com[:\/](.+)\/(.+)\.git}.freeze
8
8
 
9
9
  def self.from_config(config)
10
10
  new(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sleet
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
5
5
  end
@@ -1,4 +1,3 @@
1
-
2
1
  # frozen_string_literal: true
3
2
 
4
3
  lib = File.expand_path('lib', __dir__)
@@ -15,7 +14,7 @@ Gem::Specification.new do |spec|
15
14
  spec.description = <<~DOC
16
15
  Sleet provides an easy way to grab the most recent Rspec persistance files from CircleCI.
17
16
  It also aggregates the artificats from CircleCI, since you will have 1 per build container.
18
- DOC
17
+ DOC
19
18
  spec.homepage = 'https://github.com/coreyja/sleet'
20
19
  spec.license = 'MIT'
21
20
 
@@ -27,18 +26,17 @@ Gem::Specification.new do |spec|
27
26
  spec.require_paths = ['lib']
28
27
 
29
28
  spec.add_dependency 'colorize', '~> 0.8.1'
30
- spec.add_dependency 'faraday', '>= 0.13.1', '< 0.15.0'
29
+ spec.add_dependency 'faraday', '>= 0.13.1', '< 0.16.0'
31
30
  spec.add_dependency 'rspec', '~> 3.0'
32
- spec.add_dependency 'rugged', '~> 0.26.0'
31
+ spec.add_dependency 'rugged', '>= 0.26', '< 0.28'
33
32
  spec.add_dependency 'terminal-table', '~> 1.8'
34
33
  spec.add_dependency 'thor', '~> 0.20.0'
35
34
 
36
35
  spec.add_development_dependency 'bundler', '~> 1.13'
37
- spec.add_development_dependency 'gem-release', '2.0.0.dev.5'
36
+ spec.add_development_dependency 'gem-release', '= 2.0.1'
38
37
  spec.add_development_dependency 'github_changelog_generator', '~> 1.14'
39
38
  spec.add_development_dependency 'pry', '~> 0.10'
40
39
  spec.add_development_dependency 'rake', '~> 12.3'
41
- spec.add_development_dependency 'rubocop', '~> 0.53.0'
42
- spec.add_development_dependency 'rubocop-rspec', '~> 1.22'
43
- spec.add_development_dependency 'webmock', '~> 3.3.0'
40
+ spec.add_development_dependency 'rubocop-coreyja', '0.3.0'
41
+ spec.add_development_dependency 'webmock', '~> 3.4.0'
44
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sleet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Corey Alexander
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 0.13.1
34
34
  - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: 0.15.0
36
+ version: 0.16.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 0.13.1
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: 0.15.0
46
+ version: 0.16.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -62,16 +62,22 @@ dependencies:
62
62
  name: rugged
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0.26'
68
+ - - "<"
66
69
  - !ruby/object:Gem::Version
67
- version: 0.26.0
70
+ version: '0.28'
68
71
  type: :runtime
69
72
  prerelease: false
70
73
  version_requirements: !ruby/object:Gem::Requirement
71
74
  requirements:
72
- - - "~>"
75
+ - - ">="
73
76
  - !ruby/object:Gem::Version
74
- version: 0.26.0
77
+ version: '0.26'
78
+ - - "<"
79
+ - !ruby/object:Gem::Version
80
+ version: '0.28'
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: terminal-table
77
83
  requirement: !ruby/object:Gem::Requirement
@@ -120,14 +126,14 @@ dependencies:
120
126
  requirements:
121
127
  - - '='
122
128
  - !ruby/object:Gem::Version
123
- version: 2.0.0.dev.5
129
+ version: 2.0.1
124
130
  type: :development
125
131
  prerelease: false
126
132
  version_requirements: !ruby/object:Gem::Requirement
127
133
  requirements:
128
134
  - - '='
129
135
  - !ruby/object:Gem::Version
130
- version: 2.0.0.dev.5
136
+ version: 2.0.1
131
137
  - !ruby/object:Gem::Dependency
132
138
  name: github_changelog_generator
133
139
  requirement: !ruby/object:Gem::Requirement
@@ -171,47 +177,33 @@ dependencies:
171
177
  - !ruby/object:Gem::Version
172
178
  version: '12.3'
173
179
  - !ruby/object:Gem::Dependency
174
- name: rubocop
180
+ name: rubocop-coreyja
175
181
  requirement: !ruby/object:Gem::Requirement
176
182
  requirements:
177
- - - "~>"
178
- - !ruby/object:Gem::Version
179
- version: 0.53.0
180
- type: :development
181
- prerelease: false
182
- version_requirements: !ruby/object:Gem::Requirement
183
- requirements:
184
- - - "~>"
185
- - !ruby/object:Gem::Version
186
- version: 0.53.0
187
- - !ruby/object:Gem::Dependency
188
- name: rubocop-rspec
189
- requirement: !ruby/object:Gem::Requirement
190
- requirements:
191
- - - "~>"
183
+ - - '='
192
184
  - !ruby/object:Gem::Version
193
- version: '1.22'
185
+ version: 0.3.0
194
186
  type: :development
195
187
  prerelease: false
196
188
  version_requirements: !ruby/object:Gem::Requirement
197
189
  requirements:
198
- - - "~>"
190
+ - - '='
199
191
  - !ruby/object:Gem::Version
200
- version: '1.22'
192
+ version: 0.3.0
201
193
  - !ruby/object:Gem::Dependency
202
194
  name: webmock
203
195
  requirement: !ruby/object:Gem::Requirement
204
196
  requirements:
205
197
  - - "~>"
206
198
  - !ruby/object:Gem::Version
207
- version: 3.3.0
199
+ version: 3.4.0
208
200
  type: :development
209
201
  prerelease: false
210
202
  version_requirements: !ruby/object:Gem::Requirement
211
203
  requirements:
212
204
  - - "~>"
213
205
  - !ruby/object:Gem::Version
214
- version: 3.3.0
206
+ version: 3.4.0
215
207
  description: |
216
208
  Sleet provides an easy way to grab the most recent Rspec persistance files from CircleCI.
217
209
  It also aggregates the artificats from CircleCI, since you will have 1 per build container.
@@ -274,7 +266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
266
  version: '0'
275
267
  requirements: []
276
268
  rubyforge_project:
277
- rubygems_version: 2.7.3
269
+ rubygems_version: 2.7.6
278
270
  signing_key:
279
271
  specification_version: 4
280
272
  summary: CircleCI RSpec Status Persistance File Aggregator