git-trend 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -9
- data/README.md +2 -2
- data/lib/git_trend/cli.rb +4 -4
- data/lib/git_trend/rendering.rb +1 -1
- data/lib/git_trend/scraper.rb +1 -1
- data/lib/git_trend/version.rb +1 -1
- data/spec/git_trend/cli_spec.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48d5082fc2e5e19ac182b5229c355e85de6e441b
|
4
|
+
data.tar.gz: f930442f2467d37a73032d153853b7052b7078a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd73c0e8f4fc8e5ba6d93ef09142ee6a7a2a21e89594b04a8475790754990b4408a964cccec7082aaeb6779816b75dbe7c596f7c4fa0eaba1e3adc192d1eb8ac
|
7
|
+
data.tar.gz: 32db91ecc0c2eab578e7ada52ac4e7fc8d6f89d3fa9294b266218af708c43771cb9e549aede9880104712a82c1aa02a6487c53da1ef35f7ee97322120a8b5011
|
data/CHANGELOG.md
CHANGED
@@ -1,34 +1,38 @@
|
|
1
|
+
## v0.0.9
|
2
|
+
|
3
|
+
* Change a name of option from `all_language` to `language`. [114e425]
|
4
|
+
|
1
5
|
## v0.0.8
|
2
6
|
|
3
|
-
* Upgrade simplecov 0.9.0
|
4
|
-
* Fix gemspec homepage typo
|
7
|
+
* Upgrade simplecov 0.9.0 [5fbcbab]
|
8
|
+
* Fix gemspec homepage typo [9bd6b48]
|
5
9
|
|
6
10
|
## v0.0.7
|
7
11
|
|
8
|
-
* Tweak help message.(Accent a green color in help)
|
12
|
+
* Tweak help message.(Accent a green color in help) [9da3e5e]
|
9
13
|
|
10
14
|
## v0.0.6
|
11
15
|
|
12
|
-
* Implement terminal width is not enough, does not display description.
|
16
|
+
* Implement terminal width is not enough, does not display description. [7754a71]
|
13
17
|
|
14
18
|
|
15
19
|
## v0.0.5
|
16
20
|
|
17
|
-
* Fix lack of addressable gem when installing
|
21
|
+
* Fix lack of addressable gem when installing [54ca275]
|
18
22
|
|
19
23
|
|
20
24
|
## v0.0.4
|
21
25
|
|
22
|
-
* Implement descrition option
|
26
|
+
* Implement descrition option [4587e56]
|
23
27
|
|
24
28
|
## v0.0.3
|
25
29
|
|
26
|
-
* Implement since option
|
27
|
-
* Fix star count is incorrect
|
30
|
+
* Implement since option [04f1978]
|
31
|
+
* Fix star count is incorrect [ce6e07a]
|
28
32
|
|
29
33
|
## v0.0.2
|
30
34
|
|
31
|
-
* Implement display lang field
|
35
|
+
* Implement display lang field [96e4b9c]
|
32
36
|
|
33
37
|
## v0.0.1
|
34
38
|
|
data/README.md
CHANGED
data/lib/git_trend/cli.rb
CHANGED
@@ -27,11 +27,11 @@ module GitTrend
|
|
27
27
|
say e.message
|
28
28
|
end
|
29
29
|
|
30
|
-
desc :
|
31
|
-
def
|
30
|
+
desc :languages, 'Show selectable languages'
|
31
|
+
def languages
|
32
32
|
scraper = Scraper.new
|
33
|
-
languages = scraper.
|
34
|
-
|
33
|
+
languages = scraper.list_languages
|
34
|
+
render_languages(languages)
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
data/lib/git_trend/rendering.rb
CHANGED
data/lib/git_trend/scraper.rb
CHANGED
data/lib/git_trend/version.rb
CHANGED
data/spec/git_trend/cli_spec.rb
CHANGED
@@ -288,7 +288,7 @@ RSpec.describe GitTrend::CLI do
|
|
288
288
|
end
|
289
289
|
end
|
290
290
|
|
291
|
-
describe '#
|
291
|
+
describe '#languages' do
|
292
292
|
before do
|
293
293
|
@cli = CLI.new
|
294
294
|
stub_request_get('trending')
|
@@ -486,7 +486,7 @@ RSpec.describe GitTrend::CLI do
|
|
486
486
|
|if languages is unknown, you can specify 'unkown'.
|
487
487
|
|
|
488
488
|
EOS
|
489
|
-
expect { @cli.
|
489
|
+
expect { @cli.languages }.to output(res).to_stdout
|
490
490
|
end
|
491
491
|
end
|
492
492
|
end
|
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: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rochefort
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|