forgery 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ class Forgery::Monetary < Forgery
8
8
  options = {:max => 10,
9
9
  :min => 0}.merge(options)
10
10
 
11
- value = ((options[:min] * 100)..(options[:max] * 100)).random
11
+ value = Forgery::Extend((options[:min] * 100)..(options[:max] * 100)).random
12
12
  "%1.2f" % (value.to_f / 100)
13
13
  end
14
14
 
@@ -1,3 +1,3 @@
1
1
  class Forgery
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,63 +1,48 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: forgery
3
- version: !ruby/object:Gem::Version
4
- hash: 11
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.3
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 2
10
- version: 0.4.2
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Nathan Sutton
14
9
  - Brandon Arbini
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2011-09-05 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
13
+ date: 2011-09-05 00:00:00.000000000Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: nokogiri
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &70093145962180 !ruby/object:Gem::Requirement
25
18
  none: false
26
- requirements:
19
+ requirements:
27
20
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 7
30
- segments:
31
- - 1
32
- - 4
33
- version: "1.4"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.4'
34
23
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: rspec
38
24
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *70093145962180
26
+ - !ruby/object:Gem::Dependency
27
+ name: rspec
28
+ requirement: &70093145961760 !ruby/object:Gem::Requirement
40
29
  none: false
41
- requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 0
47
- version: "0"
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
48
34
  type: :development
49
- version_requirements: *id002
50
- description: Easy and customizable generation of forged data. Can be used as a gem or a rails plugin. Includes rails generators for creating your own forgeries.
51
- email:
35
+ prerelease: false
36
+ version_requirements: *70093145961760
37
+ description: Easy and customizable generation of forged data. Can be used as a gem
38
+ or a rails plugin. Includes rails generators for creating your own forgeries.
39
+ email:
52
40
  - nate@zencoder.com
53
41
  - brandon@zencoder.com
54
42
  executables: []
55
-
56
43
  extensions: []
57
-
58
44
  extra_rdoc_files: []
59
-
60
- files:
45
+ files:
61
46
  - generators/forgery/forgery_generator.rb
62
47
  - generators/forgery/USAGE
63
48
  - lib/forgery/dictionaries/cities
@@ -124,36 +109,26 @@ files:
124
109
  - Rakefile
125
110
  homepage: http://github.com/sevenwire/forgery
126
111
  licenses: []
127
-
128
112
  post_install_message:
129
113
  rdoc_options: []
130
-
131
- require_paths:
114
+ require_paths:
132
115
  - lib
133
- required_ruby_version: !ruby/object:Gem::Requirement
116
+ required_ruby_version: !ruby/object:Gem::Requirement
134
117
  none: false
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- hash: 3
139
- segments:
140
- - 0
141
- version: "0"
142
- required_rubygems_version: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
123
  none: false
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- hash: 3
148
- segments:
149
- - 0
150
- version: "0"
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
151
128
  requirements: []
152
-
153
129
  rubyforge_project: forgery
154
- rubygems_version: 1.8.7
130
+ rubygems_version: 1.8.10
155
131
  signing_key:
156
132
  specification_version: 3
157
133
  summary: Easy and customizable generation of forged data.
158
134
  test_files: []
159
-