certify 0.0.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 (98) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +55 -0
  4. data/app/assets/javascripts/certify/application.js +15 -0
  5. data/app/assets/javascripts/certify/authorities.js +2 -0
  6. data/app/assets/javascripts/certify/certificates.js +2 -0
  7. data/app/assets/stylesheets/certify/application.css +13 -0
  8. data/app/assets/stylesheets/certify/authorities.css +4 -0
  9. data/app/assets/stylesheets/certify/certificates.css +4 -0
  10. data/app/assets/stylesheets/scaffold.css +56 -0
  11. data/app/controllers/certify/application_controller.rb +4 -0
  12. data/app/controllers/certify/authorities_controller.rb +64 -0
  13. data/app/controllers/certify/certificates_controller.rb +70 -0
  14. data/app/helpers/certify/application_helper.rb +4 -0
  15. data/app/helpers/certify/authorities_helper.rb +4 -0
  16. data/app/helpers/certify/certificates_helper.rb +4 -0
  17. data/app/models/certify/authority.rb +133 -0
  18. data/app/models/certify/certificate.rb +51 -0
  19. data/app/views/certify/authorities/_form.html.erb +45 -0
  20. data/app/views/certify/authorities/index.html.erb +24 -0
  21. data/app/views/certify/authorities/new.html.erb +5 -0
  22. data/app/views/certify/authorities/show.html.erb +61 -0
  23. data/app/views/certify/certificates/_form.html.erb +29 -0
  24. data/app/views/certify/certificates/edit.html.erb +6 -0
  25. data/app/views/certify/certificates/new.html.erb +24 -0
  26. data/app/views/certify/certificates/show.html.erb +18 -0
  27. data/app/views/layouts/certify/application.html.erb +14 -0
  28. data/config/initializers/certify_helpers.rb +7 -0
  29. data/config/routes.rb +10 -0
  30. data/db/migrate/20120421191150_create_certify_authorities.rb +10 -0
  31. data/db/migrate/20120421193104_create_certify_certificates.rb +11 -0
  32. data/lib/certify/engine.rb +5 -0
  33. data/lib/certify/version.rb +3 -0
  34. data/lib/certify.rb +4 -0
  35. data/lib/tasks/certify_tasks.rake +4 -0
  36. data/test/certify_test.rb +7 -0
  37. data/test/dummy/README.rdoc +261 -0
  38. data/test/dummy/Rakefile +7 -0
  39. data/test/dummy/app/assets/javascripts/application.js +15 -0
  40. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  41. data/test/dummy/app/controllers/application_controller.rb +3 -0
  42. data/test/dummy/app/helpers/application_helper.rb +2 -0
  43. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  44. data/test/dummy/config/application.rb +56 -0
  45. data/test/dummy/config/boot.rb +10 -0
  46. data/test/dummy/config/database.yml +25 -0
  47. data/test/dummy/config/environment.rb +5 -0
  48. data/test/dummy/config/environments/development.rb +37 -0
  49. data/test/dummy/config/environments/production.rb +67 -0
  50. data/test/dummy/config/environments/test.rb +37 -0
  51. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  52. data/test/dummy/config/initializers/inflections.rb +15 -0
  53. data/test/dummy/config/initializers/mime_types.rb +5 -0
  54. data/test/dummy/config/initializers/secret_token.rb +7 -0
  55. data/test/dummy/config/initializers/session_store.rb +8 -0
  56. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  57. data/test/dummy/config/locales/en.yml +5 -0
  58. data/test/dummy/config/routes.rb +4 -0
  59. data/test/dummy/config.ru +4 -0
  60. data/test/dummy/db/development.sqlite3 +0 -0
  61. data/test/dummy/db/schema.rb +32 -0
  62. data/test/dummy/db/test.sqlite3 +0 -0
  63. data/test/dummy/log/development.log +7598 -0
  64. data/test/dummy/log/test.log +219 -0
  65. data/test/dummy/public/404.html +26 -0
  66. data/test/dummy/public/422.html +26 -0
  67. data/test/dummy/public/500.html +25 -0
  68. data/test/dummy/public/favicon.ico +0 -0
  69. data/test/dummy/script/rails +6 -0
  70. data/test/dummy/tmp/cache/assets/CB6/030/sprockets%2F775fc1bd751301d4927737b307c89ac7 +0 -0
  71. data/test/dummy/tmp/cache/assets/CB9/AE0/sprockets%2F4a4ada8738e3e94519b45230993e362f +0 -0
  72. data/test/dummy/tmp/cache/assets/D13/A70/sprockets%2F9a0b998930150626fe3b797bbd12dfd1 +0 -0
  73. data/test/dummy/tmp/cache/assets/D16/EC0/sprockets%2F8bab9b8821aa75f983875a4bd01588b0 +0 -0
  74. data/test/dummy/tmp/cache/assets/D19/FE0/sprockets%2Fd328975fb93d34ecd25215acc964076f +0 -0
  75. data/test/dummy/tmp/cache/assets/D1B/170/sprockets%2Fafe11ecf2cc7a6f6678864f884501424 +0 -0
  76. data/test/dummy/tmp/cache/assets/D1C/B20/sprockets%2F00670b9787d694f37cb29eefe470ca61 +0 -0
  77. data/test/dummy/tmp/cache/assets/D27/4B0/sprockets%2F7a813da99da2f1f34f1ce3c0031e1240 +0 -0
  78. data/test/dummy/tmp/cache/assets/D3D/FB0/sprockets%2Fc0702248e63540fef5eae5f55f3eb541 +0 -0
  79. data/test/dummy/tmp/cache/assets/D44/9C0/sprockets%2F059b7f1796e5ecacb822b01b3d86992b +0 -0
  80. data/test/dummy/tmp/cache/assets/D44/D90/sprockets%2Fe8c4cd2cadb7097c6330b29298840a9e +0 -0
  81. data/test/dummy/tmp/cache/assets/D45/9E0/sprockets%2Ff00a8d8913f43c497ea6c062519cef7b +0 -0
  82. data/test/dummy/tmp/cache/assets/D62/DF0/sprockets%2F3acf41c1f03d1d25f94944d7616ac3ac +0 -0
  83. data/test/dummy/tmp/cache/assets/D65/3F0/sprockets%2F98a86ab032e4ae420ba5e53730af6ed7 +0 -0
  84. data/test/dummy/tmp/cache/assets/D92/F80/sprockets%2Fbaf0af64d62bd10af2761f52f4c42f57 +0 -0
  85. data/test/dummy/tmp/cache/assets/DDB/300/sprockets%2F592980ebf604de84ff6e4dc63aff51bb +0 -0
  86. data/test/dummy/tmp/cache/assets/E14/280/sprockets%2Febb1c4d0a16a2df2c9e7bdd6c0053a7a +0 -0
  87. data/test/dummy/tmp/cache/assets/E60/490/sprockets%2F17edcb20bffd48ab56be79dc15fad6b9 +0 -0
  88. data/test/fixtures/certify/authorities.yml +0 -0
  89. data/test/fixtures/certify/certificates.yml +0 -0
  90. data/test/functional/certify/authorities_controller_test.rb +7 -0
  91. data/test/functional/certify/certificates_controller_test.rb +7 -0
  92. data/test/integration/navigation_test.rb +6 -0
  93. data/test/test_helper.rb +15 -0
  94. data/test/unit/certify/authority_test.rb +20 -0
  95. data/test/unit/certify/certificate_test.rb +39 -0
  96. data/test/unit/helpers/certify/authorities_helper_test.rb +6 -0
  97. data/test/unit/helpers/certify/certificates_helper_test.rb +6 -0
  98. metadata +238 -0
metadata ADDED
@@ -0,0 +1,238 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: certify
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dirk Eisenberg
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-04-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.3
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: sqlite3
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: Certify is a Ruby on Rails / OpenSSL based CA engine which can be mounted
47
+ in every rails application of your choice!
48
+ email:
49
+ - dirk.eisenberg@gmail.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - app/assets/javascripts/certify/application.js
55
+ - app/assets/javascripts/certify/authorities.js
56
+ - app/assets/javascripts/certify/certificates.js
57
+ - app/assets/stylesheets/certify/application.css
58
+ - app/assets/stylesheets/certify/authorities.css
59
+ - app/assets/stylesheets/certify/certificates.css
60
+ - app/assets/stylesheets/scaffold.css
61
+ - app/controllers/certify/application_controller.rb
62
+ - app/controllers/certify/authorities_controller.rb
63
+ - app/controllers/certify/certificates_controller.rb
64
+ - app/helpers/certify/application_helper.rb
65
+ - app/helpers/certify/authorities_helper.rb
66
+ - app/helpers/certify/certificates_helper.rb
67
+ - app/models/certify/authority.rb
68
+ - app/models/certify/certificate.rb
69
+ - app/views/certify/authorities/_form.html.erb
70
+ - app/views/certify/authorities/index.html.erb
71
+ - app/views/certify/authorities/new.html.erb
72
+ - app/views/certify/authorities/show.html.erb
73
+ - app/views/certify/certificates/_form.html.erb
74
+ - app/views/certify/certificates/edit.html.erb
75
+ - app/views/certify/certificates/new.html.erb
76
+ - app/views/certify/certificates/show.html.erb
77
+ - app/views/layouts/certify/application.html.erb
78
+ - config/initializers/certify_helpers.rb
79
+ - config/routes.rb
80
+ - db/migrate/20120421191150_create_certify_authorities.rb
81
+ - db/migrate/20120421193104_create_certify_certificates.rb
82
+ - lib/certify/engine.rb
83
+ - lib/certify/version.rb
84
+ - lib/certify.rb
85
+ - lib/tasks/certify_tasks.rake
86
+ - MIT-LICENSE
87
+ - Rakefile
88
+ - README.rdoc
89
+ - test/certify_test.rb
90
+ - test/dummy/app/assets/javascripts/application.js
91
+ - test/dummy/app/assets/stylesheets/application.css
92
+ - test/dummy/app/controllers/application_controller.rb
93
+ - test/dummy/app/helpers/application_helper.rb
94
+ - test/dummy/app/views/layouts/application.html.erb
95
+ - test/dummy/config/application.rb
96
+ - test/dummy/config/boot.rb
97
+ - test/dummy/config/database.yml
98
+ - test/dummy/config/environment.rb
99
+ - test/dummy/config/environments/development.rb
100
+ - test/dummy/config/environments/production.rb
101
+ - test/dummy/config/environments/test.rb
102
+ - test/dummy/config/initializers/backtrace_silencers.rb
103
+ - test/dummy/config/initializers/inflections.rb
104
+ - test/dummy/config/initializers/mime_types.rb
105
+ - test/dummy/config/initializers/secret_token.rb
106
+ - test/dummy/config/initializers/session_store.rb
107
+ - test/dummy/config/initializers/wrap_parameters.rb
108
+ - test/dummy/config/locales/en.yml
109
+ - test/dummy/config/routes.rb
110
+ - test/dummy/config.ru
111
+ - test/dummy/db/development.sqlite3
112
+ - test/dummy/db/schema.rb
113
+ - test/dummy/db/test.sqlite3
114
+ - test/dummy/log/development.log
115
+ - test/dummy/log/test.log
116
+ - test/dummy/public/404.html
117
+ - test/dummy/public/422.html
118
+ - test/dummy/public/500.html
119
+ - test/dummy/public/favicon.ico
120
+ - test/dummy/Rakefile
121
+ - test/dummy/README.rdoc
122
+ - test/dummy/script/rails
123
+ - test/dummy/tmp/cache/assets/CB6/030/sprockets%2F775fc1bd751301d4927737b307c89ac7
124
+ - test/dummy/tmp/cache/assets/CB9/AE0/sprockets%2F4a4ada8738e3e94519b45230993e362f
125
+ - test/dummy/tmp/cache/assets/D13/A70/sprockets%2F9a0b998930150626fe3b797bbd12dfd1
126
+ - test/dummy/tmp/cache/assets/D16/EC0/sprockets%2F8bab9b8821aa75f983875a4bd01588b0
127
+ - test/dummy/tmp/cache/assets/D19/FE0/sprockets%2Fd328975fb93d34ecd25215acc964076f
128
+ - test/dummy/tmp/cache/assets/D1B/170/sprockets%2Fafe11ecf2cc7a6f6678864f884501424
129
+ - test/dummy/tmp/cache/assets/D1C/B20/sprockets%2F00670b9787d694f37cb29eefe470ca61
130
+ - test/dummy/tmp/cache/assets/D27/4B0/sprockets%2F7a813da99da2f1f34f1ce3c0031e1240
131
+ - test/dummy/tmp/cache/assets/D3D/FB0/sprockets%2Fc0702248e63540fef5eae5f55f3eb541
132
+ - test/dummy/tmp/cache/assets/D44/9C0/sprockets%2F059b7f1796e5ecacb822b01b3d86992b
133
+ - test/dummy/tmp/cache/assets/D44/D90/sprockets%2Fe8c4cd2cadb7097c6330b29298840a9e
134
+ - test/dummy/tmp/cache/assets/D45/9E0/sprockets%2Ff00a8d8913f43c497ea6c062519cef7b
135
+ - test/dummy/tmp/cache/assets/D62/DF0/sprockets%2F3acf41c1f03d1d25f94944d7616ac3ac
136
+ - test/dummy/tmp/cache/assets/D65/3F0/sprockets%2F98a86ab032e4ae420ba5e53730af6ed7
137
+ - test/dummy/tmp/cache/assets/D92/F80/sprockets%2Fbaf0af64d62bd10af2761f52f4c42f57
138
+ - test/dummy/tmp/cache/assets/DDB/300/sprockets%2F592980ebf604de84ff6e4dc63aff51bb
139
+ - test/dummy/tmp/cache/assets/E14/280/sprockets%2Febb1c4d0a16a2df2c9e7bdd6c0053a7a
140
+ - test/dummy/tmp/cache/assets/E60/490/sprockets%2F17edcb20bffd48ab56be79dc15fad6b9
141
+ - test/fixtures/certify/authorities.yml
142
+ - test/fixtures/certify/certificates.yml
143
+ - test/functional/certify/authorities_controller_test.rb
144
+ - test/functional/certify/certificates_controller_test.rb
145
+ - test/integration/navigation_test.rb
146
+ - test/test_helper.rb
147
+ - test/unit/certify/authority_test.rb
148
+ - test/unit/certify/certificate_test.rb
149
+ - test/unit/helpers/certify/authorities_helper_test.rb
150
+ - test/unit/helpers/certify/certificates_helper_test.rb
151
+ homepage: https://github.com/dei79/certify
152
+ licenses: []
153
+ post_install_message:
154
+ rdoc_options: []
155
+ require_paths:
156
+ - lib
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
+ none: false
159
+ requirements:
160
+ - - ! '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
163
+ required_rubygems_version: !ruby/object:Gem::Requirement
164
+ none: false
165
+ requirements:
166
+ - - ! '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project:
171
+ rubygems_version: 1.8.21
172
+ signing_key:
173
+ specification_version: 3
174
+ summary: Certify is a Ruby on Rails / OpenSSL based CA engine which can be mounted
175
+ in every rails application of your choice!
176
+ test_files:
177
+ - test/certify_test.rb
178
+ - test/dummy/app/assets/javascripts/application.js
179
+ - test/dummy/app/assets/stylesheets/application.css
180
+ - test/dummy/app/controllers/application_controller.rb
181
+ - test/dummy/app/helpers/application_helper.rb
182
+ - test/dummy/app/views/layouts/application.html.erb
183
+ - test/dummy/config/application.rb
184
+ - test/dummy/config/boot.rb
185
+ - test/dummy/config/database.yml
186
+ - test/dummy/config/environment.rb
187
+ - test/dummy/config/environments/development.rb
188
+ - test/dummy/config/environments/production.rb
189
+ - test/dummy/config/environments/test.rb
190
+ - test/dummy/config/initializers/backtrace_silencers.rb
191
+ - test/dummy/config/initializers/inflections.rb
192
+ - test/dummy/config/initializers/mime_types.rb
193
+ - test/dummy/config/initializers/secret_token.rb
194
+ - test/dummy/config/initializers/session_store.rb
195
+ - test/dummy/config/initializers/wrap_parameters.rb
196
+ - test/dummy/config/locales/en.yml
197
+ - test/dummy/config/routes.rb
198
+ - test/dummy/config.ru
199
+ - test/dummy/db/development.sqlite3
200
+ - test/dummy/db/schema.rb
201
+ - test/dummy/db/test.sqlite3
202
+ - test/dummy/log/development.log
203
+ - test/dummy/log/test.log
204
+ - test/dummy/public/404.html
205
+ - test/dummy/public/422.html
206
+ - test/dummy/public/500.html
207
+ - test/dummy/public/favicon.ico
208
+ - test/dummy/Rakefile
209
+ - test/dummy/README.rdoc
210
+ - test/dummy/script/rails
211
+ - test/dummy/tmp/cache/assets/CB6/030/sprockets%2F775fc1bd751301d4927737b307c89ac7
212
+ - test/dummy/tmp/cache/assets/CB9/AE0/sprockets%2F4a4ada8738e3e94519b45230993e362f
213
+ - test/dummy/tmp/cache/assets/D13/A70/sprockets%2F9a0b998930150626fe3b797bbd12dfd1
214
+ - test/dummy/tmp/cache/assets/D16/EC0/sprockets%2F8bab9b8821aa75f983875a4bd01588b0
215
+ - test/dummy/tmp/cache/assets/D19/FE0/sprockets%2Fd328975fb93d34ecd25215acc964076f
216
+ - test/dummy/tmp/cache/assets/D1B/170/sprockets%2Fafe11ecf2cc7a6f6678864f884501424
217
+ - test/dummy/tmp/cache/assets/D1C/B20/sprockets%2F00670b9787d694f37cb29eefe470ca61
218
+ - test/dummy/tmp/cache/assets/D27/4B0/sprockets%2F7a813da99da2f1f34f1ce3c0031e1240
219
+ - test/dummy/tmp/cache/assets/D3D/FB0/sprockets%2Fc0702248e63540fef5eae5f55f3eb541
220
+ - test/dummy/tmp/cache/assets/D44/9C0/sprockets%2F059b7f1796e5ecacb822b01b3d86992b
221
+ - test/dummy/tmp/cache/assets/D44/D90/sprockets%2Fe8c4cd2cadb7097c6330b29298840a9e
222
+ - test/dummy/tmp/cache/assets/D45/9E0/sprockets%2Ff00a8d8913f43c497ea6c062519cef7b
223
+ - test/dummy/tmp/cache/assets/D62/DF0/sprockets%2F3acf41c1f03d1d25f94944d7616ac3ac
224
+ - test/dummy/tmp/cache/assets/D65/3F0/sprockets%2F98a86ab032e4ae420ba5e53730af6ed7
225
+ - test/dummy/tmp/cache/assets/D92/F80/sprockets%2Fbaf0af64d62bd10af2761f52f4c42f57
226
+ - test/dummy/tmp/cache/assets/DDB/300/sprockets%2F592980ebf604de84ff6e4dc63aff51bb
227
+ - test/dummy/tmp/cache/assets/E14/280/sprockets%2Febb1c4d0a16a2df2c9e7bdd6c0053a7a
228
+ - test/dummy/tmp/cache/assets/E60/490/sprockets%2F17edcb20bffd48ab56be79dc15fad6b9
229
+ - test/fixtures/certify/authorities.yml
230
+ - test/fixtures/certify/certificates.yml
231
+ - test/functional/certify/authorities_controller_test.rb
232
+ - test/functional/certify/certificates_controller_test.rb
233
+ - test/integration/navigation_test.rb
234
+ - test/test_helper.rb
235
+ - test/unit/certify/authority_test.rb
236
+ - test/unit/certify/certificate_test.rb
237
+ - test/unit/helpers/certify/authorities_helper_test.rb
238
+ - test/unit/helpers/certify/certificates_helper_test.rb