husky 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/uninstall_generator.rb +19 -0
  3. data/lib/husky.rb +9 -0
  4. data/lib/husky/broadcaster.rb +19 -0
  5. data/lib/husky/ears.rb +14 -0
  6. data/lib/husky/interactor.rb +21 -0
  7. data/lib/husky/responder.rb +56 -0
  8. data/lib/husky/version.rb +1 -1
  9. data/test/dummy/app/controllers/application_controller.rb +1 -0
  10. data/test/dummy/app/controllers/home_controller.rb +10 -0
  11. data/test/dummy/app/interactors/chase_car.rb +13 -0
  12. data/test/dummy/app/responders/home_responder.rb +7 -0
  13. data/test/dummy/app/views/home/index.html.erb +1 -0
  14. data/test/dummy/config/routes.rb +1 -1
  15. data/test/dummy/db/development.sqlite3 +0 -0
  16. data/test/dummy/log/development.log +954 -0
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5JX-TnheARWAztdKP_GS69Hw1XyBxr5gPu7HJ_6uZgU.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9gFAVdHsqApiIACBFnEf3lw-fsVPY0xHN82zhJs9ptk.cache +1 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CDYnWyEvApHh09WPfT_a-Wsa45MyxOmN1_Q9V2RJn9Y.cache +0 -0
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CL3V250QywcD5wmH51ss-M_HEdfZSiVU2Zi1Law5vLo.cache +1 -0
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +2 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ElO0ViNEDMzLRC-5-_x3Ms43MCJ5JIvY2NYdXIYP88U.cache +1 -0
  24. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FEzoeJt710sMJxKQnPW7Gh-y_0ITWNqGAdznwVj3Ko4.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FzaRj01aoQQxUkEDmFY9Avgspwoq1KXnjYPzuOeM6zg.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KesskQmvJRXrgqcBoEq4W7yo4IWGw9ZiIjF7v8OhfWQ.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NyBozH65gB_aYbb_E-OhrK85jZbWeoTvHZ5NhXClHcM.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +3 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OsvZxm_uy8K2Y-m6UvtgGcWEA_TUNmDnrizLHAOEn-k.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bQgEaLKf5lAkKW-vr3cr__DvkD0mORgTm9Gc62eQMdA.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dXJcA-RxYfcWXkhu7YRvB1wQvmX5TjOK2jR6JlW_tRU.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fVbdSBvrir4z6e5nzQMZ_oSnKhLsz6ifwSrAwrOG0bo.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +2 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +3 -0
  35. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mmknVER7cvx_3WxZK7qX7E52e1jdAa4A5Po7m0M2e50.cache +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rCJuFBH8Fov8dpwePE7ii_GkEiWZmYCXPNwE7hXfDHk.cache +1 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s_EnWD5m6LCrz5h5n5JvgDrju2NSa-v2JM93NSvIf2I.cache +1 -0
  39. metadata +74 -1
@@ -0,0 +1 @@
1
+ "%�W\�yho9S���ƫ˥��)|�~���(���
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TT
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=debug&id=196e21fc17a737303169af7a155cf789c31341f5a10e5894a7cd3c94781f0b5a:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"?processors:type=text/css&file_type=text/css&pipeline=debug;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TT
@@ -0,0 +1 @@
1
+ "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=34a060a5c971cecd843972f6f63fff22725b2daff3a0d689c102d082e0996992:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=dd0974775cfaab2b359865f2b2e3d5d606f8b493ddbdd6e62a973c32b31d3fee:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash{
3
+ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TT
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=56ecc04c2c9133466c0b4256462d424e9f4f82ebf5025748302746d27b94b477:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"[processors:type=application/javascript&file_type=application/javascript&pipeline=debug;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TT
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash{
3
+ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TT
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=debug&id=16e0e81e5b4df4832ccfdb05f113c93bc926da432d68146bd7368bdca61d537b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=541b09ffe67bacc291b66cc510438c85f0ace49c1d8500d08afb62d559fcf7db:ET
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: husky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Fiser
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: after_do
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 0.3.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 0.3.1
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: sqlite3
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -49,7 +63,12 @@ files:
49
63
  - README.rdoc
50
64
  - Rakefile
51
65
  - lib/generators/install_generator.rb
66
+ - lib/generators/uninstall_generator.rb
52
67
  - lib/husky.rb
68
+ - lib/husky/broadcaster.rb
69
+ - lib/husky/ears.rb
70
+ - lib/husky/interactor.rb
71
+ - lib/husky/responder.rb
53
72
  - lib/husky/version.rb
54
73
  - lib/tasks/husky_tasks.rake
55
74
  - test/dummy/README.rdoc
@@ -57,7 +76,11 @@ files:
57
76
  - test/dummy/app/assets/javascripts/application.js
58
77
  - test/dummy/app/assets/stylesheets/application.css
59
78
  - test/dummy/app/controllers/application_controller.rb
79
+ - test/dummy/app/controllers/home_controller.rb
60
80
  - test/dummy/app/helpers/application_helper.rb
81
+ - test/dummy/app/interactors/chase_car.rb
82
+ - test/dummy/app/responders/home_responder.rb
83
+ - test/dummy/app/views/home/index.html.erb
61
84
  - test/dummy/app/views/layouts/application.html.erb
62
85
  - test/dummy/bin/bundle
63
86
  - test/dummy/bin/rails
@@ -82,6 +105,7 @@ files:
82
105
  - test/dummy/config/locales/en.yml
83
106
  - test/dummy/config/routes.rb
84
107
  - test/dummy/config/secrets.yml
108
+ - test/dummy/db/development.sqlite3
85
109
  - test/dummy/db/test.sqlite3
86
110
  - test/dummy/log/development.log
87
111
  - test/dummy/log/test.log
@@ -89,6 +113,28 @@ files:
89
113
  - test/dummy/public/422.html
90
114
  - test/dummy/public/500.html
91
115
  - test/dummy/public/favicon.ico
116
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5JX-TnheARWAztdKP_GS69Hw1XyBxr5gPu7HJ_6uZgU.cache
117
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
118
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9gFAVdHsqApiIACBFnEf3lw-fsVPY0xHN82zhJs9ptk.cache
119
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/CDYnWyEvApHh09WPfT_a-Wsa45MyxOmN1_Q9V2RJn9Y.cache
120
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/CL3V250QywcD5wmH51ss-M_HEdfZSiVU2Zi1Law5vLo.cache
121
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
122
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ElO0ViNEDMzLRC-5-_x3Ms43MCJ5JIvY2NYdXIYP88U.cache
123
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/FEzoeJt710sMJxKQnPW7Gh-y_0ITWNqGAdznwVj3Ko4.cache
124
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/FzaRj01aoQQxUkEDmFY9Avgspwoq1KXnjYPzuOeM6zg.cache
125
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/KesskQmvJRXrgqcBoEq4W7yo4IWGw9ZiIjF7v8OhfWQ.cache
126
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/NyBozH65gB_aYbb_E-OhrK85jZbWeoTvHZ5NhXClHcM.cache
127
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
128
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OsvZxm_uy8K2Y-m6UvtgGcWEA_TUNmDnrizLHAOEn-k.cache
129
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/bQgEaLKf5lAkKW-vr3cr__DvkD0mORgTm9Gc62eQMdA.cache
130
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/dXJcA-RxYfcWXkhu7YRvB1wQvmX5TjOK2jR6JlW_tRU.cache
131
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fVbdSBvrir4z6e5nzQMZ_oSnKhLsz6ifwSrAwrOG0bo.cache
132
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
133
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
134
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/mmknVER7cvx_3WxZK7qX7E52e1jdAa4A5Po7m0M2e50.cache
135
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
136
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/rCJuFBH8Fov8dpwePE7ii_GkEiWZmYCXPNwE7hXfDHk.cache
137
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/s_EnWD5m6LCrz5h5n5JvgDrju2NSa-v2JM93NSvIf2I.cache
92
138
  - test/husky_test.rb
93
139
  - test/test_helper.rb
94
140
  homepage: http://www.huskyrb.com
@@ -119,7 +165,11 @@ test_files:
119
165
  - test/dummy/app/assets/javascripts/application.js
120
166
  - test/dummy/app/assets/stylesheets/application.css
121
167
  - test/dummy/app/controllers/application_controller.rb
168
+ - test/dummy/app/controllers/home_controller.rb
122
169
  - test/dummy/app/helpers/application_helper.rb
170
+ - test/dummy/app/interactors/chase_car.rb
171
+ - test/dummy/app/responders/home_responder.rb
172
+ - test/dummy/app/views/home/index.html.erb
123
173
  - test/dummy/app/views/layouts/application.html.erb
124
174
  - test/dummy/bin/bundle
125
175
  - test/dummy/bin/rails
@@ -144,6 +194,7 @@ test_files:
144
194
  - test/dummy/config/routes.rb
145
195
  - test/dummy/config/secrets.yml
146
196
  - test/dummy/config.ru
197
+ - test/dummy/db/development.sqlite3
147
198
  - test/dummy/db/test.sqlite3
148
199
  - test/dummy/log/development.log
149
200
  - test/dummy/log/test.log
@@ -153,5 +204,27 @@ test_files:
153
204
  - test/dummy/public/favicon.ico
154
205
  - test/dummy/Rakefile
155
206
  - test/dummy/README.rdoc
207
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5JX-TnheARWAztdKP_GS69Hw1XyBxr5gPu7HJ_6uZgU.cache
208
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
209
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9gFAVdHsqApiIACBFnEf3lw-fsVPY0xHN82zhJs9ptk.cache
210
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/bQgEaLKf5lAkKW-vr3cr__DvkD0mORgTm9Gc62eQMdA.cache
211
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/CDYnWyEvApHh09WPfT_a-Wsa45MyxOmN1_Q9V2RJn9Y.cache
212
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/CL3V250QywcD5wmH51ss-M_HEdfZSiVU2Zi1Law5vLo.cache
213
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache
214
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/dXJcA-RxYfcWXkhu7YRvB1wQvmX5TjOK2jR6JlW_tRU.cache
215
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ElO0ViNEDMzLRC-5-_x3Ms43MCJ5JIvY2NYdXIYP88U.cache
216
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/FEzoeJt710sMJxKQnPW7Gh-y_0ITWNqGAdznwVj3Ko4.cache
217
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fVbdSBvrir4z6e5nzQMZ_oSnKhLsz6ifwSrAwrOG0bo.cache
218
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/FzaRj01aoQQxUkEDmFY9Avgspwoq1KXnjYPzuOeM6zg.cache
219
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache
220
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
221
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/KesskQmvJRXrgqcBoEq4W7yo4IWGw9ZiIjF7v8OhfWQ.cache
222
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/mmknVER7cvx_3WxZK7qX7E52e1jdAa4A5Po7m0M2e50.cache
223
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/NyBozH65gB_aYbb_E-OhrK85jZbWeoTvHZ5NhXClHcM.cache
224
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
225
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OsvZxm_uy8K2Y-m6UvtgGcWEA_TUNmDnrizLHAOEn-k.cache
226
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
227
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/rCJuFBH8Fov8dpwePE7ii_GkEiWZmYCXPNwE7hXfDHk.cache
228
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/s_EnWD5m6LCrz5h5n5JvgDrju2NSa-v2JM93NSvIf2I.cache
156
229
  - test/husky_test.rb
157
230
  - test/test_helper.rb