lolcommits 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +3 -0
- data/README.md +2 -0
- data/Rakefile +2 -2
- data/features/step_definitions/lolcommits_steps.rb +1 -1
- data/lib/lolcommits/capture_linux.rb +1 -2
- data/lib/lolcommits/version.rb +1 -1
- data/lolcommits.gemspec +1 -0
- metadata +25 -3
data/CHANGELOG
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
 **HAVING TROUBLE AFTER UPGRADING TO MOUNTAIN LION? [READ THIS.](https://github.com/mroth/lolcommits/issues/65)**
|
2
|
+
|
1
3
|
# lolcommits (git + webcam = lol)
|
2
4
|
|
3
5
|
Takes a snapshot with your Mac's built-in iSight/FaceTime webcam (or any working webcam on Linux) every time you git commit code, and archives a lolcat style image with it.
|
data/Rakefile
CHANGED
@@ -17,11 +17,11 @@ Rake::TestTask.new do |t|
|
|
17
17
|
t.pattern = 'test/test_*.rb'
|
18
18
|
end
|
19
19
|
|
20
|
-
|
20
|
+
Rake::FileUtilsExt.verbose(false)
|
21
21
|
CUKE_RESULTS = 'results.html'
|
22
22
|
CLEAN << CUKE_RESULTS
|
23
23
|
Cucumber::Rake::Task.new(:features) do |t|
|
24
|
-
optstr = "features --format html -o #{CUKE_RESULTS} --format
|
24
|
+
optstr = "features --format html -o #{CUKE_RESULTS} --format Fivemat -x"
|
25
25
|
optstr << " -t @#{ENV["tag"]}" unless ENV["tag"].nil?
|
26
26
|
t.cucumber_opts = optstr
|
27
27
|
t.fork = false
|
@@ -1,8 +1,7 @@
|
|
1
1
|
module Lolcommits
|
2
2
|
class CaptureLinux < Capturer
|
3
3
|
def capture
|
4
|
-
tmpdir =
|
5
|
-
FileUtils.mkdir_p( tmpdir )
|
4
|
+
tmpdir = Dir.mktmpdir
|
6
5
|
# There's no way to give a capture delay in mplayer, but a number of frame
|
7
6
|
# I've found that 6 is a good value for me.
|
8
7
|
frames = if capture_delay != 0 then capture_delay else 6 end
|
data/lib/lolcommits/version.rb
CHANGED
data/lolcommits.gemspec
CHANGED
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_development_dependency('rdoc')
|
27
27
|
s.add_development_dependency('aruba')
|
28
28
|
s.add_development_dependency('rake','~> 0.9.2')
|
29
|
+
s.add_development_dependency('fivemat')
|
29
30
|
|
30
31
|
s.add_dependency('methadone', '~>1.2.1')
|
31
32
|
s.add_runtime_dependency('httmultiparty')
|
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.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rmagick
|
@@ -123,6 +123,22 @@ dependencies:
|
|
123
123
|
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: 0.9.2
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: fivemat
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
126
142
|
- !ruby/object:Gem::Dependency
|
127
143
|
name: methadone
|
128
144
|
requirement: !ruby/object:Gem::Requirement
|
@@ -250,15 +266,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
250
266
|
- - ! '>='
|
251
267
|
- !ruby/object:Gem::Version
|
252
268
|
version: '0'
|
269
|
+
segments:
|
270
|
+
- 0
|
271
|
+
hash: 1355111623428597869
|
253
272
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
273
|
none: false
|
255
274
|
requirements:
|
256
275
|
- - ! '>='
|
257
276
|
- !ruby/object:Gem::Version
|
258
277
|
version: '0'
|
278
|
+
segments:
|
279
|
+
- 0
|
280
|
+
hash: 1355111623428597869
|
259
281
|
requirements: []
|
260
282
|
rubyforge_project: lolcommits
|
261
|
-
rubygems_version: 1.8.
|
283
|
+
rubygems_version: 1.8.24
|
262
284
|
signing_key:
|
263
285
|
specification_version: 3
|
264
286
|
summary: Capture webcam image on git commit for lulz.
|