simple_interaction-rails 0.0.5 → 0.0.7

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 (78) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +9 -0
  3. data/bin/erubis +16 -0
  4. data/bin/nokogiri +16 -0
  5. data/bin/rackup +16 -0
  6. data/bin/rake +16 -0
  7. data/bin/sprockets +16 -0
  8. data/bin/thor +16 -0
  9. data/lib/generators/interaction_generator.rb +1 -0
  10. data/lib/generators/rspec/interaction_generator.rb +9 -6
  11. data/lib/generators/templates/interaction.rb +3 -0
  12. data/lib/generators/test_unit/interaction_generator.rb +1 -1
  13. data/lib/simple_interaction/rails/version.rb +1 -1
  14. data/test/generators/interaction_generator_test.rb +20 -0
  15. data/test/generators/spec/interaction_spec_generator_test.rb +16 -0
  16. data/test/generators/test_unit/interaction_generator_test_unit_test.rb +19 -0
  17. data/test/rails_app/.gitignore +13 -0
  18. data/test/rails_app/Gemfile +43 -0
  19. data/test/rails_app/Gemfile.lock +154 -0
  20. data/test/rails_app/README.rdoc +28 -0
  21. data/test/rails_app/Rakefile +6 -0
  22. data/test/rails_app/app/assets/images/.keep +0 -0
  23. data/test/rails_app/app/assets/javascripts/application.js +16 -0
  24. data/test/rails_app/app/assets/stylesheets/application.css +15 -0
  25. data/test/rails_app/app/controllers/application_controller.rb +5 -0
  26. data/test/rails_app/app/controllers/concerns/.keep +0 -0
  27. data/test/rails_app/app/helpers/application_helper.rb +2 -0
  28. data/test/rails_app/app/mailers/.keep +0 -0
  29. data/test/rails_app/app/models/.keep +0 -0
  30. data/test/rails_app/app/models/concerns/.keep +0 -0
  31. data/test/rails_app/app/views/layouts/application.html.erb +14 -0
  32. data/test/rails_app/bin/bundle +3 -0
  33. data/test/rails_app/bin/rails +8 -0
  34. data/test/rails_app/bin/rake +8 -0
  35. data/test/rails_app/bin/setup +29 -0
  36. data/test/rails_app/bin/spring +15 -0
  37. data/test/rails_app/config/application.rb +34 -0
  38. data/test/rails_app/config/boot.rb +3 -0
  39. data/test/rails_app/config/environment.rb +5 -0
  40. data/test/rails_app/config/environments/development.rb +38 -0
  41. data/test/rails_app/config/environments/production.rb +76 -0
  42. data/test/rails_app/config/environments/test.rb +42 -0
  43. data/test/rails_app/config/initializers/assets.rb +11 -0
  44. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  45. data/test/rails_app/config/initializers/cookies_serializer.rb +3 -0
  46. data/test/rails_app/config/initializers/filter_parameter_logging.rb +4 -0
  47. data/test/rails_app/config/initializers/inflections.rb +16 -0
  48. data/test/rails_app/config/initializers/mime_types.rb +4 -0
  49. data/test/rails_app/config/initializers/session_store.rb +3 -0
  50. data/test/rails_app/config/initializers/wrap_parameters.rb +9 -0
  51. data/test/rails_app/config/locales/en.yml +23 -0
  52. data/test/rails_app/config/routes.rb +56 -0
  53. data/test/rails_app/config/secrets.yml +22 -0
  54. data/test/rails_app/config.ru +4 -0
  55. data/test/rails_app/db/seeds.rb +7 -0
  56. data/test/rails_app/lib/assets/.keep +0 -0
  57. data/test/rails_app/lib/tasks/.keep +0 -0
  58. data/test/rails_app/log/.keep +0 -0
  59. data/test/rails_app/public/404.html +67 -0
  60. data/test/rails_app/public/422.html +67 -0
  61. data/test/rails_app/public/500.html +66 -0
  62. data/test/rails_app/public/favicon.ico +0 -0
  63. data/test/rails_app/public/robots.txt +5 -0
  64. data/test/rails_app/test/controllers/.keep +0 -0
  65. data/test/rails_app/test/fixtures/.keep +0 -0
  66. data/test/rails_app/test/helpers/.keep +0 -0
  67. data/test/rails_app/test/integration/.keep +0 -0
  68. data/test/rails_app/test/mailers/.keep +0 -0
  69. data/test/rails_app/test/models/.keep +0 -0
  70. data/test/rails_app/test/test_helper.rb +7 -0
  71. data/test/rails_app/vendor/assets/javascripts/.keep +0 -0
  72. data/test/rails_app/vendor/assets/stylesheets/.keep +0 -0
  73. data/test/test_helper.rb +9 -0
  74. data/test/tmp/app/interactions/users/create.rb +9 -0
  75. data/test/tmp/spec/spec/interactions/users/create_spec.rb +5 -0
  76. data/test/tmp/test/test/interactions/users/create_test.rb +11 -0
  77. metadata +140 -4
  78. /data/lib/generators/test_unit/templates/{interaction_test.rb → interaction_test_unit.rb} +0 -0
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe Users::Create do
4
+ pending "add some examples to (or delete) #{__FILE__}"
5
+ end
@@ -0,0 +1,11 @@
1
+ require 'test_helper'
2
+
3
+ class Users::CreateTest < ActiveSupport::TestCase
4
+
5
+ def test_run_implemented
6
+ assert_nothing_raised do
7
+ Users::Create.run
8
+ end
9
+ end
10
+
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_interaction-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Boza
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-18 00:00:00.000000000 Z
11
+ date: 2015-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -69,7 +69,13 @@ dependencies:
69
69
  description: ''
70
70
  email:
71
71
  - jaboza@gmail.com
72
- executables: []
72
+ executables:
73
+ - erubis
74
+ - nokogiri
75
+ - rackup
76
+ - rake
77
+ - sprockets
78
+ - thor
73
79
  extensions: []
74
80
  extra_rdoc_files: []
75
81
  files:
@@ -78,17 +84,85 @@ files:
78
84
  - LICENSE.txt
79
85
  - README.md
80
86
  - Rakefile
87
+ - bin/erubis
88
+ - bin/nokogiri
89
+ - bin/rackup
90
+ - bin/rake
91
+ - bin/sprockets
92
+ - bin/thor
81
93
  - lib/generators/USAGE
82
94
  - lib/generators/interaction_generator.rb
83
95
  - lib/generators/rspec/interaction_generator.rb
84
96
  - lib/generators/rspec/templates/interaction_spec.rb
85
97
  - lib/generators/templates/interaction.rb
86
98
  - lib/generators/test_unit/interaction_generator.rb
87
- - lib/generators/test_unit/templates/interaction_test.rb
99
+ - lib/generators/test_unit/templates/interaction_test_unit.rb
88
100
  - lib/simple_interaction-rails.rb
89
101
  - lib/simple_interaction/rails/version.rb
90
102
  - simple_interaction-rails.gemspec
91
103
  - test/generators/interaction_generator_test.rb
104
+ - test/generators/spec/interaction_spec_generator_test.rb
105
+ - test/generators/test_unit/interaction_generator_test_unit_test.rb
106
+ - test/rails_app/.gitignore
107
+ - test/rails_app/Gemfile
108
+ - test/rails_app/Gemfile.lock
109
+ - test/rails_app/README.rdoc
110
+ - test/rails_app/Rakefile
111
+ - test/rails_app/app/assets/images/.keep
112
+ - test/rails_app/app/assets/javascripts/application.js
113
+ - test/rails_app/app/assets/stylesheets/application.css
114
+ - test/rails_app/app/controllers/application_controller.rb
115
+ - test/rails_app/app/controllers/concerns/.keep
116
+ - test/rails_app/app/helpers/application_helper.rb
117
+ - test/rails_app/app/mailers/.keep
118
+ - test/rails_app/app/models/.keep
119
+ - test/rails_app/app/models/concerns/.keep
120
+ - test/rails_app/app/views/layouts/application.html.erb
121
+ - test/rails_app/bin/bundle
122
+ - test/rails_app/bin/rails
123
+ - test/rails_app/bin/rake
124
+ - test/rails_app/bin/setup
125
+ - test/rails_app/bin/spring
126
+ - test/rails_app/config.ru
127
+ - test/rails_app/config/application.rb
128
+ - test/rails_app/config/boot.rb
129
+ - test/rails_app/config/environment.rb
130
+ - test/rails_app/config/environments/development.rb
131
+ - test/rails_app/config/environments/production.rb
132
+ - test/rails_app/config/environments/test.rb
133
+ - test/rails_app/config/initializers/assets.rb
134
+ - test/rails_app/config/initializers/backtrace_silencers.rb
135
+ - test/rails_app/config/initializers/cookies_serializer.rb
136
+ - test/rails_app/config/initializers/filter_parameter_logging.rb
137
+ - test/rails_app/config/initializers/inflections.rb
138
+ - test/rails_app/config/initializers/mime_types.rb
139
+ - test/rails_app/config/initializers/session_store.rb
140
+ - test/rails_app/config/initializers/wrap_parameters.rb
141
+ - test/rails_app/config/locales/en.yml
142
+ - test/rails_app/config/routes.rb
143
+ - test/rails_app/config/secrets.yml
144
+ - test/rails_app/db/seeds.rb
145
+ - test/rails_app/lib/assets/.keep
146
+ - test/rails_app/lib/tasks/.keep
147
+ - test/rails_app/log/.keep
148
+ - test/rails_app/public/404.html
149
+ - test/rails_app/public/422.html
150
+ - test/rails_app/public/500.html
151
+ - test/rails_app/public/favicon.ico
152
+ - test/rails_app/public/robots.txt
153
+ - test/rails_app/test/controllers/.keep
154
+ - test/rails_app/test/fixtures/.keep
155
+ - test/rails_app/test/helpers/.keep
156
+ - test/rails_app/test/integration/.keep
157
+ - test/rails_app/test/mailers/.keep
158
+ - test/rails_app/test/models/.keep
159
+ - test/rails_app/test/test_helper.rb
160
+ - test/rails_app/vendor/assets/javascripts/.keep
161
+ - test/rails_app/vendor/assets/stylesheets/.keep
162
+ - test/test_helper.rb
163
+ - test/tmp/app/interactions/users/create.rb
164
+ - test/tmp/spec/spec/interactions/users/create_spec.rb
165
+ - test/tmp/test/test/interactions/users/create_test.rb
92
166
  homepage: ''
93
167
  licenses:
94
168
  - MIT
@@ -115,3 +189,65 @@ specification_version: 4
115
189
  summary: Simple Interaction Generators for your Rails app
116
190
  test_files:
117
191
  - test/generators/interaction_generator_test.rb
192
+ - test/generators/spec/interaction_spec_generator_test.rb
193
+ - test/generators/test_unit/interaction_generator_test_unit_test.rb
194
+ - test/rails_app/.gitignore
195
+ - test/rails_app/Gemfile
196
+ - test/rails_app/Gemfile.lock
197
+ - test/rails_app/README.rdoc
198
+ - test/rails_app/Rakefile
199
+ - test/rails_app/app/assets/images/.keep
200
+ - test/rails_app/app/assets/javascripts/application.js
201
+ - test/rails_app/app/assets/stylesheets/application.css
202
+ - test/rails_app/app/controllers/application_controller.rb
203
+ - test/rails_app/app/controllers/concerns/.keep
204
+ - test/rails_app/app/helpers/application_helper.rb
205
+ - test/rails_app/app/mailers/.keep
206
+ - test/rails_app/app/models/.keep
207
+ - test/rails_app/app/models/concerns/.keep
208
+ - test/rails_app/app/views/layouts/application.html.erb
209
+ - test/rails_app/bin/bundle
210
+ - test/rails_app/bin/rails
211
+ - test/rails_app/bin/rake
212
+ - test/rails_app/bin/setup
213
+ - test/rails_app/bin/spring
214
+ - test/rails_app/config.ru
215
+ - test/rails_app/config/application.rb
216
+ - test/rails_app/config/boot.rb
217
+ - test/rails_app/config/environment.rb
218
+ - test/rails_app/config/environments/development.rb
219
+ - test/rails_app/config/environments/production.rb
220
+ - test/rails_app/config/environments/test.rb
221
+ - test/rails_app/config/initializers/assets.rb
222
+ - test/rails_app/config/initializers/backtrace_silencers.rb
223
+ - test/rails_app/config/initializers/cookies_serializer.rb
224
+ - test/rails_app/config/initializers/filter_parameter_logging.rb
225
+ - test/rails_app/config/initializers/inflections.rb
226
+ - test/rails_app/config/initializers/mime_types.rb
227
+ - test/rails_app/config/initializers/session_store.rb
228
+ - test/rails_app/config/initializers/wrap_parameters.rb
229
+ - test/rails_app/config/locales/en.yml
230
+ - test/rails_app/config/routes.rb
231
+ - test/rails_app/config/secrets.yml
232
+ - test/rails_app/db/seeds.rb
233
+ - test/rails_app/lib/assets/.keep
234
+ - test/rails_app/lib/tasks/.keep
235
+ - test/rails_app/log/.keep
236
+ - test/rails_app/public/404.html
237
+ - test/rails_app/public/422.html
238
+ - test/rails_app/public/500.html
239
+ - test/rails_app/public/favicon.ico
240
+ - test/rails_app/public/robots.txt
241
+ - test/rails_app/test/controllers/.keep
242
+ - test/rails_app/test/fixtures/.keep
243
+ - test/rails_app/test/helpers/.keep
244
+ - test/rails_app/test/integration/.keep
245
+ - test/rails_app/test/mailers/.keep
246
+ - test/rails_app/test/models/.keep
247
+ - test/rails_app/test/test_helper.rb
248
+ - test/rails_app/vendor/assets/javascripts/.keep
249
+ - test/rails_app/vendor/assets/stylesheets/.keep
250
+ - test/test_helper.rb
251
+ - test/tmp/app/interactions/users/create.rb
252
+ - test/tmp/spec/spec/interactions/users/create_spec.rb
253
+ - test/tmp/test/test/interactions/users/create_test.rb