sample_models 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
data/lib/sample_models.rb CHANGED
@@ -1,5 +1,3 @@
1
- if RAILS_ENV == 'test' # no reason to run this code outside of test mode
2
-
3
1
  module SampleModels
4
2
  mattr_reader :models
5
3
  @@models = Hash.new { |h, model_class|
@@ -127,5 +125,3 @@ require "#{File.dirname(__FILE__)}/sample_models/model"
127
125
  require "#{File.dirname(__FILE__)}/sample_models/sampler"
128
126
  require "#{File.dirname(__FILE__)}/../vendor/ar_query/lib/ar_query"
129
127
 
130
- end # if RAILS_ENV == 'test'
131
-
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{sample_models}
8
- s.version = "1.1.0"
8
+ s.version = "1.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Francis Hwang"]
12
- s.date = %q{2010-11-21}
12
+ s.date = %q{2010-11-28}
13
13
  s.description = %q{
14
14
  A library for making it extremely fast for Rails developers to set up and save ActiveRecord instances when writing test cases. It aims to:
15
15
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sample_models
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 1.1.0
10
+ version: 1.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Francis Hwang
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-11-21 00:00:00 -05:00
18
+ date: 2010-11-28 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies: []
21
21