tins 0.13.0 → 0.13.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86f57807c7dfea8a743a2e4128b70b7056680533
4
- data.tar.gz: df3f3ead2ed55c91f50b8a8af9fcff1c4cdd6226
3
+ metadata.gz: b6629ac10a2b598f55f26a5800acc8f22801ce3c
4
+ data.tar.gz: 8c907a2db11c92feccd4e5f26bf0d04dd92ea19f
5
5
  SHA512:
6
- metadata.gz: db6ed86841908c5e6b39092e382f5067b5ac249555fefa5fb5202d32cb2ec5b3878b3b90802efbb90f2972197bc1cb4f379193c511b8b8602094dc28ac3c5aea
7
- data.tar.gz: f08c68ae7efacb303c447945cc599aa7a872ca0bb41edfbb4ec4597f7bd50d0845d566f1c6e66781d588793669e074f5ec61108d031e5b0622d89b161ba69a9c
6
+ metadata.gz: 20cc5e2af9dca35ab2ba728208c29a65834953014a7649ab402753fec7eac7112876eacad7b504f98bd02d8c4c30b1141498be073e7dc5177c939824d25b203f
7
+ data.tar.gz: ef738adaadc82c1663aa0afa4b9dbfe6d9c8d05dbb46b502ff396d21994a0cac37c9233da558ec7e34d055e4dd2602f9a7697f5399eb6b0d999bc748ed1bb7e4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.0
1
+ 0.13.1
@@ -5,13 +5,13 @@ module Tins
5
5
  def bom_encoding
6
6
  prefix = self[0, 4].force_encoding(Encoding::ASCII_8BIT)
7
7
  case prefix
8
- when /\A\xef\xbb\xbf/n then Encoding::UTF_8
9
- when /\A\x00\x00\xff\xfe/n then Encoding::UTF_32BE
10
- when /\A\xff\xfe\x00\x00/n then Encoding::UTF_32LE
11
- when /\A\xfe\xff/n then Encoding::UTF_16BE
12
- when /\A\xff\xfe/n then Encoding::UTF_16LE
13
- when /\A\x2b\x2f\x76(?:[\x38-\x39\x2b\x2f]|)/n then Encoding::UTF_7
14
- when /\A\x84\x31\x95\x33/n then Encoding::GB18030
8
+ when /\A\xef\xbb\xbf/n then Encoding::UTF_8
9
+ when /\A\x00\x00\xff\xfe/n then Encoding::UTF_32BE
10
+ when /\A\xff\xfe\x00\x00/n then Encoding::UTF_32LE
11
+ when /\A\xfe\xff/n then Encoding::UTF_16BE
12
+ when /\A\xff\xfe/n then Encoding::UTF_16LE
13
+ when /\A\x2b\x2f\x76[\x38-\x39\x2b\x2f]/n then Encoding::UTF_7
14
+ when /\A\x84\x31\x95\x33/n then Encoding::GB18030
15
15
  end
16
16
  end
17
17
  end
@@ -1,6 +1,6 @@
1
1
  module Tins
2
2
  # Tins version
3
- VERSION = '0.13.0'
3
+ VERSION = '0.13.1'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
@@ -1,13 +1,13 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: tins 0.13.0 ruby lib
2
+ # stub: tins 0.13.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "tins"
6
- s.version = "0.13.0"
6
+ s.version = "0.13.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Florian Frank"]
10
- s.date = "2013-11-08"
10
+ s.date = "2013-11-11"
11
11
  s.description = "All the stuff that isn't good/big enough for a real library."
12
12
  s.email = "flori@ping.de"
13
13
  s.extra_rdoc_files = ["README.rdoc", "lib/spruz.rb", "lib/tins.rb", "lib/tins/alias.rb", "lib/tins/annotate.rb", "lib/tins/ask_and_send.rb", "lib/tins/attempt.rb", "lib/tins/bijection.rb", "lib/tins/concern.rb", "lib/tins/count_by.rb", "lib/tins/date_dummy.rb", "lib/tins/date_time_dummy.rb", "lib/tins/deep_const_get.rb", "lib/tins/deep_dup.rb", "lib/tins/extract_last_argument_options.rb", "lib/tins/file_binary.rb", "lib/tins/find.rb", "lib/tins/generator.rb", "lib/tins/go.rb", "lib/tins/hash_symbolize_keys_recursive.rb", "lib/tins/hash_union.rb", "lib/tins/if_predicate.rb", "lib/tins/limited.rb", "lib/tins/lines_file.rb", "lib/tins/memoize.rb", "lib/tins/method_description.rb", "lib/tins/minimize.rb", "lib/tins/module_group.rb", "lib/tins/named_set.rb", "lib/tins/null.rb", "lib/tins/once.rb", "lib/tins/p.rb", "lib/tins/partial_application.rb", "lib/tins/proc_compose.rb", "lib/tins/proc_prelude.rb", "lib/tins/range_plus.rb", "lib/tins/require_maybe.rb", "lib/tins/responding.rb", "lib/tins/rotate.rb", "lib/tins/round.rb", "lib/tins/secure_write.rb", "lib/tins/sexy_singleton.rb", "lib/tins/shuffle.rb", "lib/tins/string_byte_order_mark.rb", "lib/tins/string_camelize.rb", "lib/tins/string_underscore.rb", "lib/tins/string_version.rb", "lib/tins/subhash.rb", "lib/tins/terminal.rb", "lib/tins/time_dummy.rb", "lib/tins/to.rb", "lib/tins/to_proc.rb", "lib/tins/token.rb", "lib/tins/uniq_by.rb", "lib/tins/version.rb", "lib/tins/write.rb", "lib/tins/xt.rb", "lib/tins/xt/annotate.rb", "lib/tins/xt/ask_and_send.rb", "lib/tins/xt/attempt.rb", "lib/tins/xt/blank.rb", "lib/tins/xt/concern.rb", "lib/tins/xt/count_by.rb", "lib/tins/xt/date_dummy.rb", "lib/tins/xt/date_time_dummy.rb", "lib/tins/xt/deep_const_get.rb", "lib/tins/xt/deep_dup.rb", "lib/tins/xt/extract_last_argument_options.rb", "lib/tins/xt/file_binary.rb", "lib/tins/xt/full.rb", "lib/tins/xt/hash_symbolize_keys_recursive.rb", "lib/tins/xt/hash_union.rb", "lib/tins/xt/if_predicate.rb", "lib/tins/xt/irb.rb", "lib/tins/xt/method_description.rb", "lib/tins/xt/named.rb", "lib/tins/xt/null.rb", "lib/tins/xt/p.rb", "lib/tins/xt/partial_application.rb", "lib/tins/xt/proc_compose.rb", "lib/tins/xt/proc_prelude.rb", "lib/tins/xt/range_plus.rb", "lib/tins/xt/require_maybe.rb", "lib/tins/xt/responding.rb", "lib/tins/xt/rotate.rb", "lib/tins/xt/round.rb", "lib/tins/xt/secure_write.rb", "lib/tins/xt/sexy_singleton.rb", "lib/tins/xt/shuffle.rb", "lib/tins/xt/string.rb", "lib/tins/xt/string_byte_order_mark.rb", "lib/tins/xt/string_camelize.rb", "lib/tins/xt/string_underscore.rb", "lib/tins/xt/string_version.rb", "lib/tins/xt/subhash.rb", "lib/tins/xt/symbol_to_proc.rb", "lib/tins/xt/time_dummy.rb", "lib/tins/xt/to.rb", "lib/tins/xt/uniq_by.rb", "lib/tins/xt/write.rb"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Frank
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-08 00:00:00.000000000 Z
11
+ date: 2013-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gem_hadar