lolcommits 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,11 +42,11 @@ module Lolcommits
42
42
 
43
43
  def upload(file, sha)
44
44
  RestClient.post(configuration['server'] + '/uplol',
45
- :lol => File.new(file),
46
- :url => self.runner.url + sha,
47
- :repo => self.runner.repo,
45
+ :lol => File.new(file),
46
+ :url => self.runner.git_info.url + sha,
47
+ :repo => self.runner.git_info.repo,
48
48
  :date => File.ctime(file),
49
- :sha => sha)
49
+ :sha => sha)
50
50
  rescue => e
51
51
  log_error(e, "ERROR: Upload of lol #{sha} FAILED #{e.class} - #{e.message}")
52
52
  end
@@ -13,15 +13,18 @@ module Lolcommits
13
13
  def run_postcapture
14
14
  return unless valid_configuration?
15
15
 
16
- repo = self.runner.repo.to_s
17
- if repo.empty?
16
+ if self.runner.git_info.repo.empty?
18
17
  puts 'Repo is empty, skipping upload'
19
18
  else
20
- debug 'Calling ' + configuration['endpoint'] + ' with repo ' + repo
19
+ debug "Posting capture to #{configuration['endpoint']}"
21
20
  RestClient.post(configuration['endpoint'],
22
- :file => File.new(self.runner.main_image),
23
- :repo => repo,
24
- :key => configuration['optional_key'])
21
+ :file => File.new(self.runner.main_image),
22
+ :message => self.runner.message,
23
+ :repo => self.runner.git_info.repo,
24
+ :author_name => self.runner.git_info.author_name,
25
+ :author_email => self.runner.git_info.author_email,
26
+ :sha => self.runner.sha,
27
+ :key => configuration['optional_key'])
25
28
  end
26
29
  rescue => e
27
30
  log_error(e, "ERROR: RestClient POST FAILED #{e.class} - #{e.message}")
@@ -3,9 +3,9 @@ module Lolcommits
3
3
  PLUGINS = Lolcommits::Plugin.subclasses
4
4
 
5
5
  class Runner
6
- attr_accessor :capture_delay, :capture_stealth, :capture_device, :message, :sha,
7
- :snapshot_loc, :main_image, :repo, :config, :repo_internal_path,
8
- :font, :capture_animate, :url
6
+ attr_accessor :capture_delay, :capture_stealth, :capture_device, :message,
7
+ :sha, :snapshot_loc, :main_image, :config, :font, :git_info,
8
+ :capture_animate
9
9
 
10
10
  include Methadone::CLILogging
11
11
 
@@ -15,12 +15,9 @@ module Lolcommits
15
15
  end
16
16
 
17
17
  if self.sha.nil? || self.message.nil?
18
- git_info = GitInfo.new
19
- self.sha = git_info.sha if self.sha.nil?
20
- self.message = git_info.message if self.message.nil?
21
- self.repo_internal_path = git_info.repo_internal_path
22
- self.repo = git_info.repo
23
- self.url = git_info.url
18
+ self.git_info = GitInfo.new
19
+ self.sha = git_info.sha if self.sha.nil?
20
+ self.message = git_info.message if self.message.nil?
24
21
  end
25
22
  end
26
23
 
@@ -113,8 +110,8 @@ module Lolcommits
113
110
 
114
111
  def die_if_rebasing!
115
112
  debug "Runner: Making sure user isn't rebasing"
116
- if not self.repo_internal_path.nil?
117
- mergeclue = File.join self.repo_internal_path, 'rebase-merge'
113
+ if self.git_info && !self.git_info.repo_internal_path.nil?
114
+ mergeclue = File.join self.git_info.repo_internal_path, 'rebase-merge'
118
115
  if File.directory? mergeclue
119
116
  debug 'Runner: Rebase detected, silently exiting!'
120
117
  exit 0
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Lolcommits
3
- VERSION = '0.5.6'
3
+ VERSION = '0.5.7'
4
4
  end
data/lolcommits.gemspec CHANGED
@@ -27,35 +27,37 @@ Gem::Specification.new do |s|
27
27
  s.requirements << 'imagemagick'
28
28
  s.requirements << 'a webcam'
29
29
 
30
- # core gem dependencies
31
- s.add_runtime_dependency('mini_magick', '~> 3.8.1')
32
- s.add_runtime_dependency('git', '~> 1.2.5')
30
+ # hold back upgrading (and why)
31
+ s.add_runtime_dependency('rest-client', '~> 1.6.7') # uploldz (coveralls requires uses this older version)
32
+ s.add_runtime_dependency('mini_magick', '~> 3.8.1') # ~> 4+ fails with JRuby
33
+ s.add_runtime_dependency('mime-types', '~> 1.25') # ~> 2+ requires Ruby >= 1.9.2
34
+ s.add_runtime_dependency('httparty', '~> 0.11.0') # ~> 0.13+ requires Ruby >= 1.9.3
35
+
36
+ # core
37
+ s.add_runtime_dependency('git', '~> 1.2.8')
33
38
  s.add_runtime_dependency('choice', '~> 0.1.6')
34
- s.add_runtime_dependency('launchy', '~> 2.2.0')
35
- s.add_runtime_dependency('methadone', '~> 1.2.4')
36
- s.add_runtime_dependency('open4', '~> 1.3.0')
37
-
38
- # development dependencies
39
- s.add_development_dependency('rdoc')
40
- s.add_development_dependency('aruba', '~> 0.5.1')
41
- s.add_development_dependency('rake', '~> 10.0.2')
42
- s.add_development_dependency('fivemat', '~> 1.2.1')
43
- s.add_development_dependency('faker')
44
- s.add_development_dependency('travis')
45
- s.add_development_dependency('coveralls')
46
- s.add_development_dependency('magic_encoding')
47
- if RUBY_VERSION >= '1.9.2'
48
- s.add_development_dependency('rubocop', '~> 0.18.1')
39
+ s.add_runtime_dependency('launchy', '~> 2.4.3')
40
+ s.add_runtime_dependency('methadone', '~> 1.8.0')
41
+ s.add_runtime_dependency('open4', '~> 1.3.4')
42
+
43
+ # plugin gems
44
+ s.add_runtime_dependency('twitter', '~> 5.13.0') # twitter
45
+ s.add_runtime_dependency('oauth', '~> 0.4.7') # twitter oauth
46
+ s.add_runtime_dependency('yam', '~> 2.4.0') # yammer
47
+ s.add_runtime_dependency('json', '~> 1.8.1') # lolsrv
48
+ s.add_runtime_dependency('httmultiparty', '~> 0.3.16') # dot_com
49
+
50
+ # development gems
51
+ s.add_development_dependency('fivemat', '~> 1.3.1')
52
+ s.add_development_dependency('rdoc', '~> 4.2.0')
53
+ s.add_development_dependency('aruba', '~> 0.6.1')
54
+ s.add_development_dependency('rake', '~> 10.4.2')
55
+ s.add_development_dependency('ffaker', '~> 1.25.0')
56
+ s.add_development_dependency('travis', '~> 1.7.4')
57
+ s.add_development_dependency('coveralls', '~> 0.7.2')
58
+ s.add_development_dependency('test-unit', '~> 3.0.7')
59
+
60
+ if RUBY_VERSION >= '1.9.3'
61
+ s.add_development_dependency('rubocop', '~> 0.27.1')
49
62
  end
50
-
51
- # plugin dependencies
52
- s.add_runtime_dependency('twitter', '~> 4.8.1') #twitter
53
- s.add_runtime_dependency('yam', '~> 2.0.1') #yammer
54
- s.add_runtime_dependency('oauth') #twitter
55
- s.add_runtime_dependency('rest-client') #uploldz
56
- s.add_runtime_dependency('httmultiparty') #dot_com
57
- s.add_runtime_dependency('httparty', "~> 0.11.0") #dot_com
58
- s.add_runtime_dependency('json', '~> 1.7.6') #lolsrv
59
- s.add_runtime_dependency('mime-types', '~> 1.25')
60
-
61
63
  end
@@ -3,6 +3,7 @@ require 'coveralls'
3
3
  Coveralls.wear!
4
4
 
5
5
  require 'test/unit'
6
+ require 'ffaker'
6
7
  # Loads lolcommits directly from the lib folder so don't have to create
7
8
  # a gem before testing
8
9
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
@@ -33,16 +34,26 @@ class LolTest < Test::Unit::TestCase
33
34
  #
34
35
  # issue #136, https://github.com/mroth/lolcommits/issues/136
35
36
  def test_lol_twitter_build_tweet
36
- long_commit_message = %q{I wanna run, I want to hide, I want to tear down
37
- the walls that hold me inside. I want to reach out, and touch the flame...
38
- Where the streets have no name.. ah ah ah.. I want to feel sunlight on my
39
- face... I see the dust clouds disappear, without a trace... I want to take
40
- shelter... from the poison rain... where the streets have no name... oahhhhh
41
- where the streets have no name... where the streets have no name }.gsub("\n", ' ')
37
+ long_commit_message = Faker::Lorem.sentence(500)
38
+ plugin = Lolcommits::LolTwitter.new(nil)
39
+ max_tweet_size = 116
40
+ suffix = '... #lolcommits'
42
41
 
42
+ Lolcommits::LolTwitter.send(:define_method, :max_tweet_size, Proc.new { max_tweet_size })
43
+ assert_match "#{long_commit_message[0..(max_tweet_size - suffix.length)]}#{suffix}", plugin.build_tweet(long_commit_message)
44
+ end
45
+
46
+ def test_lol_twitter_prefix_suffix
43
47
  plugin = Lolcommits::LolTwitter.new(nil)
44
48
  Lolcommits::LolTwitter.send(:define_method, :max_tweet_size, Proc.new { 116 })
45
- assert_match 'I wanna run, I want to hide, I want to tear down the walls that hold me inside. I want to reach out, a... #lolcommits', plugin.build_tweet(long_commit_message)
49
+ assert_match 'commit msg #lolcommits', plugin.build_tweet('commit msg')
50
+
51
+ plugin_config = {
52
+ 'prefix' => '@prefixing!',
53
+ 'suffix' => '#suffixing!'
54
+ }
55
+ Lolcommits::LolTwitter.send(:define_method, :configuration, Proc.new { plugin_config })
56
+ assert_match '@prefixing! commit msg #suffixing!', plugin.build_tweet('commit msg')
46
57
  end
47
58
 
48
59
  #
@@ -64,11 +75,4 @@ where the streets have no name... where the streets have no name }.gsub("\n", '
64
75
  assert commandcam_perms == 0755 || commandcam_perms == 0775,
65
76
  "expected perms of 755/775 but instead got #{sprintf '%o', commandcam_perms}"
66
77
  end
67
-
68
- # Hmm.. webcam capture breaks travis-ci tests
69
- # def test_can_capture
70
- # assert_nothing_raised do
71
- # Lolcommits.capture(0,true,'test commit message','test-sha-001')
72
- # end
73
- # end
74
78
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolcommits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Rothenberg
@@ -9,330 +9,330 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-11-24 00:00:00.000000000 Z
12
+ date: 2014-12-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: mini_magick
15
+ name: rest-client
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ~>
19
19
  - !ruby/object:Gem::Version
20
- version: 3.8.1
20
+ version: 1.6.7
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: 3.8.1
27
+ version: 1.6.7
28
28
  - !ruby/object:Gem::Dependency
29
- name: git
29
+ name: mini_magick
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 1.2.5
34
+ version: 3.8.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - ~>
40
40
  - !ruby/object:Gem::Version
41
- version: 1.2.5
41
+ version: 3.8.1
42
42
  - !ruby/object:Gem::Dependency
43
- name: choice
43
+ name: mime-types
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - ~>
47
47
  - !ruby/object:Gem::Version
48
- version: 0.1.6
48
+ version: '1.25'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
- version: 0.1.6
55
+ version: '1.25'
56
56
  - !ruby/object:Gem::Dependency
57
- name: launchy
57
+ name: httparty
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ~>
61
61
  - !ruby/object:Gem::Version
62
- version: 2.2.0
62
+ version: 0.11.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: 2.2.0
69
+ version: 0.11.0
70
70
  - !ruby/object:Gem::Dependency
71
- name: methadone
71
+ name: git
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ~>
75
75
  - !ruby/object:Gem::Version
76
- version: 1.2.4
76
+ version: 1.2.8
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ~>
82
82
  - !ruby/object:Gem::Version
83
- version: 1.2.4
83
+ version: 1.2.8
84
84
  - !ruby/object:Gem::Dependency
85
- name: open4
85
+ name: choice
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - ~>
89
89
  - !ruby/object:Gem::Version
90
- version: 1.3.0
90
+ version: 0.1.6
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ~>
96
96
  - !ruby/object:Gem::Version
97
- version: 1.3.0
97
+ version: 0.1.6
98
98
  - !ruby/object:Gem::Dependency
99
- name: rdoc
99
+ name: launchy
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ! '>='
102
+ - - ~>
103
103
  - !ruby/object:Gem::Version
104
- version: '0'
105
- type: :development
104
+ version: 2.4.3
105
+ type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ! '>='
109
+ - - ~>
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 2.4.3
112
112
  - !ruby/object:Gem::Dependency
113
- name: aruba
113
+ name: methadone
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ~>
117
117
  - !ruby/object:Gem::Version
118
- version: 0.5.1
119
- type: :development
118
+ version: 1.8.0
119
+ type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 0.5.1
125
+ version: 1.8.0
126
126
  - !ruby/object:Gem::Dependency
127
- name: rake
127
+ name: open4
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ~>
131
131
  - !ruby/object:Gem::Version
132
- version: 10.0.2
133
- type: :development
132
+ version: 1.3.4
133
+ type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ~>
138
138
  - !ruby/object:Gem::Version
139
- version: 10.0.2
139
+ version: 1.3.4
140
140
  - !ruby/object:Gem::Dependency
141
- name: fivemat
141
+ name: twitter
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ~>
145
145
  - !ruby/object:Gem::Version
146
- version: 1.2.1
147
- type: :development
146
+ version: 5.13.0
147
+ type: :runtime
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - ~>
152
152
  - !ruby/object:Gem::Version
153
- version: 1.2.1
153
+ version: 5.13.0
154
154
  - !ruby/object:Gem::Dependency
155
- name: faker
155
+ name: oauth
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - ! '>='
158
+ - - ~>
159
159
  - !ruby/object:Gem::Version
160
- version: '0'
161
- type: :development
160
+ version: 0.4.7
161
+ type: :runtime
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ! '>='
165
+ - - ~>
166
166
  - !ruby/object:Gem::Version
167
- version: '0'
167
+ version: 0.4.7
168
168
  - !ruby/object:Gem::Dependency
169
- name: travis
169
+ name: yam
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ! '>='
172
+ - - ~>
173
173
  - !ruby/object:Gem::Version
174
- version: '0'
175
- type: :development
174
+ version: 2.4.0
175
+ type: :runtime
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ! '>='
179
+ - - ~>
180
180
  - !ruby/object:Gem::Version
181
- version: '0'
181
+ version: 2.4.0
182
182
  - !ruby/object:Gem::Dependency
183
- name: coveralls
183
+ name: json
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - ! '>='
186
+ - - ~>
187
187
  - !ruby/object:Gem::Version
188
- version: '0'
189
- type: :development
188
+ version: 1.8.1
189
+ type: :runtime
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ! '>='
193
+ - - ~>
194
194
  - !ruby/object:Gem::Version
195
- version: '0'
195
+ version: 1.8.1
196
196
  - !ruby/object:Gem::Dependency
197
- name: magic_encoding
197
+ name: httmultiparty
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ! '>='
200
+ - - ~>
201
201
  - !ruby/object:Gem::Version
202
- version: '0'
203
- type: :development
202
+ version: 0.3.16
203
+ type: :runtime
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ! '>='
207
+ - - ~>
208
208
  - !ruby/object:Gem::Version
209
- version: '0'
209
+ version: 0.3.16
210
210
  - !ruby/object:Gem::Dependency
211
- name: rubocop
211
+ name: fivemat
212
212
  requirement: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ~>
215
215
  - !ruby/object:Gem::Version
216
- version: 0.18.1
216
+ version: 1.3.1
217
217
  type: :development
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - ~>
222
222
  - !ruby/object:Gem::Version
223
- version: 0.18.1
223
+ version: 1.3.1
224
224
  - !ruby/object:Gem::Dependency
225
- name: twitter
225
+ name: rdoc
226
226
  requirement: !ruby/object:Gem::Requirement
227
227
  requirements:
228
228
  - - ~>
229
229
  - !ruby/object:Gem::Version
230
- version: 4.8.1
231
- type: :runtime
230
+ version: 4.2.0
231
+ type: :development
232
232
  prerelease: false
233
233
  version_requirements: !ruby/object:Gem::Requirement
234
234
  requirements:
235
235
  - - ~>
236
236
  - !ruby/object:Gem::Version
237
- version: 4.8.1
237
+ version: 4.2.0
238
238
  - !ruby/object:Gem::Dependency
239
- name: yam
239
+ name: aruba
240
240
  requirement: !ruby/object:Gem::Requirement
241
241
  requirements:
242
242
  - - ~>
243
243
  - !ruby/object:Gem::Version
244
- version: 2.0.1
245
- type: :runtime
244
+ version: 0.6.1
245
+ type: :development
246
246
  prerelease: false
247
247
  version_requirements: !ruby/object:Gem::Requirement
248
248
  requirements:
249
249
  - - ~>
250
250
  - !ruby/object:Gem::Version
251
- version: 2.0.1
251
+ version: 0.6.1
252
252
  - !ruby/object:Gem::Dependency
253
- name: oauth
253
+ name: rake
254
254
  requirement: !ruby/object:Gem::Requirement
255
255
  requirements:
256
- - - ! '>='
256
+ - - ~>
257
257
  - !ruby/object:Gem::Version
258
- version: '0'
259
- type: :runtime
258
+ version: 10.4.2
259
+ type: :development
260
260
  prerelease: false
261
261
  version_requirements: !ruby/object:Gem::Requirement
262
262
  requirements:
263
- - - ! '>='
263
+ - - ~>
264
264
  - !ruby/object:Gem::Version
265
- version: '0'
265
+ version: 10.4.2
266
266
  - !ruby/object:Gem::Dependency
267
- name: rest-client
267
+ name: ffaker
268
268
  requirement: !ruby/object:Gem::Requirement
269
269
  requirements:
270
- - - ! '>='
270
+ - - ~>
271
271
  - !ruby/object:Gem::Version
272
- version: '0'
273
- type: :runtime
272
+ version: 1.25.0
273
+ type: :development
274
274
  prerelease: false
275
275
  version_requirements: !ruby/object:Gem::Requirement
276
276
  requirements:
277
- - - ! '>='
277
+ - - ~>
278
278
  - !ruby/object:Gem::Version
279
- version: '0'
279
+ version: 1.25.0
280
280
  - !ruby/object:Gem::Dependency
281
- name: httmultiparty
281
+ name: travis
282
282
  requirement: !ruby/object:Gem::Requirement
283
283
  requirements:
284
- - - ! '>='
284
+ - - ~>
285
285
  - !ruby/object:Gem::Version
286
- version: '0'
287
- type: :runtime
286
+ version: 1.7.4
287
+ type: :development
288
288
  prerelease: false
289
289
  version_requirements: !ruby/object:Gem::Requirement
290
290
  requirements:
291
- - - ! '>='
291
+ - - ~>
292
292
  - !ruby/object:Gem::Version
293
- version: '0'
293
+ version: 1.7.4
294
294
  - !ruby/object:Gem::Dependency
295
- name: httparty
295
+ name: coveralls
296
296
  requirement: !ruby/object:Gem::Requirement
297
297
  requirements:
298
298
  - - ~>
299
299
  - !ruby/object:Gem::Version
300
- version: 0.11.0
301
- type: :runtime
300
+ version: 0.7.2
301
+ type: :development
302
302
  prerelease: false
303
303
  version_requirements: !ruby/object:Gem::Requirement
304
304
  requirements:
305
305
  - - ~>
306
306
  - !ruby/object:Gem::Version
307
- version: 0.11.0
307
+ version: 0.7.2
308
308
  - !ruby/object:Gem::Dependency
309
- name: json
309
+ name: test-unit
310
310
  requirement: !ruby/object:Gem::Requirement
311
311
  requirements:
312
312
  - - ~>
313
313
  - !ruby/object:Gem::Version
314
- version: 1.7.6
315
- type: :runtime
314
+ version: 3.0.7
315
+ type: :development
316
316
  prerelease: false
317
317
  version_requirements: !ruby/object:Gem::Requirement
318
318
  requirements:
319
319
  - - ~>
320
320
  - !ruby/object:Gem::Version
321
- version: 1.7.6
321
+ version: 3.0.7
322
322
  - !ruby/object:Gem::Dependency
323
- name: mime-types
323
+ name: rubocop
324
324
  requirement: !ruby/object:Gem::Requirement
325
325
  requirements:
326
326
  - - ~>
327
327
  - !ruby/object:Gem::Version
328
- version: '1.25'
329
- type: :runtime
328
+ version: 0.27.1
329
+ type: :development
330
330
  prerelease: false
331
331
  version_requirements: !ruby/object:Gem::Requirement
332
332
  requirements:
333
333
  - - ~>
334
334
  - !ruby/object:Gem::Version
335
- version: '1.25'
335
+ version: 0.27.1
336
336
  description: ! " lolcommits takes a snapshot with your webcam every time you git
337
337
  commit code,\n and archives a lolcat style image with it. It's selfies for software\n
338
338
  \ developers. `git blame` has never been so much fun.\n"
@@ -349,6 +349,7 @@ files:
349
349
  - .gitattributes
350
350
  - .gitignore
351
351
  - .rubocop.yml
352
+ - .rubocop_todo.yml
352
353
  - .travis.yml
353
354
  - CHANGELOG
354
355
  - CONTRIBUTING
@@ -388,7 +389,6 @@ files:
388
389
  - lib/lolcommits/runner.rb
389
390
  - lib/lolcommits/version.rb
390
391
  - lolcommits.gemspec
391
- - rubocop-todo.yml
392
392
  - test/images/test_image.jpg
393
393
  - test/test_lolcommits.rb
394
394
  - vendor/ext/CommandCam/COPYING
@@ -420,7 +420,7 @@ requirements:
420
420
  - imagemagick
421
421
  - a webcam
422
422
  rubyforge_project:
423
- rubygems_version: 2.4.2
423
+ rubygems_version: 2.4.5
424
424
  signing_key:
425
425
  specification_version: 4
426
426
  summary: Capture webcam image on git commit for lulz.