share_checker 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -6
- data/lib/share_checker/provider.rb +23 -0
- data/lib/share_checker/providers/facebook.rb +2 -4
- data/lib/share_checker/providers/tweetracker.rb +2 -13
- data/lib/share_checker/providers/twitter.rb +2 -2
- data/lib/share_checker/providers/vkontakte.rb +2 -4
- data/lib/share_checker/version.rb +1 -1
- data/lib/share_checker.rb +3 -1
- data/spec/spec_helper.rb +4 -19
- metadata +22 -110
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/config/application.rb +0 -45
- data/spec/dummy/config/boot.rb +0 -10
- data/spec/dummy/config/database.yml +0 -22
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -26
- data/spec/dummy/config/environments/production.rb +0 -49
- data/spec/dummy/config/environments/test.rb +0 -35
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/inflections.rb +0 -10
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -8
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/routes.rb +0 -58
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/production.log +0 -0
- data/spec/dummy/log/server.log +0 -0
- data/spec/dummy/log/test.log +0 -95
- data/spec/dummy/public/404.html +0 -26
- data/spec/dummy/public/422.html +0 -26
- data/spec/dummy/public/500.html +0 -26
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/javascripts/application.js +0 -2
- data/spec/dummy/public/javascripts/controls.js +0 -965
- data/spec/dummy/public/javascripts/dragdrop.js +0 -974
- data/spec/dummy/public/javascripts/effects.js +0 -1123
- data/spec/dummy/public/javascripts/prototype.js +0 -6001
- data/spec/dummy/public/javascripts/rails.js +0 -191
- data/spec/dummy/script/rails +0 -6
- data/spec/integration/navigation_spec.rb +0 -9
data/spec/dummy/config/routes.rb
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
Dummy::Application.routes.draw do
|
2
|
-
# The priority is based upon order of creation:
|
3
|
-
# first created -> highest priority.
|
4
|
-
|
5
|
-
# Sample of regular route:
|
6
|
-
# match 'products/:id' => 'catalog#view'
|
7
|
-
# Keep in mind you can assign values other than :controller and :action
|
8
|
-
|
9
|
-
# Sample of named route:
|
10
|
-
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
-
|
13
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
-
# resources :products
|
15
|
-
|
16
|
-
# Sample resource route with options:
|
17
|
-
# resources :products do
|
18
|
-
# member do
|
19
|
-
# get 'short'
|
20
|
-
# post 'toggle'
|
21
|
-
# end
|
22
|
-
#
|
23
|
-
# collection do
|
24
|
-
# get 'sold'
|
25
|
-
# end
|
26
|
-
# end
|
27
|
-
|
28
|
-
# Sample resource route with sub-resources:
|
29
|
-
# resources :products do
|
30
|
-
# resources :comments, :sales
|
31
|
-
# resource :seller
|
32
|
-
# end
|
33
|
-
|
34
|
-
# Sample resource route with more complex sub-resources
|
35
|
-
# resources :products do
|
36
|
-
# resources :comments
|
37
|
-
# resources :sales do
|
38
|
-
# get 'recent', :on => :collection
|
39
|
-
# end
|
40
|
-
# end
|
41
|
-
|
42
|
-
# Sample resource route within a namespace:
|
43
|
-
# namespace :admin do
|
44
|
-
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
-
# # (app/controllers/admin/products_controller.rb)
|
46
|
-
# resources :products
|
47
|
-
# end
|
48
|
-
|
49
|
-
# You can have the root of your site routed with "root"
|
50
|
-
# just remember to delete public/index.html.
|
51
|
-
# root :to => "welcome#index"
|
52
|
-
|
53
|
-
# See how all your routes lay out with "rake routes"
|
54
|
-
|
55
|
-
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
-
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
-
# match ':controller(/:action(/:id(.:format)))'
|
58
|
-
end
|
data/spec/dummy/config.ru
DELETED
data/spec/dummy/db/test.sqlite3
DELETED
Binary file
|
File without changes
|
File without changes
|
data/spec/dummy/log/server.log
DELETED
File without changes
|
data/spec/dummy/log/test.log
DELETED
@@ -1,95 +0,0 @@
|
|
1
|
-
[1m[36mSQL (0.3ms)[0m [1m SELECT name
|
2
|
-
FROM sqlite_master
|
3
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
4
|
-
[0m
|
5
|
-
[1m[35mSQL (0.1ms)[0m select sqlite_version(*)
|
6
|
-
[1m[36mSQL (150.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
7
|
-
[1m[35mSQL (0.1ms)[0m PRAGMA index_list("schema_migrations")
|
8
|
-
[1m[36mSQL (70.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
9
|
-
[1m[35mSQL (0.3ms)[0m SELECT name
|
10
|
-
FROM sqlite_master
|
11
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
12
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
13
|
-
FROM sqlite_master
|
14
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
-
[0m
|
16
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
17
|
-
FROM sqlite_master
|
18
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
19
|
-
[0m
|
20
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
21
|
-
FROM sqlite_master
|
22
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
23
|
-
[0m
|
24
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
25
|
-
FROM sqlite_master
|
26
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
27
|
-
[0m
|
28
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
29
|
-
FROM sqlite_master
|
30
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
31
|
-
[0m
|
32
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
33
|
-
FROM sqlite_master
|
34
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
35
|
-
[0m
|
36
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
37
|
-
FROM sqlite_master
|
38
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
39
|
-
[0m
|
40
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
41
|
-
FROM sqlite_master
|
42
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
43
|
-
[0m
|
44
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
45
|
-
FROM sqlite_master
|
46
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
47
|
-
[0m
|
48
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
49
|
-
FROM sqlite_master
|
50
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
51
|
-
[0m
|
52
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
53
|
-
FROM sqlite_master
|
54
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
55
|
-
[0m
|
56
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
57
|
-
FROM sqlite_master
|
58
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
59
|
-
[0m
|
60
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
61
|
-
FROM sqlite_master
|
62
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
63
|
-
[0m
|
64
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
65
|
-
FROM sqlite_master
|
66
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
67
|
-
[0m
|
68
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
69
|
-
FROM sqlite_master
|
70
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
71
|
-
[0m
|
72
|
-
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
73
|
-
FROM sqlite_master
|
74
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
75
|
-
[0m
|
76
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
77
|
-
FROM sqlite_master
|
78
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
79
|
-
[0m
|
80
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
81
|
-
FROM sqlite_master
|
82
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
83
|
-
[0m
|
84
|
-
[1m[36mSQL (0.5ms)[0m [1m SELECT name
|
85
|
-
FROM sqlite_master
|
86
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
87
|
-
[0m
|
88
|
-
[1m[36mSQL (0.4ms)[0m [1m SELECT name
|
89
|
-
FROM sqlite_master
|
90
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
91
|
-
[0m
|
92
|
-
[1m[36mSQL (0.6ms)[0m [1m SELECT name
|
93
|
-
FROM sqlite_master
|
94
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
95
|
-
[0m
|
data/spec/dummy/public/404.html
DELETED
@@ -1,26 +0,0 @@
|
|
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>
|
data/spec/dummy/public/422.html
DELETED
@@ -1,26 +0,0 @@
|
|
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>
|
data/spec/dummy/public/500.html
DELETED
@@ -1,26 +0,0 @@
|
|
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
|
-
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
-
</div>
|
25
|
-
</body>
|
26
|
-
</html>
|
File without changes
|