share_checker 0.1.1 → 0.1.2

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.
Files changed (46) hide show
  1. data/Gemfile +4 -6
  2. data/lib/share_checker/provider.rb +23 -0
  3. data/lib/share_checker/providers/facebook.rb +2 -4
  4. data/lib/share_checker/providers/tweetracker.rb +2 -13
  5. data/lib/share_checker/providers/twitter.rb +2 -2
  6. data/lib/share_checker/providers/vkontakte.rb +2 -4
  7. data/lib/share_checker/version.rb +1 -1
  8. data/lib/share_checker.rb +3 -1
  9. data/spec/spec_helper.rb +4 -19
  10. metadata +22 -110
  11. data/spec/dummy/Rakefile +0 -7
  12. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  13. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  14. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  15. data/spec/dummy/config/application.rb +0 -45
  16. data/spec/dummy/config/boot.rb +0 -10
  17. data/spec/dummy/config/database.yml +0 -22
  18. data/spec/dummy/config/environment.rb +0 -5
  19. data/spec/dummy/config/environments/development.rb +0 -26
  20. data/spec/dummy/config/environments/production.rb +0 -49
  21. data/spec/dummy/config/environments/test.rb +0 -35
  22. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  23. data/spec/dummy/config/initializers/inflections.rb +0 -10
  24. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  25. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  26. data/spec/dummy/config/initializers/session_store.rb +0 -8
  27. data/spec/dummy/config/locales/en.yml +0 -5
  28. data/spec/dummy/config/routes.rb +0 -58
  29. data/spec/dummy/config.ru +0 -4
  30. data/spec/dummy/db/test.sqlite3 +0 -0
  31. data/spec/dummy/log/development.log +0 -0
  32. data/spec/dummy/log/production.log +0 -0
  33. data/spec/dummy/log/server.log +0 -0
  34. data/spec/dummy/log/test.log +0 -95
  35. data/spec/dummy/public/404.html +0 -26
  36. data/spec/dummy/public/422.html +0 -26
  37. data/spec/dummy/public/500.html +0 -26
  38. data/spec/dummy/public/favicon.ico +0 -0
  39. data/spec/dummy/public/javascripts/application.js +0 -2
  40. data/spec/dummy/public/javascripts/controls.js +0 -965
  41. data/spec/dummy/public/javascripts/dragdrop.js +0 -974
  42. data/spec/dummy/public/javascripts/effects.js +0 -1123
  43. data/spec/dummy/public/javascripts/prototype.js +0 -6001
  44. data/spec/dummy/public/javascripts/rails.js +0 -191
  45. data/spec/dummy/script/rails +0 -6
  46. data/spec/integration/navigation_spec.rb +0 -9
@@ -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
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Dummy::Application
Binary file
File without changes
File without changes
File without changes
@@ -1,95 +0,0 @@
1
- SQL (0.3ms)  SELECT name
2
- FROM sqlite_master
3
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
- 
5
- SQL (0.1ms) select sqlite_version(*)
6
- SQL (150.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
- SQL (0.1ms) PRAGMA index_list("schema_migrations")
8
- SQL (70.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
- SQL (0.3ms) SELECT name
10
- FROM sqlite_master
11
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
12
- SQL (0.4ms)  SELECT name
13
- FROM sqlite_master
14
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
15
- 
16
- SQL (0.4ms)  SELECT name
17
- FROM sqlite_master
18
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
19
- 
20
- SQL (0.4ms)  SELECT name
21
- FROM sqlite_master
22
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
23
- 
24
- SQL (0.4ms)  SELECT name
25
- FROM sqlite_master
26
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
27
- 
28
- SQL (0.4ms)  SELECT name
29
- FROM sqlite_master
30
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
31
- 
32
- SQL (0.4ms)  SELECT name
33
- FROM sqlite_master
34
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
35
- 
36
- SQL (0.4ms)  SELECT name
37
- FROM sqlite_master
38
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
39
- 
40
- SQL (0.4ms)  SELECT name
41
- FROM sqlite_master
42
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
43
- 
44
- SQL (0.4ms)  SELECT name
45
- FROM sqlite_master
46
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
47
- 
48
- SQL (0.4ms)  SELECT name
49
- FROM sqlite_master
50
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
51
- 
52
- SQL (0.4ms)  SELECT name
53
- FROM sqlite_master
54
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
55
- 
56
- SQL (0.4ms)  SELECT name
57
- FROM sqlite_master
58
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
59
- 
60
- SQL (0.4ms)  SELECT name
61
- FROM sqlite_master
62
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
63
- 
64
- SQL (0.4ms)  SELECT name
65
- FROM sqlite_master
66
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
67
- 
68
- SQL (0.4ms)  SELECT name
69
- FROM sqlite_master
70
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
71
- 
72
- SQL (0.5ms)  SELECT name
73
- FROM sqlite_master
74
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
75
- 
76
- SQL (0.4ms)  SELECT name
77
- FROM sqlite_master
78
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
79
- 
80
- SQL (0.4ms)  SELECT name
81
- FROM sqlite_master
82
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
83
- 
84
- SQL (0.5ms)  SELECT name
85
- FROM sqlite_master
86
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
87
- 
88
- SQL (0.4ms)  SELECT name
89
- FROM sqlite_master
90
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
91
- 
92
- SQL (0.6ms)  SELECT name
93
- FROM sqlite_master
94
- WHERE type = 'table' AND NOT name = 'sqlite_sequence'
95
- 
@@ -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>
@@ -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>
@@ -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
@@ -1,2 +0,0 @@
1
- // Place your application-specific JavaScript functions and classes here
2
- // This file is automatically included by javascript_include_tag :defaults