json_voorhees 0.1.0 → 0.2.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 (26) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -12
  3. data/lib/generators/json_voorhees/app_make_tests/app_make_tests_generator.rb +10 -1
  4. data/lib/generators/json_voorhees/app_make_tests/templates/no_auth_request.rb.erb +25 -1
  5. data/lib/generators/json_voorhees/app_make_tests/templates/request.rb.erb +37 -1
  6. data/lib/generators/json_voorhees/app_scaffold/app_scaffold_generator.rb +7 -2
  7. data/lib/generators/json_voorhees/engine_create_controller/engine_create_controller_generator.rb +2 -2
  8. data/lib/generators/json_voorhees/engine_create_controller/templates/controller_template.rb.erb +6 -6
  9. data/lib/generators/json_voorhees/engine_create_controller/templates/no_auth_controller_template.rb.erb +6 -6
  10. data/lib/generators/json_voorhees/engine_scaffold/engine_scaffold_generator.rb +8 -3
  11. data/lib/generators/json_voorhees/massive_scaffold/massive_scaffold_generator.rb +14 -2
  12. data/lib/generators/json_voorhees/setup_app/setup_app_generator.rb +2 -2
  13. data/lib/generators/json_voorhees/setup_app/templates/api_controller_no_arcadex.rb +6 -0
  14. data/lib/generators/json_voorhees/setup_app/templates/user/specs/request_specs.rb +96 -65
  15. data/lib/json_voorhees/version.rb +1 -1
  16. data/test/test_app/Gemfile.lock +1 -1
  17. data/test/test_app/db/development.sqlite3 +0 -0
  18. data/test/test_app/db/schema.rb +1 -19
  19. data/test/test_app/engines/people/test/dummy/db/development.sqlite3 +0 -0
  20. data/test/test_app/engines/people/test/dummy/log/development.log +0 -0
  21. data/test/test_app/log/development.log +91 -0
  22. data/test/test_app/log/production.log +9 -0
  23. data/test/test_app/log/test.log +4428 -0
  24. metadata +8 -9
  25. data/test/test_app/db/production.sqlite3 +0 -0
  26. data/test/test_app/db/test.sqlite3 +0 -0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_voorhees
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cleophus Robinson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-06 00:00:00.000000000 Z
11
+ date: 2014-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -38,9 +38,8 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: Uses a series of generators to get a project set with all of the boilerplates
42
- finished. It uses rails-api and ams to create a framework that I use on all of my
43
- api backends
41
+ description: Builds out a json api using a series of best practices. It allows any
42
+ project to go from 0 to 100 and ramp up very quickly.
44
43
  email:
45
44
  - CleoR41@gmail.com
46
45
  executables: []
@@ -192,10 +191,8 @@ files:
192
191
  - test/test_app/db/migrate/20140905145354_create_people_users.people.rb
193
192
  - test/test_app/db/migrate/20140905145355_create_arcadex_tokens.arcadex.rb
194
193
  - test/test_app/db/migrate/20140905145356_add_index_to_token.arcadex.rb
195
- - test/test_app/db/production.sqlite3
196
194
  - test/test_app/db/schema.rb
197
195
  - test/test_app/db/seeds.rb
198
- - test/test_app/db/test.sqlite3
199
196
  - test/test_app/engines/people/Gemfile
200
197
  - test/test_app/engines/people/Gemfile.lock
201
198
  - test/test_app/engines/people/MIT-LICENSE
@@ -258,7 +255,9 @@ files:
258
255
  - test/test_app/engines/people/test/dummy/config/locales/en.yml
259
256
  - test/test_app/engines/people/test/dummy/config/routes.rb
260
257
  - test/test_app/engines/people/test/dummy/config/secrets.yml
258
+ - test/test_app/engines/people/test/dummy/db/development.sqlite3
261
259
  - test/test_app/engines/people/test/dummy/db/schema.rb
260
+ - test/test_app/engines/people/test/dummy/log/development.log
262
261
  - test/test_app/engines/people/test/dummy/public/404.html
263
262
  - test/test_app/engines/people/test/dummy/public/422.html
264
263
  - test/test_app/engines/people/test/dummy/public/500.html
@@ -501,8 +500,6 @@ test_files:
501
500
  - test/test_app/config/environments/development.rb
502
501
  - test/test_app/config/environments/production.rb
503
502
  - test/test_app/config/secrets.yml
504
- - test/test_app/db/test.sqlite3
505
- - test/test_app/db/production.sqlite3
506
503
  - test/test_app/db/schema.rb
507
504
  - test/test_app/db/migrate/20140905145355_create_arcadex_tokens.arcadex.rb
508
505
  - test/test_app/db/migrate/20140905145356_add_index_to_token.arcadex.rb
@@ -577,6 +574,7 @@ test_files:
577
574
  - test/test_app/engines/people/test/dummy/config/environments/production.rb
578
575
  - test/test_app/engines/people/test/dummy/config/secrets.yml
579
576
  - test/test_app/engines/people/test/dummy/db/schema.rb
577
+ - test/test_app/engines/people/test/dummy/db/development.sqlite3
580
578
  - test/test_app/engines/people/test/dummy/Rakefile
581
579
  - test/test_app/engines/people/test/dummy/README.rdoc
582
580
  - test/test_app/engines/people/test/dummy/app/controllers/application_controller.rb
@@ -584,6 +582,7 @@ test_files:
584
582
  - test/test_app/engines/people/test/dummy/app/helpers/application_helper.rb
585
583
  - test/test_app/engines/people/test/dummy/app/assets/javascripts/application.js
586
584
  - test/test_app/engines/people/test/dummy/app/assets/stylesheets/application.css
585
+ - test/test_app/engines/people/test/dummy/log/development.log
587
586
  - test/test_app/engines/people/test/test_helper.rb
588
587
  - test/test_app/engines/people/test/helpers/people/users_helper_test.rb
589
588
  - test/test_app/engines/people/people.gemspec
Binary file
Binary file