grumblr 2.1.1 → 2.2.0
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 +4 -0
- data/VERSION +1 -1
- data/data/pixmaps/grumblr.png +0 -0
- data/lib/grumblr/ui.rb +2 -2
- data/lib/ppds/tumblr.rb +6 -4
- metadata +12 -11
data/Changelog
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.0
|
Binary file
|
data/lib/grumblr/ui.rb
CHANGED
@@ -495,7 +495,7 @@ module Grumblr
|
|
495
495
|
|
496
496
|
## Destroy Config
|
497
497
|
def destroy_account
|
498
|
-
icon = Gtk::ImageMenuItem.new '
|
498
|
+
icon = Gtk::ImageMenuItem.new 'Forget password'
|
499
499
|
icon.set_image Gtk::Image.new(Gtk::Stock::STOP, Gtk::IconSize::MENU)
|
500
500
|
icon.signal_connect(:activate) do
|
501
501
|
$cfg.destroy
|
@@ -653,7 +653,7 @@ module Gtk
|
|
653
653
|
end
|
654
654
|
|
655
655
|
def report_length
|
656
|
-
$statusbar.push 0, "Length: #{self.buffer.text.
|
656
|
+
$statusbar.push 0, "Length: #{self.buffer.text.chars.count}"
|
657
657
|
end
|
658
658
|
|
659
659
|
def get_value
|
data/lib/ppds/tumblr.rb
CHANGED
@@ -54,9 +54,10 @@ module Ppds
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def query(action, data)
|
57
|
-
|
58
|
-
|
59
|
-
|
57
|
+
raise 'Cannot authenticate without credentials' unless data[:email] and data[:password]
|
58
|
+
RestClient.post(API_URL + action, data) { |response| response.body }
|
59
|
+
rescue RestClient::RequestFailed => e
|
60
|
+
raise 'Query failed: %s' % e.response.body
|
60
61
|
rescue RestClient::RequestTimeout
|
61
62
|
raise 'Timeout occured'
|
62
63
|
rescue Exception
|
@@ -78,7 +79,8 @@ module Ppds
|
|
78
79
|
|
79
80
|
true
|
80
81
|
|
81
|
-
rescue Exception
|
82
|
+
rescue Exception => e
|
83
|
+
puts e
|
82
84
|
false
|
83
85
|
end
|
84
86
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grumblr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Philippov
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-03-03 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -55,19 +55,20 @@ extra_rdoc_files:
|
|
55
55
|
- VERSION
|
56
56
|
files:
|
57
57
|
- bin/grumblr
|
58
|
-
- data/grumblr.
|
59
|
-
- data/pixmaps/quote.bmp
|
60
|
-
- data/pixmaps/link.bmp
|
61
|
-
- data/pixmaps/text.bmp
|
62
|
-
- data/pixmaps/spinner.gif
|
63
|
-
- data/pixmaps/audio.bmp
|
58
|
+
- data/pixmaps/grumblr.png
|
64
59
|
- data/pixmaps/video.bmp
|
60
|
+
- data/pixmaps/spinner.gif
|
65
61
|
- data/pixmaps/photo.bmp
|
66
|
-
- data/pixmaps/
|
62
|
+
- data/pixmaps/link.bmp
|
67
63
|
- data/pixmaps/chat.bmp
|
68
|
-
-
|
69
|
-
-
|
64
|
+
- data/pixmaps/quote.bmp
|
65
|
+
- data/pixmaps/grumblr.svg
|
66
|
+
- data/pixmaps/audio.bmp
|
67
|
+
- data/pixmaps/text.bmp
|
68
|
+
- data/grumblr.desktop
|
70
69
|
- lib/grumblr/ui.rb
|
70
|
+
- lib/grumblr/core.rb
|
71
|
+
- lib/ppds/tumblr.rb
|
71
72
|
- LICENSE
|
72
73
|
- README
|
73
74
|
- Rakefile
|