phc_string_format 0.3.7 → 0.3.8

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: '084020897b3e77a7f32d37f98d4569236318ff40b298c70c146fa41c103ce555'
4
- data.tar.gz: 73c67127d1e39de187744ea9a578c033d7dde7af689795188d9b6eb9fc7430cf
3
+ metadata.gz: 679957901160f40d7a114d76d447b4c347627108c99f3d7a77039f98ae8775f1
4
+ data.tar.gz: 2fc8ebd4e7043b97769999e92b433e06faab04e3a4aef4d5ff20f9631be2b995
5
5
  SHA512:
6
- metadata.gz: 2d6ffbe6d63ff7131762b3adc46f72054338400779ad276ca0e18e17022b81b50c644c687664e173014885a8f3418cec4c2921471e8bd4ee3d8a28d157f43e50
7
- data.tar.gz: 6ef32315b8e495df3618fe4dadc14c3c0d8430a3477e02fe18f7bd1223c57f6e5335824fa23240d86bec8e0ab3aab97cc1870fb59307603298462a27cc589f4c
6
+ metadata.gz: b8eecd0da8bbbd17de007880bc13f6101e07ba59095a4946ca1e41cbfe1f8fb7c77257a69334329b8d941f17d11d99564b6ad8829c0f7a5444d84cd94246fe84
7
+ data.tar.gz: bdde19da37640bf9ab41bdcc8f1af6f463148d838eb101cfbfc9c0eaa466cf3b12f791df86ec3c0536fb7fc6fb179a242c8ba056df7f6cd6232f6ca9875ff57d
@@ -0,0 +1,35 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
+
8
+ name: Ruby
9
+
10
+ on:
11
+ push:
12
+ branches: [ master ]
13
+ pull_request:
14
+
15
+ jobs:
16
+ test:
17
+
18
+ runs-on: ubuntu-latest
19
+ strategy:
20
+ matrix:
21
+ ruby-version: ['2.6', '2.7', '3.0']
22
+
23
+ steps:
24
+ - uses: actions/checkout@v2
25
+ - name: Set up Ruby
26
+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
27
+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
28
+ # uses: ruby/setup-ruby@v1
29
+ uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
30
+ with:
31
+ ruby-version: ${{ matrix.ruby-version }}
32
+ bundler-cache: false # runs 'bundle install' and caches installed gems automatically
33
+ - run: bundle install --jobs 4
34
+ - name: Run tests
35
+ run: bundle exec rake
data/Gemfile CHANGED
@@ -7,5 +7,5 @@ gemspec
7
7
 
8
8
  gem "rubocop", "~> 0.58.2", require: false, :groups => [:development, :test]
9
9
  gem "reek", "~> 5.0", require: false, :groups => [:development, :test]
10
- gem 'simplecov', require: false, group: :test
11
- gem 'codacy-coverage', require: false, group: :test
10
+ gem 'simplecov', '>= 0.16.1', require: false, group: :test
11
+ gem 'codacy-coverage', '>= 1.1.8', require: false, group: :test
data/Gemfile.lock CHANGED
@@ -1,64 +1,65 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- phc_string_format (0.3.7)
4
+ phc_string_format (0.3.8)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- ast (2.4.0)
9
+ ast (2.4.2)
10
10
  axiom-types (0.1.1)
11
11
  descendants_tracker (~> 0.0.4)
12
12
  ice_nine (~> 0.11.0)
13
13
  thread_safe (~> 0.3, >= 0.3.1)
14
- byebug (10.0.2)
15
- codacy-coverage (1.1.8)
14
+ byebug (11.1.3)
15
+ codacy-coverage (2.2.1)
16
16
  simplecov
17
17
  codeclimate-engine-rb (0.4.1)
18
18
  virtus (~> 1.0)
19
- coderay (1.1.2)
19
+ coderay (1.1.3)
20
20
  coercible (1.0.0)
21
21
  descendants_tracker (~> 0.0.1)
22
22
  descendants_tracker (0.0.4)
23
23
  thread_safe (~> 0.3, >= 0.3.1)
24
- diff-lcs (1.3)
25
- docile (1.3.1)
24
+ diff-lcs (1.4.4)
25
+ docile (1.3.5)
26
26
  equalizer (0.0.11)
27
27
  ice_nine (0.11.2)
28
- jaro_winkler (1.5.1)
29
- json (2.1.0)
28
+ jaro_winkler (1.5.4)
30
29
  kwalify (0.7.2)
31
- method_source (0.9.0)
32
- parallel (1.12.1)
33
- parser (2.5.1.2)
34
- ast (~> 2.4.0)
35
- powerpack (0.1.2)
36
- pry (0.11.3)
37
- coderay (~> 1.1.0)
38
- method_source (~> 0.9.0)
39
- pry-byebug (3.6.0)
40
- byebug (~> 10.0)
41
- pry (~> 0.10)
30
+ method_source (1.0.0)
31
+ parallel (1.20.1)
32
+ parser (2.7.2.0)
33
+ ast (~> 2.4.1)
34
+ powerpack (0.1.3)
35
+ pry (0.13.1)
36
+ coderay (~> 1.1)
37
+ method_source (~> 1.0)
38
+ pry-byebug (3.9.0)
39
+ byebug (~> 11.0)
40
+ pry (~> 0.13.0)
41
+ psych (3.1.0)
42
42
  rainbow (3.0.0)
43
- rake (10.5.0)
44
- reek (5.0.2)
43
+ rake (13.0.3)
44
+ reek (5.6.0)
45
45
  codeclimate-engine-rb (~> 0.4.0)
46
46
  kwalify (~> 0.7.0)
47
- parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
47
+ parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
48
+ psych (~> 3.1.0)
48
49
  rainbow (>= 2.0, < 4.0)
49
- rspec (3.7.0)
50
- rspec-core (~> 3.7.0)
51
- rspec-expectations (~> 3.7.0)
52
- rspec-mocks (~> 3.7.0)
53
- rspec-core (3.7.1)
54
- rspec-support (~> 3.7.0)
55
- rspec-expectations (3.7.0)
50
+ rspec (3.10.0)
51
+ rspec-core (~> 3.10.0)
52
+ rspec-expectations (~> 3.10.0)
53
+ rspec-mocks (~> 3.10.0)
54
+ rspec-core (3.10.1)
55
+ rspec-support (~> 3.10.0)
56
+ rspec-expectations (3.10.1)
56
57
  diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.7.0)
58
- rspec-mocks (3.7.0)
58
+ rspec-support (~> 3.10.0)
59
+ rspec-mocks (3.10.2)
59
60
  diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.7.0)
61
- rspec-support (3.7.1)
61
+ rspec-support (~> 3.10.0)
62
+ rspec-support (3.10.2)
62
63
  rubocop (0.58.2)
63
64
  jaro_winkler (~> 1.5.1)
64
65
  parallel (~> 1.10)
@@ -67,14 +68,15 @@ GEM
67
68
  rainbow (>= 2.2.2, < 4.0)
68
69
  ruby-progressbar (~> 1.7)
69
70
  unicode-display_width (~> 1.0, >= 1.0.1)
70
- ruby-progressbar (1.9.0)
71
- simplecov (0.16.1)
71
+ ruby-progressbar (1.11.0)
72
+ simplecov (0.21.2)
72
73
  docile (~> 1.1)
73
- json (>= 1.8, < 3)
74
- simplecov-html (~> 0.10.0)
75
- simplecov-html (0.10.2)
74
+ simplecov-html (~> 0.11)
75
+ simplecov_json_formatter (~> 0.1)
76
+ simplecov-html (0.12.3)
77
+ simplecov_json_formatter (0.1.2)
76
78
  thread_safe (0.3.6)
77
- unicode-display_width (1.4.0)
79
+ unicode-display_width (1.7.0)
78
80
  virtus (1.0.5)
79
81
  axiom-types (~> 0.1)
80
82
  coercible (~> 1.0)
@@ -86,14 +88,14 @@ PLATFORMS
86
88
 
87
89
  DEPENDENCIES
88
90
  bundler (~> 2)
89
- codacy-coverage
91
+ codacy-coverage (>= 1.1.8)
90
92
  phc_string_format!
91
93
  pry-byebug (~> 3.6)
92
- rake (~> 10.0)
94
+ rake (~> 13.0)
93
95
  reek (~> 5.0)
94
96
  rspec (~> 3.0)
95
97
  rubocop (~> 0.58.2)
96
- simplecov
98
+ simplecov (>= 0.16.1)
97
99
 
98
100
  BUNDLED WITH
99
101
  2.0.1
@@ -4,7 +4,7 @@ module PhcStringFormat
4
4
  #
5
5
  module Formatter
6
6
  def self.format(**kwargs)
7
- PhcString.create(kwargs).to_s
7
+ PhcString.create(**kwargs).to_s
8
8
  end
9
9
 
10
10
  def self.parse(string, hint: {}, pick: nil)
@@ -1,3 +1,3 @@
1
1
  module PhcStringFormat
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
 
30
30
  spec.add_development_dependency "bundler", "~> 2"
31
- spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "rake", "~> 13.0"
32
32
  spec.add_development_dependency "rspec", "~> 3.0"
33
33
  spec.add_development_dependency "pry-byebug", "~> 3.6"
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phc_string_format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - naokikimura
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-19 00:00:00.000000000 Z
11
+ date: 2021-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,14 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.6'
69
- description:
69
+ description:
70
70
  email:
71
71
  - n.kimura.cap@gmail.com
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".github/workflows/ruby.yml"
76
77
  - ".gitignore"
77
78
  - ".reek.yml"
78
79
  - ".rspec"
@@ -100,7 +101,7 @@ licenses:
100
101
  metadata:
101
102
  bug_tracker_uri: https://github.com/naokikimura/phc_string_format/issues
102
103
  source_code_uri: https://github.com/naokikimura/phc_string_format.git
103
- post_install_message:
104
+ post_install_message:
104
105
  rdoc_options: []
105
106
  require_paths:
106
107
  - lib
@@ -115,9 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
116
  - !ruby/object:Gem::Version
116
117
  version: '0'
117
118
  requirements: []
118
- rubyforge_project:
119
- rubygems_version: 2.7.6
120
- signing_key:
119
+ rubygems_version: 3.0.3
120
+ signing_key:
121
121
  specification_version: 4
122
122
  summary: PHC string format implemented by Ruby.
123
123
  test_files: []