xencoder 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: d67031e0c7aa9fec0f75089aa8c77b0ac812c7da7884e871080f48515078d3ec
4
- data.tar.gz: 02f1ef82d0d0b3036c1f5bca0268a3dda7aa690df3c2ee5bf9fbc4529fbb6066
3
+ metadata.gz: c9c9e9262d3206b308dbfea95e14b802bb01baee9024dcdf6a3df84d12e838e5
4
+ data.tar.gz: 5976879315af1fea2f1a574aa476e705c8d40b9d19a32d187d0bb49c01ffd3db
5
5
  SHA512:
6
- metadata.gz: 2468e9a9bc3b382e46027501fcfe4e4d14176639e5e819eb6917d3f35eb40bbce0f3ad5044e9733624bbffc1ba6e80e4c187cf483c64e08db31fe11f9579c059
7
- data.tar.gz: c60d55a94c1140b4dd7f05c6d0c086dab9c29d3b9819d9fcadc608e93bd275dc7443c5a72ba93c35f2319dd3236b7996b2f9fc181befb798b2f7fc66ab124ba3
6
+ metadata.gz: 2c2dea4f6ca81fe75ccf2e423749340a53376af92ba2f4348fd84533dceea46f1a25aad58f50c1ff4f1d2c5c3c33d9f580754dad010c48b011f58fe86b3514c3
7
+ data.tar.gz: 2c6246b34d191076e1b975ad5cb012d765348cfb811e62e11d5f1533eaf7524535523031bcb665c023358a612c4e953b9017cf415620f2eacfb619ed21e4d506
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .DS_Store
9
10
 
10
11
  # rspec failure tracking
11
12
  .rspec_status
data/.travis.yml CHANGED
@@ -3,5 +3,8 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.5.5
6
+ - 2.5.8
7
+ - 2.7.5
8
+ - 3.0.0
9
+ - 3.1.0
7
10
  before_install: gem install bundler -v 1.17.3
data/Gemfile.lock CHANGED
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xencoder (0.1.0)
4
+ xencoder (0.2.0)
5
+ ruby2_keywords (~> 0.0.5)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
@@ -20,7 +21,7 @@ GEM
20
21
  coderay (~> 1.1.0)
21
22
  method_source (~> 0.9.0)
22
23
  rainbow (3.0.0)
23
- rake (10.5.0)
24
+ rake (13.0.1)
24
25
  rspec (3.9.0)
25
26
  rspec-core (~> 3.9.0)
26
27
  rspec-expectations (~> 3.9.0)
@@ -44,6 +45,7 @@ GEM
44
45
  rubocop-rspec (1.37.1)
45
46
  rubocop (>= 0.68.1)
46
47
  ruby-progressbar (1.10.1)
48
+ ruby2_keywords (0.0.5)
47
49
  simplecov (0.17.1)
48
50
  docile (~> 1.1)
49
51
  json (>= 1.8, < 3)
@@ -56,11 +58,11 @@ PLATFORMS
56
58
 
57
59
  DEPENDENCIES
58
60
  pry (~> 0.12.2)
59
- rake (~> 10.0)
61
+ rake (~> 13.0)
60
62
  rspec (~> 3.0)
61
63
  rubocop-rspec (~> 1.37)
62
64
  simplecov (~> 0.17.1)
63
65
  xencoder!
64
66
 
65
67
  BUNDLED WITH
66
- 2.1.2
68
+ 2.1.4
@@ -1,3 +1,3 @@
1
1
  module Xencoder
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/lib/xencoder.rb CHANGED
@@ -1,10 +1,11 @@
1
1
  require "xencoder/version"
2
2
  require 'xencoder/xbase'
3
3
  require 'xencoder/encoder'
4
+ require 'ruby2_keywords'
4
5
 
5
6
  module Xencoder
6
7
  class << self
7
- def new(*args)
8
+ ruby2_keywords def new(*args)
8
9
  Encoder.new(*args)
9
10
  end
10
11
 
data/xencoder.gemspec CHANGED
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
21
21
  end
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_dependency 'ruby2_keywords', '~> 0.0.5'
25
+ spec.add_development_dependency "rake", "~> 13.0"
25
26
  spec.add_development_dependency "rspec", "~> 3.0"
26
27
  end
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xencoder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - xiaohui
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-27 00:00:00.000000000 Z
11
+ date: 2022-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby2_keywords
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.0.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.5
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: rake
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: '10.0'
33
+ version: '13.0'
20
34
  type: :development
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: '10.0'
40
+ version: '13.0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rspec
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -65,7 +79,7 @@ homepage: https://github.com/xiaohui-zhangxh/xencoder
65
79
  licenses:
66
80
  - MIT
67
81
  metadata: {}
68
- post_install_message:
82
+ post_install_message:
69
83
  rdoc_options: []
70
84
  require_paths:
71
85
  - lib
@@ -80,8 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
94
  - !ruby/object:Gem::Version
81
95
  version: '0'
82
96
  requirements: []
83
- rubygems_version: 3.0.6
84
- signing_key:
97
+ rubygems_version: 3.3.3
98
+ signing_key:
85
99
  specification_version: 4
86
100
  summary: Encode number to fixed length of characters
87
101
  test_files: []