rcqrs_generators 0.0.2 → 0.0.3

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.
data/README.md CHANGED
@@ -4,9 +4,9 @@ Additional Rails 3 generators for the RCQRS plugin
4
4
 
5
5
  # Installation
6
6
 
7
- Add the `rcqrs-generators` gem to the development group in your Gemfile, and run `bundle install`.
7
+ Add the `rcqrs_generators` gem to the development group in your Gemfile, and run `bundle install`.
8
8
 
9
- gem "rcqrs-generators", :group => :development
9
+ gem "rcqrs_generators", :group => :development
10
10
 
11
11
  # Generators
12
12
 
@@ -39,13 +39,12 @@ CODE
39
39
  def create_rcqrs_autoload_paths_initializer
40
40
  @snippet = <<CODE
41
41
  # include command, events, handlers and domain classes in the application auto load paths
42
- config = Application.config
43
- config.autoload_paths += %W(
44
- #\{config.root\}/app/commands
45
- #\{config.root\}/app/commands/handlers
46
- #\{config.root\}/app/domain
47
- #\{config.root\}/app/events
48
- #\{config.root\}/app/events/handlers
42
+ ActiveSupport::Dependencies.autoload_paths += %W(
43
+ #\{Rails.root.to_s\}/app/commands
44
+ #\{Rails.root.to_s\}/app/commands/handlers
45
+ #\{Rails.root.to_s\}/app/domain
46
+ #\{Rails.root.to_s\}/app/events
47
+ #\{Rails.root.to_s\}/app/events/handlers
49
48
  )
50
49
  CODE
51
50
 
@@ -1,3 +1,3 @@
1
1
  module RcqrsGenerators
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,26 +1,34 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rcqrs_generators
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 3
10
+ version: 0.0.3
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Chris Stefano
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-05-06 00:00:00.000000000Z
17
+
18
+ date: 2011-05-07 00:00:00 Z
13
19
  dependencies: []
14
- description: Rails 3 generators supporting the RCQRS Rails 3 plugin. Please see the
15
- README for more information.
16
- email:
20
+
21
+ description: Rails 3 generators supporting the RCQRS Rails 3 plugin. Please see the README for more information.
22
+ email:
17
23
  - virtualstaticvoid@gmail.com
18
24
  executables: []
25
+
19
26
  extensions: []
20
- extra_rdoc_files:
27
+
28
+ extra_rdoc_files:
21
29
  - LICENSE
22
30
  - README.md
23
- files:
31
+ files:
24
32
  - .gitignore
25
33
  - Gemfile
26
34
  - LICENSE
@@ -32,26 +40,36 @@ files:
32
40
  - rcqrs_generators.gemspec
33
41
  homepage: https://github.com/virtualstaticvoid/rcqrs-generators
34
42
  licenses: []
43
+
35
44
  post_install_message:
36
45
  rdoc_options: []
37
- require_paths:
46
+
47
+ require_paths:
38
48
  - lib
39
- required_ruby_version: !ruby/object:Gem::Requirement
49
+ required_ruby_version: !ruby/object:Gem::Requirement
40
50
  none: false
41
- requirements:
42
- - - ! '>='
43
- - !ruby/object:Gem::Version
44
- version: '0'
45
- required_rubygems_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ hash: 3
55
+ segments:
56
+ - 0
57
+ version: "0"
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
46
59
  none: false
47
- requirements:
48
- - - ! '>='
49
- - !ruby/object:Gem::Version
50
- version: '0'
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ hash: 3
64
+ segments:
65
+ - 0
66
+ version: "0"
51
67
  requirements: []
68
+
52
69
  rubyforge_project:
53
- rubygems_version: 1.8.1
70
+ rubygems_version: 1.7.2
54
71
  signing_key:
55
72
  specification_version: 3
56
73
  summary: Rails 3 generators supporting the RCQRS Rails 3 plugin
57
74
  test_files: []
75
+