mingle 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/mingle/facebook.rb +13 -1
  3. data/app/models/mingle/facebook/post.rb +1 -34
  4. data/app/models/mingle/instagram.rb +12 -0
  5. data/app/models/mingle/instagram/photo.rb +1 -26
  6. data/app/models/mingle/twitter.rb +15 -2
  7. data/app/models/mingle/twitter/tweet.rb +1 -24
  8. data/db/migrate/20140403083806_add_url_to_mingle_twitter_tweets.rb +5 -0
  9. data/lib/generators/mingle/install/USAGE +9 -0
  10. data/lib/generators/mingle/install/install_generator.rb +7 -0
  11. data/lib/generators/mingle/install/templates/mingle_config.rb +8 -0
  12. data/lib/mingle.rb +16 -0
  13. data/lib/mingle/concerns.rb +3 -0
  14. data/lib/mingle/concerns/models.rb +5 -0
  15. data/lib/mingle/concerns/models/facebook.rb +3 -0
  16. data/lib/mingle/concerns/models/facebook/post.rb +40 -0
  17. data/lib/mingle/concerns/models/instagram.rb +3 -0
  18. data/lib/mingle/concerns/models/instagram/photo.rb +20 -0
  19. data/lib/mingle/concerns/models/twitter.rb +3 -0
  20. data/lib/mingle/concerns/models/twitter/tweet.rb +26 -0
  21. data/lib/mingle/configuration.rb +28 -5
  22. data/lib/mingle/engine.rb +4 -0
  23. data/lib/mingle/version.rb +1 -1
  24. data/spec/dummy/db/development.sqlite3 +0 -0
  25. data/spec/dummy/db/test.sqlite3 +0 -0
  26. data/spec/dummy/log/test.log +6458 -0
  27. data/spec/lib/mingle/configuration_spec.rb +28 -5
  28. data/spec/lib/mingle_spec.rb +15 -0
  29. data/spec/models/mingle/facebook_spec.rb +12 -0
  30. data/spec/models/mingle/instagram_spec.rb +15 -6
  31. data/spec/models/mingle/twitter/tweet_spec.rb +8 -0
  32. data/spec/models/mingle/twitter_spec.rb +20 -2
  33. metadata +66 -54
  34. data/MIT-LICENSE +0 -20
  35. data/app/assets/javascripts/mingle/application.js +0 -13
  36. data/app/assets/stylesheets/mingle/application.css +0 -15
  37. data/app/controllers/mingle/application_controller.rb +0 -4
  38. data/app/helpers/mingle/application_helper.rb +0 -4
  39. data/app/views/layouts/mingle/application.html.erb +0 -14
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,4 +0,0 @@
1
- module Mingle
2
- class ApplicationController < ActionController::Base
3
- end
4
- end
@@ -1,4 +0,0 @@
1
- module Mingle
2
- module ApplicationHelper
3
- end
4
- end
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Mingle</title>
5
- <%= stylesheet_link_tag "mingle/application", media: "all" %>
6
- <%= javascript_include_tag "mingle/application" %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>