flickr_airlift 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/flickr_airlift.rb +6 -11
  2. metadata +3 -3
@@ -74,17 +74,12 @@ module FlickrAirlift
74
74
  auth_url = FlickRaw.auth_url :frob => frob, :perms => permission
75
75
 
76
76
  puts " "
77
- if system("which open")
78
- puts "opening your browser..."
79
- sleep 1
80
- puts "Come back and press Enter when you are finished"
81
- sleep 2
82
- Launchy.open(auth_url)
83
- else
84
- puts "Open this url in your process to complete the authication process:"
85
- puts auth_url
86
- puts "Press Enter when you are finished."
87
- end
77
+ puts "opening your browser..."
78
+ sleep 1
79
+ puts "Come back and press Enter when you are finished"
80
+ sleep 2
81
+ Launchy.open(auth_url)
82
+
88
83
  STDIN.getc
89
84
 
90
85
  # Authentication
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flickr_airlift
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
+ - 1
8
9
  - 0
9
- - 9
10
- version: 0.0.9
10
+ version: 0.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stephen Schor