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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e30381a630c4a9e625898e713cd0c04ba77640b59483947b3e7ec1608037d8a4
4
- data.tar.gz: 480f0c13b26028d55cc6fb255f560d7e3707e6b24055be8fb1575d1dd0a0d579
3
+ metadata.gz: 7347afd0683e9343367d0476e223681512906f393d7ac7401ee881e93d7e7bcf
4
+ data.tar.gz: d49172043a2b76aeb2c3e39312be84856e757d1aa33a2bf2b234d7d8533134aa
5
5
  SHA512:
6
- metadata.gz: 39d5b9afa0630e4a659936edba8e4b8d2bbb644566cfc5b11062975fc65000b257e00f9c07994d424c24cdbc96a5f23842953674465d19e6f60217d944ffa950
7
- data.tar.gz: f539abc194d85b1402de7dac82f7b5a73935cd1ca769b63c8f10390a43a3088c22f5dd7caf954261495ae179954b66de47a1e3347a8f0ab7fd8e9ead78a2745e
6
+ metadata.gz: 68bae9613983e39eeb3ea58dbbab0029e8d56323a0ca928c98d1cd2a5e2bfd9d2f94de91dc6902728898e77b0ce2383f16bf70934411cad2d1dc644c106302d5
7
+ data.tar.gz: c006d234bf9f278b33d1f1363341e1e351dafa478a29d8cdf6c711e6baa97e41b97fd207a78ffcb2dfc506e5f0ae4e6b89171971fdecf505e5fa008e4adc6258
data/.gitignore CHANGED
@@ -5,3 +5,5 @@
5
5
  /pkg/
6
6
  /spec/reports/
7
7
  /tmp/
8
+
9
+ Gemfile.lock
@@ -6,3 +6,6 @@ rvm:
6
6
  - 2.6.6
7
7
  - 2.7.1
8
8
  - 2.7.2
9
+
10
+ before_install:
11
+ gem install bundler
data/Gemfile CHANGED
@@ -2,10 +2,3 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in blakey.gemspec
4
4
  gemspec
5
-
6
- gem "rake", "~> 12.0"
7
-
8
- group :test do
9
- gem 'webmock'
10
- gem 'vcr'
11
- end
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
@@ -1,2 +1,6 @@
1
- require "bundler/gem_tasks"
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
2
6
  task :default => :spec
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Blakey
2
- VERSION = "0.1.0"
2
+ VERSION = "0.3.0"
3
3
  end
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.1.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: '0'
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: '0'
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
@@ -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