hdmake 0.0.1 → 0.0.2
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/Gemfile.lock +27 -0
- data/lib/hdmake/version.rb +1 -1
- data/lib/hdmake.rb +2 -1
- metadata +4 -3
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
hdmake (0.0.1)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: http://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
diff-lcs (1.1.2)
|
|
10
|
+
rspec (2.4.0)
|
|
11
|
+
rspec-core (~> 2.4.0)
|
|
12
|
+
rspec-expectations (~> 2.4.0)
|
|
13
|
+
rspec-mocks (~> 2.4.0)
|
|
14
|
+
rspec-core (2.4.0)
|
|
15
|
+
rspec-expectations (2.4.0)
|
|
16
|
+
diff-lcs (~> 1.1.2)
|
|
17
|
+
rspec-mocks (2.4.0)
|
|
18
|
+
|
|
19
|
+
PLATFORMS
|
|
20
|
+
ruby
|
|
21
|
+
|
|
22
|
+
DEPENDENCIES
|
|
23
|
+
hdmake!
|
|
24
|
+
rspec (>= 2.0.0)
|
|
25
|
+
|
|
26
|
+
METADATA
|
|
27
|
+
version: 1.0.6
|
data/lib/hdmake/version.rb
CHANGED
data/lib/hdmake.rb
CHANGED
|
@@ -28,7 +28,8 @@ module Hdmake
|
|
|
28
28
|
raise ImageNotReadableError if not File.readable?(@image_path)
|
|
29
29
|
raise CommandNotFoundError if not File.exists?(@hdmake_path)
|
|
30
30
|
raise CommandNotExecutableError if not File.executable?(@hdmake_path)
|
|
31
|
-
|
|
31
|
+
cmd = "#{@hdmake_path} -src #{@image_path} #{options}"
|
|
32
|
+
output = %x[ cmd ]
|
|
32
33
|
status = $?
|
|
33
34
|
|
|
34
35
|
if status.exitstatus == 0
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Tobias Matthies
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-05-09 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -44,6 +44,7 @@ extra_rdoc_files: []
|
|
|
44
44
|
files:
|
|
45
45
|
- .gitignore
|
|
46
46
|
- Gemfile
|
|
47
|
+
- Gemfile.lock
|
|
47
48
|
- Rakefile
|
|
48
49
|
- hdmake.gemspec
|
|
49
50
|
- lib/hdmake.rb
|