washout_builder 0.9.12 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +8 -8
  2. data/.travis.yml +6 -0
  3. data/Gemfile +11 -0
  4. data/README.rdoc +2 -1
  5. data/Rakefile +3 -1
  6. data/app/helpers/washout_builder_helper.rb +7 -169
  7. data/app/views/wash_with_html/doc.builder +11 -11
  8. data/lib/washout_builder.rb +24 -5
  9. data/lib/washout_builder/dispatcher.rb +6 -7
  10. data/lib/washout_builder/document/complex_type.rb +102 -0
  11. data/lib/washout_builder/document/generator.rb +114 -0
  12. data/lib/washout_builder/document/virtus_model.rb +45 -0
  13. data/lib/washout_builder/type.rb +2 -1
  14. data/lib/washout_builder/version.rb +1 -1
  15. data/spec/app/controllers/washout_builder_controller_spec.rb +8 -0
  16. data/spec/app/helpers/washout_builder_helper_spec.rb +8 -0
  17. data/spec/app/integration/washout_builder_all_services_spec.rb +7 -0
  18. data/spec/app/integration/washout_builder_service_spec.rb +7 -0
  19. data/spec/dummy/Rakefile +7 -0
  20. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  21. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/spec/dummy/config.ru +4 -0
  24. data/spec/dummy/config/application.rb +51 -0
  25. data/spec/dummy/config/boot.rb +10 -0
  26. data/spec/dummy/config/environment.rb +5 -0
  27. data/spec/dummy/config/environments/development.rb +23 -0
  28. data/spec/dummy/config/environments/test.rb +29 -0
  29. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  30. data/spec/dummy/config/initializers/inflections.rb +10 -0
  31. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  32. data/spec/dummy/config/initializers/secret_token.rb +8 -0
  33. data/spec/dummy/config/initializers/session_store.rb +8 -0
  34. data/spec/dummy/config/locales/en.yml +5 -0
  35. data/spec/dummy/config/routes.rb +58 -0
  36. data/spec/dummy/public/404.html +26 -0
  37. data/spec/dummy/public/422.html +26 -0
  38. data/spec/dummy/public/500.html +26 -0
  39. data/spec/dummy/public/favicon.ico +0 -0
  40. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  41. data/spec/dummy/script/rails +6 -0
  42. data/spec/lib/washout_builder/dispatcher_spec.rb +51 -0
  43. data/spec/lib/washout_builder/document/complex_type_spec.rb +0 -0
  44. data/spec/lib/washout_builder/document/generator_spec.rb +0 -0
  45. data/spec/lib/washout_builder/document/virtus_model_spec.rb +0 -0
  46. data/spec/lib/washout_builder/engine_spec.rb +6 -0
  47. data/spec/lib/washout_builder/soap_spec.rb +15 -0
  48. data/spec/lib/washout_builder/type_spec.rb +21 -0
  49. data/spec/lib/washout_builder_spec.rb +697 -0
  50. data/spec/spec_helper.rb +2 -0
  51. metadata +74 -1
@@ -1,6 +1,8 @@
1
1
  # Configure Rails Envinronment
2
2
  ENV["RAILS_ENV"] = "test"
3
3
 
4
+ require 'nori'
5
+ require 'nokogiri'
4
6
  require 'active_support'
5
7
  require "simplecov"
6
8
  SimpleCov.start do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: washout_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.12
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada
@@ -60,10 +60,48 @@ files:
60
60
  - init.rb
61
61
  - lib/washout_builder.rb
62
62
  - lib/washout_builder/dispatcher.rb
63
+ - lib/washout_builder/document/complex_type.rb
64
+ - lib/washout_builder/document/generator.rb
65
+ - lib/washout_builder/document/virtus_model.rb
63
66
  - lib/washout_builder/engine.rb
64
67
  - lib/washout_builder/soap.rb
65
68
  - lib/washout_builder/type.rb
66
69
  - lib/washout_builder/version.rb
70
+ - spec/app/controllers/washout_builder_controller_spec.rb
71
+ - spec/app/helpers/washout_builder_helper_spec.rb
72
+ - spec/app/integration/washout_builder_all_services_spec.rb
73
+ - spec/app/integration/washout_builder_service_spec.rb
74
+ - spec/dummy/Rakefile
75
+ - spec/dummy/app/controllers/application_controller.rb
76
+ - spec/dummy/app/helpers/application_helper.rb
77
+ - spec/dummy/app/views/layouts/application.html.erb
78
+ - spec/dummy/config.ru
79
+ - spec/dummy/config/application.rb
80
+ - spec/dummy/config/boot.rb
81
+ - spec/dummy/config/environment.rb
82
+ - spec/dummy/config/environments/development.rb
83
+ - spec/dummy/config/environments/test.rb
84
+ - spec/dummy/config/initializers/backtrace_silencers.rb
85
+ - spec/dummy/config/initializers/inflections.rb
86
+ - spec/dummy/config/initializers/mime_types.rb
87
+ - spec/dummy/config/initializers/secret_token.rb
88
+ - spec/dummy/config/initializers/session_store.rb
89
+ - spec/dummy/config/locales/en.yml
90
+ - spec/dummy/config/routes.rb
91
+ - spec/dummy/public/404.html
92
+ - spec/dummy/public/422.html
93
+ - spec/dummy/public/500.html
94
+ - spec/dummy/public/favicon.ico
95
+ - spec/dummy/public/stylesheets/.gitkeep
96
+ - spec/dummy/script/rails
97
+ - spec/lib/washout_builder/dispatcher_spec.rb
98
+ - spec/lib/washout_builder/document/complex_type_spec.rb
99
+ - spec/lib/washout_builder/document/generator_spec.rb
100
+ - spec/lib/washout_builder/document/virtus_model_spec.rb
101
+ - spec/lib/washout_builder/engine_spec.rb
102
+ - spec/lib/washout_builder/soap_spec.rb
103
+ - spec/lib/washout_builder/type_spec.rb
104
+ - spec/lib/washout_builder_spec.rb
67
105
  - spec/spec_helper.rb
68
106
  - washout_builder.gemspec
69
107
  homepage: http://github.com/bogdanRada/washout_builder/
@@ -91,4 +129,39 @@ signing_key:
91
129
  specification_version: 4
92
130
  summary: WashOut Soap Service Documentation builder (extends WashOut https://github.com/inossidabile/wash_out/)
93
131
  test_files:
132
+ - spec/app/controllers/washout_builder_controller_spec.rb
133
+ - spec/app/helpers/washout_builder_helper_spec.rb
134
+ - spec/app/integration/washout_builder_all_services_spec.rb
135
+ - spec/app/integration/washout_builder_service_spec.rb
136
+ - spec/dummy/Rakefile
137
+ - spec/dummy/app/controllers/application_controller.rb
138
+ - spec/dummy/app/helpers/application_helper.rb
139
+ - spec/dummy/app/views/layouts/application.html.erb
140
+ - spec/dummy/config.ru
141
+ - spec/dummy/config/application.rb
142
+ - spec/dummy/config/boot.rb
143
+ - spec/dummy/config/environment.rb
144
+ - spec/dummy/config/environments/development.rb
145
+ - spec/dummy/config/environments/test.rb
146
+ - spec/dummy/config/initializers/backtrace_silencers.rb
147
+ - spec/dummy/config/initializers/inflections.rb
148
+ - spec/dummy/config/initializers/mime_types.rb
149
+ - spec/dummy/config/initializers/secret_token.rb
150
+ - spec/dummy/config/initializers/session_store.rb
151
+ - spec/dummy/config/locales/en.yml
152
+ - spec/dummy/config/routes.rb
153
+ - spec/dummy/public/404.html
154
+ - spec/dummy/public/422.html
155
+ - spec/dummy/public/500.html
156
+ - spec/dummy/public/favicon.ico
157
+ - spec/dummy/public/stylesheets/.gitkeep
158
+ - spec/dummy/script/rails
159
+ - spec/lib/washout_builder/dispatcher_spec.rb
160
+ - spec/lib/washout_builder/document/complex_type_spec.rb
161
+ - spec/lib/washout_builder/document/generator_spec.rb
162
+ - spec/lib/washout_builder/document/virtus_model_spec.rb
163
+ - spec/lib/washout_builder/engine_spec.rb
164
+ - spec/lib/washout_builder/soap_spec.rb
165
+ - spec/lib/washout_builder/type_spec.rb
166
+ - spec/lib/washout_builder_spec.rb
94
167
  - spec/spec_helper.rb