prospector 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -0
- data/lib/prospector/ruby_version.rb +14 -2
- data/lib/prospector/version.rb +1 -1
- data/prospector.gemspec +3 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d5ac48ff4845862bb4156b26a5a9f0d3d0611d3
|
4
|
+
data.tar.gz: 1d25b8d829b76dbdf5c7feed4648af454337a25c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e07e8dfc5fc0894af65c8b2dc1f290cf56633739df069b076d3c3848d0b5b306fd8c22191be1ecd788ee8164556756721f09afcef8df5c84e99b824866a17b5b
|
7
|
+
data.tar.gz: 65b5f7a6ef59aacbc80c10ed70231b6f82791a8054a131b7bbd0e7d8996a080e54ea93b3473167c510ab7d50a54cbd2b05080a0e6356d83faf89bb5963f86a46
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Prospector Changelog
|
2
2
|
|
3
|
+
## Version 1.0.0
|
4
|
+
|
5
|
+
* Require Bundler 1.12+ after changes to Bundler's API caused breaking changes [PR #13](https://github.com/madebylotus/prospector/pull/13)
|
6
|
+
|
3
7
|
## Version 0.5.0
|
4
8
|
|
5
9
|
* Determine ruby version and deliver to API [PR #11](https://github.com/madebylotus/prospector/pull/11)
|
data/README.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
Prospector provides a simple integration with the [Gem Prospector](http://www.gemprospector.com) API allowing your team to stay on top of important updates to gems in your Ruby project.
|
4
4
|
|
5
|
+
<img src="https://github.com/madebylotus/prospector/blob/master/marketing/infographic.png" width="300" />
|
6
|
+
<img src="https://github.com/madebylotus/prospector/blob/master/marketing/screenshot.png" width="300" />
|
7
|
+
|
5
8
|
## Installation
|
6
9
|
|
7
10
|
Add this line to your application's Gemfile:
|
@@ -2,11 +2,11 @@ module Prospector
|
|
2
2
|
class RubyVersion
|
3
3
|
extend Forwardable
|
4
4
|
|
5
|
-
def_delegators :@ruby_version, :
|
5
|
+
def_delegators :@ruby_version, :patchlevel, :engine
|
6
6
|
alias_method :patch_level, :patchlevel
|
7
7
|
|
8
8
|
def initialize
|
9
|
-
@ruby_version = Bundler.
|
9
|
+
@ruby_version = Bundler::RubyVersion.system
|
10
10
|
end
|
11
11
|
|
12
12
|
def to_json
|
@@ -17,5 +17,17 @@ module Prospector
|
|
17
17
|
patch_level: patch_level
|
18
18
|
}
|
19
19
|
end
|
20
|
+
|
21
|
+
def engine_version
|
22
|
+
@ruby_version.engine_gem_version.version
|
23
|
+
end
|
24
|
+
|
25
|
+
def version
|
26
|
+
@ruby_version.gem_version.version
|
27
|
+
end
|
28
|
+
|
29
|
+
def to_s
|
30
|
+
@ruby_version.single_version_string
|
31
|
+
end
|
20
32
|
end
|
21
33
|
end
|
data/lib/prospector/version.rb
CHANGED
data/prospector.gemspec
CHANGED
@@ -14,16 +14,16 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "http://www.gemprospector.com"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|marketing)/}) }
|
18
18
|
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
22
|
spec.add_dependency "json", "~> 1.8"
|
23
|
-
spec.add_dependency "bundler", "~> 1.
|
23
|
+
spec.add_dependency "bundler", "~> 1.12"
|
24
24
|
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
26
|
spec.add_development_dependency "webmock", "~> 1.21"
|
27
27
|
spec.add_development_dependency "vcr", "~> 2.9"
|
28
|
-
spec.add_development_dependency "rspec", "~> 3.
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.5"
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prospector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Millsaps-Brewer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.12'
|
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.
|
40
|
+
version: '1.12'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '3.
|
89
|
+
version: '3.5'
|
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: '3.
|
96
|
+
version: '3.5'
|
97
97
|
description: Gem Prospector allows your team to stay on top of important updates to
|
98
98
|
gems in your Ruby project.
|
99
99
|
email:
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.
|
152
|
+
rubygems_version: 2.5.2
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Prospector provides a simple integration with the Gem Prospector service.
|