sco-fakebook 0.1.0 → 0.1.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.
- data/Rakefile +0 -29
- data/TODO +5 -2
- data/fakebook.gemspec +2 -2
- data/lib/fakebook-assets/canvas.css +0 -1
- data/lib/fakebook-assets/common.css +0 -1
- data/lib/fakebook.rb +1 -1
- data/lib/templates/standard.html.erb +1 -9
- metadata +3 -3
data/Rakefile
CHANGED
|
@@ -1,35 +1,6 @@
|
|
|
1
1
|
require 'rake'
|
|
2
2
|
require './lib/fakebook'
|
|
3
3
|
|
|
4
|
-
#begin
|
|
5
|
-
# require 'rubygems'
|
|
6
|
-
# gem 'echoe', '>=2.7'
|
|
7
|
-
# ENV['RUBY_FLAGS'] = ""
|
|
8
|
-
# require 'echoe'
|
|
9
|
-
#
|
|
10
|
-
# Echoe.new('fakebook') do |p|
|
|
11
|
-
# p.project = 'fakebook'
|
|
12
|
-
# p.rubyforge_name = 'fakebook'
|
|
13
|
-
# p.version = Fakebook::Version
|
|
14
|
-
# p.summary = "Simple Facebook platform simulator, to aid in developing Facebook canvas apps offline."
|
|
15
|
-
# p.description = "Simple Facebook platform simulator, to aid in developing Facebook canvas apps offline."
|
|
16
|
-
# p.url = "http://github.com/sco/fakebook/"
|
|
17
|
-
# p.author = 'Scott Raymond'
|
|
18
|
-
# p.email = "sco@scottraymond.net"
|
|
19
|
-
# p.dependencies << 'rack >=0.3.0'
|
|
20
|
-
# p.clean_pattern.delete('lib/*-*') # so that 'rake clean' won't clobber fakebook-assets
|
|
21
|
-
# end
|
|
22
|
-
#rescue LoadError => boom
|
|
23
|
-
# puts "You are missing a dependency required for meta-operations on this gem."
|
|
24
|
-
# puts "#{boom.to_s.capitalize}."
|
|
25
|
-
#end
|
|
26
|
-
#
|
|
27
|
-
#desc 'Install as a gem'
|
|
28
|
-
#task :install_gem do
|
|
29
|
-
# puts `rake manifest package && gem install pkg/fakebook-#{Fakebook::Version}.gem`
|
|
30
|
-
#end
|
|
31
|
-
#
|
|
32
|
-
|
|
33
4
|
task :install_gem do
|
|
34
5
|
puts `gem build fakebook.gemspec && gem install fakebook-#{Fakebook::Version}.gem && rm fakebook-#{Fakebook::Version}.gem`
|
|
35
6
|
end
|
data/TODO
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
-
|
|
1
|
+
- convert readme to markdown; see http://github.com/pjhyett/github-services/tree/master
|
|
2
|
+
- document how to use different templates; provide config/command-line option for specifying template
|
|
3
|
+
- shell out to facebook's fbml/fbjs parser? (requires php)
|
|
2
4
|
- parse_fbml needs to become a full-blown parser
|
|
3
5
|
- if-is-user
|
|
4
6
|
- is-logged-out
|
|
@@ -10,7 +12,8 @@
|
|
|
10
12
|
- fb:header, create button, action link, help link, etc.
|
|
11
13
|
- fb:tabs
|
|
12
14
|
- fb:request_form
|
|
15
|
+
- fb:intl and fb:intlvar
|
|
13
16
|
- better handling of API requests
|
|
14
17
|
- allow for per-user or per-environment configs?
|
|
15
18
|
- implement ajax, including the local proxy
|
|
16
|
-
- figure out what the license and attribution is for the HTML parsing stuff
|
|
19
|
+
- figure out what the license and attribution is for the HTML parsing stuff
|
data/fakebook.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "fakebook"
|
|
3
|
-
s.version = "0.1.
|
|
4
|
-
s.date = "2008-
|
|
3
|
+
s.version = "0.1.1" # also see fakebook.rb
|
|
4
|
+
s.date = "2008-07-09"
|
|
5
5
|
s.summary = "Simple Facebook platform simulator, to aid in developing Facebook canvas apps offline."
|
|
6
6
|
s.homepage = "http://github.com/sco/fakebook"
|
|
7
7
|
s.author = "Scott Raymond"
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
.fbframe #footer_actions{clear:both;background:#f7f7f7;margin:0px;border-top:solid 1px #ddd;}
|
|
7
7
|
.fbframe #footer_actions ul{list-style:none;padding:10px 20px 25px 20px;margin:0px;}
|
|
8
8
|
.fbframe #footer_actions li{float:left;line-height:18px;padding:0px 2px 0px 2px;}
|
|
9
|
-
#content{overflow:hidden;width:646px;}
|
|
10
9
|
.canvas_rel_positioning{position:relative;overflow:hidden;zoom:1;}
|
|
11
10
|
.canvas_error_page div#error_message{padding:60px 60px 30px 60px;}
|
|
12
11
|
.canvas_error_page div#error_message div.error_header{border-bottom:1px #ccc solid;font-size:14px;margin:0px 0px 20px 0px;padding:0px 0px 10px 0px;}
|
|
@@ -155,7 +155,6 @@ td.label{font-size:11px;text-align:left;}
|
|
|
155
155
|
#navigator.shortened .secondary_set li{margin:0 8px 0 0;}
|
|
156
156
|
#navigator.shortened .main_set li a.edit_link{font-size:11px;}
|
|
157
157
|
#book #content_shadow{margin:2px 0px 0px 1px;background:transparent url(/fakebook-assets/shadow_gray.gif) repeat-y top right;padding:0px;border-bottom:solid 1px #ddd;}
|
|
158
|
-
#content{margin:-2px 1px 0px -1px;border-top:none;border-left:solid 1px #b7b7b7;border-right:solid 1px #b7b7b7;border-bottom:solid 1px #3b5998;font-size:11px;}
|
|
159
158
|
#ad_1{clear:both;}
|
|
160
159
|
#pagefooter{clear:both;padding:0px;margin:0px;height:50px;line-height:16px;}
|
|
161
160
|
#pagefooter ul{display:block;list-style:none;float:right;margin:0px;padding:8px 2px 4px;}
|
data/lib/fakebook.rb
CHANGED
|
@@ -20,15 +20,7 @@
|
|
|
20
20
|
<div id="book">
|
|
21
21
|
<div id="sidebar">
|
|
22
22
|
<a href="http://www.facebook.com" class="go_home"></a>
|
|
23
|
-
<div id="sidebar_content" style="
|
|
24
|
-
<form action="/fakebook-update" method="post" style="margin: 5px">
|
|
25
|
-
<p><label>fb_sig_user</label><br/><input type="text" name="user" value="<%= @fb_params[:user] %>" size="15" /></p>
|
|
26
|
-
<p><label>fb_sig_friends</label><br/><textarea name="friends" rows="3" cols="15"><%= @fb_params[:friends].join(',') %></textarea></p>
|
|
27
|
-
<p><label>fb_sig_in_canvas</label><br/><input type="text" name="in_canvas" value="<%= @fb_params[:in_canvas] %>" size="3" /></p>
|
|
28
|
-
<p><label>fb_sig_added</label><br/><input type="text" name="added" value="<%= @fb_params[:added] %>" size="3" /></p>
|
|
29
|
-
<p><input type="submit" value="Update" /></p>
|
|
30
|
-
</form>
|
|
31
|
-
</div>
|
|
23
|
+
<div id="sidebar_content" style="height:150px"></div>
|
|
32
24
|
</div>
|
|
33
25
|
<div id="widebar" class="clearfix">
|
|
34
26
|
<div id="navigator"></div>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sco-fakebook
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Scott Raymond
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-07-09 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
78
|
requirements: []
|
|
79
79
|
|
|
80
80
|
rubyforge_project:
|
|
81
|
-
rubygems_version: 1.0
|
|
81
|
+
rubygems_version: 1.2.0
|
|
82
82
|
signing_key:
|
|
83
83
|
specification_version: 2
|
|
84
84
|
summary: Simple Facebook platform simulator, to aid in developing Facebook canvas apps offline.
|