git-flattr 0.0.9 → 0.0.10

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/bin/git-flattr CHANGED
@@ -68,8 +68,8 @@ command :commit do |c|
68
68
  flattr = Flattr.new
69
69
  puts commit_url
70
70
  flattr.flattr commit_url
71
- thing = flattr.thing_lookup Git.github_url
72
- puts "Flattred #{Git.github_url} (#{thing.link})!"
71
+ thing = flattr.thing_lookup commit_url
72
+ puts "Flattred #{commit_url} (#{thing.link})!"
73
73
  exit 0
74
74
  rescue Flattr::Error::Unauthorized => e
75
75
  error e.message
data/lib/git-flattr.rb CHANGED
@@ -96,7 +96,7 @@ end
96
96
  module Auth
97
97
  class <<self
98
98
  def is_authed?
99
- Git.config('flattr.token') != ""
99
+ Git.config('flattr.token')
100
100
  end
101
101
 
102
102
  def do!
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION="0.0.9"
1
+ VERSION="0.0.10"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-flattr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: