meta_methods 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.idea/workspace.xml CHANGED
@@ -2,7 +2,10 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="cb96d5fa-a536-45ee-8377-2c11e1c06313" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/meta_methods/meta_methods.rb" afterPath="$PROJECT_DIR$/lib/meta_methods/meta_methods.rb" />
5
7
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/meta_methods/version.rb" afterPath="$PROJECT_DIR$/lib/meta_methods/version.rb" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/meta_methods.gemspec" afterPath="$PROJECT_DIR$/meta_methods.gemspec" />
6
9
  </list>
7
10
  <ignored path="meta_methods.iws" />
8
11
  <ignored path=".idea/workspace.xml" />
@@ -54,16 +57,16 @@
54
57
  <file leaf-file-name="meta_methods.gemspec.erb" pinned="false" current="false" current-in-tab="false">
55
58
  <entry file="file://$PROJECT_DIR$/meta_methods.gemspec.erb">
56
59
  <provider selected="true" editor-type-id="text-editor">
57
- <state line="13" column="8" selection-start="548" selection-end="548" vertical-scroll-proportion="-8.32">
60
+ <state line="13" column="8" selection-start="548" selection-end="548" vertical-scroll-proportion="0.0">
58
61
  <folding />
59
62
  </state>
60
63
  </provider>
61
64
  </entry>
62
65
  </file>
63
- <file leaf-file-name="meta_methods.rb" pinned="false" current="false" current-in-tab="false">
64
- <entry file="file://$PROJECT_DIR$/lib/meta_methods/meta_methods.rb">
66
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
67
+ <entry file="file://$PROJECT_DIR$/lib/meta_methods/version.rb">
65
68
  <provider selected="true" editor-type-id="text-editor">
66
- <state line="37" column="16" selection-start="869" selection-end="869" vertical-scroll-proportion="0.0">
69
+ <state line="1" column="18" selection-start="37" selection-end="37" vertical-scroll-proportion="0.0">
67
70
  <folding />
68
71
  </state>
69
72
  </provider>
@@ -78,10 +81,10 @@
78
81
  </provider>
79
82
  </entry>
80
83
  </file>
81
- <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
82
- <entry file="file://$PROJECT_DIR$/lib/meta_methods/version.rb">
84
+ <file leaf-file-name="meta_methods.rb" pinned="false" current="true" current-in-tab="true">
85
+ <entry file="file://$PROJECT_DIR$/lib/meta_methods/meta_methods.rb">
83
86
  <provider selected="true" editor-type-id="text-editor">
84
- <state line="1" column="18" selection-start="37" selection-end="37" vertical-scroll-proportion="0.025931928">
87
+ <state line="13" column="22" selection-start="294" selection-end="310" vertical-scroll-proportion="0.33711508">
85
88
  <folding />
86
89
  </state>
87
90
  </provider>
@@ -109,8 +112,8 @@
109
112
  <option value="$PROJECT_DIR$/Rakefile" />
110
113
  <option value="$PROJECT_DIR$/Gemfile" />
111
114
  <option value="$PROJECT_DIR$/meta_methods.gemspec.erb" />
112
- <option value="$PROJECT_DIR$/lib/meta_methods/meta_methods.rb" />
113
115
  <option value="$PROJECT_DIR$/lib/meta_methods/version.rb" />
116
+ <option value="$PROJECT_DIR$/lib/meta_methods/meta_methods.rb" />
114
117
  </list>
115
118
  </option>
116
119
  </component>
@@ -146,6 +149,7 @@
146
149
  <sortByType />
147
150
  </navigator>
148
151
  <panes>
152
+ <pane id="Scope" />
149
153
  <pane id="ProjectPane">
150
154
  <subPane>
151
155
  <PATH>
@@ -198,7 +202,6 @@
198
202
  </PATH>
199
203
  </subPane>
200
204
  </pane>
201
- <pane id="Scope" />
202
205
  </panes>
203
206
  </component>
204
207
  <component name="RunManager">
@@ -431,21 +434,21 @@
431
434
  </entry>
432
435
  <entry file="file://$PROJECT_DIR$/meta_methods.gemspec.erb">
433
436
  <provider selected="true" editor-type-id="text-editor">
434
- <state line="13" column="8" selection-start="548" selection-end="548" vertical-scroll-proportion="-8.32">
437
+ <state line="13" column="8" selection-start="548" selection-end="548" vertical-scroll-proportion="0.0">
435
438
  <folding />
436
439
  </state>
437
440
  </provider>
438
441
  </entry>
439
- <entry file="file://$PROJECT_DIR$/lib/meta_methods/meta_methods.rb">
442
+ <entry file="file://$PROJECT_DIR$/lib/meta_methods/version.rb">
440
443
  <provider selected="true" editor-type-id="text-editor">
441
- <state line="37" column="16" selection-start="869" selection-end="869" vertical-scroll-proportion="0.0">
444
+ <state line="1" column="18" selection-start="37" selection-end="37" vertical-scroll-proportion="0.0">
442
445
  <folding />
443
446
  </state>
444
447
  </provider>
445
448
  </entry>
446
- <entry file="file://$PROJECT_DIR$/lib/meta_methods/version.rb">
449
+ <entry file="file://$PROJECT_DIR$/lib/meta_methods/meta_methods.rb">
447
450
  <provider selected="true" editor-type-id="text-editor">
448
- <state line="1" column="18" selection-start="37" selection-end="37" vertical-scroll-proportion="0.025931928">
451
+ <state line="13" column="22" selection-start="294" selection-end="310" vertical-scroll-proportion="0.33711508">
449
452
  <folding />
450
453
  </state>
451
454
  </provider>
@@ -17,7 +17,7 @@ module MetaMethods
17
17
 
18
18
  object.instance_variable_set("@#{key}".to_sym, value)
19
19
  else
20
- object.class_eval <<-CODE
20
+ object.class.class_eval <<-CODE
21
21
  def #{key}
22
22
  "#{value}"
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module MetaMethods
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_methods
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-12 00:00:00.000000000 Z
12
+ date: 2012-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gemspec_deps_gen