memojs 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +24 -0
  3. data/Gemfile +2 -0
  4. data/Gemfile.lock +55 -0
  5. data/LICENSE +21 -0
  6. data/README.md +42 -0
  7. data/lib/assets/javascripts/memojs.coffee +30 -0
  8. data/lib/memojs.rb +7 -0
  9. data/lib/memojs/version.rb +3 -0
  10. data/memojs.gemspec +31 -0
  11. data/test/dummy/.gitignore +16 -0
  12. data/test/dummy/Gemfile +12 -0
  13. data/test/dummy/Gemfile.lock +97 -0
  14. data/test/dummy/README.rdoc +28 -0
  15. data/test/dummy/Rakefile +6 -0
  16. data/test/dummy/app/assets/images/.keep +0 -0
  17. data/test/dummy/app/assets/javascripts/application.js +14 -0
  18. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  19. data/test/dummy/app/controllers/application_controller.rb +5 -0
  20. data/test/dummy/app/controllers/concerns/.keep +0 -0
  21. data/test/dummy/app/controllers/home_controller.rb +7 -0
  22. data/test/dummy/app/helpers/application_helper.rb +2 -0
  23. data/test/dummy/app/mailers/.keep +0 -0
  24. data/test/dummy/app/models/.keep +0 -0
  25. data/test/dummy/app/models/concerns/.keep +0 -0
  26. data/test/dummy/app/views/home/index.html +2 -0
  27. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  28. data/test/dummy/bin/bundle +3 -0
  29. data/test/dummy/bin/rails +4 -0
  30. data/test/dummy/bin/rake +4 -0
  31. data/test/dummy/config.ru +4 -0
  32. data/test/dummy/config/application.rb +23 -0
  33. data/test/dummy/config/boot.rb +4 -0
  34. data/test/dummy/config/database.yml +25 -0
  35. data/test/dummy/config/environment.rb +5 -0
  36. data/test/dummy/config/environments/development.rb +29 -0
  37. data/test/dummy/config/environments/production.rb +80 -0
  38. data/test/dummy/config/environments/test.rb +36 -0
  39. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  41. data/test/dummy/config/initializers/inflections.rb +16 -0
  42. data/test/dummy/config/initializers/mime_types.rb +5 -0
  43. data/test/dummy/config/initializers/secret_token.rb +12 -0
  44. data/test/dummy/config/initializers/session_store.rb +3 -0
  45. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/test/dummy/config/locales/en.yml +23 -0
  47. data/test/dummy/config/routes.rb +3 -0
  48. data/test/dummy/db/seeds.rb +7 -0
  49. data/test/dummy/lib/assets/.keep +0 -0
  50. data/test/dummy/lib/tasks/.keep +0 -0
  51. data/test/dummy/log/.keep +0 -0
  52. data/test/dummy/public/404.html +58 -0
  53. data/test/dummy/public/422.html +58 -0
  54. data/test/dummy/public/500.html +57 -0
  55. data/test/dummy/public/favicon.ico +0 -0
  56. data/test/dummy/public/robots.txt +5 -0
  57. data/test/dummy/test/controllers/.keep +0 -0
  58. data/test/dummy/test/fixtures/.keep +0 -0
  59. data/test/dummy/test/helpers/.keep +0 -0
  60. data/test/dummy/test/integration/.keep +0 -0
  61. data/test/dummy/test/mailers/.keep +0 -0
  62. data/test/dummy/test/models/.keep +0 -0
  63. data/test/dummy/test/test_helper.rb +15 -0
  64. data/test/dummy/vendor/assets/javascripts/.keep +0 -0
  65. data/test/dummy/vendor/assets/stylesheets/.keep +0 -0
  66. metadata +229 -0
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes
@@ -0,0 +1,5 @@
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
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,15 @@
1
+ ENV["RAILS_ENV"] ||= "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ ActiveRecord::Migration.check_pending!
7
+
8
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
9
+ #
10
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
11
+ # -- they do not yet inherit this setting
12
+ fixtures :all
13
+
14
+ # Add more helper methods to be used by all tests here...
15
+ end
metadata ADDED
@@ -0,0 +1,229 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: memojs
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Niels Buus
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-04-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: coffee-rails
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.5'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.5'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ description: |2+
76
+ To use it, you must require memojs in your JavaScript manifest. Add this line to your application.js file:
77
+
78
+ //= require memojs
79
+
80
+ email:
81
+ - nielsbuus@gmail.com
82
+ executables: []
83
+ extensions: []
84
+ extra_rdoc_files: []
85
+ files:
86
+ - ".gitignore"
87
+ - Gemfile
88
+ - Gemfile.lock
89
+ - LICENSE
90
+ - README.md
91
+ - lib/assets/javascripts/memojs.coffee
92
+ - lib/memojs.rb
93
+ - lib/memojs/version.rb
94
+ - memojs.gemspec
95
+ - test/dummy/.gitignore
96
+ - test/dummy/Gemfile
97
+ - test/dummy/Gemfile.lock
98
+ - test/dummy/README.rdoc
99
+ - test/dummy/Rakefile
100
+ - test/dummy/app/assets/images/.keep
101
+ - test/dummy/app/assets/javascripts/application.js
102
+ - test/dummy/app/assets/stylesheets/application.css
103
+ - test/dummy/app/controllers/application_controller.rb
104
+ - test/dummy/app/controllers/concerns/.keep
105
+ - test/dummy/app/controllers/home_controller.rb
106
+ - test/dummy/app/helpers/application_helper.rb
107
+ - test/dummy/app/mailers/.keep
108
+ - test/dummy/app/models/.keep
109
+ - test/dummy/app/models/concerns/.keep
110
+ - test/dummy/app/views/home/index.html
111
+ - test/dummy/app/views/layouts/application.html.erb
112
+ - test/dummy/bin/bundle
113
+ - test/dummy/bin/rails
114
+ - test/dummy/bin/rake
115
+ - test/dummy/config.ru
116
+ - test/dummy/config/application.rb
117
+ - test/dummy/config/boot.rb
118
+ - test/dummy/config/database.yml
119
+ - test/dummy/config/environment.rb
120
+ - test/dummy/config/environments/development.rb
121
+ - test/dummy/config/environments/production.rb
122
+ - test/dummy/config/environments/test.rb
123
+ - test/dummy/config/initializers/backtrace_silencers.rb
124
+ - test/dummy/config/initializers/filter_parameter_logging.rb
125
+ - test/dummy/config/initializers/inflections.rb
126
+ - test/dummy/config/initializers/mime_types.rb
127
+ - test/dummy/config/initializers/secret_token.rb
128
+ - test/dummy/config/initializers/session_store.rb
129
+ - test/dummy/config/initializers/wrap_parameters.rb
130
+ - test/dummy/config/locales/en.yml
131
+ - test/dummy/config/routes.rb
132
+ - test/dummy/db/seeds.rb
133
+ - test/dummy/lib/assets/.keep
134
+ - test/dummy/lib/tasks/.keep
135
+ - test/dummy/log/.keep
136
+ - test/dummy/public/404.html
137
+ - test/dummy/public/422.html
138
+ - test/dummy/public/500.html
139
+ - test/dummy/public/favicon.ico
140
+ - test/dummy/public/robots.txt
141
+ - test/dummy/test/controllers/.keep
142
+ - test/dummy/test/fixtures/.keep
143
+ - test/dummy/test/helpers/.keep
144
+ - test/dummy/test/integration/.keep
145
+ - test/dummy/test/mailers/.keep
146
+ - test/dummy/test/models/.keep
147
+ - test/dummy/test/test_helper.rb
148
+ - test/dummy/vendor/assets/javascripts/.keep
149
+ - test/dummy/vendor/assets/stylesheets/.keep
150
+ homepage: http://github.com/lokalebasen/memojs
151
+ licenses:
152
+ - MIT
153
+ metadata: {}
154
+ post_install_message:
155
+ rdoc_options: []
156
+ require_paths:
157
+ - lib
158
+ required_ruby_version: !ruby/object:Gem::Requirement
159
+ requirements:
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ requirements: []
169
+ rubyforge_project:
170
+ rubygems_version: 2.2.2
171
+ signing_key:
172
+ specification_version: 4
173
+ summary: A lightweight wrapper for the localStorage API packaged as a Rails asset
174
+ test_files:
175
+ - test/dummy/.gitignore
176
+ - test/dummy/Gemfile
177
+ - test/dummy/Gemfile.lock
178
+ - test/dummy/README.rdoc
179
+ - test/dummy/Rakefile
180
+ - test/dummy/app/assets/images/.keep
181
+ - test/dummy/app/assets/javascripts/application.js
182
+ - test/dummy/app/assets/stylesheets/application.css
183
+ - test/dummy/app/controllers/application_controller.rb
184
+ - test/dummy/app/controllers/concerns/.keep
185
+ - test/dummy/app/controllers/home_controller.rb
186
+ - test/dummy/app/helpers/application_helper.rb
187
+ - test/dummy/app/mailers/.keep
188
+ - test/dummy/app/models/.keep
189
+ - test/dummy/app/models/concerns/.keep
190
+ - test/dummy/app/views/home/index.html
191
+ - test/dummy/app/views/layouts/application.html.erb
192
+ - test/dummy/bin/bundle
193
+ - test/dummy/bin/rails
194
+ - test/dummy/bin/rake
195
+ - test/dummy/config.ru
196
+ - test/dummy/config/application.rb
197
+ - test/dummy/config/boot.rb
198
+ - test/dummy/config/database.yml
199
+ - test/dummy/config/environment.rb
200
+ - test/dummy/config/environments/development.rb
201
+ - test/dummy/config/environments/production.rb
202
+ - test/dummy/config/environments/test.rb
203
+ - test/dummy/config/initializers/backtrace_silencers.rb
204
+ - test/dummy/config/initializers/filter_parameter_logging.rb
205
+ - test/dummy/config/initializers/inflections.rb
206
+ - test/dummy/config/initializers/mime_types.rb
207
+ - test/dummy/config/initializers/secret_token.rb
208
+ - test/dummy/config/initializers/session_store.rb
209
+ - test/dummy/config/initializers/wrap_parameters.rb
210
+ - test/dummy/config/locales/en.yml
211
+ - test/dummy/config/routes.rb
212
+ - test/dummy/db/seeds.rb
213
+ - test/dummy/lib/assets/.keep
214
+ - test/dummy/lib/tasks/.keep
215
+ - test/dummy/log/.keep
216
+ - test/dummy/public/404.html
217
+ - test/dummy/public/422.html
218
+ - test/dummy/public/500.html
219
+ - test/dummy/public/favicon.ico
220
+ - test/dummy/public/robots.txt
221
+ - test/dummy/test/controllers/.keep
222
+ - test/dummy/test/fixtures/.keep
223
+ - test/dummy/test/helpers/.keep
224
+ - test/dummy/test/integration/.keep
225
+ - test/dummy/test/mailers/.keep
226
+ - test/dummy/test/models/.keep
227
+ - test/dummy/test/test_helper.rb
228
+ - test/dummy/vendor/assets/javascripts/.keep
229
+ - test/dummy/vendor/assets/stylesheets/.keep