inbox 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -2
  3. data/README.md +38 -34
  4. data/Rakefile +2 -1
  5. data/VERSION +1 -1
  6. data/inbox.gemspec +7 -196
  7. data/lib/calendar.rb +16 -0
  8. data/lib/draft.rb +2 -2
  9. data/lib/event.rb +14 -0
  10. data/lib/file.rb +1 -1
  11. data/lib/inbox.rb +10 -10
  12. data/lib/message.rb +2 -9
  13. data/lib/restful_model.rb +4 -4
  14. data/lib/restful_model_collection.rb +7 -6
  15. data/lib/thread.rb +2 -8
  16. data/spec/inbox_spec.rb +3 -3
  17. data/spec/restful_model_spec.rb +3 -2
  18. metadata +6 -668
  19. data/example/Gemfile +0 -39
  20. data/example/README.rdoc +0 -28
  21. data/example/Rakefile +0 -6
  22. data/example/app/assets/images/.keep +0 -0
  23. data/example/app/assets/javascripts/application.js +0 -16
  24. data/example/app/assets/javascripts/welcome.js.coffee +0 -3
  25. data/example/app/assets/stylesheets/application.css +0 -15
  26. data/example/app/assets/stylesheets/welcome.css.scss +0 -3
  27. data/example/app/controllers/application_controller.rb +0 -61
  28. data/example/app/controllers/concerns/.keep +0 -0
  29. data/example/app/helpers/application_helper.rb +0 -2
  30. data/example/app/helpers/welcome_helper.rb +0 -2
  31. data/example/app/mailers/.keep +0 -0
  32. data/example/app/models/.keep +0 -0
  33. data/example/app/models/concerns/.keep +0 -0
  34. data/example/app/views/layouts/application.html.erb +0 -14
  35. data/example/app/views/welcome/index.html.erb +0 -2
  36. data/example/bin/bundle +0 -3
  37. data/example/bin/rails +0 -8
  38. data/example/bin/rake +0 -8
  39. data/example/bin/spring +0 -18
  40. data/example/config/application.rb +0 -23
  41. data/example/config/boot.rb +0 -4
  42. data/example/config/database.yml +0 -25
  43. data/example/config/environment.rb +0 -5
  44. data/example/config/environments/development.rb +0 -39
  45. data/example/config/environments/production.rb +0 -82
  46. data/example/config/environments/test.rb +0 -41
  47. data/example/config/initializers/assets.rb +0 -8
  48. data/example/config/initializers/backtrace_silencers.rb +0 -7
  49. data/example/config/initializers/cookies_serializer.rb +0 -3
  50. data/example/config/initializers/filter_parameter_logging.rb +0 -4
  51. data/example/config/initializers/inflections.rb +0 -16
  52. data/example/config/initializers/mime_types.rb +0 -4
  53. data/example/config/initializers/session_store.rb +0 -3
  54. data/example/config/initializers/wrap_parameters.rb +0 -14
  55. data/example/config/locales/en.yml +0 -23
  56. data/example/config/routes.rb +0 -59
  57. data/example/config/secrets.yml +0 -22
  58. data/example/config.ru +0 -4
  59. data/example/db/seeds.rb +0 -7
  60. data/example/lib/assets/.keep +0 -0
  61. data/example/lib/tasks/.keep +0 -0
  62. data/example/log/.keep +0 -0
  63. data/example/public/404.html +0 -67
  64. data/example/public/422.html +0 -67
  65. data/example/public/500.html +0 -66
  66. data/example/public/favicon.ico +0 -0
  67. data/example/public/robots.txt +0 -5
  68. data/example/test/controllers/.keep +0 -0
  69. data/example/test/controllers/welcome_controller_test.rb +0 -9
  70. data/example/test/fixtures/.keep +0 -0
  71. data/example/test/fixtures/users.yml +0 -11
  72. data/example/test/helpers/.keep +0 -0
  73. data/example/test/helpers/welcome_helper_test.rb +0 -4
  74. data/example/test/integration/.keep +0 -0
  75. data/example/test/mailers/.keep +0 -0
  76. data/example/test/models/.keep +0 -0
  77. data/example/test/models/user_test.rb +0 -7
  78. data/example/test/test_helper.rb +0 -10
  79. data/example/vendor/assets/javascripts/.keep +0 -0
  80. data/example/vendor/assets/stylesheets/.keep +0 -0
@@ -1,22 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- development:
14
- secret_key_base: c5e165737dc6ce78b41b6e15feb145e5cd5b2e978366651604f5e0f5ae6a5d6aace3e92e18f863a654c0e86bd031f7193fc8461c141b1ebf1fe651ef97ec1463
15
-
16
- test:
17
- secret_key_base: e39f130cf33a02796a68ec0b0be8a89838eccdbef42c3c4299c7ccdda7920d5c4a2aa6b5c03c954373f8755e690317bbb23d257e9a9480d6d284adc95fc93224
18
-
19
- # Do not keep production secrets in the repository,
20
- # instead read values from the environment.
21
- production:
22
- secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
data/example/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 Rails.application
data/example/db/seeds.rb DELETED
@@ -1,7 +0,0 @@
1
- # This file should contain all the record creation needed to seed the database with its default values.
2
- # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
- #
4
- # Examples:
5
- #
6
- # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
- # Mayor.create(name: 'Emanuel', city: cities.first)
File without changes
File without changes
data/example/log/.keep DELETED
File without changes
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/404.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The page you were looking for doesn't exist.</h1>
62
- <p>You may have mistyped the address or the page may have moved.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/422.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>The change you wanted was rejected.</h1>
62
- <p>Maybe you tried to change something you didn't have access to.</p>
63
- </div>
64
- <p>If you are the application owner check the logs for more information.</p>
65
- </div>
66
- </body>
67
- </html>
@@ -1,66 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
- <style>
7
- body {
8
- background-color: #EFEFEF;
9
- color: #2E2F30;
10
- text-align: center;
11
- font-family: arial, sans-serif;
12
- margin: 0;
13
- }
14
-
15
- div.dialog {
16
- width: 95%;
17
- max-width: 33em;
18
- margin: 4em auto 0;
19
- }
20
-
21
- div.dialog > div {
22
- border: 1px solid #CCC;
23
- border-right-color: #999;
24
- border-left-color: #999;
25
- border-bottom-color: #BBB;
26
- border-top: #B00100 solid 4px;
27
- border-top-left-radius: 9px;
28
- border-top-right-radius: 9px;
29
- background-color: white;
30
- padding: 7px 12% 0;
31
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
- }
33
-
34
- h1 {
35
- font-size: 100%;
36
- color: #730E15;
37
- line-height: 1.5em;
38
- }
39
-
40
- div.dialog > p {
41
- margin: 0 0 1em;
42
- padding: 1em;
43
- background-color: #F7F7F7;
44
- border: 1px solid #CCC;
45
- border-right-color: #999;
46
- border-left-color: #999;
47
- border-bottom-color: #999;
48
- border-bottom-left-radius: 4px;
49
- border-bottom-right-radius: 4px;
50
- border-top-color: #DADADA;
51
- color: #666;
52
- box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
- }
54
- </style>
55
- </head>
56
-
57
- <body>
58
- <!-- This file lives in public/500.html -->
59
- <div class="dialog">
60
- <div>
61
- <h1>We're sorry, but something went wrong.</h1>
62
- </div>
63
- <p>If you are the application owner check the logs for more information.</p>
64
- </div>
65
- </body>
66
- </html>
File without changes
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-agent: *
5
- # Disallow: /
File without changes
@@ -1,9 +0,0 @@
1
- require 'test_helper'
2
-
3
- class WelcomeControllerTest < ActionController::TestCase
4
- test "should get index" do
5
- get :index
6
- assert_response :success
7
- end
8
-
9
- end
File without changes
@@ -1,11 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
-
3
- # This model initially had no columns defined. If you add columns to the
4
- # model remove the '{}' from the fixture names and add the columns immediately
5
- # below each fixture, per the syntax in the comments below
6
- #
7
- one: {}
8
- # column: value
9
- #
10
- two: {}
11
- # column: value
File without changes
@@ -1,4 +0,0 @@
1
- require 'test_helper'
2
-
3
- class WelcomeHelperTest < ActionView::TestCase
4
- end
File without changes
File without changes
File without changes
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class UserTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,10 +0,0 @@
1
- ENV['RAILS_ENV'] ||= 'test'
2
- require File.expand_path('../../config/environment', __FILE__)
3
- require 'rails/test_help'
4
-
5
- class ActiveSupport::TestCase
6
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
7
- fixtures :all
8
-
9
- # Add more helper methods to be used by all tests here...
10
- end
File without changes
File without changes