husky 0.3.8 → 0.4.0

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 (73) hide show
  1. checksums.yaml +4 -4
  2. data/lib/husky/ears.rb +3 -0
  3. data/lib/husky/entity.rb +13 -6
  4. data/lib/husky/version.rb +1 -1
  5. metadata +3 -167
  6. data/test/dummy/README.rdoc +0 -28
  7. data/test/dummy/Rakefile +0 -6
  8. data/test/dummy/app/assets/javascripts/application.js +0 -13
  9. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  10. data/test/dummy/app/controllers/application_controller.rb +0 -6
  11. data/test/dummy/app/controllers/home_controller.rb +0 -9
  12. data/test/dummy/app/helpers/application_helper.rb +0 -2
  13. data/test/dummy/app/interactors/chase_car.rb +0 -13
  14. data/test/dummy/app/responders/home_responder.rb +0 -7
  15. data/test/dummy/app/views/home/index.html.erb +0 -1
  16. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  17. data/test/dummy/bin/bundle +0 -3
  18. data/test/dummy/bin/rails +0 -4
  19. data/test/dummy/bin/rake +0 -4
  20. data/test/dummy/bin/setup +0 -29
  21. data/test/dummy/config.ru +0 -4
  22. data/test/dummy/config/application.rb +0 -26
  23. data/test/dummy/config/boot.rb +0 -5
  24. data/test/dummy/config/database.yml +0 -25
  25. data/test/dummy/config/environment.rb +0 -5
  26. data/test/dummy/config/environments/development.rb +0 -41
  27. data/test/dummy/config/environments/production.rb +0 -79
  28. data/test/dummy/config/environments/test.rb +0 -42
  29. data/test/dummy/config/initializers/assets.rb +0 -11
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  31. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  32. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  33. data/test/dummy/config/initializers/inflections.rb +0 -16
  34. data/test/dummy/config/initializers/mime_types.rb +0 -4
  35. data/test/dummy/config/initializers/session_store.rb +0 -3
  36. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  37. data/test/dummy/config/locales/en.yml +0 -23
  38. data/test/dummy/config/routes.rb +0 -56
  39. data/test/dummy/config/secrets.yml +0 -22
  40. data/test/dummy/db/development.sqlite3 +0 -0
  41. data/test/dummy/db/test.sqlite3 +0 -0
  42. data/test/dummy/log/development.log +0 -996
  43. data/test/dummy/log/test.log +0 -250
  44. data/test/dummy/public/404.html +0 -67
  45. data/test/dummy/public/422.html +0 -67
  46. data/test/dummy/public/500.html +0 -66
  47. data/test/dummy/public/favicon.ico +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5JX-TnheARWAztdKP_GS69Hw1XyBxr5gPu7HJ_6uZgU.cache +0 -1
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9gFAVdHsqApiIACBFnEf3lw-fsVPY0xHN82zhJs9ptk.cache +0 -1
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CDYnWyEvApHh09WPfT_a-Wsa45MyxOmN1_Q9V2RJn9Y.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CL3V250QywcD5wmH51ss-M_HEdfZSiVU2Zi1Law5vLo.cache +0 -1
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ElO0ViNEDMzLRC-5-_x3Ms43MCJ5JIvY2NYdXIYP88U.cache +0 -1
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FEzoeJt710sMJxKQnPW7Gh-y_0ITWNqGAdznwVj3Ko4.cache +0 -1
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/FzaRj01aoQQxUkEDmFY9Avgspwoq1KXnjYPzuOeM6zg.cache +0 -1
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KesskQmvJRXrgqcBoEq4W7yo4IWGw9ZiIjF7v8OhfWQ.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NyBozH65gB_aYbb_E-OhrK85jZbWeoTvHZ5NhXClHcM.cache +0 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -3
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OsvZxm_uy8K2Y-m6UvtgGcWEA_TUNmDnrizLHAOEn-k.cache +0 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bQgEaLKf5lAkKW-vr3cr__DvkD0mORgTm9Gc62eQMdA.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dXJcA-RxYfcWXkhu7YRvB1wQvmX5TjOK2jR6JlW_tRU.cache +0 -1
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fVbdSBvrir4z6e5nzQMZ_oSnKhLsz6ifwSrAwrOG0bo.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -2
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -3
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mmknVER7cvx_3WxZK7qX7E52e1jdAa4A5Po7m0M2e50.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -2
  68. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rCJuFBH8Fov8dpwePE7ii_GkEiWZmYCXPNwE7hXfDHk.cache +0 -1
  69. data/test/dummy/tmp/cache/assets/sprockets/v3.0/s_EnWD5m6LCrz5h5n5JvgDrju2NSa-v2JM93NSvIf2I.cache +0 -1
  70. data/test/husky_test.rb +0 -7
  71. data/test/integration/controller_to_responder_test.rb +0 -10
  72. data/test/test_helper.rb +0 -20
  73. data/test/unit/pass_along_test.rb +0 -33
File without changes
@@ -1 +0,0 @@
1
- "%�W\�yho9S���ƫ˥��)|�~���(���
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
1
- "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=debug&id=196e21fc17a737303169af7a155cf789c31341f5a10e5894a7cd3c94781f0b5a:ET
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
1
- "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&id=34a060a5c971cecd843972f6f63fff22725b2daff3a0d689c102d082e0996992:ET
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=dd0974775cfaab2b359865f2b2e3d5d606f8b493ddbdd6e62a973c32b31d3fee:ET
@@ -1,3 +0,0 @@
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
@@ -1 +0,0 @@
1
- I"}app/assets/stylesheets/application.css?type=text/css&id=56ecc04c2c9133466c0b4256462d424e9f4f82ebf5025748302746d27b94b477:ET
@@ -1,2 +0,0 @@
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
@@ -1,3 +0,0 @@
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
@@ -1,2 +0,0 @@
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
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=debug&id=16e0e81e5b4df4832ccfdb05f113c93bc926da432d68146bd7368bdca61d537b:ET
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=541b09ffe67bacc291b66cc510438c85f0ace49c1d8500d08afb62d559fcf7db:ET
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class HuskyTest < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, Husky
6
- end
7
- end
@@ -1,10 +0,0 @@
1
- require 'test_helper'
2
-
3
- class ControllerToResponderTest < ActionDispatch::IntegrationTest
4
-
5
- test 'it can pass a variable from the controller to the responder through the listener' do
6
- get root_path(car: "Mustang")
7
- assert_includes response.body, "Mustang", "Should include the passed in value in the response."
8
- end
9
-
10
- end
@@ -1,20 +0,0 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
3
-
4
- require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
5
- ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
6
- require "rails/test_help"
7
-
8
- # Filter out Minitest backtrace while allowing backtrace from other libraries
9
- # to be shown.
10
- Minitest.backtrace_filter = Minitest::BacktraceFilter.new
11
-
12
- # Load support files
13
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
14
-
15
- # Load fixtures from the engine
16
- if ActiveSupport::TestCase.respond_to?(:fixture_path=)
17
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
18
- ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
19
- ActiveSupport::TestCase.fixtures :all
20
- end
@@ -1,33 +0,0 @@
1
- require 'test_helper'
2
-
3
- class PassAlongTest < ActiveSupport::TestCase
4
-
5
- # After a method is called on a Responder, we need to send all instance variables
6
- # that were created back to the controller for the view
7
- test 'the receiver receives all instance variables from the sender after a method is called' do
8
- sam = Sam.new("Sam", "M", "Opportunist")
9
- bob = Bob.new
10
- PassAlong.all_variables(sam, bob)
11
- sam.useless_method
12
- assert_equal [:@gender, :@job_title, :@name], bob.instance_variables.sort
13
- end
14
-
15
-
16
- class Sam
17
- extend AfterDo
18
-
19
- def initialize(name, gender, job_title)
20
- @name = name
21
- @gender = gender
22
- @job_title = job_title
23
- end
24
-
25
- def useless_method
26
- end
27
-
28
- end
29
-
30
- class Bob
31
- end
32
-
33
- end