git-trend 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: cd80ac15174843b4f1c834c3f8e49d1c1d7f5c3e
4
- data.tar.gz: 6a80e9fb3919f79bafbe3e7e9a6f15a47cf159a6
3
+ metadata.gz: 35304db520f88d6c117241a8fd1a37f6af6b5f8f
4
+ data.tar.gz: 50c6bc7cb918674256fd7e583788db022c89c8b4
5
5
  SHA512:
6
- metadata.gz: 4a5a68f1eef1d166971ca6456132b69865b4a105bd5b77af4f54a0e24f3402b6b3dada0843a40f5df6e0699db12ae379cb644f42784fe0a38d314f6da91e8958
7
- data.tar.gz: 8272041e319d8ee41146e7db77ab075d3c46b30617ac1f4f4e0bc8f9fce4b1ce58ffa3bcce7df8bcee4821394413cf4d871863b8bff36eb28b064c90c45dbc2f
6
+ metadata.gz: 6d33f708ef1ff5679f40076751a37f6f49fba495c5db560375754283eeef210fea92ab37fdcef64c83f719d795ee0be30e65a30f2b24fdd74cebe422f6706185
7
+ data.tar.gz: bd3abad9b505505de8639128f5b018495ba418a85cee9db09f3a61c1b7406c06a98eaf766e0b3d9ff87728f51ba70d1d58ed891d8d7b1396c8506f3793cc1492
data/.gitignore CHANGED
@@ -21,3 +21,4 @@ tmp
21
21
  *.o
22
22
  *.a
23
23
  mkmf.log
24
+ TODO.txt
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.0.2
2
+
3
+ * Implement display lang field (96e4b9c)
4
+
1
5
  ## v0.0.1
2
6
 
3
- * Implement basic feuture (show daily trending)
7
+ * Implement basic feuture (show daily trending)
data/README.md CHANGED
@@ -21,75 +21,99 @@ Or install it yourself as:
21
21
 
22
22
  Use the git-trend as follows:
23
23
 
24
+ ### daily trending
25
+
24
26
  git trend
25
27
 
26
28
  e.g.:
27
29
 
28
30
  ```
29
31
  $ git trend
30
- No. Name Star Fork
31
- --- -------------------------------------------------- ------ -----
32
- 1 prat0318/json_resume 440 30
33
- 2 Flolagale/mailin 177 3
34
- 3 watilde/beeplay 176 3
35
- 4 daneden/animate.css 150 15
36
- 5 jessepollak/card 149 9
37
- 6 grant/swift-cheat-sheet 134 10
38
- 7 numbbbbb/the-swift-programming-language-in-chinese 123 24
39
- 8 fullstackio/FlappySwift 117 35
40
- 9 andlabs/ui 101 5
41
- 10 neovim/neovim 81 7
42
- 11 hiphopapp/hiphop 71 11
43
- 12 austinzheng/swift-2048 66 19
44
- 13 interagent/http-api-design 61 2
45
- 14 davidmerfield/randomColor 60 3
46
- 15 dawn/dawn 56 2
47
- 16 PistonDevelopers/piston-workspace 54 0
48
- 17 mdznr/What-s-New 47 1
49
- 18 PistonDevelopers/piston 46 2
50
- 19 lafikl/steady.js 46 0
51
- 20 mikepenz/AboutLibraries 44 0
52
- 21 greatfire/wiki 37 12
53
- 22 goagent/goagent 36 7
54
- 23 hippyvm/hippyvm 36 3
55
- 24 dwightwatson/validating 37 0
56
- 25 jas/swift-playground-builder 37 0
32
+ No. Name Lang Star Fork
33
+ --- -------------------------------------------------- ------------ ------ -----
34
+ 1 lafikl/steady.js JavaScript 435 12
35
+ 2 rpicard/explore-flask Python 316 16
36
+ 3 dc-js/dc.js JavaScript 289 15
37
+ 4 watilde/beeplay JavaScript 272 12
38
+ 5 grant/swift-cheat-sheet 263 13
39
+ 6 tictail/bounce.js CSS 260 8
40
+ 7 jessepollak/card CSS 225 15
41
+ 8 prat0318/json_resume Ruby 195 17
42
+ 9 addyosmani/psi JavaScript 201 3
43
+ 10 fullstackio/FlappySwift Swift 168 52
44
+ 11 PythonJS/PythonJS JavaScript 185 9
45
+ 12 numbbbbb/the-swift-programming-language-in-chinese JavaScript 137 30
46
+ 13 maxpow4h/swiftz Swift 134 7
47
+ 14 andlabs/ui Go 116 6
48
+ 15 interagent/http-api-design 100 9
49
+ 16 dotcloud/docker Go 98 13
50
+ 17 dwightwatson/validating PHP 99 5
51
+ 18 daneden/animate.css CSS 92 18
52
+ 19 daimajia/AndroidImageSlider Java 87 12
53
+ 20 austinzheng/swift-2048 Swift 73 14
54
+ 21 Flolagale/mailin Python 77 4
55
+ 22 hiphopapp/hiphop CoffeeScript 71 8
56
+ 23 jas/swift-playground-builder JavaScript 62 0
57
+ 24 medyo/dynamicbox Java 59 2
58
+ 25 twbs/bootstrap CSS 46 27
59
+ ```
60
+
61
+ ### daily trending by language
62
+
63
+ git trend -l
64
+
65
+ e.g.:
66
+
67
+ ```
68
+ $ git trend -l ruby
69
+ No. Name Lang Star Fork
70
+ --- ---------------------------------------- ---------- ------ -----
71
+ 1 prat0318/json_resume Ruby 199 16
72
+ 2 dawn/dawn Ruby 51 0
73
+ 3 etsy/nagios-herald Ruby 27 0
74
+ 4 Homebrew/homebrew Ruby 13 15
75
+ 5 CanCanCommunity/cancancan Ruby 16 0
76
+ 6 venmo/synx Ruby 16 0
77
+ 7 joenorton/rubyretriever Ruby 14 2
78
+ 8 jekyll/jekyll Ruby 10 3
79
+ 9 rapid7/metasploit-framework Ruby 9 4
80
+ 10 discourse/discourse Ruby 9 3
81
+ 11 torben/FlappyMotion Ruby 10 0
82
+ 12 rails/rails Ruby 6 8
83
+ 13 visionmedia/commander Ruby 9 1
84
+ 14 interagent/prmd Ruby 9 0
85
+ 15 opf/openproject Ruby 9 0
86
+ 16 mitchellh/vagrant Ruby 8 2
87
+ 17 twbs/bootstrap-sass Ruby 8 1
88
+ 18 sass/sass Ruby 7 2
89
+ 19 github/hub Ruby 8 0
90
+ 20 gitlabhq/gitlabhq Ruby 5 5
91
+ 21 CocoaPods/CocoaPods Ruby 7 0
92
+ 22 plataformatec/devise Ruby 5 4
93
+ 23 wbailey/claws Ruby 7 0
94
+ 24 guard/guard Ruby 6 1
95
+ 25 jordansissel/fpm Ruby 6 0
57
96
  ```
58
97
 
98
+ ### show languages
59
99
 
60
- git trend -l
100
+ git trend all_languages
61
101
 
62
102
  e.g.:
63
103
 
64
104
  ```
65
- git trend -l ruby
66
- No. Name Star Fork
67
- --- ---------------------------------------- ------ -----
68
- 1 prat0318/json_resume 412 27
69
- 2 dawn/dawn 57 2
70
- 3 Homebrew/homebrew 15 7
71
- 4 etsy/nagios-herald 18 0
72
- 5 jekyll/jekyll 14 4
73
- 6 opf/openproject 11 0
74
- 7 caskroom/homebrew-cask 9 3
75
- 8 rails/rails 6 7
76
- 9 interagent/prmd 9 0
77
- 10 mitchellh/vagrant 8 2
78
- 11 discourse/discourse 7 3
79
- 12 CanCanCommunity/cancancan 7 1
80
- 13 venmo/synx 7 0
81
- 14 laravel/homestead 6 2
82
- 15 alexreisner/geocoder 6 0
83
- 16 visionmedia/commander 5 0
84
- 17 CocoaPods/Specs 0 3
85
- 18 gitlabhq/gitlabhq 0 2
86
- 19 puppetlabs/puppetlabs-apache 0 2
87
- 20 gitlabhq/gitlab-recipes 0 2
88
- 21 Mixd/wp-deploy 0 1
89
- 22 svenfuchs/rails-i18n 0 1
90
- 23 Homebrew/homebrew-php 0 1
91
- 24 sferik/twitter 0 1
92
- 25 rightscale/rightscale_cookbooks 0 1
105
+ $ git trend all_languages
106
+ abap
107
+ as3
108
+ ada
109
+ agda
110
+ alloy
111
+ antlr
112
+ apex
113
+ applescript
114
+ .
115
+ .
116
+ .
93
117
  ```
94
118
 
95
119
  ## Contributing
data/git-trend.gemspec CHANGED
@@ -3,6 +3,20 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'git_trend/version'
5
5
 
6
+ def install_message
7
+ s = ''
8
+ s << "\xf0\x9f\x8d\xba " if or_over_mac_os_lion?
9
+ s << "Thanks for installing!"
10
+ end
11
+
12
+ def or_over_mac_os_lion?
13
+ return false unless RUBY_PLATFORM =~ /darwin/
14
+
15
+ macos_full_version = `/usr/bin/sw_vers -productVersion`.chomp
16
+ macos_version = macos_full_version[/10\.\d+/]
17
+ return macos_version >= '10.7' # 10.7 is lion
18
+ end
19
+
6
20
  Gem::Specification.new do |spec|
7
21
  spec.name = 'git-trend'
8
22
  spec.version = GitTrend::VERSION
@@ -18,6 +32,8 @@ Gem::Specification.new do |spec|
18
32
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
33
  spec.require_paths = ['lib']
20
34
 
35
+ spec.post_install_message = install_message
36
+
21
37
  spec.add_dependency 'thor', '~> 0.19.1'
22
38
  spec.add_dependency 'mechanize', '~> 2.7.3'
23
39
 
@@ -3,7 +3,7 @@ module GitTrend
3
3
  attr_accessor :name, :lang, :description, :star_count, :fork_count
4
4
 
5
5
  def to_a
6
- [@name, @star_count.to_s, @fork_count.to_s]
6
+ [@name, @lang, @star_count.to_s, @fork_count.to_s]
7
7
  end
8
8
  end
9
9
  end
@@ -1,7 +1,7 @@
1
1
  module GitTrend
2
2
  module Rendering
3
- # 'No', 'Name', 'Star', 'Fork'
4
- DEFAULT_RULED_LINE_SIZE = [3, 40, 6, 5]
3
+ # 'No.', 'Name', 'Lang', 'Star', 'Fork'
4
+ DEFAULT_RULED_LINE_SIZE = [3, 40, 10, 6, 5]
5
5
 
6
6
  def self.included(base)
7
7
  base.extend(self)
@@ -21,23 +21,32 @@ module GitTrend
21
21
  end
22
22
 
23
23
  private
24
+ def max_size_of(projects, attr)
25
+ projects.max_by { |project| project.send(attr).size }.send(attr).size
26
+ end
27
+
24
28
  def set_ruled_line_size(projects)
25
- max_name_size = projects.max_by { |project| project.name.size }.name.size
29
+ max_name_size = max_size_of(projects, :name)
26
30
  if max_name_size > DEFAULT_RULED_LINE_SIZE[1]
27
31
  DEFAULT_RULED_LINE_SIZE[1] = max_name_size
28
32
  end
33
+
34
+ max_lang_size = max_size_of(projects, :lang)
35
+ if max_lang_size > DEFAULT_RULED_LINE_SIZE[2]
36
+ DEFAULT_RULED_LINE_SIZE[2] = max_lang_size
37
+ end
29
38
  end
30
39
 
31
40
  def render_to_header
32
41
  f=DEFAULT_RULED_LINE_SIZE.dup
33
- fmt = "%#{f[0]}s %-#{f[1]}s %#{f[2]}s %#{f[3]}s"
34
- puts fmt % ['No.', 'Name', 'Star', 'Fork']
35
- puts fmt % ['-'*f[0], '-'*f[1], '-'*f[2], '-'*f[3]]
42
+ fmt = "%#{f[0]}s %-#{f[1]}s %-#{f[2]}s %#{f[3]}s %#{f[4]}s"
43
+ puts fmt % ['No.', 'Name', 'Lang', 'Star', 'Fork']
44
+ puts fmt % f.map{ |_f| '-'*_f }
36
45
  end
37
46
 
38
47
  def render_to_body(projects)
39
48
  f=DEFAULT_RULED_LINE_SIZE.dup
40
- fmt = "%#{f[0]}s %-#{f[1]}s %#{f[2]}s %#{f[3]}s"
49
+ fmt = "%#{f[0]}s %-#{f[1]}s %-#{f[2]}s %#{f[3]}s %#{f[4]}s"
41
50
  projects.each_with_index { |project, i| puts fmt % [i+1, project.to_a].flatten }
42
51
  end
43
52
  end
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
@@ -19,7 +19,7 @@ RSpec.describe GitTrend::Scraper do
19
19
  after do
20
20
  # reset initialize
21
21
  # warning measure: already initialized constant
22
- [3, 40, 6, 5].each_with_index { |n, i| Rendering::DEFAULT_RULED_LINE_SIZE[i] = n }
22
+ [3, 40, 10, 6, 5].each_with_index { |n, i| Rendering::DEFAULT_RULED_LINE_SIZE[i] = n }
23
23
  end
24
24
 
25
25
  context 'when a network error occurred' do
@@ -40,33 +40,33 @@ RSpec.describe GitTrend::Scraper do
40
40
 
41
41
  it 'display daily ranking' do
42
42
  res = <<-'EOS'.unindent
43
- |No. Name Star Fork
44
- |--- -------------------------------------------------- ------ -----
45
- | 1 prat0318/json_resume 264 15
46
- | 2 andlabs/ui 185 8
47
- | 3 jessepollak/card 174 9
48
- | 4 fullstackio/FlappySwift 148 44
49
- | 5 grant/swift-cheat-sheet 153 13
50
- | 6 Flolagale/mailin 155 3
51
- | 7 numbbbbb/the-swift-programming-language-in-chinese 120 31
52
- | 8 hippyvm/hippyvm 113 1
53
- | 9 neovim/neovim 83 8
54
- | 10 hiphopapp/hiphop 77 8
55
- | 11 interagent/http-api-design 78 4
56
- | 12 austinzheng/swift-2048 69 16
57
- | 13 mdznr/What-s-New 72 2
58
- | 14 daneden/animate.css 65 6
59
- | 15 davidmerfield/randomColor 66 3
60
- | 16 dawn/dawn 62 2
61
- | 17 greatfire/wiki 54 9
62
- | 18 swift-jp/swift-guide 45 9
63
- | 19 addyosmani/psi 49 0
64
- | 20 mtford90/silk 47 0
65
- | 21 agaue/agaue 47 0
66
- | 22 mentionapp/mntpulltoreact 46 1
67
- | 23 mikepenz/AboutLibraries 45 0
68
- | 24 PistonDevelopers/piston-workspace 45 0
69
- | 25 maxpow4h/swiftz 43 1
43
+ |No. Name Lang Star Fork
44
+ |--- -------------------------------------------------- ------------ ------ -----
45
+ | 1 prat0318/json_resume Ruby 264 15
46
+ | 2 andlabs/ui Go 185 8
47
+ | 3 jessepollak/card CSS 174 9
48
+ | 4 fullstackio/FlappySwift Swift 148 44
49
+ | 5 grant/swift-cheat-sheet 153 13
50
+ | 6 Flolagale/mailin Python 155 3
51
+ | 7 numbbbbb/the-swift-programming-language-in-chinese JavaScript 120 31
52
+ | 8 hippyvm/hippyvm PHP 113 1
53
+ | 9 neovim/neovim C 83 8
54
+ | 10 hiphopapp/hiphop CoffeeScript 77 8
55
+ | 11 interagent/http-api-design 78 4
56
+ | 12 austinzheng/swift-2048 Swift 69 16
57
+ | 13 mdznr/What-s-New Objective-C 72 2
58
+ | 14 daneden/animate.css CSS 65 6
59
+ | 15 davidmerfield/randomColor JavaScript 66 3
60
+ | 16 dawn/dawn Ruby 62 2
61
+ | 17 greatfire/wiki 54 9
62
+ | 18 swift-jp/swift-guide CSS 45 9
63
+ | 19 addyosmani/psi JavaScript 49 0
64
+ | 20 mtford90/silk Python 47 0
65
+ | 21 agaue/agaue Go 47 0
66
+ | 22 mentionapp/mntpulltoreact Objective-C 46 1
67
+ | 23 mikepenz/AboutLibraries Java 45 0
68
+ | 24 PistonDevelopers/piston-workspace Shell 45 0
69
+ | 25 maxpow4h/swiftz Swift 43 1
70
70
  EOS
71
71
  expect { @scraper.get(language) }.to output(res).to_stdout
72
72
  end
@@ -82,33 +82,33 @@ RSpec.describe GitTrend::Scraper do
82
82
 
83
83
  it 'display daily ranking by language' do
84
84
  res = <<-'EOS'.unindent
85
- |No. Name Star Fork
86
- |--- ---------------------------------------- ------ -----
87
- | 1 prat0318/json_resume 412 27
88
- | 2 dawn/dawn 57 2
89
- | 3 Homebrew/homebrew 15 7
90
- | 4 etsy/nagios-herald 18 0
91
- | 5 jekyll/jekyll 14 4
92
- | 6 opf/openproject 11 0
93
- | 7 caskroom/homebrew-cask 9 3
94
- | 8 rails/rails 6 7
95
- | 9 interagent/prmd 9 0
96
- | 10 mitchellh/vagrant 8 2
97
- | 11 discourse/discourse 7 3
98
- | 12 CanCanCommunity/cancancan 7 1
99
- | 13 venmo/synx 7 0
100
- | 14 laravel/homestead 6 2
101
- | 15 alexreisner/geocoder 6 0
102
- | 16 visionmedia/commander 5 0
103
- | 17 CocoaPods/Specs 0 3
104
- | 18 gitlabhq/gitlabhq 0 2
105
- | 19 puppetlabs/puppetlabs-apache 0 2
106
- | 20 gitlabhq/gitlab-recipes 0 2
107
- | 21 Mixd/wp-deploy 0 1
108
- | 22 svenfuchs/rails-i18n 0 1
109
- | 23 Homebrew/homebrew-php 0 1
110
- | 24 sferik/twitter 0 1
111
- | 25 rightscale/rightscale_cookbooks 0 1
85
+ |No. Name Lang Star Fork
86
+ |--- ---------------------------------------- ---------- ------ -----
87
+ | 1 prat0318/json_resume Ruby 412 27
88
+ | 2 dawn/dawn Ruby 57 2
89
+ | 3 Homebrew/homebrew Ruby 15 7
90
+ | 4 etsy/nagios-herald Ruby 18 0
91
+ | 5 jekyll/jekyll Ruby 14 4
92
+ | 6 opf/openproject Ruby 11 0
93
+ | 7 caskroom/homebrew-cask Ruby 9 3
94
+ | 8 rails/rails Ruby 6 7
95
+ | 9 interagent/prmd Ruby 9 0
96
+ | 10 mitchellh/vagrant Ruby 8 2
97
+ | 11 discourse/discourse Ruby 7 3
98
+ | 12 CanCanCommunity/cancancan Ruby 7 1
99
+ | 13 venmo/synx Ruby 7 0
100
+ | 14 laravel/homestead Shell 6 2
101
+ | 15 alexreisner/geocoder Ruby 6 0
102
+ | 16 visionmedia/commander Ruby 5 0
103
+ | 17 CocoaPods/Specs Ruby 0 3
104
+ | 18 gitlabhq/gitlabhq Ruby 0 2
105
+ | 19 puppetlabs/puppetlabs-apache Ruby 0 2
106
+ | 20 gitlabhq/gitlab-recipes Ruby 0 2
107
+ | 21 Mixd/wp-deploy Ruby 0 1
108
+ | 22 svenfuchs/rails-i18n Ruby 0 1
109
+ | 23 Homebrew/homebrew-php Ruby 0 1
110
+ | 24 sferik/twitter Ruby 0 1
111
+ | 25 rightscale/rightscale_cookbooks Ruby 0 1
112
112
  EOS
113
113
  expect { @scraper.get(language) }.to output(res).to_stdout
114
114
  end
@@ -123,33 +123,33 @@ RSpec.describe GitTrend::Scraper do
123
123
 
124
124
  it 'display daily ranking by language' do
125
125
  res = <<-'EOS'.unindent
126
- |No. Name Star Fork
127
- |--- ---------------------------------------- ------ -----
128
- | 1 facebook/pop 0 0
129
- | 2 johnno1962/Xtrace 0 0
130
- | 3 pivotal/cedar 0 0
131
- | 4 wetube/bitcloud 0 0
132
- | 5 jerols/PopTut 0 0
133
- | 6 otaviocc/OCBorghettiView 0 0
134
- | 7 droolsjbpm/optaplanner 0 0
135
- | 8 otaviocc/NHCalendarActivity 0 0
136
- | 9 callmeed/pop-playground 0 0
137
- | 10 jxd001/POPdemo 0 0
138
- | 11 couchdeveloper/RXPromise 0 0
139
- | 12 johnno1962/XprobePlugin 0 0
140
- | 13 openpeer/opios 0 0
141
- | 14 pivotal/PivotalCoreKit 0 0
142
- | 15 rbaumbach/Swizzlean 0 0
143
- | 16 andreacremaschi/ShapeKit 0 0
144
- | 17 Smartype/iOS_VPNPlugIn 0 0
145
- | 18 humblehacker/AutoLayoutDSL 0 0
146
- | 19 hoddez/FFTAccelerate 0 0
147
- | 20 armadillu/ofxPanZoom 0 0
148
- | 21 dodikk/CsvToSqlite 0 0
149
- | 22 hbang/TypeStatus 0 0
150
- | 23 trentbrooks/ofxCoreMotion 0 0
151
- | 24 Yonsm/CeleWare 0 0
152
- | 25 ccrma/miniAudicle 0 0
126
+ |No. Name Lang Star Fork
127
+ |--- ---------------------------------------- ------------- ------ -----
128
+ | 1 facebook/pop Objective-C++ 0 0
129
+ | 2 johnno1962/Xtrace Objective-C++ 0 0
130
+ | 3 pivotal/cedar Objective-C++ 0 0
131
+ | 4 wetube/bitcloud Objective-C++ 0 0
132
+ | 5 jerols/PopTut Objective-C++ 0 0
133
+ | 6 otaviocc/OCBorghettiView Objective-C++ 0 0
134
+ | 7 droolsjbpm/optaplanner Objective-C++ 0 0
135
+ | 8 otaviocc/NHCalendarActivity Objective-C++ 0 0
136
+ | 9 callmeed/pop-playground Objective-C++ 0 0
137
+ | 10 jxd001/POPdemo Objective-C++ 0 0
138
+ | 11 couchdeveloper/RXPromise Objective-C++ 0 0
139
+ | 12 johnno1962/XprobePlugin Objective-C++ 0 0
140
+ | 13 openpeer/opios Objective-C++ 0 0
141
+ | 14 pivotal/PivotalCoreKit Objective-C++ 0 0
142
+ | 15 rbaumbach/Swizzlean Objective-C++ 0 0
143
+ | 16 andreacremaschi/ShapeKit Objective-C++ 0 0
144
+ | 17 Smartype/iOS_VPNPlugIn Objective-C++ 0 0
145
+ | 18 humblehacker/AutoLayoutDSL Objective-C++ 0 0
146
+ | 19 hoddez/FFTAccelerate Objective-C++ 0 0
147
+ | 20 armadillu/ofxPanZoom Objective-C++ 0 0
148
+ | 21 dodikk/CsvToSqlite Objective-C++ 0 0
149
+ | 22 hbang/TypeStatus Objective-C++ 0 0
150
+ | 23 trentbrooks/ofxCoreMotion Objective-C++ 0 0
151
+ | 24 Yonsm/CeleWare Objective-C++ 0 0
152
+ | 25 ccrma/miniAudicle Objective-C++ 0 0
153
153
  EOS
154
154
  expect { @scraper.get(language) }.to output(res).to_stdout
155
155
  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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - rochefort
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-08 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -154,7 +154,7 @@ homepage: https://github.com/rochefort/github-trend
154
154
  licenses:
155
155
  - MIT
156
156
  metadata: {}
157
- post_install_message:
157
+ post_install_message: "\U0001F37A Thanks for installing!"
158
158
  rdoc_options: []
159
159
  require_paths:
160
160
  - lib