facebookcl 0.2.4 → 0.3.0
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/VERSION +1 -1
- data/facebookcl.gemspec +1 -1
- data/lib/facebookcl.rb +9 -5
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/facebookcl.gemspec
CHANGED
data/lib/facebookcl.rb
CHANGED
@@ -38,16 +38,20 @@ Welcome New User! You need to auth this application. So please visit here in y
|
|
38
38
|
session = server.accept
|
39
39
|
session.print "HTTP/1.1 200/OK\r\nContent-type:text/html\r\n\r\n"
|
40
40
|
session.gets
|
41
|
-
session.print "
|
42
|
-
|
43
|
-
|
41
|
+
session.print "
|
42
|
+
<script>
|
43
|
+
window.location.replace(window.location.toString().replace('#', '?'));
|
44
|
+
</script>"
|
44
45
|
session.close
|
45
46
|
|
46
47
|
session = server.accept
|
47
48
|
session.print "HTTP/1.1 200/OK\r\nContent-type:text/html\r\n\r\n"
|
48
49
|
request = session.gets.strip
|
49
|
-
session.print "Success!
|
50
|
-
|
50
|
+
session.print "Success!
|
51
|
+
You can now close this window and return to FacebookCL.
|
52
|
+
<script>
|
53
|
+
window.close();
|
54
|
+
</script>"
|
51
55
|
session.close
|
52
56
|
server.close
|
53
57
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facebookcl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 0.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Bishop
|