koujou 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{koujou}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Michael Leung"]
@@ -11,7 +11,7 @@ require 'koujou/validation_reflection'
11
11
  require 'koujou/custom_validation'
12
12
 
13
13
  module Koujou
14
- VERSION = '0.1.1'
14
+ VERSION = '0.1.2'
15
15
  end
16
16
 
17
17
  if ENV["RAILS_ENV"] == "test"
@@ -83,6 +83,10 @@ module Koujou #:nodoc:
83
83
  def generate_date
84
84
  DateTime.now.to_date
85
85
  end
86
+
87
+ def generate_time
88
+ Time.now
89
+ end
86
90
 
87
91
  def generate_boolean
88
92
  true
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koujou
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 2
9
+ version: 0.1.2
5
10
  platform: ruby
6
11
  authors:
7
12
  - Michael Leung
@@ -9,19 +14,37 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-04-14 00:00:00 +01:00
17
+ date: 2010-05-19 00:00:00 +01:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
- name: hoe
21
+ name: rubyforge
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 2
29
+ - 0
30
+ - 4
31
+ version: 2.0.4
17
32
  type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: hoe
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
20
38
  requirements:
21
39
  - - ">="
22
40
  - !ruby/object:Gem::Version
23
- version: 2.3.2
24
- version:
41
+ segments:
42
+ - 2
43
+ - 6
44
+ - 0
45
+ version: 2.6.0
46
+ type: :development
47
+ version_requirements: *id002
25
48
  description: |-
26
49
  Koujou is a fixture replacement that requires no effort to use. You don't have to define a single thing
27
50
  in your test_helper or whatever. Just call the koujou method on your active record model, and you're
@@ -85,25 +108,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
108
  requirements:
86
109
  - - ">="
87
110
  - !ruby/object:Gem::Version
111
+ segments:
112
+ - 0
88
113
  version: "0"
89
- version:
90
114
  required_rubygems_version: !ruby/object:Gem::Requirement
91
115
  requirements:
92
116
  - - ">="
93
117
  - !ruby/object:Gem::Version
118
+ segments:
119
+ - 0
94
120
  version: "0"
95
- version:
96
121
  requirements: []
97
122
 
98
123
  rubyforge_project: koujou
99
- rubygems_version: 1.3.5
124
+ rubygems_version: 1.3.6
100
125
  signing_key:
101
126
  specification_version: 3
102
127
  summary: Koujou is a fixture replacement that requires no effort to use
103
128
  test_files:
104
- - test/test_builder.rb
129
+ - test/test_kojo.rb
105
130
  - test/test_custom_validation.rb
106
131
  - test/test_data_generator.rb
107
- - test/test_helper.rb
108
- - test/test_kojo.rb
132
+ - test/test_builder.rb
109
133
  - test/test_sequence.rb
134
+ - test/test_helper.rb