sham 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/.gitignore +1 -0
  2. data/lib/sham.rb +4 -4
  3. data/lib/sham/version.rb +1 -1
  4. metadata +5 -16
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  pkg/*
2
2
  *.gem
3
+ *.swp
3
4
  .bundle
4
5
  Gemfile.lock
5
6
  doc
data/lib/sham.rb CHANGED
@@ -11,11 +11,11 @@ module Sham
11
11
  @klass.sham! @options
12
12
  end
13
13
  end
14
-
14
+
15
15
  class Config
16
16
  def self.activate!
17
17
  Dir["#{Rails.root}/sham/*_sham.rb"].each do |f|
18
- require f
18
+ load f
19
19
  (File.basename(f).match(/(.*)_sham.rb/)[1]).classify.constantize.send :include, Sham::Methods
20
20
  end
21
21
  end
@@ -34,7 +34,7 @@ module Sham
34
34
  value.sham!
35
35
  else
36
36
  value
37
- end
37
+ end
38
38
  end
39
39
 
40
40
  def self.add_options! klass, options = {}, options_string = "options"
@@ -64,4 +64,4 @@ module Sham
64
64
  end
65
65
  end
66
66
  end
67
- end
67
+ end
data/lib/sham/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sham
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sham
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 4
9
- - 0
10
- version: 0.4.0
4
+ prerelease:
5
+ version: 0.5.0
11
6
  platform: ruby
12
7
  authors:
13
8
  - Pan Thomakos
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2010-12-14 00:00:00 -08:00
13
+ date: 2011-05-18 00:00:00 -07:00
19
14
  default_executable:
20
15
  dependencies: []
21
16
 
@@ -53,25 +48,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
53
48
  requirements:
54
49
  - - ">="
55
50
  - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
51
  version: "0"
60
52
  required_rubygems_version: !ruby/object:Gem::Requirement
61
53
  none: false
62
54
  requirements:
63
55
  - - ">="
64
56
  - !ruby/object:Gem::Version
65
- hash: 3
66
- segments:
67
- - 0
68
57
  version: "0"
69
58
  requirements: []
70
59
 
71
60
  rubyforge_project: sham
72
- rubygems_version: 1.3.7
61
+ rubygems_version: 1.6.0
73
62
  signing_key:
74
63
  specification_version: 3
75
- summary: sham-0.4.0
64
+ summary: sham-0.5.0
76
65
  test_files: []
77
66