dummy 0.5 → 0.5.1

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/dummy.rb +2 -2
  2. metadata +9 -4
data/lib/dummy.rb CHANGED
@@ -116,11 +116,11 @@ module Dummy
116
116
  when /phone/
117
117
  p = Dummy::PhoneNumber.phone_number_short.gsub("-", "")
118
118
  (p = p.to_i + 1000000000) if p[0] == "0"
119
- p
119
+ p.to_i
120
120
  when /zip|postal/
121
121
  z = Dummy::Address.zip_code
122
122
  (z = z.to_i + 10000) if z[0] == "0"
123
- z
123
+ z.to_i
124
124
  when /street|road|address|residence|residency/
125
125
  Dummy.numerify(("#" * rand(3)) << "###").to_i
126
126
  else
metadata CHANGED
@@ -1,11 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dummy
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 9
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 5
8
- version: "0.5"
9
+ - 1
10
+ version: 0.5.1
9
11
  platform: ruby
10
12
  authors:
11
13
  - "Gon\xC3\xA7alo Silva"
@@ -13,7 +15,7 @@ autorequire:
13
15
  bindir: bin
14
16
  cert_chain: []
15
17
 
16
- date: 2010-07-29 00:00:00 +01:00
18
+ date: 2010-07-30 00:00:00 +01:00
17
19
  default_executable:
18
20
  dependencies:
19
21
  - !ruby/object:Gem::Dependency
@@ -24,6 +26,7 @@ dependencies:
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 7712042
27
30
  segments:
28
31
  - 3
29
32
  - 0
@@ -32,7 +35,7 @@ dependencies:
32
35
  version: 3.0.0.rc
33
36
  type: :runtime
34
37
  version_requirements: *id001
35
- description: Generates test routes and consistent fake data, inserts it to the database and runs performance tests with them
38
+ description: Generates consistent fake data and allows you to insert it to the database
36
39
  email:
37
40
  - goncalossilva@gmail.com
38
41
  executables: []
@@ -69,6 +72,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
72
  requirements:
70
73
  - - ">="
71
74
  - !ruby/object:Gem::Version
75
+ hash: 3
72
76
  segments:
73
77
  - 0
74
78
  version: "0"
@@ -77,6 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
81
  requirements:
78
82
  - - ">="
79
83
  - !ruby/object:Gem::Version
84
+ hash: 21
80
85
  segments:
81
86
  - 1
82
87
  - 3
@@ -88,6 +93,6 @@ rubyforge_project: dummy
88
93
  rubygems_version: 1.3.7
89
94
  signing_key:
90
95
  specification_version: 3
91
- summary: Generates fake data and test routes and runs performance tests with it
96
+ summary: Generates and imports dummy data for Rails 3 applications
92
97
  test_files: []
93
98