thefox-ext 1.2.0 → 1.2.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: ee911e444424c00f4bd6a4e18f439e8121057000
4
- data.tar.gz: 4b2a22e6b4bc4b93e9306e9930b3780bc86a64b9
3
+ metadata.gz: eba4482de20d3cc52537b0f15af826c3f888499d
4
+ data.tar.gz: ef15d55ddf3636c1632372667448e27d1f3658c4
5
5
  SHA512:
6
- metadata.gz: 10a470cfb54127d0bc24b1bc62b2d5b31e6cb1a7c2ca7d1577c956e9746d804be27b661437ee7117dc6157f4c8cda5a610feba95589de60f8cc0b5c846a2c45c
7
- data.tar.gz: 76ca6d660005fa7d8e7564445fc1eaae37f2cb4f21821d765e0af62872d37227f85202ebaff4146f40fe1833dbf2a7f3f19a4261d7a9e5089dc627a74c063b4e
6
+ metadata.gz: 32dd83cb5620230d3873829d5d8e761ce17b0418d62b49cacb4a664f3ff459d65cc8e7f0ec1b4bc09dc2baafd929c6780cc14d7b2e41c5d9361e7accb780499d
7
+ data.tar.gz: 797e0875ad27c9630c9451a9af6ab7587a72b671d744f1226ab53a2c3f3a7c6dec57fa40fa39229457254e9745b882c3af65b9d7413b3ec3db917c255695c699
data/.gitignore CHANGED
@@ -1,3 +1,5 @@
1
+ /.bundle/
1
2
  .setup
2
3
  CHANGELOG-*.txt
4
+ Gemfile.lock
3
5
  /releases/
data/.travis.yml CHANGED
@@ -2,8 +2,15 @@ language: ruby
2
2
  rvm:
3
3
  - 2.1
4
4
  - 2.2
5
+ sudo: required
5
6
  before_install:
6
- - ruby --version
7
+ - gem update --system
8
+ - gem install bundler -v '~>1.11'
9
+ - bundler --version
10
+ install:
11
+ - make
12
+ - gem build thefox-ext.gemspec
13
+ - gem install thefox-ext-*.gem
14
+ - gem list -l thefox-ext
7
15
  script:
8
- - make test
9
- - make install
16
+ - make test
data/Makefile CHANGED
@@ -5,4 +5,4 @@ include Makefile.common
5
5
 
6
6
  .PHONY: test
7
7
  test:
8
- RUBYOPT=-w ./tests/ts_all.rb
8
+ RUBYOPT=-w $(BUNDLER) exec ./tests/ts_all.rb
data/Makefile.common CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  # Ruby Common Big
3
- # 2015-12-15
3
+ # 2015-12-21
4
4
 
5
5
  MV = mv -nv
6
6
  RM = rm -rf
@@ -35,7 +35,9 @@ update:
35
35
 
36
36
  .PHONY: clean
37
37
  clean:
38
+ $(RM) .bundle
38
39
  $(RM) .setup
40
+ $(RM) Gemfile.lock
39
41
 
40
42
  .PHONY: release
41
43
  release: | releases
data/README.md CHANGED
@@ -23,6 +23,12 @@ Use it in your sources:
23
23
  - Title Case
24
24
  - UTF-8 Encoding
25
25
  - Intenger 32-bit Array
26
+ - Console Support
27
+
28
+ ## Project Links
29
+
30
+ - [Gem](https://rubygems.org/gems/thefox-ext)
31
+ - [Travis CI Repository](https://travis-ci.org/TheFox/ext.rb)
26
32
 
27
33
  ## License
28
34
  Copyright (C) 2015 Christian Mayer <http://fox21.at>
@@ -1,7 +1,7 @@
1
1
 
2
2
  module TheFox
3
3
  module Ext
4
- VERSION = '1.2.0'
5
- DATE = '2015-12-17'
4
+ VERSION = '1.2.1'
5
+ DATE = '2015-12-21'
6
6
  end
7
7
  end
data/tests/tc_false.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
3
  require 'minitest/autorun'
5
4
  require 'thefox-ext'
6
5
 
6
+
7
7
  class TestFalse < MiniTest::Test
8
8
  def test_false
9
9
  assert_equal(0, false.to_i)
data/tests/tc_integer.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
3
  require 'minitest/autorun'
5
4
  require 'thefox-ext'
6
5
 
6
+
7
7
  class TestInteger < MiniTest::Test
8
8
  def test_to_b
9
9
  assert_equal(true, 3.to_b)
data/tests/tc_nil.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
3
  require 'minitest/autorun'
5
4
  require 'thefox-ext'
6
5
 
6
+
7
7
  class TestNil < MiniTest::Test
8
8
  def test_to_utf8
9
9
  assert_equal('', nil.to_utf8)
data/tests/tc_string.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
3
  require 'minitest/autorun'
5
4
  require 'thefox-ext'
6
5
 
6
+
7
7
  class TestString < MiniTest::Test
8
8
  def test_is_digit
9
9
  assert_equal(true, '0123456789'.is_digit?)
data/tests/tc_true.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'bundler/setup'
4
3
  require 'minitest/autorun'
5
4
  require 'thefox-ext'
6
5
 
6
+
7
7
  class TestTrue < MiniTest::Test
8
8
  def test_to_i
9
9
  assert_equal(1, true.to_i)
data/thefox-ext.gemspec CHANGED
@@ -21,6 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
  spec.required_ruby_version = '>=2.1.0'
23
23
 
24
- spec.add_development_dependency 'bundler', '~>1.10'
25
24
  spec.add_development_dependency 'minitest', '~>5.8'
26
25
  end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thefox-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Mayer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-17 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.10'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.10'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: minitest
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -47,7 +33,6 @@ files:
47
33
  - ".gitignore"
48
34
  - ".travis.yml"
49
35
  - Gemfile
50
- - Gemfile.lock
51
36
  - Makefile
52
37
  - Makefile.common
53
38
  - README.md
data/Gemfile.lock DELETED
@@ -1,20 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- thefox-ext (1.2.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- minitest (5.8.3)
10
-
11
- PLATFORMS
12
- ruby
13
-
14
- DEPENDENCIES
15
- bundler (~> 1.10)
16
- minitest (~> 5.8)
17
- thefox-ext!
18
-
19
- BUNDLED WITH
20
- 1.10.2