initializer 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/initializer/initializer.rb +3 -3
  2. metadata +4 -20
@@ -2,7 +2,7 @@ module Initializer
2
2
  NO_DEFAULT_VALUE = Object.new
3
3
 
4
4
  def self.included(base)
5
- Extension.! base, ClassMethods
5
+ base.extend ClassMethods
6
6
  end
7
7
 
8
8
  class Statement
@@ -15,7 +15,7 @@ module Initializer
15
15
 
16
16
  module ClassMethods
17
17
  extend self
18
-
18
+
19
19
  def initializer_macro(*parameters)
20
20
  Macro.generate_definitions self, parameters
21
21
  end
@@ -38,7 +38,7 @@ module Initializer
38
38
  return Parameter.build(parameter_name, :no_accessor, default)
39
39
  end
40
40
 
41
- def deferred(statement)
41
+ def lazy(statement)
42
42
  Statement.new(statement)
43
43
  end
44
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: initializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-24 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: extension
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
12
+ date: 2015-02-07 00:00:00.000000000 Z
13
+ dependencies: []
30
14
  description:
31
15
  email:
32
16
  executables: []
@@ -58,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
42
  version: '0'
59
43
  requirements: []
60
44
  rubyforge_project:
61
- rubygems_version: 1.8.25
45
+ rubygems_version: 1.8.23
62
46
  signing_key:
63
47
  specification_version: 3
64
48
  summary: Initializer Library