blue_velvet 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +79 -0
- data/Rakefile +42 -0
- data/app/assets/javascripts/blue_velvet/application.js +15 -0
- data/app/assets/stylesheets/blue_velvet/application.css +13 -0
- data/app/assets/stylesheets/facebook/attribute.css.scss +2 -0
- data/app/controllers/facebook/page_controller.rb +54 -0
- data/app/models/facebook/attribute.rb +8 -0
- data/app/models/facebook/client.rb +45 -0
- data/app/views/facebook/page/_attribute_not_found.html.erb +8 -0
- data/app/views/facebook/page/_page_attribute.html.erb +7 -0
- data/config/facebook.yml +18 -0
- data/config/initializers/koala.rb +29 -0
- data/config/routes.rb +2 -0
- data/lib/blue_velvet/engine.rb +6 -0
- data/lib/blue_velvet/version.rb +3 -0
- data/lib/blue_velvet.rb +4 -0
- data/lib/generators/facebook/config_generator.rb +15 -0
- data/lib/generators/facebook/views_generator.rb +14 -0
- data/test/blue_velvet_test.rb +7 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/facebook.yml +18 -0
- data/test/dummy/config/facebook.yml.example +18 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +6 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +71 -0
- data/test/dummy/log/test.log +935 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/fixtures/cassettes/facebook.yml +95 -0
- data/test/fixtures/cassettes/facebook_authentication.yml +95 -0
- data/test/functional/facebook/page_controller_test.rb +25 -0
- data/test/integration/facebook/configuration_test.rb +21 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +34 -0
- data/test/unit/facebook/attribute_test.rb +8 -0
- data/test/unit/facebook/client_test.rb +38 -0
- metadata +202 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
</div>
|
24
|
+
</body>
|
25
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,95 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://graph.facebook.com/oauth/access_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: client_id=149744351829141&client_secret=0a8de678e00605bda2c583ea187d197e&type=client_cred
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
Accept:
|
13
|
+
- ! '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Access-Control-Allow-Origin:
|
22
|
+
- ! '*'
|
23
|
+
Cache-Control:
|
24
|
+
- private, no-cache, no-store, must-revalidate
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=UTF-8
|
27
|
+
Expires:
|
28
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Fb-Rev:
|
32
|
+
- '591138'
|
33
|
+
X-Fb-Debug:
|
34
|
+
- 6PmvDHpYUSS61O/Z9H2TkGY8gWak9q3UocKuAAXBSCk=
|
35
|
+
Date:
|
36
|
+
- Mon, 16 Jul 2012 01:58:25 GMT
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Length:
|
40
|
+
- '56'
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: access_token=149744351829141|2hvHZjGNTLToXtrdt0x5H-4OV58
|
44
|
+
http_version:
|
45
|
+
recorded_at: Mon, 16 Jul 2012 01:58:25 GMT
|
46
|
+
- request:
|
47
|
+
method: get
|
48
|
+
uri: https://graph.facebook.com/137797553025194?access_token=149744351829141%7C2hvHZjGNTLToXtrdt0x5H-4OV58
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ''
|
52
|
+
headers:
|
53
|
+
Accept-Encoding:
|
54
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
|
+
Accept:
|
56
|
+
- ! '*/*'
|
57
|
+
User-Agent:
|
58
|
+
- Ruby
|
59
|
+
response:
|
60
|
+
status:
|
61
|
+
code: 200
|
62
|
+
message: OK
|
63
|
+
headers:
|
64
|
+
Access-Control-Allow-Origin:
|
65
|
+
- ! '*'
|
66
|
+
Cache-Control:
|
67
|
+
- private, no-cache, no-store, must-revalidate
|
68
|
+
Content-Type:
|
69
|
+
- text/javascript; charset=UTF-8
|
70
|
+
Etag:
|
71
|
+
- ! '"e8ad69395d2afbf8a7472895a90535e579e87689"'
|
72
|
+
Expires:
|
73
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
74
|
+
Pragma:
|
75
|
+
- no-cache
|
76
|
+
X-Fb-Rev:
|
77
|
+
- '591138'
|
78
|
+
X-Fb-Debug:
|
79
|
+
- TiaF3QkK0AxCVCs5BFNI2PX0WVcW3K4M3bLmu43+oe0=
|
80
|
+
Date:
|
81
|
+
- Mon, 16 Jul 2012 01:58:26 GMT
|
82
|
+
Connection:
|
83
|
+
- keep-alive
|
84
|
+
Content-Length:
|
85
|
+
- '585'
|
86
|
+
body:
|
87
|
+
encoding: US-ASCII
|
88
|
+
string: ! '{"id":"137797553025194","name":"The BlueVelvet Gem","picture":"http:\/\/profile.ak.fbcdn.net\/hprofile-ak-snc4\/592212_137797553025194_1664626203_s.jpg","link":"http:\/\/www.facebook.com\/pages\/The-BlueVelvet-Gem\/137797553025194","category":"Software","is_published":true,"website":"http:\/\/github.com\/tubbo\/blue_velvet
|
89
|
+
http:\/\/thewonderbars.com","about":"BlueVelvet is a Rails engine that uses
|
90
|
+
your Facebook page as a data store. Obtain all of your Facebook page''s information
|
91
|
+
through your Rails app and create electronic press kits with ease. Extracted
|
92
|
+
from TheWonderBars.com"}'
|
93
|
+
http_version:
|
94
|
+
recorded_at: Mon, 16 Jul 2012 01:58:26 GMT
|
95
|
+
recorded_with: VCR 2.2.3
|
@@ -0,0 +1,95 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://graph.facebook.com/oauth/access_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: client_id=149744351829141&client_secret=0a8de678e00605bda2c583ea187d197e&type=client_cred
|
9
|
+
headers:
|
10
|
+
Content-Type:
|
11
|
+
- application/x-www-form-urlencoded
|
12
|
+
Accept:
|
13
|
+
- ! '*/*'
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Access-Control-Allow-Origin:
|
22
|
+
- ! '*'
|
23
|
+
Cache-Control:
|
24
|
+
- private, no-cache, no-store, must-revalidate
|
25
|
+
Content-Type:
|
26
|
+
- text/plain; charset=UTF-8
|
27
|
+
Expires:
|
28
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Fb-Rev:
|
32
|
+
- '591138'
|
33
|
+
X-Fb-Debug:
|
34
|
+
- I6mTO2dM8Otoe4a19tTcDuQL1GCAq69loLSG95+U+qE=
|
35
|
+
Date:
|
36
|
+
- Mon, 16 Jul 2012 01:58:27 GMT
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
Content-Length:
|
40
|
+
- '56'
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: access_token=149744351829141|2hvHZjGNTLToXtrdt0x5H-4OV58
|
44
|
+
http_version:
|
45
|
+
recorded_at: Mon, 16 Jul 2012 01:58:27 GMT
|
46
|
+
- request:
|
47
|
+
method: get
|
48
|
+
uri: https://graph.facebook.com/137797553025194?access_token=149744351829141%7C2hvHZjGNTLToXtrdt0x5H-4OV58
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ''
|
52
|
+
headers:
|
53
|
+
Accept-Encoding:
|
54
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
55
|
+
Accept:
|
56
|
+
- ! '*/*'
|
57
|
+
User-Agent:
|
58
|
+
- Ruby
|
59
|
+
response:
|
60
|
+
status:
|
61
|
+
code: 200
|
62
|
+
message: OK
|
63
|
+
headers:
|
64
|
+
Access-Control-Allow-Origin:
|
65
|
+
- ! '*'
|
66
|
+
Cache-Control:
|
67
|
+
- private, no-cache, no-store, must-revalidate
|
68
|
+
Content-Type:
|
69
|
+
- text/javascript; charset=UTF-8
|
70
|
+
Etag:
|
71
|
+
- ! '"e8ad69395d2afbf8a7472895a90535e579e87689"'
|
72
|
+
Expires:
|
73
|
+
- Sat, 01 Jan 2000 00:00:00 GMT
|
74
|
+
Pragma:
|
75
|
+
- no-cache
|
76
|
+
X-Fb-Rev:
|
77
|
+
- '591138'
|
78
|
+
X-Fb-Debug:
|
79
|
+
- iBCrBZdQRzDleXp1tPMcmEZHR9yhPgirG3TFvytsqyM=
|
80
|
+
Date:
|
81
|
+
- Mon, 16 Jul 2012 01:58:27 GMT
|
82
|
+
Connection:
|
83
|
+
- keep-alive
|
84
|
+
Content-Length:
|
85
|
+
- '585'
|
86
|
+
body:
|
87
|
+
encoding: US-ASCII
|
88
|
+
string: ! '{"id":"137797553025194","name":"The BlueVelvet Gem","picture":"http:\/\/profile.ak.fbcdn.net\/hprofile-ak-snc4\/592212_137797553025194_1664626203_s.jpg","link":"http:\/\/www.facebook.com\/pages\/The-BlueVelvet-Gem\/137797553025194","category":"Software","is_published":true,"website":"http:\/\/github.com\/tubbo\/blue_velvet
|
89
|
+
http:\/\/thewonderbars.com","about":"BlueVelvet is a Rails engine that uses
|
90
|
+
your Facebook page as a data store. Obtain all of your Facebook page''s information
|
91
|
+
through your Rails app and create electronic press kits with ease. Extracted
|
92
|
+
from TheWonderBars.com"}'
|
93
|
+
http_version:
|
94
|
+
recorded_at: Mon, 16 Jul 2012 01:58:27 GMT
|
95
|
+
recorded_with: VCR 2.2.3
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class Facebook::PageControllerTest < ActionController::TestCase
|
4
|
+
setup do
|
5
|
+
VCR.use_cassette(:facebook_authentication) do
|
6
|
+
@controller = Facebook::PageController.new
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
test "disallow access to attributes that don't exist" do
|
11
|
+
VCR.use_cassette(:facebook_authentication) do
|
12
|
+
get :events
|
13
|
+
assert response.success?
|
14
|
+
assert_select '#error'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
test "allow access and render a found attribute" do
|
19
|
+
VCR.use_cassette(:facebook_authentication) do
|
20
|
+
get :about
|
21
|
+
assert response.success?
|
22
|
+
assert_select '#about'
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class Facebook::ConfigurationTest < ActiveSupport::TestCase
|
4
|
+
Facebook.config.each { |attribute, setting|
|
5
|
+
an = if attribute == 'app_id'
|
6
|
+
"an"
|
7
|
+
else
|
8
|
+
"a"
|
9
|
+
end
|
10
|
+
|
11
|
+
test "have #{an} #{attribute}" do
|
12
|
+
%w(equal nil blank).each { |question|
|
13
|
+
if question == 'equal'
|
14
|
+
refute_equal "", setting
|
15
|
+
else
|
16
|
+
self.send :"refute_#{question}", setting
|
17
|
+
end
|
18
|
+
}
|
19
|
+
end
|
20
|
+
}
|
21
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load test framework gemset
|
13
|
+
require 'bundler'
|
14
|
+
Bundler.setup :default, :test
|
15
|
+
|
16
|
+
# Load fixtures from the engine
|
17
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
18
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
19
|
+
end
|
20
|
+
|
21
|
+
require 'vcr'
|
22
|
+
|
23
|
+
# Configure HTTP mocking library
|
24
|
+
VCR.configure do |c|
|
25
|
+
c.cassette_library_dir = 'test/fixtures/cassettes'
|
26
|
+
c.hook_into :webmock # or :fakeweb
|
27
|
+
# c.allow_http_connections_when_no_cassette = true
|
28
|
+
end
|
29
|
+
|
30
|
+
class ActiveSupport::TestCase
|
31
|
+
def refute_blank(attribute)
|
32
|
+
refute attribute.blank?, "#{attribute.class.name} is blank."
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class Facebook::ClientTest < ActiveSupport::TestCase
|
4
|
+
setup {
|
5
|
+
VCR.use_cassette(:facebook) do
|
6
|
+
@facebook = Facebook::Client.new
|
7
|
+
end
|
8
|
+
}
|
9
|
+
|
10
|
+
test "retrieve page name" do
|
11
|
+
assert_equal "The BlueVelvet Gem", @facebook.name
|
12
|
+
end
|
13
|
+
|
14
|
+
test "retrieve about text" do
|
15
|
+
assert_match "BlueVelvet is a Rails engine", @facebook.about
|
16
|
+
end
|
17
|
+
|
18
|
+
test "have an access token" do
|
19
|
+
VCR.use_cassette(:facebook) do
|
20
|
+
refute_nil @facebook.send :access_token
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
test "throws an error when an attribute can't be found" do
|
25
|
+
assert_raises Facebook::AttributeNotFound do
|
26
|
+
@facebook.not_a_real_attr
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
test "throws an error when the page can't be found" do
|
31
|
+
VCR.use_cassette(:facebook_bad_page) do
|
32
|
+
assert_raises Facebook::PageNotFound do
|
33
|
+
@facebook.page = nil
|
34
|
+
@facebook.about
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: blue_velvet
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Tom Scott
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-07-16 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.2'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.2'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: koala
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: sqlite3
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
description: BlueVelvet connects to a Facebook page and returns content from it in
|
63
|
+
partials that can be modified by the developer.
|
64
|
+
email:
|
65
|
+
- tubbo@psychedeli.ca
|
66
|
+
executables: []
|
67
|
+
extensions: []
|
68
|
+
extra_rdoc_files: []
|
69
|
+
files:
|
70
|
+
- app/assets/javascripts/blue_velvet/application.js
|
71
|
+
- app/assets/stylesheets/blue_velvet/application.css
|
72
|
+
- app/assets/stylesheets/facebook/attribute.css.scss
|
73
|
+
- app/controllers/facebook/page_controller.rb
|
74
|
+
- app/models/facebook/attribute.rb
|
75
|
+
- app/models/facebook/client.rb
|
76
|
+
- app/views/facebook/page/_attribute_not_found.html.erb
|
77
|
+
- app/views/facebook/page/_page_attribute.html.erb
|
78
|
+
- config/facebook.yml
|
79
|
+
- config/initializers/koala.rb
|
80
|
+
- config/routes.rb
|
81
|
+
- lib/blue_velvet/engine.rb
|
82
|
+
- lib/blue_velvet/version.rb
|
83
|
+
- lib/blue_velvet.rb
|
84
|
+
- lib/generators/facebook/config_generator.rb
|
85
|
+
- lib/generators/facebook/views_generator.rb
|
86
|
+
- MIT-LICENSE
|
87
|
+
- Rakefile
|
88
|
+
- README.md
|
89
|
+
- test/blue_velvet_test.rb
|
90
|
+
- test/dummy/app/assets/javascripts/application.js
|
91
|
+
- test/dummy/app/assets/stylesheets/application.css
|
92
|
+
- test/dummy/app/controllers/application_controller.rb
|
93
|
+
- test/dummy/app/helpers/application_helper.rb
|
94
|
+
- test/dummy/app/views/layouts/application.html.erb
|
95
|
+
- test/dummy/config/application.rb
|
96
|
+
- test/dummy/config/boot.rb
|
97
|
+
- test/dummy/config/database.yml
|
98
|
+
- test/dummy/config/environment.rb
|
99
|
+
- test/dummy/config/environments/development.rb
|
100
|
+
- test/dummy/config/environments/production.rb
|
101
|
+
- test/dummy/config/environments/test.rb
|
102
|
+
- test/dummy/config/facebook.yml
|
103
|
+
- test/dummy/config/facebook.yml.example
|
104
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
105
|
+
- test/dummy/config/initializers/inflections.rb
|
106
|
+
- test/dummy/config/initializers/mime_types.rb
|
107
|
+
- test/dummy/config/initializers/secret_token.rb
|
108
|
+
- test/dummy/config/initializers/session_store.rb
|
109
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
110
|
+
- test/dummy/config/locales/en.yml
|
111
|
+
- test/dummy/config/routes.rb
|
112
|
+
- test/dummy/config.ru
|
113
|
+
- test/dummy/db/development.sqlite3
|
114
|
+
- test/dummy/db/schema.rb
|
115
|
+
- test/dummy/db/test.sqlite3
|
116
|
+
- test/dummy/log/development.log
|
117
|
+
- test/dummy/log/test.log
|
118
|
+
- test/dummy/public/404.html
|
119
|
+
- test/dummy/public/422.html
|
120
|
+
- test/dummy/public/500.html
|
121
|
+
- test/dummy/public/favicon.ico
|
122
|
+
- test/dummy/Rakefile
|
123
|
+
- test/dummy/README.rdoc
|
124
|
+
- test/dummy/script/rails
|
125
|
+
- test/fixtures/cassettes/facebook.yml
|
126
|
+
- test/fixtures/cassettes/facebook_authentication.yml
|
127
|
+
- test/functional/facebook/page_controller_test.rb
|
128
|
+
- test/integration/facebook/configuration_test.rb
|
129
|
+
- test/integration/navigation_test.rb
|
130
|
+
- test/test_helper.rb
|
131
|
+
- test/unit/facebook/attribute_test.rb
|
132
|
+
- test/unit/facebook/client_test.rb
|
133
|
+
homepage: http://psychedeli.ca
|
134
|
+
licenses: []
|
135
|
+
post_install_message:
|
136
|
+
rdoc_options: []
|
137
|
+
require_paths:
|
138
|
+
- lib
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ! '>='
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '0'
|
145
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ! '>='
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
151
|
+
requirements: []
|
152
|
+
rubyforge_project:
|
153
|
+
rubygems_version: 1.8.24
|
154
|
+
signing_key:
|
155
|
+
specification_version: 3
|
156
|
+
summary: BlueVelvet is a content management system that uses the Facebook platform
|
157
|
+
as a database.
|
158
|
+
test_files:
|
159
|
+
- test/blue_velvet_test.rb
|
160
|
+
- test/dummy/app/assets/javascripts/application.js
|
161
|
+
- test/dummy/app/assets/stylesheets/application.css
|
162
|
+
- test/dummy/app/controllers/application_controller.rb
|
163
|
+
- test/dummy/app/helpers/application_helper.rb
|
164
|
+
- test/dummy/app/views/layouts/application.html.erb
|
165
|
+
- test/dummy/config/application.rb
|
166
|
+
- test/dummy/config/boot.rb
|
167
|
+
- test/dummy/config/database.yml
|
168
|
+
- test/dummy/config/environment.rb
|
169
|
+
- test/dummy/config/environments/development.rb
|
170
|
+
- test/dummy/config/environments/production.rb
|
171
|
+
- test/dummy/config/environments/test.rb
|
172
|
+
- test/dummy/config/facebook.yml
|
173
|
+
- test/dummy/config/facebook.yml.example
|
174
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
175
|
+
- test/dummy/config/initializers/inflections.rb
|
176
|
+
- test/dummy/config/initializers/mime_types.rb
|
177
|
+
- test/dummy/config/initializers/secret_token.rb
|
178
|
+
- test/dummy/config/initializers/session_store.rb
|
179
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
180
|
+
- test/dummy/config/locales/en.yml
|
181
|
+
- test/dummy/config/routes.rb
|
182
|
+
- test/dummy/config.ru
|
183
|
+
- test/dummy/db/development.sqlite3
|
184
|
+
- test/dummy/db/schema.rb
|
185
|
+
- test/dummy/db/test.sqlite3
|
186
|
+
- test/dummy/log/development.log
|
187
|
+
- test/dummy/log/test.log
|
188
|
+
- test/dummy/public/404.html
|
189
|
+
- test/dummy/public/422.html
|
190
|
+
- test/dummy/public/500.html
|
191
|
+
- test/dummy/public/favicon.ico
|
192
|
+
- test/dummy/Rakefile
|
193
|
+
- test/dummy/README.rdoc
|
194
|
+
- test/dummy/script/rails
|
195
|
+
- test/fixtures/cassettes/facebook.yml
|
196
|
+
- test/fixtures/cassettes/facebook_authentication.yml
|
197
|
+
- test/functional/facebook/page_controller_test.rb
|
198
|
+
- test/integration/facebook/configuration_test.rb
|
199
|
+
- test/integration/navigation_test.rb
|
200
|
+
- test/test_helper.rb
|
201
|
+
- test/unit/facebook/attribute_test.rb
|
202
|
+
- test/unit/facebook/client_test.rb
|