rare_map 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,11 +12,13 @@ module RareMap
12
12
  end
13
13
  detect_errors schema
14
14
  schema
15
- # schema = StringIO.new
16
- # ActiveRecord::Base.establish_connection db_profile.connection
17
- # ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, schema)
18
- # schema.close
19
- # schema.string
15
+ =begin
16
+ schema = StringIO.new
17
+ ActiveRecord::Base.establish_connection db_profile.connection
18
+ ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, schema)
19
+ schema.close
20
+ schema.string
21
+ =end
20
22
  end
21
23
 
22
24
  def detect_errors(schema)
@@ -1,7 +1,7 @@
1
1
  module RareMap
2
2
  MAJOR = 1
3
3
  MINOR = 3
4
- PATCH = 1
4
+ PATCH = 2
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
7
7
  end
data/lib/rare_map.rb CHANGED
@@ -29,8 +29,7 @@ module RareMap
29
29
  generate_models @models, @rails_root
30
30
  if @rails_root
31
31
  puts '*****************************************************************************'
32
- puts ' Add following line to your config/application.rb'
33
- puts " config.autoload_paths += Dir[Rails.root.join('app', 'models', '{**}')]"
32
+ puts ' A rare_map.rb initializer has been created in config/initializers'
34
33
  puts '*****************************************************************************'
35
34
  create_initializer
36
35
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rare_map
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,10 +9,26 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-03 00:00:00.000000000 Z
12
+ date: 2013-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rails
15
+ name: activerecord
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - "~>"
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.11
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.11
30
+ - !ruby/object:Gem::Dependency
31
+ name: activesupport
16
32
  requirement: !ruby/object:Gem::Requirement
17
33
  none: false
18
34
  requirements:
@@ -75,6 +91,22 @@ dependencies:
75
91
  - - "~>"
76
92
  - !ruby/object:Gem::Version
77
93
  version: 1.2.3
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: 10.0.3
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: 10.0.3
78
110
  description: Relational db to ActiveREcord models MAPper
79
111
  email: wnameless@gmail.com
80
112
  executables:
@@ -111,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
143
  version: '0'
112
144
  segments:
113
145
  - 0
114
- hash: 1258255469843900709
146
+ hash: 3149047131199349365
115
147
  required_rubygems_version: !ruby/object:Gem::Requirement
116
148
  none: false
117
149
  requirements:
@@ -120,13 +152,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
152
  version: '0'
121
153
  segments:
122
154
  - 0
123
- hash: 1258255469843900709
155
+ hash: 3149047131199349365
124
156
  requirements: []
125
157
  rubyforge_project:
126
158
  rubygems_version: 1.8.24
127
159
  signing_key:
128
160
  specification_version: 3
129
- summary: rare_map-1.3.1
161
+ summary: rare_map-1.3.2
130
162
  test_files:
131
163
  - test/helper.rb
132
164
  - test/test_rare_map.rb