basecustom 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2233eb5a114e59208ab286a6538e4cbbf7fe49b
4
- data.tar.gz: a001b263d87d549297dea8fb39617dfde233586a
3
+ metadata.gz: 67e706cd92197cf44c703badd4cdfadfc754e570
4
+ data.tar.gz: ceaeeae0c19495f55cad6a812dd8d8d61863a0a3
5
5
  SHA512:
6
- metadata.gz: a34d824e497bfc29dc5f1aa77b610933a9bb775003dee7edde96e95f33313d6088d42f152e3f5d5a5579f1ba41fe66c90d12f3ca55c4233d0182413cd5da5ba2
7
- data.tar.gz: 4b2901922a0b9629fdd89ff9ce7ab76904c45d38f719e433682f0b3002578ad6d385a71216a413776e46b1e82b7d704480677df90d0530aa4046568965072705
6
+ metadata.gz: 8aa23f4da623e02e3630a8859ee314ba0a7fbfd712224a45dc7516b27845b1b904f6cf7b327c596f56cf2ebd546f9df486beff4c8dbf3ece23898f5230fe9ebb
7
+ data.tar.gz: 40bca2e13d456d9f04b805e2ead4270dd819d42917b84fd8e1bada03604f02dd906a862c014b43b7c9fe60ca958f2c147ec6b34769986480301306190cfb83a5
data/LICENSE CHANGED
@@ -1,10 +1,20 @@
1
- The MIT License (MIT)
1
+ Copyright 2012-2016 Daniel P. Clark
2
2
 
3
- Copyright (c) 2012 Daniel P. Clark & 6ft Dan(TM)
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
4
10
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
10
13
 
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # BaseCustom
2
2
  by Daniel P. Clark
3
3
 
4
+ [![Gem Version](https://badge.fury.io/rb/basecustom.svg)](http://badge.fury.io/rb/basecustom)
5
+ [![Build Status](https://travis-ci.org/danielpclark/BaseCustom.svg)](https://travis-ci.org/danielpclark/BaseCustom)
6
+
4
7
  Inspired by:
5
8
  * base62 by "JT Zemp" and contributors "Saadiq Rodgers-King", "Derrick Camerino"
6
9
 
@@ -32,6 +35,9 @@ baseABC.base(123)
32
35
 
33
36
  # Version History
34
37
 
38
+ Version 1.0.2
39
+ * Cleaned up gemspec.
40
+
35
41
  Version 1.0.1
36
42
  * Enabled use of special characters like newline (\n) or tab (\t) to be counted
37
43
  as acceptable numeric characters. These characters can now also be printed with
@@ -1,7 +1,9 @@
1
1
  class BaseCustom
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
4
4
 
5
+ # Version 1.0.2
6
+ # * Cleaned up gemspec.
5
7
  # Version 1.0.1
6
8
  # * Enabled use of special characters like newline (\n) or tab (\t) to be counted
7
9
  # as acceptable numeric characters. These characters can now also be printed with
@@ -65,5 +65,7 @@ class TestBaseCustom < Test::Unit::TestCase
65
65
  assert baseSC.base(12345) == "\t \n \n \n \t 1 0 "
66
66
  baseSC = BaseCustom.new(["\n", "0", "1", "\t"])
67
67
  assert baseSC.base(12345) == "\t\n\n\n\t10"
68
+ baseSC = BaseCustom.new("\n01\t")
69
+ assert baseSC.base(12345) == "\t\n\n\n\t10"
68
70
  end
69
71
  end
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basecustom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - Daniel P. Clark / 6ftDan(TM)
7
+ - Daniel P. Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-15 00:00:00.000000000 Z
11
+ date: 2016-04-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Define your own numberic base! Highly advanced and ultimately simple!
13
+ description: Define your own numeric base! Highly advanced and ultimately simple!
14
14
  email: 6ftdan@gmail.com
15
15
  executables: []
16
16
  extensions: []
@@ -21,9 +21,9 @@ files:
21
21
  - lib/basecustom.rb
22
22
  - lib/basecustom/version.rb
23
23
  - test/bc_test.rb
24
- homepage: https://rubygems.org/gems/basecustom
24
+ homepage: https://github.com/danielpclark/BaseCustom
25
25
  licenses:
26
- - The MIT License (MIT)
26
+ - MIT
27
27
  metadata: {}
28
28
  post_install_message:
29
29
  rdoc_options: []
@@ -41,8 +41,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
41
  version: '0'
42
42
  requirements: []
43
43
  rubyforge_project:
44
- rubygems_version: 2.4.5
44
+ rubygems_version: 2.5.1
45
45
  signing_key:
46
46
  specification_version: 4
47
- summary: Define your own numberic base!
47
+ summary: Define your own numeric base!
48
48
  test_files: []