rusty_engine 0.0.1

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 (74) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/javascripts/rusty_engine/application.js +13 -0
  6. data/app/assets/javascripts/rusty_engine/profiles.js +2 -0
  7. data/app/assets/stylesheets/rusty_engine/application.css +15 -0
  8. data/app/assets/stylesheets/rusty_engine/profiles.css +4 -0
  9. data/app/assets/stylesheets/scaffold.css +56 -0
  10. data/app/controllers/rusty_engine/application_controller.rb +4 -0
  11. data/app/controllers/rusty_engine/profiles_controller.rb +62 -0
  12. data/app/helpers/rusty_engine/application_helper.rb +4 -0
  13. data/app/helpers/rusty_engine/failures_helper.rb +4 -0
  14. data/app/helpers/rusty_engine/profiles_helper.rb +4 -0
  15. data/app/models/rusty_engine/profile.rb +7 -0
  16. data/app/views/layouts/rusty_engine/application.html.erb +14 -0
  17. data/app/views/rusty_engine/profiles/_form.html.erb +25 -0
  18. data/app/views/rusty_engine/profiles/edit.html.erb +6 -0
  19. data/app/views/rusty_engine/profiles/index.html.erb +27 -0
  20. data/app/views/rusty_engine/profiles/new.html.erb +5 -0
  21. data/app/views/rusty_engine/profiles/show.html.erb +14 -0
  22. data/config/routes.rb +6 -0
  23. data/db/migrate/20170615202658_create_rusty_engine_profiles.rb +10 -0
  24. data/lib/rusty_engine/engine.rb +5 -0
  25. data/lib/rusty_engine/version.rb +3 -0
  26. data/lib/rusty_engine.rb +7 -0
  27. data/lib/tasks/rusty_engine_tasks.rake +4 -0
  28. data/test/controllers/rusty_engine/profiles_controller_test.rb +51 -0
  29. data/test/dummy/README.rdoc +28 -0
  30. data/test/dummy/Rakefile +6 -0
  31. data/test/dummy/app/assets/javascripts/application.js +13 -0
  32. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  33. data/test/dummy/app/controllers/application_controller.rb +5 -0
  34. data/test/dummy/app/helpers/application_helper.rb +2 -0
  35. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  36. data/test/dummy/bin/bundle +3 -0
  37. data/test/dummy/bin/rails +4 -0
  38. data/test/dummy/bin/rake +4 -0
  39. data/test/dummy/config/application.rb +23 -0
  40. data/test/dummy/config/boot.rb +5 -0
  41. data/test/dummy/config/database.yml +25 -0
  42. data/test/dummy/config/environment.rb +5 -0
  43. data/test/dummy/config/environments/development.rb +37 -0
  44. data/test/dummy/config/environments/production.rb +78 -0
  45. data/test/dummy/config/environments/test.rb +39 -0
  46. data/test/dummy/config/initializers/assets.rb +8 -0
  47. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  48. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  49. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  50. data/test/dummy/config/initializers/inflections.rb +16 -0
  51. data/test/dummy/config/initializers/mime_types.rb +4 -0
  52. data/test/dummy/config/initializers/session_store.rb +3 -0
  53. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  54. data/test/dummy/config/locales/en.yml +23 -0
  55. data/test/dummy/config/routes.rb +4 -0
  56. data/test/dummy/config/secrets.yml +22 -0
  57. data/test/dummy/config.ru +4 -0
  58. data/test/dummy/db/development.sqlite3 +0 -0
  59. data/test/dummy/db/schema.rb +23 -0
  60. data/test/dummy/db/test.sqlite3 +0 -0
  61. data/test/dummy/log/development.log +18 -0
  62. data/test/dummy/log/test.log +52 -0
  63. data/test/dummy/public/404.html +67 -0
  64. data/test/dummy/public/422.html +67 -0
  65. data/test/dummy/public/500.html +66 -0
  66. data/test/dummy/public/favicon.ico +0 -0
  67. data/test/fixtures/rusty_engine/profiles.yml +9 -0
  68. data/test/helpers/rusty_engine/failures_helper_test.rb +6 -0
  69. data/test/helpers/rusty_engine/profiles_helper_test.rb +6 -0
  70. data/test/integration/navigation_test.rb +10 -0
  71. data/test/models/rusty_engine/profile_test.rb +9 -0
  72. data/test/rusty_engine_test.rb +7 -0
  73. data/test/test_helper.rb +17 -0
  74. metadata +191 -0
@@ -0,0 +1,17 @@
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
+ ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
7
+ require "rails/test_help"
8
+
9
+ Rails.backtrace_cleaner.remove_silencers!
10
+
11
+ # Load support files
12
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
13
+
14
+ # Load fixtures from the engine
15
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
16
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
17
+ end
metadata ADDED
@@ -0,0 +1,191 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rusty_engine
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Joe Stannard
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-06-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.1.8
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.8
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: This is my first attempt at trying to create a ruby on rails application
42
+ engine
43
+ email:
44
+ - stannajl@miamioh.edu
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - MIT-LICENSE
50
+ - README.rdoc
51
+ - Rakefile
52
+ - app/assets/javascripts/rusty_engine/application.js
53
+ - app/assets/javascripts/rusty_engine/profiles.js
54
+ - app/assets/stylesheets/rusty_engine/application.css
55
+ - app/assets/stylesheets/rusty_engine/profiles.css
56
+ - app/assets/stylesheets/scaffold.css
57
+ - app/controllers/rusty_engine/application_controller.rb
58
+ - app/controllers/rusty_engine/profiles_controller.rb
59
+ - app/helpers/rusty_engine/application_helper.rb
60
+ - app/helpers/rusty_engine/failures_helper.rb
61
+ - app/helpers/rusty_engine/profiles_helper.rb
62
+ - app/models/rusty_engine/profile.rb
63
+ - app/views/layouts/rusty_engine/application.html.erb
64
+ - app/views/rusty_engine/profiles/_form.html.erb
65
+ - app/views/rusty_engine/profiles/edit.html.erb
66
+ - app/views/rusty_engine/profiles/index.html.erb
67
+ - app/views/rusty_engine/profiles/new.html.erb
68
+ - app/views/rusty_engine/profiles/show.html.erb
69
+ - config/routes.rb
70
+ - db/migrate/20170615202658_create_rusty_engine_profiles.rb
71
+ - lib/rusty_engine.rb
72
+ - lib/rusty_engine/engine.rb
73
+ - lib/rusty_engine/version.rb
74
+ - lib/tasks/rusty_engine_tasks.rake
75
+ - test/controllers/rusty_engine/profiles_controller_test.rb
76
+ - test/dummy/README.rdoc
77
+ - test/dummy/Rakefile
78
+ - test/dummy/app/assets/javascripts/application.js
79
+ - test/dummy/app/assets/stylesheets/application.css
80
+ - test/dummy/app/controllers/application_controller.rb
81
+ - test/dummy/app/helpers/application_helper.rb
82
+ - test/dummy/app/views/layouts/application.html.erb
83
+ - test/dummy/bin/bundle
84
+ - test/dummy/bin/rails
85
+ - test/dummy/bin/rake
86
+ - test/dummy/config.ru
87
+ - test/dummy/config/application.rb
88
+ - test/dummy/config/boot.rb
89
+ - test/dummy/config/database.yml
90
+ - test/dummy/config/environment.rb
91
+ - test/dummy/config/environments/development.rb
92
+ - test/dummy/config/environments/production.rb
93
+ - test/dummy/config/environments/test.rb
94
+ - test/dummy/config/initializers/assets.rb
95
+ - test/dummy/config/initializers/backtrace_silencers.rb
96
+ - test/dummy/config/initializers/cookies_serializer.rb
97
+ - test/dummy/config/initializers/filter_parameter_logging.rb
98
+ - test/dummy/config/initializers/inflections.rb
99
+ - test/dummy/config/initializers/mime_types.rb
100
+ - test/dummy/config/initializers/session_store.rb
101
+ - test/dummy/config/initializers/wrap_parameters.rb
102
+ - test/dummy/config/locales/en.yml
103
+ - test/dummy/config/routes.rb
104
+ - test/dummy/config/secrets.yml
105
+ - test/dummy/db/development.sqlite3
106
+ - test/dummy/db/schema.rb
107
+ - test/dummy/db/test.sqlite3
108
+ - test/dummy/log/development.log
109
+ - test/dummy/log/test.log
110
+ - test/dummy/public/404.html
111
+ - test/dummy/public/422.html
112
+ - test/dummy/public/500.html
113
+ - test/dummy/public/favicon.ico
114
+ - test/fixtures/rusty_engine/profiles.yml
115
+ - test/helpers/rusty_engine/failures_helper_test.rb
116
+ - test/helpers/rusty_engine/profiles_helper_test.rb
117
+ - test/integration/navigation_test.rb
118
+ - test/models/rusty_engine/profile_test.rb
119
+ - test/rusty_engine_test.rb
120
+ - test/test_helper.rb
121
+ homepage: https://github.com/rougehero/railsEngineTest.git
122
+ licenses:
123
+ - MIT
124
+ metadata: {}
125
+ post_install_message:
126
+ rdoc_options: []
127
+ require_paths:
128
+ - lib
129
+ required_ruby_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ required_rubygems_version: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ requirements: []
140
+ rubyforge_project:
141
+ rubygems_version: 2.6.12
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: Testing how to implement engines
145
+ test_files:
146
+ - test/controllers/rusty_engine/profiles_controller_test.rb
147
+ - test/dummy/app/assets/javascripts/application.js
148
+ - test/dummy/app/assets/stylesheets/application.css
149
+ - test/dummy/app/controllers/application_controller.rb
150
+ - test/dummy/app/helpers/application_helper.rb
151
+ - test/dummy/app/views/layouts/application.html.erb
152
+ - test/dummy/bin/bundle
153
+ - test/dummy/bin/rails
154
+ - test/dummy/bin/rake
155
+ - test/dummy/config/application.rb
156
+ - test/dummy/config/boot.rb
157
+ - test/dummy/config/database.yml
158
+ - test/dummy/config/environment.rb
159
+ - test/dummy/config/environments/development.rb
160
+ - test/dummy/config/environments/production.rb
161
+ - test/dummy/config/environments/test.rb
162
+ - test/dummy/config/initializers/assets.rb
163
+ - test/dummy/config/initializers/backtrace_silencers.rb
164
+ - test/dummy/config/initializers/cookies_serializer.rb
165
+ - test/dummy/config/initializers/filter_parameter_logging.rb
166
+ - test/dummy/config/initializers/inflections.rb
167
+ - test/dummy/config/initializers/mime_types.rb
168
+ - test/dummy/config/initializers/session_store.rb
169
+ - test/dummy/config/initializers/wrap_parameters.rb
170
+ - test/dummy/config/locales/en.yml
171
+ - test/dummy/config/routes.rb
172
+ - test/dummy/config/secrets.yml
173
+ - test/dummy/config.ru
174
+ - test/dummy/db/development.sqlite3
175
+ - test/dummy/db/schema.rb
176
+ - test/dummy/db/test.sqlite3
177
+ - test/dummy/log/development.log
178
+ - test/dummy/log/test.log
179
+ - test/dummy/public/404.html
180
+ - test/dummy/public/422.html
181
+ - test/dummy/public/500.html
182
+ - test/dummy/public/favicon.ico
183
+ - test/dummy/Rakefile
184
+ - test/dummy/README.rdoc
185
+ - test/fixtures/rusty_engine/profiles.yml
186
+ - test/helpers/rusty_engine/failures_helper_test.rb
187
+ - test/helpers/rusty_engine/profiles_helper_test.rb
188
+ - test/integration/navigation_test.rb
189
+ - test/models/rusty_engine/profile_test.rb
190
+ - test/rusty_engine_test.rb
191
+ - test/test_helper.rb