blakey 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +0 -7
- data/README.md +13 -1
- data/Rakefile +5 -1
- data/blakey.gemspec +6 -2
- data/lib/blakey/version.rb +1 -1
- metadata +59 -4
- data/Gemfile.lock +0 -58
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7347afd0683e9343367d0476e223681512906f393d7ac7401ee881e93d7e7bcf
|
4
|
+
data.tar.gz: d49172043a2b76aeb2c3e39312be84856e757d1aa33a2bf2b234d7d8533134aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68bae9613983e39eeb3ea58dbbab0029e8d56323a0ca928c98d1cd2a5e2bfd9d2f94de91dc6902728898e77b0ce2383f16bf70934411cad2d1dc644c106302d5
|
7
|
+
data.tar.gz: c006d234bf9f278b33d1f1363341e1e351dafa478a29d8cdf6c711e6baa97e41b97fd207a78ffcb2dfc506e5f0ae4e6b89171971fdecf505e5fa008e4adc6258
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Blakey
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/calvinhughes/blakey.svg?branch=main)](https://travis-ci.org/calvinhughes/blakey)
|
3
|
+
[![Build Status](https://travis-ci.org/calvinhughes/blakey.svg?branch=main)](https://travis-ci.org/calvinhughes/blakey) [![Gem Version](https://badge.fury.io/rb/blakey.svg)](https://badge.fury.io/rb/blakey)
|
4
4
|
|
5
5
|
Blakey is a Ruby gem built to take the hassle out of extracting useful information from your projects. It allows you to easily plug in sources of information about your project, which can then be used as a common data-source for reporting purposes.
|
6
6
|
|
@@ -79,6 +79,18 @@ Some sources using remote APIs in the development environment may require authen
|
|
79
79
|
|--------|------------------------------------------|-------------|
|
80
80
|
| GitHub | `BLAKEY_TEST_SOURCE_GITHUB_ACCESS_TOKEN` | The test personal access token from GitHub used for requests in the test environment. Default value: `fake_github_access_token` |
|
81
81
|
|
82
|
+
To test the project, you can bundle gems and then run the specs:
|
83
|
+
```
|
84
|
+
bundle
|
85
|
+
rake
|
86
|
+
```
|
87
|
+
|
88
|
+
Or if you want to replicate the TravisCI setup and run across many Ruby versions (recommended) then you can use [wwtd](https://github.com/grosser/wwtd):
|
89
|
+
```
|
90
|
+
gem install wwtd
|
91
|
+
wwtd
|
92
|
+
```
|
93
|
+
|
82
94
|
|
83
95
|
## Contributing
|
84
96
|
|
data/Rakefile
CHANGED
data/blakey.gemspec
CHANGED
@@ -24,7 +24,11 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
25
|
spec.require_paths = ["lib"]
|
26
26
|
|
27
|
-
spec.add_dependency 'octokit'
|
27
|
+
spec.add_dependency 'octokit', '~> 4.19'
|
28
|
+
spec.add_dependency 'bundler', '>= 2.0.0'
|
28
29
|
|
29
|
-
spec.add_development_dependency 'rspec'
|
30
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
31
|
+
spec.add_development_dependency 'rake'
|
32
|
+
spec.add_development_dependency 'webmock', '~> 3.0'
|
33
|
+
spec.add_development_dependency 'vcr', '~> 6.0'
|
30
34
|
end
|
data/lib/blakey/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blakey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Calvin Hughes
|
@@ -12,20 +12,48 @@ date: 2020-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.19'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.19'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - ">="
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
33
|
+
version: 2.0.0
|
20
34
|
type: :runtime
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
38
|
- - ">="
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
40
|
+
version: 2.0.0
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
59
|
- - ">="
|
@@ -38,6 +66,34 @@ dependencies:
|
|
38
66
|
- - ">="
|
39
67
|
- !ruby/object:Gem::Version
|
40
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '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: '3.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: vcr
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '6.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '6.0'
|
41
97
|
description: Blakey is a Ruby gem built to make extract basic statistics and information
|
42
98
|
from your repositories/projects much easier
|
43
99
|
email:
|
@@ -50,7 +106,6 @@ files:
|
|
50
106
|
- ".rspec"
|
51
107
|
- ".travis.yml"
|
52
108
|
- Gemfile
|
53
|
-
- Gemfile.lock
|
54
109
|
- README.md
|
55
110
|
- Rakefile
|
56
111
|
- bin/console
|
data/Gemfile.lock
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
blakey (0.1.0)
|
5
|
-
octokit
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
addressable (2.7.0)
|
11
|
-
public_suffix (>= 2.0.2, < 5.0)
|
12
|
-
crack (0.4.4)
|
13
|
-
diff-lcs (1.4.4)
|
14
|
-
faraday (1.1.0)
|
15
|
-
multipart-post (>= 1.2, < 3)
|
16
|
-
ruby2_keywords
|
17
|
-
hashdiff (1.0.1)
|
18
|
-
multipart-post (2.1.1)
|
19
|
-
octokit (4.19.0)
|
20
|
-
faraday (>= 0.9)
|
21
|
-
sawyer (~> 0.8.0, >= 0.5.3)
|
22
|
-
public_suffix (4.0.6)
|
23
|
-
rake (12.3.3)
|
24
|
-
rspec (3.10.0)
|
25
|
-
rspec-core (~> 3.10.0)
|
26
|
-
rspec-expectations (~> 3.10.0)
|
27
|
-
rspec-mocks (~> 3.10.0)
|
28
|
-
rspec-core (3.10.0)
|
29
|
-
rspec-support (~> 3.10.0)
|
30
|
-
rspec-expectations (3.10.0)
|
31
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
-
rspec-support (~> 3.10.0)
|
33
|
-
rspec-mocks (3.10.0)
|
34
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
35
|
-
rspec-support (~> 3.10.0)
|
36
|
-
rspec-support (3.10.0)
|
37
|
-
ruby2_keywords (0.0.2)
|
38
|
-
sawyer (0.8.2)
|
39
|
-
addressable (>= 2.3.5)
|
40
|
-
faraday (> 0.8, < 2.0)
|
41
|
-
vcr (6.0.0)
|
42
|
-
webmock (3.10.0)
|
43
|
-
addressable (>= 2.3.6)
|
44
|
-
crack (>= 0.3.2)
|
45
|
-
hashdiff (>= 0.4.0, < 2.0.0)
|
46
|
-
|
47
|
-
PLATFORMS
|
48
|
-
ruby
|
49
|
-
|
50
|
-
DEPENDENCIES
|
51
|
-
blakey!
|
52
|
-
rake (~> 12.0)
|
53
|
-
rspec
|
54
|
-
vcr
|
55
|
-
webmock
|
56
|
-
|
57
|
-
BUNDLED WITH
|
58
|
-
2.1.4
|