gitstagram 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gitstagram/snapshot.rb +1 -1
- data/lib/gitstagram/version.rb +1 -1
- data/spec/snapshot_spec.rb +1 -1
- metadata +2 -2
data/lib/gitstagram/snapshot.rb
CHANGED
@@ -8,7 +8,7 @@ module Gitstagram
|
|
8
8
|
#
|
9
9
|
def smile
|
10
10
|
saving_path = Gitstagram.saving_path + "/#{Time.now.to_i}.jpg"
|
11
|
-
Gitstagram::SystemCaller.call "#{Gitstagram.tools_path}/imagesnap -q -w 3 #{saving_path}"
|
11
|
+
Gitstagram::SystemCaller.call "#{Gitstagram.tools_path}/imagesnap -q -w 3 #{saving_path} &"
|
12
12
|
end
|
13
13
|
|
14
14
|
end
|
data/lib/gitstagram/version.rb
CHANGED
data/spec/snapshot_spec.rb
CHANGED
@@ -5,7 +5,7 @@ describe Gitstagram::Snapshot do
|
|
5
5
|
describe "#smile" do
|
6
6
|
before do
|
7
7
|
stub(Time).now { 123 }
|
8
|
-
command = "#{Gitstagram.tools_path}/imagesnap -q -w 3 #{Gitstagram.saving_path}/123.jpg"
|
8
|
+
command = "#{Gitstagram.tools_path}/imagesnap -q -w 3 #{Gitstagram.saving_path}/123.jpg &"
|
9
9
|
mock(Gitstagram::SystemCaller).call(command)
|
10
10
|
end
|
11
11
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitstagram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
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-
|
12
|
+
date: 2012-11-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|