injector 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/{MIT-LICENSE → LICENSE.md} +1 -1
  3. data/README.md +71 -42
  4. data/lib/injector.rb +89 -3
  5. data/lib/injector/identity.rb +22 -0
  6. metadata +130 -174
  7. data/Rakefile +0 -38
  8. data/lib/injector/controller_method.rb +0 -15
  9. data/lib/injector/resolver.rb +0 -55
  10. data/lib/injector/version.rb +0 -3
  11. data/lib/tasks/injector_tasks.rake +0 -4
  12. data/test/dummy/README.rdoc +0 -261
  13. data/test/dummy/Rakefile +0 -7
  14. data/test/dummy/app/assets/javascripts/application.js +0 -15
  15. data/test/dummy/app/assets/javascripts/cars.js +0 -2
  16. data/test/dummy/app/assets/javascripts/dogs.js +0 -2
  17. data/test/dummy/app/assets/stylesheets/application.css +0 -13
  18. data/test/dummy/app/assets/stylesheets/cars.css +0 -4
  19. data/test/dummy/app/assets/stylesheets/dogs.css +0 -4
  20. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -56
  21. data/test/dummy/app/controllers/application_controller.rb +0 -4
  22. data/test/dummy/app/controllers/cars_controller.rb +0 -47
  23. data/test/dummy/app/controllers/dogs_controller.rb +0 -50
  24. data/test/dummy/app/helpers/application_helper.rb +0 -2
  25. data/test/dummy/app/helpers/cars_helper.rb +0 -2
  26. data/test/dummy/app/helpers/dogs_helper.rb +0 -2
  27. data/test/dummy/app/models/car.rb +0 -3
  28. data/test/dummy/app/models/dog.rb +0 -3
  29. data/test/dummy/app/views/cars/_form.html.erb +0 -0
  30. data/test/dummy/app/views/cars/edit.html.erb +0 -0
  31. data/test/dummy/app/views/cars/index.html.erb +0 -0
  32. data/test/dummy/app/views/cars/new.html.erb +0 -0
  33. data/test/dummy/app/views/cars/show.html.erb +0 -0
  34. data/test/dummy/app/views/dogs/_form.html.erb +0 -0
  35. data/test/dummy/app/views/dogs/edit.html.erb +0 -0
  36. data/test/dummy/app/views/dogs/index.html.erb +0 -0
  37. data/test/dummy/app/views/dogs/new.html.erb +0 -0
  38. data/test/dummy/app/views/dogs/show.html.erb +0 -0
  39. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  40. data/test/dummy/config.ru +0 -4
  41. data/test/dummy/config/application.rb +0 -56
  42. data/test/dummy/config/boot.rb +0 -10
  43. data/test/dummy/config/database.yml +0 -25
  44. data/test/dummy/config/environment.rb +0 -5
  45. data/test/dummy/config/environments/development.rb +0 -37
  46. data/test/dummy/config/environments/production.rb +0 -67
  47. data/test/dummy/config/environments/test.rb +0 -37
  48. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  49. data/test/dummy/config/initializers/inflections.rb +0 -15
  50. data/test/dummy/config/initializers/mime_types.rb +0 -5
  51. data/test/dummy/config/initializers/secret_token.rb +0 -7
  52. data/test/dummy/config/initializers/session_store.rb +0 -8
  53. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  54. data/test/dummy/config/locales/en.yml +0 -5
  55. data/test/dummy/config/routes.rb +0 -60
  56. data/test/dummy/db/development.sqlite3 +0 -0
  57. data/test/dummy/db/migrate/20120517025757_create_cars.rb +0 -9
  58. data/test/dummy/db/migrate/20120517043520_create_dogs.rb +0 -9
  59. data/test/dummy/db/schema.rb +0 -28
  60. data/test/dummy/db/test.sqlite3 +0 -0
  61. data/test/dummy/development.sqlite3 +0 -0
  62. data/test/dummy/log/development.log +0 -202
  63. data/test/dummy/log/test.log +0 -3135
  64. data/test/dummy/public/404.html +0 -26
  65. data/test/dummy/public/422.html +0 -26
  66. data/test/dummy/public/500.html +0 -25
  67. data/test/dummy/public/favicon.ico +0 -0
  68. data/test/dummy/script/rails +0 -6
  69. data/test/dummy/test/fixtures/cars.yml +0 -7
  70. data/test/dummy/test/fixtures/dogs.yml +0 -7
  71. data/test/dummy/test/functional/cars_controller_test.rb +0 -46
  72. data/test/dummy/test/functional/dogs_controller_test.rb +0 -46
  73. data/test/dummy/test/unit/car_test.rb +0 -7
  74. data/test/dummy/test/unit/dog_test.rb +0 -7
  75. data/test/dummy/test/unit/helpers/cars_helper_test.rb +0 -4
  76. data/test/dummy/test/unit/helpers/dogs_helper_test.rb +0 -4
  77. data/test/injector_test.rb +0 -7
  78. data/test/test_helper.rb +0 -15
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: eb1664c32aa0163dcb9f77808ca49840aacc0894
4
+ data.tar.gz: eceaee7250e4f37898ea041435d349df4366b67e
5
+ SHA512:
6
+ metadata.gz: 84a43dd86673e6f8fdb644b059904f23125d276f454c1d320b1577cf1ef464f7876cd02cf33dd27b065ac5da570d7259e1e5ce59e3be66839dce2035f7629483
7
+ data.tar.gz: 14f37b9831e710a06020f1d26058439a4ca086f5f031e1efbca8c6ec8b45b41f88ad00aae13117ea655a9b9a6cd76778cae7f60935b09579c4077d694eb31caa
@@ -1,4 +1,4 @@
1
- Copyright 2012 YOURNAME
1
+ Copyright (c) 2017 []().
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,60 +1,89 @@
1
1
  # Injector
2
2
 
3
- Injector loads model objects for controllers, it means that
4
- Injector takes care of initialization and loading for you.
3
+ [![Gem Version](https://badge.fury.io/rb/injector.svg)](http://badge.fury.io/rb/injector)
5
4
 
6
- ## Usage
7
- ```ruby
8
- class ApplicationController < ActionController::Base
9
- include Injector
10
- end
5
+ <!-- Tocer[start]: Auto-generated, don't remove. -->
11
6
 
12
- class CarsController < ApplicationController
13
- injector_to :car
7
+ # Table of Contents
14
8
 
15
- #no more @car = Car.all
16
- def index
17
- respond_with(@cars)
18
- end
9
+ - [Features](#features)
10
+ - [Screencasts](#screencasts)
11
+ - [Requirements](#requirements)
12
+ - [Setup](#setup)
13
+ - [Usage](#usage)
14
+ - [Tests](#tests)
15
+ - [Versioning](#versioning)
16
+ - [Code of Conduct](#code-of-conduct)
17
+ - [Contributions](#contributions)
18
+ - [License](#license)
19
+ - [History](#history)
20
+ - [Credits](#credits)
19
21
 
20
- #no more @car = Car.find(params[:id])
21
- def show
22
- respond_with(@car) #Using Responders =)
23
- end
22
+ <!-- Tocer[finish]: Auto-generated, don't remove. -->
24
23
 
25
- #no more @car = Car.new
26
- def new
27
- respond_with(@car)
28
- end
24
+ # Features
29
25
 
30
- #no more @car = Car.new(params[:car])
31
- def create
32
- respond_with(@car)
33
- end
34
- end
35
- ```
36
- ## Installation
26
+ # Screencasts
37
27
 
38
- Add this line to your application's Gemfile:
28
+ # Requirements
39
29
 
40
- gem 'injector'
30
+ 0. [Ruby 2.4.0](https://www.ruby-lang.org)
41
31
 
42
- And then execute:
32
+ # Setup
43
33
 
44
- $ bundle
34
+ For a secure install, type the following (recommended):
45
35
 
46
- Or install it yourself as:
36
+ gem cert --add <(curl --location --silent /gem-public.pem)
37
+ gem install injector --trust-policy MediumSecurity
47
38
 
48
- $ gem install injector
39
+ NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification
40
+ while allowing the installation of unsigned dependencies since they are beyond the scope of this
41
+ gem.
49
42
 
50
- ## Usage
43
+ For an insecure install, type the following (not recommended):
51
44
 
52
- TODO: Write usage instructions here
45
+ gem install injector
53
46
 
54
- ## Contributing
47
+ Add the following to your Gemfile:
55
48
 
56
- 1. Fork it
57
- 2. Create your feature branch (`git checkout -b my-new-feature`)
58
- 3. Commit your changes (`git commit -am 'Added some feature'`)
59
- 4. Push to the branch (`git push origin my-new-feature`)
60
- 5. Create new Pull Request
49
+ gem "injector"
50
+
51
+ # Usage
52
+
53
+ # Tests
54
+
55
+ To test, run:
56
+
57
+ bundle exec rake
58
+
59
+ # Versioning
60
+
61
+ Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
62
+
63
+ - Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
64
+ - Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
65
+ - Major (X.y.z) - Incremented for any backwards incompatible public API changes.
66
+
67
+ # Code of Conduct
68
+
69
+ Please note that this project is released with a [CODE OF CONDUCT](CODE_OF_CONDUCT.md). By
70
+ participating in this project you agree to abide by its terms.
71
+
72
+ # Contributions
73
+
74
+ Read [CONTRIBUTING](CONTRIBUTING.md) for details.
75
+
76
+ # License
77
+
78
+ Copyright (c) 2017 []().
79
+ Read [LICENSE](LICENSE.md) for details.
80
+
81
+ # History
82
+
83
+ Read [CHANGES](CHANGES.md) for details.
84
+ Built with [Gemsmith](https://github.com/bkuhlmann/gemsmith).
85
+
86
+ # Credits
87
+
88
+ Developed by [Paul Sadauskas]() at
89
+ []().
@@ -1,5 +1,91 @@
1
+
1
2
  module Injector
2
- require 'injector/resolver'
3
- require 'injector/controller_method'
4
- include Injector::Resolver
3
+ def self.extended(mod)
4
+ mod.class_eval <<-RUBY, __FILE__, __LINE__ + 1
5
+ def self.included(klass)
6
+ klass.send(:include, Injector::InitializerMethods)
7
+ end
8
+ RUBY
9
+ end
10
+
11
+ module InitializerMethods
12
+ def initialize(**kwargs)
13
+ kwargs.each do |name, value|
14
+ define_singleton_method(name) { value }
15
+ end
16
+ end
17
+ end
18
+
19
+ def substitute(overrides)
20
+ overrides.each do |name, object|
21
+ __replace_method(name, object)
22
+ end
23
+
24
+ yield
25
+
26
+ overrides.each do |name, _|
27
+ __restore_method(name)
28
+ end
29
+ end
30
+
31
+ private
32
+
33
+ def __replace_method(name, value)
34
+ stashed_method_name = __stashed_method_name(name)
35
+ alias_method stashed_method_name, name
36
+ define_method(name) { value }
37
+ end
38
+
39
+ def __restore_method(name)
40
+ stashed_method_name = __stashed_method_name(name)
41
+ alias_method name, stashed_method_name
42
+ undef_method stashed_method_name
43
+ end
44
+
45
+ def __stashed_method_name(name)
46
+ :"__substituted_method_#{name}"
47
+ end
5
48
  end
49
+
50
+ __END__
51
+
52
+ # Example Injector
53
+ module Clients
54
+ extend Injector
55
+
56
+ def http_client
57
+ HTTP
58
+ end
59
+
60
+ def heroku_client
61
+ HerokuClient
62
+ end
63
+ end
64
+
65
+
66
+ # Example service object consuming config bucket
67
+ class HerokuProvisioner
68
+ include Clients
69
+
70
+ def initialize(app, option: nil, **kwargs)
71
+ @app = app
72
+ super(**kwargs)
73
+ end
74
+ end
75
+
76
+ # Normal usage
77
+ provisioner = HerokuProvisioner.new(:app)
78
+
79
+ provisioner.http_client #=> HTTP
80
+
81
+ FakeHTTP = HTTP
82
+
83
+ # Substitute the object we're using with another one for the duration of the block
84
+ Clients.substitute(http_client: FakeHTTP) do
85
+ provisioner.http_client #=> FakeHTTP
86
+ end
87
+
88
+ provisioner.http_client #=> HTTP
89
+
90
+ # Also override using kwargs
91
+ HerokuProvisioner.new(:app, http_client: FakeHTTP).http_client #=> FakeHTTP
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Injector
4
+ # Gem identity information.
5
+ module Identity
6
+ def self.name
7
+ "injector"
8
+ end
9
+
10
+ def self.label
11
+ "Injector"
12
+ end
13
+
14
+ def self.version
15
+ "0.1.0"
16
+ end
17
+
18
+ def self.version_label
19
+ "#{label} #{version}"
20
+ end
21
+ end
22
+ end
metadata CHANGED
@@ -1,220 +1,176 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: injector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
- - Lauro Caetano
7
+ - Paul Sadauskas
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-05-17 00:00:00.000000000 Z
11
+ date: 2017-01-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: rails
14
+ name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: 3.2.3
22
- type: :runtime
19
+ version: '12.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '12.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: gemsmith
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '8.2'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '8.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.10'
48
+ type: :development
23
49
  prerelease: false
24
50
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
51
  requirements:
27
- - - ~>
52
+ - - "~>"
28
53
  - !ruby/object:Gem::Version
29
- version: 3.2.3
54
+ version: '0.10'
30
55
  - !ruby/object:Gem::Dependency
31
- name: sqlite3
56
+ name: pry-byebug
32
57
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
58
  requirements:
35
- - - ! '>='
59
+ - - "~>"
36
60
  - !ruby/object:Gem::Version
37
- version: '0'
61
+ version: '3.4'
38
62
  type: :development
39
63
  prerelease: false
40
64
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
65
  requirements:
43
- - - ! '>='
66
+ - - "~>"
44
67
  - !ruby/object:Gem::Version
45
- version: '0'
46
- description: Injector loads model objects for controllers, it means that Injector
47
- takes care of initialization and loading for you.
68
+ version: '3.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-state
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.5'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.5'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '4.7'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '4.7'
111
+ - !ruby/object:Gem::Dependency
112
+ name: reek
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '4.5'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '4.5'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.46'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.46'
139
+ description:
48
140
  email:
49
- - laurocaetano1@gmail.com
141
+ - psadauskas@gmail.com
50
142
  executables: []
51
143
  extensions: []
52
- extra_rdoc_files: []
144
+ extra_rdoc_files:
145
+ - README.md
146
+ - LICENSE.md
53
147
  files:
54
- - lib/injector/controller_method.rb
55
- - lib/injector/resolver.rb
56
- - lib/injector/version.rb
57
- - lib/injector.rb
58
- - lib/tasks/injector_tasks.rake
59
- - MIT-LICENSE
60
- - Rakefile
148
+ - LICENSE.md
61
149
  - README.md
62
- - test/dummy/app/assets/javascripts/application.js
63
- - test/dummy/app/assets/javascripts/cars.js
64
- - test/dummy/app/assets/javascripts/dogs.js
65
- - test/dummy/app/assets/stylesheets/application.css
66
- - test/dummy/app/assets/stylesheets/cars.css
67
- - test/dummy/app/assets/stylesheets/dogs.css
68
- - test/dummy/app/assets/stylesheets/scaffold.css
69
- - test/dummy/app/controllers/application_controller.rb
70
- - test/dummy/app/controllers/cars_controller.rb
71
- - test/dummy/app/controllers/dogs_controller.rb
72
- - test/dummy/app/helpers/application_helper.rb
73
- - test/dummy/app/helpers/cars_helper.rb
74
- - test/dummy/app/helpers/dogs_helper.rb
75
- - test/dummy/app/models/car.rb
76
- - test/dummy/app/models/dog.rb
77
- - test/dummy/app/views/cars/_form.html.erb
78
- - test/dummy/app/views/cars/edit.html.erb
79
- - test/dummy/app/views/cars/index.html.erb
80
- - test/dummy/app/views/cars/new.html.erb
81
- - test/dummy/app/views/cars/show.html.erb
82
- - test/dummy/app/views/dogs/_form.html.erb
83
- - test/dummy/app/views/dogs/edit.html.erb
84
- - test/dummy/app/views/dogs/index.html.erb
85
- - test/dummy/app/views/dogs/new.html.erb
86
- - test/dummy/app/views/dogs/show.html.erb
87
- - test/dummy/app/views/layouts/application.html.erb
88
- - test/dummy/config/application.rb
89
- - test/dummy/config/boot.rb
90
- - test/dummy/config/database.yml
91
- - test/dummy/config/environment.rb
92
- - test/dummy/config/environments/development.rb
93
- - test/dummy/config/environments/production.rb
94
- - test/dummy/config/environments/test.rb
95
- - test/dummy/config/initializers/backtrace_silencers.rb
96
- - test/dummy/config/initializers/inflections.rb
97
- - test/dummy/config/initializers/mime_types.rb
98
- - test/dummy/config/initializers/secret_token.rb
99
- - test/dummy/config/initializers/session_store.rb
100
- - test/dummy/config/initializers/wrap_parameters.rb
101
- - test/dummy/config/locales/en.yml
102
- - test/dummy/config/routes.rb
103
- - test/dummy/config.ru
104
- - test/dummy/db/development.sqlite3
105
- - test/dummy/db/migrate/20120517025757_create_cars.rb
106
- - test/dummy/db/migrate/20120517043520_create_dogs.rb
107
- - test/dummy/db/schema.rb
108
- - test/dummy/db/test.sqlite3
109
- - test/dummy/development.sqlite3
110
- - test/dummy/log/development.log
111
- - test/dummy/log/test.log
112
- - test/dummy/public/404.html
113
- - test/dummy/public/422.html
114
- - test/dummy/public/500.html
115
- - test/dummy/public/favicon.ico
116
- - test/dummy/Rakefile
117
- - test/dummy/README.rdoc
118
- - test/dummy/script/rails
119
- - test/dummy/test/fixtures/cars.yml
120
- - test/dummy/test/fixtures/dogs.yml
121
- - test/dummy/test/functional/cars_controller_test.rb
122
- - test/dummy/test/functional/dogs_controller_test.rb
123
- - test/dummy/test/unit/car_test.rb
124
- - test/dummy/test/unit/dog_test.rb
125
- - test/dummy/test/unit/helpers/cars_helper_test.rb
126
- - test/dummy/test/unit/helpers/dogs_helper_test.rb
127
- - test/injector_test.rb
128
- - test/test_helper.rb
129
- homepage: https://github.com/laurocaetano/injector
130
- licenses: []
150
+ - lib/injector.rb
151
+ - lib/injector/identity.rb
152
+ homepage: ''
153
+ licenses:
154
+ - MIT
155
+ metadata: {}
131
156
  post_install_message:
132
157
  rdoc_options: []
133
158
  require_paths:
134
159
  - lib
135
160
  required_ruby_version: !ruby/object:Gem::Requirement
136
- none: false
137
161
  requirements:
138
- - - ! '>='
162
+ - - ">="
139
163
  - !ruby/object:Gem::Version
140
164
  version: '0'
141
165
  required_rubygems_version: !ruby/object:Gem::Requirement
142
- none: false
143
166
  requirements:
144
- - - ! '>='
167
+ - - ">="
145
168
  - !ruby/object:Gem::Version
146
169
  version: '0'
147
170
  requirements: []
148
171
  rubyforge_project:
149
- rubygems_version: 1.8.24
172
+ rubygems_version: 2.6.8
150
173
  signing_key:
151
- specification_version: 3
152
- summary: Injector to Controllers
153
- test_files:
154
- - test/dummy/app/assets/javascripts/application.js
155
- - test/dummy/app/assets/javascripts/cars.js
156
- - test/dummy/app/assets/javascripts/dogs.js
157
- - test/dummy/app/assets/stylesheets/application.css
158
- - test/dummy/app/assets/stylesheets/cars.css
159
- - test/dummy/app/assets/stylesheets/dogs.css
160
- - test/dummy/app/assets/stylesheets/scaffold.css
161
- - test/dummy/app/controllers/application_controller.rb
162
- - test/dummy/app/controllers/cars_controller.rb
163
- - test/dummy/app/controllers/dogs_controller.rb
164
- - test/dummy/app/helpers/application_helper.rb
165
- - test/dummy/app/helpers/cars_helper.rb
166
- - test/dummy/app/helpers/dogs_helper.rb
167
- - test/dummy/app/models/car.rb
168
- - test/dummy/app/models/dog.rb
169
- - test/dummy/app/views/cars/_form.html.erb
170
- - test/dummy/app/views/cars/edit.html.erb
171
- - test/dummy/app/views/cars/index.html.erb
172
- - test/dummy/app/views/cars/new.html.erb
173
- - test/dummy/app/views/cars/show.html.erb
174
- - test/dummy/app/views/dogs/_form.html.erb
175
- - test/dummy/app/views/dogs/edit.html.erb
176
- - test/dummy/app/views/dogs/index.html.erb
177
- - test/dummy/app/views/dogs/new.html.erb
178
- - test/dummy/app/views/dogs/show.html.erb
179
- - test/dummy/app/views/layouts/application.html.erb
180
- - test/dummy/config/application.rb
181
- - test/dummy/config/boot.rb
182
- - test/dummy/config/database.yml
183
- - test/dummy/config/environment.rb
184
- - test/dummy/config/environments/development.rb
185
- - test/dummy/config/environments/production.rb
186
- - test/dummy/config/environments/test.rb
187
- - test/dummy/config/initializers/backtrace_silencers.rb
188
- - test/dummy/config/initializers/inflections.rb
189
- - test/dummy/config/initializers/mime_types.rb
190
- - test/dummy/config/initializers/secret_token.rb
191
- - test/dummy/config/initializers/session_store.rb
192
- - test/dummy/config/initializers/wrap_parameters.rb
193
- - test/dummy/config/locales/en.yml
194
- - test/dummy/config/routes.rb
195
- - test/dummy/config.ru
196
- - test/dummy/db/development.sqlite3
197
- - test/dummy/db/migrate/20120517025757_create_cars.rb
198
- - test/dummy/db/migrate/20120517043520_create_dogs.rb
199
- - test/dummy/db/schema.rb
200
- - test/dummy/db/test.sqlite3
201
- - test/dummy/development.sqlite3
202
- - test/dummy/log/development.log
203
- - test/dummy/log/test.log
204
- - test/dummy/public/404.html
205
- - test/dummy/public/422.html
206
- - test/dummy/public/500.html
207
- - test/dummy/public/favicon.ico
208
- - test/dummy/Rakefile
209
- - test/dummy/README.rdoc
210
- - test/dummy/script/rails
211
- - test/dummy/test/fixtures/cars.yml
212
- - test/dummy/test/fixtures/dogs.yml
213
- - test/dummy/test/functional/cars_controller_test.rb
214
- - test/dummy/test/functional/dogs_controller_test.rb
215
- - test/dummy/test/unit/car_test.rb
216
- - test/dummy/test/unit/dog_test.rb
217
- - test/dummy/test/unit/helpers/cars_helper_test.rb
218
- - test/dummy/test/unit/helpers/dogs_helper_test.rb
219
- - test/injector_test.rb
220
- - test/test_helper.rb
174
+ specification_version: 4
175
+ summary: ''
176
+ test_files: []