prospectus_repotimer 0.0.1 → 0.0.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
- SHA1:
3
- metadata.gz: c2a13df882cb3285bd056344f42c0b686bfe7c8f
4
- data.tar.gz: 6e90749b21c4de0a16e921acc30e2ca2060e3cb9
2
+ SHA256:
3
+ metadata.gz: 8263274c3851875892f3157ce9e87e1d56e3a78b24d6271c49ac42a2d648f3f8
4
+ data.tar.gz: 6806e0f4e4c6f63d63dfbeb85dfa4ba64f04b306d9caa7f32ed388066332f7e5
5
5
  SHA512:
6
- metadata.gz: d6b3e71c6977840a64d17e37bd906878879ff866681fa84485ca66e24277a9ac562554f76f0dc0a438188d3a787d9eef6784e5337e6ed25bb04586f719078fbf
7
- data.tar.gz: d469b748eb6dbfe905ed8060034d41ec9220932dcefc459efca7a827936ecbe7e393370b09df8e9fd2585ac8e58154f99ac4d9a1ff451391c7388704dfbf767f
6
+ metadata.gz: 210e3767a328c197c3b4fb147af78f5c480f0c1a819f392e2024e7540362b035a73a15e9266a5558aa4ed3d4e4b32e79d11e395c57865228302352f8ab532863
7
+ data.tar.gz: a173290973e67736b032f6e8dac41209cb7d8106353e241c997998ad98a4ce741024c2db968149d58181adda7e34b77aeba6cf690fc54c7d9a789dc588509957
data/.circle-ruby CHANGED
@@ -1,3 +1,3 @@
1
- 2.4.1
2
- 2.3.4
3
- 2.2.7
1
+ 2.5.1
2
+ 2.4.4
3
+ 2.3.7
data/.prospectus CHANGED
@@ -1,25 +1,11 @@
1
- Prospectus.extra_dep('file', 'prospectus_circleci')
2
-
3
1
  my_slug = 'akerl/prospectus_repotimer'
4
2
 
3
+ Prospectus.extra_dep('file', 'prospectus_circleci')
4
+ Prospectus.extra_dep('file', 'prospectus_gems')
5
+
5
6
  item do
6
7
  noop
7
8
 
8
- deps do
9
- item do
10
- name 'gems'
11
-
12
- expected do
13
- static
14
- set 'green'
15
- end
16
-
17
- actual do
18
- gemnasium
19
- slug my_slug
20
- end
21
- end
22
- end
23
-
9
+ extend ProspectusGems::Gemspec.new
24
10
  extend ProspectusCircleci::Build.new(my_slug)
25
11
  end
data/.rubocop.yml CHANGED
@@ -1,2 +1,2 @@
1
- Encoding:
2
- Enabled: false
1
+ inherit_gem:
2
+ goodcop: .rubocop.yml
data/Gemfile CHANGED
@@ -1,4 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
data/README.md CHANGED
@@ -18,8 +18,8 @@ Add the following 2 lines to the .prospectus:
18
18
  ## Add this at the top
19
19
  Prospectus.extra_dep('file', 'prospectus_repotimer')
20
20
 
21
- ## Add this inside your item that has a build
22
- extend ProspectusRepotimer.build(days_ago)
21
+ ## Add this inside your item that needs a timer
22
+ extend ProspectusRepotimer::Timer.new(days_ago)
23
23
  ```
24
24
 
25
25
  ## Installation
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']
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]
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'prospectus_repotimer'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = Time.now.strftime('%Y-%m-%d')
5
5
 
6
6
  s.summary = 'Prospectus helpers for checking repo staleness'
7
- s.description = "Prospectus helpers for checking repo staleness"
7
+ s.description = 'Prospectus helpers for checking repo staleness'
8
8
  s.authors = ['Les Aker']
9
9
  s.email = 'me@lesaker.org'
10
10
  s.homepage = 'https://github.com/amylum/prospectus_repotimer'
@@ -13,11 +13,12 @@ Gem::Specification.new do |s|
13
13
  s.files = `git ls-files`.split
14
14
  s.test_files = `git ls-files spec/*`.split
15
15
 
16
- s.add_dependency 'prospectus', '~> 0.5.0'
16
+ s.add_dependency 'prospectus', '~> 0.6.0'
17
17
 
18
- s.add_development_dependency 'rubocop', '~> 0.49.0'
19
- s.add_development_dependency 'rake', '~> 12.0.0'
20
18
  s.add_development_dependency 'codecov', '~> 0.1.1'
21
- s.add_development_dependency 'rspec', '~> 3.6.0'
22
- s.add_development_dependency 'fuubar', '~> 2.2.0'
19
+ s.add_development_dependency 'fuubar', '~> 2.3.0'
20
+ s.add_development_dependency 'goodcop', '~> 0.5.0'
21
+ s.add_development_dependency 'rake', '~> 12.3.0'
22
+ s.add_development_dependency 'rspec', '~> 3.7.0'
23
+ s.add_development_dependency 'rubocop', '~> 0.58.0'
23
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prospectus_repotimer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-08-07 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prospectus
@@ -16,84 +16,98 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.0
19
+ version: 0.6.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: 0.5.0
26
+ version: 0.6.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: rubocop
28
+ name: codecov
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.49.0
33
+ version: 0.1.1
34
34
  type: :development
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: 0.49.0
40
+ version: 0.1.1
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: fuubar
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 12.0.0
47
+ version: 2.3.0
48
48
  type: :development
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: 12.0.0
54
+ version: 2.3.0
55
55
  - !ruby/object:Gem::Dependency
56
- name: codecov
56
+ name: goodcop
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.1.1
61
+ version: 0.5.0
62
62
  type: :development
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.1.1
68
+ version: 0.5.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 12.3.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 12.3.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rspec
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: 3.6.0
89
+ version: 3.7.0
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: 3.6.0
96
+ version: 3.7.0
83
97
  - !ruby/object:Gem::Dependency
84
- name: fuubar
98
+ name: rubocop
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: 2.2.0
103
+ version: 0.58.0
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: 2.2.0
110
+ version: 0.58.0
97
111
  description: Prospectus helpers for checking repo staleness
98
112
  email: me@lesaker.org
99
113
  executables: []
@@ -134,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
148
  version: '0'
135
149
  requirements: []
136
150
  rubyforge_project:
137
- rubygems_version: 2.6.11
151
+ rubygems_version: 2.7.6
138
152
  signing_key:
139
153
  specification_version: 4
140
154
  summary: Prospectus helpers for checking repo staleness