zh_kostev_ext 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -82,28 +82,6 @@ Example
82
82
  a[:misha] will return 'Misha'
83
83
  a[:vladimir] will return 'Vlad'(because this value set manually)
84
84
 
85
- == In True class
86
-
87
- ===== human #return humanized value('Yes')
88
- Example
89
- a = true
90
- a.human = 'Yes'
91
-
92
- == In False class
93
-
94
- ===== human #return humanized value('No')
95
- Example
96
- a = false
97
- a.human = 'No'
98
-
99
- == In Nil class
100
-
101
- ===== human #return humanized value('No')
102
- Example
103
- a = nil
104
- a.human = 'No'
105
-
106
-
107
85
  == Contributing to zh_kostev_ext
108
86
 
109
87
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
@@ -11,18 +11,3 @@ require "ruby_classes_extensions/hash_extensions"
11
11
  class Hash
12
12
  include RubyClassesExtensions::HashExtensions
13
13
  end
14
-
15
- require "ruby_classes_extensions/true_class_extensions"
16
- class TrueClass
17
- include RubyClassesExtensions::TrueClassExtensions
18
- end
19
-
20
- require "ruby_classes_extensions/false_class_extensions"
21
- class FalseClass
22
- include RubyClassesExtensions::FalseClassExtensions
23
- end
24
-
25
- require "ruby_classes_extensions/nil_class_extensions"
26
- class NilClass
27
- include RubyClassesExtensions::NilClassExtensions
28
- end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zh_kostev_ext
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: 2013-01-28 00:00:00.000000000 Z
12
+ date: 2013-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spreadsheet
@@ -136,10 +136,7 @@ files:
136
136
  - lib/controller_extensions/export_to_excel.rb
137
137
  - lib/controller_extensions/general_methods.rb
138
138
  - lib/controller_extensions/url_ext.rb
139
- - lib/ruby_classes_extensions/false_class_extensions.rb
140
139
  - lib/ruby_classes_extensions/hash_extensions.rb
141
- - lib/ruby_classes_extensions/nil_class_extensions.rb
142
- - lib/ruby_classes_extensions/true_class_extensions.rb
143
140
  - lib/zh_kostev_ext.rb
144
141
  - LICENSE.txt
145
142
  - README.rdoc
@@ -158,7 +155,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
155
  version: '0'
159
156
  segments:
160
157
  - 0
161
- hash: -257046175
158
+ hash: -446765791
162
159
  required_rubygems_version: !ruby/object:Gem::Requirement
163
160
  none: false
164
161
  requirements:
@@ -1,15 +0,0 @@
1
- module RubyClassesExtensions
2
- module FalseClassExtensions
3
- def self.included(base)
4
- base.class_eval do
5
- #return humanized value('No')
6
- #example
7
- # a = false
8
- # a.human = 'No'
9
- def human
10
- 'No'
11
- end
12
- end
13
- end
14
- end
15
- end
@@ -1,15 +0,0 @@
1
- module RubyClassesExtensions
2
- module NilClassExtensions
3
- def self.included(base)
4
- base.class_eval do
5
- #return humanized value('No')
6
- #example
7
- # a = nil
8
- # a.human = 'No'
9
- def human
10
- 'No'
11
- end
12
- end
13
- end
14
- end
15
- end
@@ -1,15 +0,0 @@
1
- module RubyClassesExtensions
2
- module TrueClassExtensions
3
- def self.included(base)
4
- base.class_eval do
5
- #return humanized value('Yes')
6
- #example
7
- # a = true
8
- # a.human = 'Yes'
9
- def human
10
- 'Yes'
11
- end
12
- end
13
- end
14
- end
15
- end