adsense-info 1.0.0 → 1.0.1

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.
@@ -1,5 +1,5 @@
1
1
  module Adsense
2
2
  class Info
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
data/lib/adsense-info.rb CHANGED
@@ -7,10 +7,10 @@ module Adsense
7
7
  def initialize( username, password )
8
8
  @username = username
9
9
  @password = password
10
- @agent = Mechanize::Mechanize.new
11
10
  end
12
11
 
13
12
  def login!
13
+ @agent = Mechanize::Mechanize.new
14
14
  page = @agent.get 'http://www.gmail.com'
15
15
  form = page.forms.first
16
16
  form.Email = @username
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 0
9
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Clive Crous
@@ -103,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - ">="
105
105
  - !ruby/object:Gem::Version
106
- hash: 23827165
106
+ hash: -421568899
107
107
  segments:
108
108
  - 0
109
109
  version: "0"
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
113
  - - ">="
114
114
  - !ruby/object:Gem::Version
115
- hash: 23827165
115
+ hash: -421568899
116
116
  segments:
117
117
  - 0
118
118
  version: "0"