git-trend 0.1.5 → 0.1.6

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: d1be33d75f37f5702f0a304120677b5203a424ec
4
- data.tar.gz: c328857bb04f8a35edd2f7e516085bac37ef5a57
3
+ metadata.gz: 046379964fb65d48c57f0cd14578fb998a9f17db
4
+ data.tar.gz: 552e82b1b68d889e45412f8b66cb919a9d3362ec
5
5
  SHA512:
6
- metadata.gz: 92998d101aa918126b2f895b528d22b0eacd89b8ec99465472462218bb4ff5694496bddb946b6ad3cb91d6743c11aa8951008a38333066bee15b1a28e02cdced
7
- data.tar.gz: 8f9f5dd2f9bb4d69166385b424a922d47cbcdcbcfb585f57c400ab7e76c5ead04b2d85a885b3928715adb336902dd75842936d65ff69077ef48cac56c4180904
6
+ metadata.gz: 3c9fb8cd20db488cbc80d3f8c7193a760aec1f5a307b1050749e4d0d9a9714af57e989d89647081d126fdc99d0637d5eacd34a672ec014dab8eeb7bc8dd37d46
7
+ data.tar.gz: f3b1e78b68e6de637992220ed92f425f3caadc4098e211332387635e24631c2f5d40ea0fefb891728f7c0937e6dc21260c9b9af15728ced021fd0545acb95784
@@ -1,3 +1,7 @@
1
+ ## v0.1.6 (Sat Apr 4 2015)
2
+
3
+ - Add a empty line for output [a30506d]
4
+
1
5
  ## v0.1.5
2
6
  * Fix a bug. #3
3
7
 
@@ -6,7 +6,7 @@ require 'git_trend/version'
6
6
  def install_message
7
7
  s = ''
8
8
  s << "\xf0\x9f\x8d\xba " if or_over_mac_os_lion?
9
- s << "Thanks for installing!"
9
+ s << 'Thanks for installing!'
10
10
  end
11
11
 
12
12
  def or_over_mac_os_lion?
@@ -41,10 +41,11 @@ Gem::Specification.new do |spec|
41
41
  spec.add_development_dependency 'bundler', '~> 1.6'
42
42
  spec.add_development_dependency 'rake'
43
43
 
44
- spec.add_development_dependency 'rspec', '~> 3.0.0'
45
- spec.add_development_dependency 'rspec-its', '~> 1.0.1'
44
+ spec.add_development_dependency 'rspec', '~> 3.2.0'
45
+ spec.add_development_dependency 'rspec-its', '~> 1.2.0'
46
46
  spec.add_development_dependency 'simplecov', '~> 0.9.0'
47
- spec.add_development_dependency 'webmock', '~> 1.18.0'
47
+ spec.add_development_dependency 'safe_yaml', '~> 1.0.4' # for Ruby2.2.0
48
+ spec.add_development_dependency 'webmock', '~> 1.20.4'
48
49
 
49
50
  spec.add_development_dependency 'coveralls'
50
51
  end
@@ -14,6 +14,7 @@ module GitTrend
14
14
  ruled_line_size(projects)
15
15
  render_to_header
16
16
  render_to_body(projects)
17
+ render_to_footer
17
18
  end
18
19
 
19
20
  def render_languages(languages)
@@ -78,6 +79,10 @@ module GitTrend
78
79
  end
79
80
  end
80
81
 
82
+ def render_to_footer
83
+ puts
84
+ end
85
+
81
86
  def command_exists?(command)
82
87
  ENV['PATH'].split(File::PATH_SEPARATOR).any? { |d| File.exist? File.join(d, command) }
83
88
  end
@@ -1,3 +1,3 @@
1
1
  module GitTrend
2
- VERSION = '0.1.5'
2
+ VERSION = '0.1.6'
3
3
  end
@@ -29,6 +29,7 @@ RSpec.describe GitTrend::CLI do
29
29
  | 1 gionkunz/chartist-js JavaScript 363
30
30
  | 2 kitematic/kitematic JavaScript 327
31
31
  | 3 tmux-plugins/tmux-resurrect Shell 217
32
+
32
33
  EOS
33
34
  expect { @cli.invoke(:list, [], number: number, description: false) }.to output(res).to_stdout
34
35
  end
@@ -81,6 +82,7 @@ RSpec.describe GitTrend::CLI do
81
82
  | 23 rapid7/metasploit-framework Ruby 5
82
83
  | 24 tenderlove/the_metal Ruby 6
83
84
  | 25 bbatsov/rubocop Ruby 5
85
+
84
86
  EOS
85
87
  expect { @cli.invoke(:list, [], language: language, description: false) }.to output(res).to_stdout
86
88
  end
@@ -121,6 +123,7 @@ RSpec.describe GitTrend::CLI do
121
123
  | 23 rbaumbach/Swizzlean Objective-C++ 0
122
124
  | 24 Smartype/iOS_VPNPlugIn Objective-C++ 0
123
125
  | 25 swift2js/swift2js Objective-C++ 0
126
+
124
127
  EOS
125
128
  expect { @cli.invoke(:list, [], language: language, description: false) }.to output(res).to_stdout
126
129
  end
@@ -171,6 +174,7 @@ RSpec.describe GitTrend::CLI do
171
174
  | 23 quasado/gravit JavaScript 365
172
175
  | 24 meteor/meteor JavaScript 362
173
176
  | 25 Netflix/Scumblr Ruby 305
177
+
174
178
  EOS
175
179
  expect { @cli.invoke(:list, [], since: since, description: false) }.to output(res).to_stdout
176
180
  end
@@ -207,6 +211,7 @@ RSpec.describe GitTrend::CLI do
207
211
  | 23 VodkaBears/Vide JavaScript 1136
208
212
  | 24 driftyco/ionic JavaScript 1007
209
213
  | 25 fians/marka CSS 989
214
+
210
215
  EOS
211
216
  expect { @cli.invoke(:list, [], since: since, description: false) }.to output(res).to_stdout
212
217
  end
@@ -286,6 +291,7 @@ RSpec.describe GitTrend::CLI do
286
291
  | 23 apotonick/paperdragon Ruby 46
287
292
  | 24 junegunn/fzf Ruby 41
288
293
  | 25 imathis/octopress Ruby 36
294
+
289
295
  EOS
290
296
  expect { @cli.invoke(:list, [], language: language, since: since, description: false) }.to output(res).to_stdout
291
297
  end
@@ -558,6 +564,7 @@ RSpec.describe GitTrend::CLI do
558
564
  | 23 ParsePlatform/f8DeveloperConferenceApp Java 41
559
565
  | 24 chriskiehl/Gooey Python 41
560
566
  | 25 discourse/discourse Ruby 41
567
+
561
568
  EOS
562
569
  end
563
570
 
@@ -590,6 +597,7 @@ RSpec.describe GitTrend::CLI do
590
597
  | 23 ParsePlatform/f8DeveloperConferenceApp Java 41
591
598
  | 24 chriskiehl/Gooey Python 41 Turn (almost) any command line program into a full GUI application with...
592
599
  | 25 discourse/discourse Ruby 41 A platform for community discussion. Free, open, simple.
600
+
593
601
  EOS
594
602
  end
595
603
  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.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - rochefort
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-15 00:00:00.000000000 Z
11
+ date: 2015-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 3.0.0
89
+ version: 3.2.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 3.0.0
96
+ version: 3.2.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec-its
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.0.1
103
+ version: 1.2.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.0.1
110
+ version: 1.2.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +122,34 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.9.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: safe_yaml
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.0.4
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.0.4
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: webmock
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
143
  - - "~>"
130
144
  - !ruby/object:Gem::Version
131
- version: 1.18.0
145
+ version: 1.20.4
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - "~>"
137
151
  - !ruby/object:Gem::Version
138
- version: 1.18.0
152
+ version: 1.20.4
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: coveralls
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -207,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
207
221
  version: '0'
208
222
  requirements: []
209
223
  rubyforge_project:
210
- rubygems_version: 2.2.2
224
+ rubygems_version: 2.4.5
211
225
  signing_key:
212
226
  specification_version: 4
213
227
  summary: cli based; show Trending repository on github