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 CHANGED
@@ -1,3 +1,6 @@
1
+ 0.3.1 (5 August 2012)
2
+ * fix regression with linux capture introduced in previous version
3
+
1
4
  0.3.0 (3 August 2012)
2
5
  * fix bug involving git repositories with spaces in the name
3
6
  * internal refactoring for modularity (thanks @kenmazaika!), should be easier
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![lion](http://9.mshcdn.com/follow/uploads/topic/image/67/3d/84/a9/e6/29/thumb_mountain-lion-eb890e1974.png) **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 pretty --no-source -x"
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
@@ -5,7 +5,7 @@ Given /^a git repository named "(.*?)"$/ do |repo_name|
5
5
  repo_dir = File.join current_dir, repo_name
6
6
  mkdir_p repo_dir
7
7
  Dir.chdir repo_dir do
8
- sh "git init ."
8
+ sh "git init --quiet ."
9
9
  end
10
10
  end
11
11
 
@@ -1,8 +1,7 @@
1
1
  module Lolcommits
2
2
  class CaptureLinux < Capturer
3
3
  def capture
4
- tmpdir = File.expand_path "#{Configuration.loldir}/tmpdir#{rand(1000)}/"
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
@@ -1,3 +1,3 @@
1
1
  module Lolcommits
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -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.0
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-03 00:00:00.000000000 Z
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.23
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.