git-trend 1.2.9 → 1.3.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/lib/git_trend/scraper.rb +1 -1
- data/lib/git_trend/version.rb +1 -1
- data/spec/fixtures/trending/alloy +2139 -3806
- data/spec/fixtures/trending/index +2783 -4491
- data/spec/fixtures/trending/ruby +2784 -4450
- data/spec/fixtures/trending/ruby?since=weekly +2808 -4447
- data/spec/fixtures/trending?since= +2785 -4491
- data/spec/fixtures/trending?since=daily +2785 -4491
- data/spec/fixtures/trending?since=monthly +2821 -4464
- data/spec/fixtures/trending?since=weekly +2808 -4473
- data/spec/git_trend/cli_spec.rb +168 -789
- data/spec/spec_helper.rb +3 -6
- metadata +3 -3
data/spec/spec_helper.rb
CHANGED
@@ -17,8 +17,10 @@
|
|
17
17
|
# require "coveralls"
|
18
18
|
# Coveralls.wear!
|
19
19
|
|
20
|
-
require "pry"
|
21
20
|
require "simplecov"
|
21
|
+
require "webmock/rspec"
|
22
|
+
require "git_trend"
|
23
|
+
|
22
24
|
# require "codeclimate-test-reporter"
|
23
25
|
dir = File.join(ENV["CIRCLE_ARTIFACTS"] || "coverage")
|
24
26
|
SimpleCov.coverage_dir(dir)
|
@@ -31,11 +33,6 @@ SimpleCov.start do
|
|
31
33
|
])
|
32
34
|
end
|
33
35
|
|
34
|
-
require "webmock/rspec"
|
35
|
-
|
36
|
-
require "git_trend"
|
37
|
-
SimpleCov.start
|
38
|
-
|
39
36
|
RSpec.configure do |config|
|
40
37
|
config.expect_with :rspec do |expectations|
|
41
38
|
expectations.syntax = :expect
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-trend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rochefort
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
298
|
- !ruby/object:Gem::Version
|
299
299
|
version: '0'
|
300
300
|
requirements: []
|
301
|
-
rubygems_version: 3.4.
|
301
|
+
rubygems_version: 3.4.10
|
302
302
|
signing_key:
|
303
303
|
specification_version: 4
|
304
304
|
summary: CLI-Based tool that show Trending repository on github
|