copydb 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/copydb.rb +3 -1
  2. metadata +5 -7
data/lib/copydb.rb CHANGED
@@ -152,8 +152,10 @@ module CopyDb
152
152
  Faker::Company.name
153
153
  elsif type == "date"
154
154
  "2011-11-11"
155
+ elsif type == "lorem"
156
+ Faker::Lorem.sentence(20)
155
157
  else
156
- Faker::Company.bs
158
+ Faker::Lorem.sentence
157
159
  end
158
160
  end
159
161
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copydb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-02 00:00:00.000000000 +02:00
13
- default_executable:
12
+ date: 2012-08-15 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: faker
17
- requirement: &21538480 !ruby/object:Gem::Requirement
16
+ requirement: &21413700 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ~>
@@ -22,7 +21,7 @@ dependencies:
22
21
  version: 0.9.5
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *21538480
24
+ version_requirements: *21413700
26
25
  description: Copydb is a gem that helps you to copy databases e.g. from a production
27
26
  database to your development database. During the process it is possible to define
28
27
  columns in tables in which the data should be exchanged for fake data. This can
@@ -37,7 +36,6 @@ files:
37
36
  - lib/copydb.rb
38
37
  - lib/tasks/copydb.rake
39
38
  - lib/config/sampleconfig.yml
40
- has_rdoc: true
41
39
  homepage: https://github.com/ceicke/copydb
42
40
  licenses: []
43
41
  post_install_message:
@@ -58,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
56
  version: '0'
59
57
  requirements: []
60
58
  rubyforge_project:
61
- rubygems_version: 1.6.2
59
+ rubygems_version: 1.8.10
62
60
  signing_key:
63
61
  specification_version: 3
64
62
  summary: Copydb helps you synchronize your databases and can be configured to anonymize