straight_shooter 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/straight_shooter +5 -1
- data/lib/straight_shooter/page.rb +1 -9
- data/straight_shooter.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/bin/straight_shooter
CHANGED
@@ -7,10 +7,6 @@ class Page < Qt::Object
|
|
7
7
|
|
8
8
|
attr_accessor :url, :filename, :web, :page
|
9
9
|
|
10
|
-
def app
|
11
|
-
@app ||= Qt::Application.new(ARGV)
|
12
|
-
end
|
13
|
-
|
14
10
|
def initialize(url, filename = nil)
|
15
11
|
super()
|
16
12
|
|
@@ -49,11 +45,7 @@ class Page < Qt::Object
|
|
49
45
|
puts "Page failed to load. No image was saved."
|
50
46
|
end
|
51
47
|
|
52
|
-
|
53
|
-
end
|
54
|
-
|
55
|
-
def quit_app
|
56
|
-
app.quit
|
48
|
+
App.quit
|
57
49
|
end
|
58
50
|
|
59
51
|
end
|
data/straight_shooter.gemspec
CHANGED