usecasing-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +23 -3
  2. data/usecasing-rails.gemspec +3 -3
  3. metadata +12 -6
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Usecasing::Rails
1
+ # usecasing-rails
2
2
 
3
- TODO: Write a gem description
3
+ Rails usecase generator
4
4
 
5
5
  ## Installation
6
6
 
@@ -15,10 +15,30 @@ And then execute:
15
15
  Or install it yourself as:
16
16
 
17
17
  $ gem install usecasing-rails
18
+
18
19
 
19
20
  ## Usage
20
21
 
21
- TODO: Write usage instructions here
22
+ **Generate usecase without dependency**
23
+
24
+
25
+ ````
26
+ rails generate usecasing FinalizeInvoice
27
+ ````
28
+
29
+ **Generate usecase with dependencies**
30
+
31
+ ````
32
+ rails generate usecasing FinalizeInvoice ValidateInvoice
33
+ ````
34
+
35
+ **Generate with namespace folder**
36
+
37
+ ````
38
+ rails generate usecasing Invoices::FinalizeInvoices ValidateInvoice
39
+ ````
40
+
41
+
22
42
 
23
43
  ## Contributing
24
44
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "usecasing-rails"
7
- gem.version = '0.1.0'
7
+ gem.version = '0.1.1'
8
8
  gem.authors = ["Thiago Dantas"]
9
9
  gem.email = ["thiago.teixeira.dantas@gmail.com"]
10
10
  gem.description = %q{Usecase Rails Generator}
@@ -20,9 +20,9 @@ Gem::Specification.new do |gem|
20
20
  gem.add_development_dependency 'rails', '3.2.16'
21
21
  gem.add_development_dependency 'rspec', '2.14.1'
22
22
  gem.add_development_dependency 'aruba', '0.5.3'
23
- gem.add_development_dependency "bundler", '1.2.3'
23
+ gem.add_development_dependency "bundler", '1.3.5'
24
24
 
25
25
 
26
- gem.add_runtime_dependency 'usecasing', '0.1.0'
26
+ gem.add_runtime_dependency 'usecasing', '0.1.4'
27
27
 
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usecasing-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-20 00:00:00.000000000 Z
12
+ date: 2013-12-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -82,7 +82,7 @@ dependencies:
82
82
  requirements:
83
83
  - - '='
84
84
  - !ruby/object:Gem::Version
85
- version: 1.2.3
85
+ version: 1.3.5
86
86
  type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,7 +90,7 @@ dependencies:
90
90
  requirements:
91
91
  - - '='
92
92
  - !ruby/object:Gem::Version
93
- version: 1.2.3
93
+ version: 1.3.5
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: usecasing
96
96
  requirement: !ruby/object:Gem::Requirement
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - '='
100
100
  - !ruby/object:Gem::Version
101
- version: 0.1.0
101
+ version: 0.1.4
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 0.1.0
109
+ version: 0.1.4
110
110
  description: Usecase Rails Generator
111
111
  email:
112
112
  - thiago.teixeira.dantas@gmail.com
@@ -139,12 +139,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
139
  - - ! '>='
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
+ segments:
143
+ - 0
144
+ hash: 2759494606275008525
142
145
  required_rubygems_version: !ruby/object:Gem::Requirement
143
146
  none: false
144
147
  requirements:
145
148
  - - ! '>='
146
149
  - !ruby/object:Gem::Version
147
150
  version: '0'
151
+ segments:
152
+ - 0
153
+ hash: 2759494606275008525
148
154
  requirements: []
149
155
  rubyforge_project:
150
156
  rubygems_version: 1.8.24