easy_gen 1.1.0 → 1.1.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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/lib/easy_gen/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95fcbb1b48e4b5858a5854dadc9fe36ba71f9f3398ca4af37d1c2ca3034ca59d
4
- data.tar.gz: 99967e9153f72da95d478f89588c9a146632fd4620774bad171839dd327e3062
3
+ metadata.gz: 78c3340c938e79d367a536ce3baa166f48f29ab4841248f684365326c984e38a
4
+ data.tar.gz: a7bb4d826a15b058dd4e1b3d4f4a4f0c1e266496e4176d12780ed05e48bb5f58
5
5
  SHA512:
6
- metadata.gz: 9b22fa93da43aa81936bd2d697b2019b951ef391d2baad23ba9c3144d893459af4fbb2f0cd24f770f2b3a63753428aa41d7f4c6bdaeb44f6ca31a92cd27667ac
7
- data.tar.gz: 1a9b12cd25981af1c3db68fef2f6e0fb1ef7179bc6b33cefe02e3cfbba7128f19b7bc75a5cb7667694c2c07dce0a00ac4aad4843d8785b0f95f579d727325351
6
+ metadata.gz: 445c0290345dae4a65c8f8d13b1255cce639074d909da9b15bfdf23100e8785137caaadf4210f81e47d3b0e2933170ad5db219b4892dd20dae867399d16a3194
7
+ data.tar.gz: 231e436f75e3e287316991dc9095f644d37710f138251a091865e4d1edc5a56404b786463465252d31a77a9bcc63d62e0247434307b00f3f037e5c039e8fb5f8
data/README.md CHANGED
@@ -18,10 +18,10 @@ In the usual way.
18
18
 
19
19
  ## Using generators
20
20
 
21
- #Service Objects:
21
+ #Service Objects (See this link for example usage: https://www.honeybadger.io/blog/refactor-ruby-rails-service-object/):
22
22
 
23
23
  ```sh
24
- bundle exec rails g service ServiceClassName
24
+ bundle exec rails g service serviceclassname
25
25
  ```
26
26
 
27
27
  The command above:
@@ -42,9 +42,9 @@ The command above:
42
42
 
43
43
  - Creates '/app/domain' directory if it doesnt exist.
44
44
  - Installs new application domain class in '/app/domain' with the name 'ApplicationNull' in file '/app/domain/application_null.rb.'
45
- - Installs new domain class in '/app/domain' with the class name 'NullModelname' in the file /app/domain/null_modelname.rb. This will inherit from /app/domain/application_null.rb.'
45
+ - Installs new domain class in '/app/domain' with the class name 'ModelnameNull' in the file /app/domain/modelname_null.rb. This will inherit from /app/domain/application_null.rb.'
46
46
  - Creates '/test/domain' directory if it doesnt exist.
47
- - Installs new test class in '/test/domain' with the name 'ServiceClassNameTest' in the file '/test/domain/null_modelname_test.rb'.
47
+ - Installs new test class in '/test/domain' with the name 'ModelnameNullTest' in the file '/test/domain/modelname_null_test.rb'.
48
48
 
49
49
 
50
50
  ** Nothing clever - just saves a bit of typing
@@ -1,3 +1,3 @@
1
1
  module EasyGen
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Stearn