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.
- checksums.yaml +4 -4
- data/README.md +17 -12
- data/lib/generators/json_voorhees/app_make_tests/app_make_tests_generator.rb +10 -1
- data/lib/generators/json_voorhees/app_make_tests/templates/no_auth_request.rb.erb +25 -1
- data/lib/generators/json_voorhees/app_make_tests/templates/request.rb.erb +37 -1
- data/lib/generators/json_voorhees/app_scaffold/app_scaffold_generator.rb +7 -2
- data/lib/generators/json_voorhees/engine_create_controller/engine_create_controller_generator.rb +2 -2
- data/lib/generators/json_voorhees/engine_create_controller/templates/controller_template.rb.erb +6 -6
- data/lib/generators/json_voorhees/engine_create_controller/templates/no_auth_controller_template.rb.erb +6 -6
- data/lib/generators/json_voorhees/engine_scaffold/engine_scaffold_generator.rb +8 -3
- data/lib/generators/json_voorhees/massive_scaffold/massive_scaffold_generator.rb +14 -2
- data/lib/generators/json_voorhees/setup_app/setup_app_generator.rb +2 -2
- data/lib/generators/json_voorhees/setup_app/templates/api_controller_no_arcadex.rb +6 -0
- data/lib/generators/json_voorhees/setup_app/templates/user/specs/request_specs.rb +96 -65
- data/lib/json_voorhees/version.rb +1 -1
- data/test/test_app/Gemfile.lock +1 -1
- data/test/test_app/db/development.sqlite3 +0 -0
- data/test/test_app/db/schema.rb +1 -19
- data/test/test_app/engines/people/test/dummy/db/development.sqlite3 +0 -0
- data/test/test_app/engines/people/test/dummy/log/development.log +0 -0
- data/test/test_app/log/development.log +91 -0
- data/test/test_app/log/production.log +9 -0
- data/test/test_app/log/test.log +4428 -0
- metadata +8 -9
- data/test/test_app/db/production.sqlite3 +0 -0
- 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.
|
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-
|
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:
|
42
|
-
|
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
|