sham 0.3.0 → 0.4.0

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.
Files changed (3) hide show
  1. data/lib/sham.rb +1 -1
  2. data/lib/sham/version.rb +1 -1
  3. metadata +7 -4
data/lib/sham.rb CHANGED
@@ -14,7 +14,7 @@ module Sham
14
14
 
15
15
  class Config
16
16
  def self.activate!
17
- Dir["#{RAILS_ROOT}/sham/*_sham.rb"].each do |f|
17
+ Dir["#{Rails.root}/sham/*_sham.rb"].each do |f|
18
18
  require f
19
19
  (File.basename(f).match(/(.*)_sham.rb/)[1]).classify.constantize.send :include, Sham::Methods
20
20
  end
data/lib/sham/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sham
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sham
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
- - 3
8
+ - 4
8
9
  - 0
9
- version: 0.3.0
10
+ version: 0.4.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - Pan Thomakos
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-12-13 00:00:00 -08:00
18
+ date: 2010-12-14 00:00:00 -08:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -52,6 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
53
  requirements:
53
54
  - - ">="
54
55
  - !ruby/object:Gem::Version
56
+ hash: 3
55
57
  segments:
56
58
  - 0
57
59
  version: "0"
@@ -60,6 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
62
  requirements:
61
63
  - - ">="
62
64
  - !ruby/object:Gem::Version
65
+ hash: 3
63
66
  segments:
64
67
  - 0
65
68
  version: "0"
@@ -69,6 +72,6 @@ rubyforge_project: sham
69
72
  rubygems_version: 1.3.7
70
73
  signing_key:
71
74
  specification_version: 3
72
- summary: sham-0.3.0
75
+ summary: sham-0.4.0
73
76
  test_files: []
74
77