string_utf8 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -1
  3. data/string_utf8.gemspec +18 -19
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b6a262cd6b714fce85776e7ce674abf34068178
4
- data.tar.gz: b6eddacb2e56e9567fe47cf5ae9772f2e23c8f0e
3
+ metadata.gz: d729264cc8cc4b58cee46233e45a93be501ccce2
4
+ data.tar.gz: b6f23ca9e157c7cb14cc624a0ba1ba74d6d103f1
5
5
  SHA512:
6
- metadata.gz: 75a45088343519fd5f7b87e1e6dc083fc37ebf58cbdd0db54e5e00e07407521812ee4cac58324f897f26ef36b38b1f0c076aba4e5099eb62972f09c03454bb36
7
- data.tar.gz: f61d31c4f9aaaff3d4f346793e72a35f0aaed2d06ad9c34be3d463b07b36d87e08d1cb5ae7c992208a1feba3590cb3b64f322c3963d66c43fcc4d9acd11c1e9b
6
+ metadata.gz: bb978a33c3ff3c98752305522370abc146e11e43854a38225bdd953b9bd6b09b4239e50459c862034b7ebc27bea050097d04633c53cc7130db55a3f48b537275
7
+ data.tar.gz: ab277c6da874f14256285507f9d84a9be79b1e98cd3ffccbcc55b45f92bc0f5dbdbd78066ef5e18b049a62b9279c3b12b51315190c77e2a1febba1581d165b9c
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ spec = Gem::Specification.new do |s|
20
20
 
21
21
  # Change these as appropriate
22
22
  s.name = "string_utf8"
23
- s.version = "0.1.0"
23
+ s.version = "0.1.1"
24
24
  s.summary = "Convert a string's encoding to utf8, whithout caring which encoding used before converting."
25
25
  s.author = "qhwa"
26
26
  s.email = "qhwa@163.com"
@@ -1,21 +1,20 @@
1
- # Ensure we require the local version and not one we might have installed already
2
- require File.join([File.dirname(__FILE__),'lib','string_utf8_version.rb'])
3
- spec = Gem::Specification.new do |s|
4
- s.name = 'string_utf8'
5
- s.version = StringUtf8::VERSION
6
- s.author = 'qhwa'
7
- s.email = 'qhwa@163.com'
8
- s.homepage = 'https://github.com/qhwa/string_utf8'
9
- s.platform = Gem::Platform::RUBY
10
- s.summary = 'Convert strings encoding to utf8'
11
- # Add your other files here if you make them
12
- s.files = %w(
13
- lib/string_utf8_version.rb
14
- lib/string/utf8.rb
15
- )
1
+ # -*- encoding: utf-8 -*-
16
2
 
17
- s.require_paths << 'lib'
18
- s.has_rdoc = true
19
- s.extra_rdoc_files = ['README.rdoc','string_utf8.rdoc']
20
- s.rdoc_options << '--title' << 'string_utf8' << '--main' << 'README.rdoc' << '-ri'
3
+ Gem::Specification.new do |s|
4
+ s.name = "string_utf8"
5
+ s.version = "0.1.0"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["qhwa"]
9
+ s.date = "2013-09-26"
10
+ s.email = "qhwa@163.com"
11
+ s.executables = ["string_utf8"]
12
+ s.extra_rdoc_files = ["README.md"]
13
+ s.files = ["README.md", "Rakefile", "string_utf8.gemspec", "Gemfile", "README.rdoc", "string_utf8.rdoc", "bin/string_utf8", "test/tc_string_utf8.rb", "lib/string", "lib/string/utf8.rb", "lib/string_utf8_version.rb"]
14
+ s.homepage = "https://github.com/qhwa/string_utf8"
15
+ s.licenses = ["MIT"]
16
+ s.rdoc_options = ["--main", "README.md"]
17
+ s.require_paths = ["lib"]
18
+ s.rubygems_version = "2.0.3"
19
+ s.summary = "Convert a string's encoding to utf8, whithout caring which encoding used before converting."
21
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: string_utf8
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - qhwa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-17 00:00:00.000000000 Z
11
+ date: 2013-09-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: qhwa@163.com