fb_video_url_converter 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,5 @@
1
+ = Version 0.1.7
2
+ * Fix for not loggin attemp
1
3
  = Version 0.1.6
2
4
  * Fix for fantom login failed attemp
3
5
  = Version 0.1.5
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('fb_video_url_converter', '0.1.6') do |p|
5
+ Echoe.new('fb_video_url_converter', '0.1.7') do |p|
6
6
  p.description = "Facebook Video URL Converter is intended as an easy alternative to changing video hosting from Facebook to a different one."
7
7
  p.url = "https://github.com/mensfeld/FB-Video-URL-Converter"
8
8
  p.author = "Maciej Mensfeld"
@@ -2,12 +2,12 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{fb_video_url_converter}
5
- s.version = "0.1.6"
5
+ s.version = "0.1.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Maciej Mensfeld"]
9
9
  s.cert_chain = ["/home/mencio/.cert_keys/gem-public_cert.pem"]
10
- s.date = %q{2011-05-13}
10
+ s.date = %q{2011-05-15}
11
11
  s.description = %q{Facebook Video URL Converter is intended as an easy alternative to changing video hosting from Facebook to a different one.}
12
12
  s.email = %q{maciej@mensfeld.pl}
13
13
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "README.md", "lib/facebook_bot.rb", "lib/facebook_video.rb", "lib/fb_video_url_converter.rb"]
data/lib/facebook_bot.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'singleton'
2
1
  require 'rubygems'
3
2
  require 'mechanize'
4
3
  include WWW
@@ -58,7 +57,6 @@ class FacebookBot
58
57
  end
59
58
 
60
59
  @agent.cookie_jar.save_as(@cookies)
61
- page = @agent.get(FB_URL)
62
60
  body = page.root.to_html
63
61
 
64
62
  begin
@@ -68,8 +66,6 @@ class FacebookBot
68
66
  @uid = nil
69
67
  end
70
68
  # This is a token we need to submit forms.
71
-
72
- # TODO - FIX THIS SHIT :)
73
69
  begin
74
70
  @post_form_id = %r{<input type="hidden" .* name="post_form_id" value="([^"]+)}.match(body)[1]
75
71
  rescue
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: fb_video_url_converter
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.6
5
+ version: 0.1.7
6
6
  platform: ruby
7
7
  authors:
8
8
  - Maciej Mensfeld
@@ -31,7 +31,7 @@ cert_chain:
31
31
  BH3YFsdk
32
32
  -----END CERTIFICATE-----
33
33
 
34
- date: 2011-05-13 00:00:00 +02:00
34
+ date: 2011-05-15 00:00:00 +02:00
35
35
  default_executable:
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file