nps_surveys 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/app/controllers/nps_surveys/api_internal/responses_controller.rb +38 -0
  3. data/app/models/nps_surveys/response.rb +8 -0
  4. data/app/serializers/nps_surveys/response_presenter.rb +19 -0
  5. data/config/initializers/defaults.rb +5 -0
  6. data/config/initializers/mount_routes.rb +3 -0
  7. data/config/routes.rb +7 -0
  8. data/db/migrate/20160614145840_create_survey_responses.rb +13 -0
  9. data/lib/nps_surveys/engine.rb +14 -0
  10. data/lib/nps_surveys/version.rb +3 -0
  11. data/lib/nps_surveys.rb +7 -0
  12. data/spec/controllers/nps_surveys/api_internal/responses_controller_spec.rb +84 -0
  13. data/spec/dummy/README.rdoc +261 -0
  14. data/spec/dummy/Rakefile +7 -0
  15. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  16. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  17. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  18. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  19. data/spec/dummy/app/models/user.rb +2 -0
  20. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  21. data/spec/dummy/config/application.rb +65 -0
  22. data/spec/dummy/config/boot.rb +10 -0
  23. data/spec/dummy/config/database.yml +25 -0
  24. data/spec/dummy/config/environment.rb +5 -0
  25. data/spec/dummy/config/environments/development.rb +37 -0
  26. data/spec/dummy/config/environments/production.rb +67 -0
  27. data/spec/dummy/config/environments/test.rb +37 -0
  28. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  29. data/spec/dummy/config/initializers/inflections.rb +15 -0
  30. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  31. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  32. data/spec/dummy/config/initializers/session_store.rb +8 -0
  33. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  34. data/spec/dummy/config/locales/en.yml +5 -0
  35. data/spec/dummy/config/routes.rb +4 -0
  36. data/spec/dummy/config.ru +4 -0
  37. data/spec/dummy/db/migrate/20160721092137_create_users.rb +13 -0
  38. data/spec/dummy/db/schema.rb +32 -0
  39. data/spec/dummy/log/development.log +12 -0
  40. data/spec/dummy/public/404.html +26 -0
  41. data/spec/dummy/public/422.html +26 -0
  42. data/spec/dummy/public/500.html +25 -0
  43. data/spec/dummy/public/favicon.ico +0 -0
  44. data/spec/dummy/script/rails +6 -0
  45. data/spec/factories.rb +10 -0
  46. data/spec/models/nps_surveys/response_spec.rb +10 -0
  47. data/spec/spec_helper.rb +29 -0
  48. data/spec/support/api_json_parser.rb +7 -0
  49. data/spec/support/authenticated_test_helper.rb +15 -0
  50. metadata +233 -0
metadata ADDED
@@ -0,0 +1,233 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nps_surveys
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Redbooth team
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-07-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: foreigner
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.7.4
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '1.7'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.7.4
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec-rails
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rspec-its
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - '='
66
+ - !ruby/object:Gem::Version
67
+ version: 1.2.0
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '='
73
+ - !ruby/object:Gem::Version
74
+ version: 1.2.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: test-unit
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - '='
80
+ - !ruby/object:Gem::Version
81
+ version: '3.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '='
87
+ - !ruby/object:Gem::Version
88
+ version: '3.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: shoulda-matchers
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - '='
94
+ - !ruby/object:Gem::Version
95
+ version: 2.8.0
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '='
101
+ - !ruby/object:Gem::Version
102
+ version: 2.8.0
103
+ - !ruby/object:Gem::Dependency
104
+ name: factory_girl
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '4.5'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '4.5'
117
+ description: Surveys, like NPS.
118
+ email:
119
+ - support@redbooth.com
120
+ executables: []
121
+ extensions: []
122
+ extra_rdoc_files: []
123
+ files:
124
+ - app/controllers/nps_surveys/api_internal/responses_controller.rb
125
+ - app/models/nps_surveys/response.rb
126
+ - app/serializers/nps_surveys/response_presenter.rb
127
+ - config/initializers/defaults.rb
128
+ - config/initializers/mount_routes.rb
129
+ - config/routes.rb
130
+ - db/migrate/20160614145840_create_survey_responses.rb
131
+ - lib/nps_surveys.rb
132
+ - lib/nps_surveys/engine.rb
133
+ - lib/nps_surveys/version.rb
134
+ - spec/controllers/nps_surveys/api_internal/responses_controller_spec.rb
135
+ - spec/dummy/README.rdoc
136
+ - spec/dummy/Rakefile
137
+ - spec/dummy/app/assets/javascripts/application.js
138
+ - spec/dummy/app/assets/stylesheets/application.css
139
+ - spec/dummy/app/controllers/application_controller.rb
140
+ - spec/dummy/app/helpers/application_helper.rb
141
+ - spec/dummy/app/models/user.rb
142
+ - spec/dummy/app/views/layouts/application.html.erb
143
+ - spec/dummy/config.ru
144
+ - spec/dummy/config/application.rb
145
+ - spec/dummy/config/boot.rb
146
+ - spec/dummy/config/database.yml
147
+ - spec/dummy/config/environment.rb
148
+ - spec/dummy/config/environments/development.rb
149
+ - spec/dummy/config/environments/production.rb
150
+ - spec/dummy/config/environments/test.rb
151
+ - spec/dummy/config/initializers/backtrace_silencers.rb
152
+ - spec/dummy/config/initializers/inflections.rb
153
+ - spec/dummy/config/initializers/mime_types.rb
154
+ - spec/dummy/config/initializers/secret_token.rb
155
+ - spec/dummy/config/initializers/session_store.rb
156
+ - spec/dummy/config/initializers/wrap_parameters.rb
157
+ - spec/dummy/config/locales/en.yml
158
+ - spec/dummy/config/routes.rb
159
+ - spec/dummy/db/migrate/20160721092137_create_users.rb
160
+ - spec/dummy/db/schema.rb
161
+ - spec/dummy/log/development.log
162
+ - spec/dummy/public/404.html
163
+ - spec/dummy/public/422.html
164
+ - spec/dummy/public/500.html
165
+ - spec/dummy/public/favicon.ico
166
+ - spec/dummy/script/rails
167
+ - spec/factories.rb
168
+ - spec/models/nps_surveys/response_spec.rb
169
+ - spec/spec_helper.rb
170
+ - spec/support/api_json_parser.rb
171
+ - spec/support/authenticated_test_helper.rb
172
+ homepage:
173
+ licenses: []
174
+ metadata: {}
175
+ post_install_message:
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ requirements: []
190
+ rubyforge_project:
191
+ rubygems_version: 2.4.5.1
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Summary of NPS Surveys.
195
+ test_files:
196
+ - spec/controllers/nps_surveys/api_internal/responses_controller_spec.rb
197
+ - spec/dummy/app/assets/javascripts/application.js
198
+ - spec/dummy/app/assets/stylesheets/application.css
199
+ - spec/dummy/app/controllers/application_controller.rb
200
+ - spec/dummy/app/helpers/application_helper.rb
201
+ - spec/dummy/app/models/user.rb
202
+ - spec/dummy/app/views/layouts/application.html.erb
203
+ - spec/dummy/config/application.rb
204
+ - spec/dummy/config/boot.rb
205
+ - spec/dummy/config/database.yml
206
+ - spec/dummy/config/environment.rb
207
+ - spec/dummy/config/environments/development.rb
208
+ - spec/dummy/config/environments/production.rb
209
+ - spec/dummy/config/environments/test.rb
210
+ - spec/dummy/config/initializers/backtrace_silencers.rb
211
+ - spec/dummy/config/initializers/inflections.rb
212
+ - spec/dummy/config/initializers/mime_types.rb
213
+ - spec/dummy/config/initializers/secret_token.rb
214
+ - spec/dummy/config/initializers/session_store.rb
215
+ - spec/dummy/config/initializers/wrap_parameters.rb
216
+ - spec/dummy/config/locales/en.yml
217
+ - spec/dummy/config/routes.rb
218
+ - spec/dummy/config.ru
219
+ - spec/dummy/db/migrate/20160721092137_create_users.rb
220
+ - spec/dummy/db/schema.rb
221
+ - spec/dummy/log/development.log
222
+ - spec/dummy/public/404.html
223
+ - spec/dummy/public/422.html
224
+ - spec/dummy/public/500.html
225
+ - spec/dummy/public/favicon.ico
226
+ - spec/dummy/Rakefile
227
+ - spec/dummy/README.rdoc
228
+ - spec/dummy/script/rails
229
+ - spec/factories.rb
230
+ - spec/models/nps_surveys/response_spec.rb
231
+ - spec/spec_helper.rb
232
+ - spec/support/api_json_parser.rb
233
+ - spec/support/authenticated_test_helper.rb