flickr_authentication 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class FlickrAuthentication
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,6 +1,7 @@
1
1
  require "flickr_authentication/version"
2
2
  require 'flickraw'
3
3
  require 'launchy'
4
+ require 'yaml'
4
5
 
5
6
  class FlickrAuthentication
6
7
 
@@ -38,8 +39,6 @@ class FlickrAuthentication
38
39
  login = flickr.test.login
39
40
 
40
41
  puts auth.token
41
-
42
- require 'yaml'
43
42
  data = {}
44
43
  data["api_token"] = auth.token
45
44
  File.open(auth_file, "w"){|f| YAML.dump(data, f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flickr_authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: