email2face 0.0.3 → 0.0.4

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/README.md CHANGED
@@ -49,13 +49,13 @@ It's unlikely the included Facebook account will work for long. So, you may need
49
49
 
50
50
  #### With Ruby on Rails:
51
51
 
52
- * Create a new file in `config/initializers` called `facebook.rb`
52
+ 1.Create a new file in `config/initializers` called `facebook.rb`
53
53
 
54
- * Open that file in a text editor, and drop in the following:
54
+ 2.Open that file in a text editor, and drop in the following:
55
55
 
56
56
  ```ruby
57
- Email2Face.username = "FAKE_FACEBOOK_USERNAME"
58
- Email2Face.password = "FAKE_FACEBOOK_PASSWORD"
57
+ Email2Face.username = "MY_FAKE_FACEBOOK_USERNAME"
58
+ Email2Face.password = "MY_FAKE_FACEBOOK_PASSWORD"
59
59
  ```
60
60
 
61
61
  You'll need to restart your application server for it to have any affect.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
data/email2face.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "email2face"
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jarred Sumner"]
data/lib/email2face.rb CHANGED
@@ -60,8 +60,7 @@ class Email2Face
60
60
  end
61
61
 
62
62
  def self.login_failed!
63
- puts "Couldn't login to Facebook. Maybe you misspelled your username or password?"
64
- exit(0)
63
+ "Couldn't login to Facebook. Maybe you misspelled your username or password?"
65
64
  end
66
65
 
67
66
  def self.get_face(html)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: email2face
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -176,7 +176,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  segments:
178
178
  - 0
179
- hash: -83936141
179
+ hash: -335685741
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  none: false
182
182
  requirements: