json_voorhees 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e48185b7d2ceab5a233d5bf52f70740198c9475
4
- data.tar.gz: cf01fa56c07c05530cbb63607422e2e5a08425a7
3
+ metadata.gz: a8a46f42ce5e5ab8312c001a103eff6ab1f02d4c
4
+ data.tar.gz: 80b319405df68103ec5d76152d96ad5659240d7f
5
5
  SHA512:
6
- metadata.gz: 73a28bb54a0d9e728cb4d8417acb96194996e9204a75b66928a12493097330e3a80aa943440a9ab02b29e26e5be94ac91f3acdba0d55580b314f36cd19fd2b28
7
- data.tar.gz: 45f48512ef76c40f646377185807bf727307654438bebec02003fd7ebe994dee8d42426f89a51aafcc15a6d88f9f8c3097db573b2d91bd8adaae69fb67184da6
6
+ metadata.gz: 86832aa8c07eeb1f4a98a27532b83b7019c2729e59dd06e853782d700227428c34e5567dc83a38cc08cacdee1fcf879bf28c25e461a061adeb7eaac4ef92a058
7
+ data.tar.gz: 522c99c2f1c1a0757b5d10a4525812d15a53f562d71127872a80bcfe8f8e5735aa247b1414a3fb84f6a638e83009d3fa53b2e81dcb9f54e2a5a51419ed6d8a02
data/README.md CHANGED
@@ -38,6 +38,11 @@ Go to the engines folder and create an engine like so.
38
38
  ```bash
39
39
  rails plugin new [engine name] --mountable
40
40
  cd [engine name]
41
+ ```
42
+ Now add the gem to your gemspec like so and execute the following command
43
+
44
+ ```bash
45
+ s.add_development_dependency "json_voorhees"
41
46
  rails g json_voorhees:setup_engine [engine name]
42
47
  ```
43
48
  After scaffolding out your resource, generate the necessary api controller
@@ -60,13 +65,12 @@ For every resource created, those 4 are ran in their respective locations.
60
65
 
61
66
  ## Notes
62
67
 
63
- Remember to put your engine inside the main_apps Gemfile after you create it.
64
- Remember to mount the engine inside the main_apps routing file.
65
- Your engines resource routes need to go inside the correct scoping.
66
- After you create your model and create the api_controller, change the white listed
67
- params in the controller to fit accordingly.
68
- The attribute changes need to also be accurately represented in the factory girl factory
69
- and also in the serializer and authorization gem.
68
+ 1. Remember to put your engine inside the main_apps Gemfile after you create it.
69
+ 2. Remember to mount the engine inside the main_apps routing file.
70
+ 3. Your engines resource routes also need to go inside the correct scoping inside the engine.
71
+ 4. After you create your model and create the api_controller, change the white listed
72
+ params in the controller to fit accordingly.
73
+ 5. The attribute changes need to also be accurately represented in the factory girl factory and also in the serializer and authorization gem.
70
74
 
71
75
  ## To Do
72
76
 
@@ -59,7 +59,6 @@ module JsonVoorhees
59
59
  s.add_dependency "arcadex"
60
60
  s.add_dependency "active_model_serializers", "~> 0.8.0"
61
61
  s.add_dependency "bcrypt", "~> 3.1.7"
62
- s.add_development_dependency "json_voorhees"
63
62
  s.add_development_dependency "annotate", ">=2.6.0"
64
63
 
65
64
  RUBY
@@ -1,3 +1,3 @@
1
1
  module JsonVoorhees
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_voorhees
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cleophus Robinson