datamappify 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
data/datamappify.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{datamappify}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Fred Wu"]
12
- s.date = %q{2010-09-21}
12
+ s.date = %q{2010-09-24}
13
13
  s.description = %q{ActiveRecord is without doubt the de facto ORM library for Rails and many Ruby web frameworks. Many developers however, do not like database migrations and prefer to use DSL for data mapping. Datamappify is created with the sole purpose of getting rid of the DB migration headaches.}
14
14
  s.email = %q{ifredwu@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -1,8 +1,10 @@
1
- module Datamappify
2
- class Railtie < Rails::Railtie
3
- rake_tasks do
4
- load File.expand_path("../../tasks/datamappify.rake", __FILE__)
5
- load File.expand_path("../../../vendor/auto_migrations/lib/tasks/auto_migrations_tasks.rake", __FILE__)
1
+ if defined?(Rails::Railtie)
2
+ module Datamappify
3
+ class Railtie < Rails::Railtie
4
+ rake_tasks do
5
+ load File.expand_path("../../tasks/datamappify.rake", __FILE__)
6
+ load File.expand_path("../../../vendor/auto_migrations/lib/tasks/auto_migrations_tasks.rake", __FILE__)
7
+ end
6
8
  end
7
9
  end
8
10
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Fred Wu
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-21 00:00:00 +10:00
17
+ date: 2010-09-24 00:00:00 +10:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency