is_same 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +7 -6
  2. data/lib/is_same.rb +1 -1
  3. metadata +23 -42
data/README.rdoc CHANGED
@@ -11,16 +11,16 @@ To evulate if different kind of objects have the same value or meaning. Supports
11
11
  == Usage
12
12
 
13
13
  include 'is_same'
14
-
15
-
14
+
15
+
16
16
  # These evulate to False:
17
-
17
+
18
18
  "String".is_same?("tring") # Same as: "String" == "tring"
19
19
  Object.new.is_same(Object.new) # Same as: Object.new == Object.new
20
-
21
-
20
+
21
+
22
22
  # These evulate to True:
23
-
23
+
24
24
  :String.is_same?("String") # Same as: :String.to_s == "String"
25
25
  String.is_same?(/tring/) # Same as: /tring/.match(String.name)
26
26
  "String".is_same?(String) # Same as: "String" == String.name
@@ -28,3 +28,4 @@ To evulate if different kind of objects have the same value or meaning. Supports
28
28
  "1".is_same?(1) # Same as: 1.to_i == 1
29
29
  0.001.is_same?("0.001") # Same as: 0.001 == "0.001".to_f
30
30
  123456.is_same?(/234/) # Same as: /234/.match(123456.to_s)
31
+
data/lib/is_same.rb CHANGED
@@ -1 +1 @@
1
- include 'is_same/core_ext'
1
+ require 'is_same/core_ext'
metadata CHANGED
@@ -1,68 +1,49 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: is_same
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 1
9
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
12
- - "Margus P\xC3\xA4rt"
7
+ authors:
8
+ - Margus Pärt
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-01-12 00:00:00 +02:00
18
- default_executable:
12
+ date: 2012-01-12 00:00:00.000000000Z
19
13
  dependencies: []
20
-
21
- description: To evulate if different kind of objects have the same value. Supports Regexp.
14
+ description: To evulate if different kind of objects have the same value. Supports
15
+ Regexp.
22
16
  email: margus@tione.eu
23
17
  executables: []
24
-
25
18
  extensions: []
26
-
27
19
  extra_rdoc_files: []
28
-
29
- files:
20
+ files:
30
21
  - README.rdoc
31
22
  - lib/is_same/core_ext.rb
32
23
  - lib/is_same.rb
33
- has_rdoc: true
34
24
  homepage: https://github.com/tione/is_same
35
25
  licenses: []
36
-
37
26
  post_install_message:
38
27
  rdoc_options: []
39
-
40
- require_paths:
28
+ require_paths:
41
29
  - lib
42
- required_ruby_version: !ruby/object:Gem::Requirement
30
+ required_ruby_version: !ruby/object:Gem::Requirement
43
31
  none: false
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- segments:
48
- - 1
49
- - 9
50
- - 2
32
+ requirements:
33
+ - - ! '>='
34
+ - !ruby/object:Gem::Version
51
35
  version: 1.9.2
52
- required_rubygems_version: !ruby/object:Gem::Requirement
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
37
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- segments:
58
- - 0
59
- version: "0"
38
+ requirements:
39
+ - - ! '>='
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
60
42
  requirements: []
61
-
62
43
  rubyforge_project:
63
- rubygems_version: 1.3.7
44
+ rubygems_version: 1.8.15
64
45
  signing_key:
65
46
  specification_version: 3
66
- summary: Introduces is_same? method to compare if different types of objects have the same meaning.
47
+ summary: Introduces is_same? method to compare if different types of objects have
48
+ the same meaning.
67
49
  test_files: []
68
-