poro-rails 0.2.0 → 0.2.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 +10 -4
  3. data/poro-rails.gemspec +3 -3
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90895ddc35a136c8dcfdb09f853edd9ae2b8c094fa16cb5504a3f5b12ecd7061
4
- data.tar.gz: c62b2845de4558f30e8e1c0c8a1b85c5a8df269e92e447e225825f14155b763b
3
+ metadata.gz: 6f06d512280efbe6d18348edd21daba8338da03dd37778cb97ff4322ad3268b4
4
+ data.tar.gz: 4beb5e621dc81dad656038bbdaa2b9f889ad607458cecf1a4b6c4cd2d466dbf6
5
5
  SHA512:
6
- metadata.gz: 21ee4c77cb3fdeaf91255d1a1c8e349718f81bb14a85a3e9e3bd3df93e0ef085bfd2491a791c56eb34330ca4e958d40c81f56f452d44545a30fcf179f5356d91
7
- data.tar.gz: 3649b71fffbf2680643f17acba6a3fcd273256b815307bd1e3fad6de141329207c9e32c1f222d815baf77e62d9034d4ea24fe9c6f71ce41bdd2efdd26a596318
6
+ metadata.gz: 545178a43d43c2fde35babccb75e7975a9a63846ec2c6240059d914cb2421826c4b4b03f60373c261190ad65795007061c322da0749dacf2899aa868e3b79be9
7
+ data.tar.gz: 246afd9540e3a1c123d3542c614d66c2e766f29f85dd178d2124df567b3db1997279a78fbe671488a92d127081bf780901a3504783bd432c5aa9e3545448b2fb
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # poro-rails
2
2
 
3
- This gem provides generators of **Plain Old Ruby Object** (PORO), **Form Object** and **Service Object** for Ruby on Rails.
3
+ This gem provides generators of **Plain Old Ruby Objects**, **Form Objects** and **Service Objects** for Ruby on Rails.
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,7 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- ### Plain Old Ruby Object
21
+ ### Plain Old Ruby Objects
22
22
 
23
23
  Generate a plain old ruby object via command line:
24
24
 
@@ -34,7 +34,9 @@ These files are created (if it use RSpec in your project, it creates a spec file
34
34
  class Person
35
35
  # include ActiveModel::Model
36
36
  end
37
+ ```
37
38
 
39
+ ```ruby
38
40
  # test/models/person_test.rb
39
41
  require 'test_helper'
40
42
 
@@ -45,7 +47,7 @@ class PersonTest < ActiveSupport::TestCase
45
47
  end
46
48
  ```
47
49
 
48
- ### Form Object
50
+ ### Form Objects
49
51
 
50
52
  Generate a form object via command line:
51
53
 
@@ -61,7 +63,9 @@ These files are created (if it use RSpec in your project, it creates a spec file
61
63
  class CreateUserForm
62
64
  # include ActiveModel::Model
63
65
  end
66
+ ```
64
67
 
68
+ ```ruby
65
69
  # test/forms/create_user_form_test.rb
66
70
  require 'test_helper'
67
71
 
@@ -72,7 +76,7 @@ class CreateUserFormTest < ActiveSupport::TestCase
72
76
  end
73
77
  ```
74
78
 
75
- ### Service Object
79
+ ### Service Objects
76
80
 
77
81
  Generate a service object via command line:
78
82
 
@@ -88,7 +92,9 @@ These files are created (if it use RSpec in your project, it creates a spec file
88
92
  class CreatePaymentService
89
93
  # include ActiveModel::Model
90
94
  end
95
+ ```
91
96
 
97
+ ```ruby
92
98
  # test/services/create_payment_service_test.rb
93
99
  require 'test_helper'
94
100
 
@@ -5,12 +5,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'poro-rails'
8
- s.version = '0.2.0'
8
+ s.version = '0.2.1'
9
9
  s.authors = ['Yoshiyuki Hirano']
10
10
  s.email = ['yhirano@me.com']
11
11
  s.homepage = 'https://github.com/yhirano55/poro-rails'
12
- s.summary = %(Simple Rails Generators for Plain Old Ruby Object, Form Object, and Service Object)
13
- s.description = %(This gem provides generators of Plain Old Ruby Object, Form Object, and Service Object for Ruby on Rails.)
12
+ s.summary = %(Simple Rails Generators for Plain Old Ruby Objects, Form Objects, and Service Objects)
13
+ s.description = %(This gem provides generators of Plain Old Ruby Objects, Form Objects, and Service Objects for Ruby on Rails.)
14
14
  s.license = 'MIT'
15
15
  s.files = Dir.chdir(File.expand_path('.', __dir__)) do
16
16
  `git ls-files -z`.split("\x0")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poro-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiyuki Hirano
@@ -38,8 +38,8 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: This gem provides generators of Plain Old Ruby Object, Form Object, and
42
- Service Object for Ruby on Rails.
41
+ description: This gem provides generators of Plain Old Ruby Objects, Form Objects,
42
+ and Service Objects for Ruby on Rails.
43
43
  email:
44
44
  - yhirano@me.com
45
45
  executables: []
@@ -95,6 +95,6 @@ requirements: []
95
95
  rubygems_version: 3.0.3
96
96
  signing_key:
97
97
  specification_version: 4
98
- summary: Simple Rails Generators for Plain Old Ruby Object, Form Object, and Service
99
- Object
98
+ summary: Simple Rails Generators for Plain Old Ruby Objects, Form Objects, and Service
99
+ Objects
100
100
  test_files: []