forgery 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'rspec/core'
4
4
  require 'rspec/core/rake_task'
5
- require 'rake/rdoctask'
5
+ require 'rdoc/task'
6
6
  require File.expand_path('./lib/forgery/file_writer')
7
7
 
8
8
  begin
@@ -37,7 +37,7 @@ class Forgery
37
37
  f.puts stripped_line unless stripped_line.empty?
38
38
  end
39
39
  end
40
- puts "Created file #{name} in #{write_path}"
40
+ puts "Created file #{name} in #{write_path}" unless ENV["TESTING_VIA_RSPEC"]
41
41
  file_path
42
42
  end
43
43
 
@@ -2,6 +2,8 @@ require 'forgery'
2
2
  require 'rails'
3
3
 
4
4
  class ForgeryRailtie < Rails::Railtie
5
+ extend Rake::DSL
6
+
5
7
  config.to_prepare do
6
8
  Forgery.load_from! "#{Rails.root}/lib/forgery"
7
9
  end
@@ -1,3 +1,3 @@
1
1
  class Forgery
2
- VERSION = "0.3.10"
2
+ VERSION = "0.3.11"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forgery
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 10
10
- version: 0.3.10
9
+ - 11
10
+ version: 0.3.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathan Sutton
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-06-23 00:00:00 -07:00
19
+ date: 2011-07-14 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency