encoding-kawai 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{encoding-kawai}
5
- s.version = "0.1"
5
+ s.version = "0.2"
6
6
 
7
7
  s.authors = ["Makarchev K"]
8
8
 
@@ -22,4 +22,14 @@ else
22
22
  end
23
23
  end
24
24
 
25
+ end
26
+
27
+ class NilClass
28
+ def _utf8
29
+ self
30
+ end
31
+
32
+ def _binary
33
+ self
34
+ end
25
35
  end
@@ -1,7 +1,7 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  require File.dirname(__FILE__) + '/spec_helper'
3
3
 
4
- OBJS = ["bla", 'бла', ['bla', 'бла']]
4
+ OBJS = ["bla", 'бла', ['bla', 'бла'], nil]
5
5
  H = {:bla => 'bla', 'бла' => 1}
6
6
 
7
7
  describe "encoding-kawai" do
metadata CHANGED
@@ -1,59 +1,55 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: encoding-kawai
3
- version: !ruby/object:Gem::Version
4
- hash: 9
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.2'
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- version: "0.1"
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Makarchev K
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-09-02 00:00:00 +04:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
- none: false
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- hash: 3
27
- segments:
28
- - 0
29
- version: "0"
30
- prerelease: false
31
- type: :development
32
- requirement: *id001
12
+ date: 2012-09-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
33
15
  name: rspec
34
- - !ruby/object:Gem::Dependency
35
- version_requirements: &id002 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
36
17
  none: false
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- hash: 3
41
- segments:
42
- - 0
43
- version: "0"
44
- prerelease: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
45
22
  type: :development
46
- requirement: *id002
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
47
31
  name: rake
48
- description: EncodingKawai - little sintax sugar for ruby force_encoding, also working on 1.8.7.
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: EncodingKawai - little sintax sugar for ruby force_encoding, also working
47
+ on 1.8.7.
49
48
  email: kostya27@gmail.com
50
49
  executables: []
51
-
52
50
  extensions: []
53
-
54
51
  extra_rdoc_files: []
55
-
56
- files:
52
+ files:
57
53
  - .gitignore
58
54
  - Gemfile
59
55
  - LICENSE
@@ -64,39 +60,35 @@ files:
64
60
  - lib/encoding-kawai/object.rb
65
61
  - spec/encoding-kawai_spec.rb
66
62
  - spec/spec_helper.rb
67
- has_rdoc: true
68
63
  homepage:
69
64
  licenses: []
70
-
71
65
  post_install_message:
72
66
  rdoc_options: []
73
-
74
- require_paths:
67
+ require_paths:
75
68
  - lib
76
- required_ruby_version: !ruby/object:Gem::Requirement
69
+ required_ruby_version: !ruby/object:Gem::Requirement
77
70
  none: false
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- hash: 3
82
- segments:
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ segments:
83
76
  - 0
84
- version: "0"
85
- required_rubygems_version: !ruby/object:Gem::Requirement
77
+ hash: -334021939
78
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
79
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- hash: 3
91
- segments:
80
+ requirements:
81
+ - - ! '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ segments:
92
85
  - 0
93
- version: "0"
86
+ hash: -334021939
94
87
  requirements: []
95
-
96
88
  rubyforge_project:
97
- rubygems_version: 1.4.2
89
+ rubygems_version: 1.8.24
98
90
  signing_key:
99
91
  specification_version: 3
100
- summary: Encodingkawai - little sintax sugar for ruby force_encoding, also working on 1.8.7.
92
+ summary: Encodingkawai - little sintax sugar for ruby force_encoding, also working
93
+ on 1.8.7.
101
94
  test_files: []
102
-