new_class 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  = NewClass CHANGELOG
2
2
 
3
+ == Version 0.1.1 (November 23, 2011)
4
+
5
+ * Fixed bug: not defining method within method_missing anymore
6
+
3
7
  == Version 0.1.0 (November 23, 2011)
4
8
 
5
9
  * Initial release
@@ -131,7 +131,7 @@ h2. Last remarks
131
131
 
132
132
  Please check out "test/carrierwave_test.rb":https://github.com/archan937/new_class/blob/master/test/carrierwave_test.rb and "test/class_test.rb":https://github.com/archan937/new_class/blob/master/test/class_test.rb for most of the tests available. You can run the unit tests with @rake@ within the terminal.
133
133
 
134
- Also, the NewClass repo is provided with @script/console@ which you can run for testing purposes.
134
+ Also, the NewClass repo is provided with @script/console@ which you can use for testing purposes.
135
135
 
136
136
  Note: *NewClass is successfully tested using Ruby 1.8.7 and Ruby 1.9.2*
137
137
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -39,7 +39,7 @@ module NewClass
39
39
 
40
40
  module MethodMissing
41
41
  def method_missing(method, *args)
42
- _variables.include?(key = method.to_sym) ? define_method(key){ _variables[key] }.call : super
42
+ _variables.include?(key = method.to_sym) ? _variables[key] : super
43
43
  end
44
44
  def respond_to?(symbol, include_private = false)
45
45
  _variables.include?(symbol.to_sym) || super
@@ -1,7 +1,7 @@
1
1
  module NewClass
2
2
  MAJOR = 0
3
3
  MINOR = 1
4
- TINY = 0
4
+ TINY = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, TINY].join(".")
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: new_class
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Engel