habakiri 0.1.2 → 0.1.3

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: 755f1d5a970754e4e71f8f41cd9a5aa7f02482aa2cd3b72f2bbd03de122a8d22
4
- data.tar.gz: 457b9a65289f046f47ca77173baf81695af717a38370dd3a4e0e18897496e703
3
+ metadata.gz: 3660aa92c1546c1461461380f45ef633cbc8f35bde07cfff14364e482505319a
4
+ data.tar.gz: a10e6e7c760b2e94a7ccd43e8af0c0b9d74128ad99d3683a4b1cdc4ada543c50
5
5
  SHA512:
6
- metadata.gz: d48721467c27f00f134ab4186684634b10a9a6827d1e6407838448e8b0020d1f451737742fa3e658eab0142d4e63627d39bcf4e75b46cd0128b430ff245cb112
7
- data.tar.gz: a03ae57eab368f16362da48bc894b2a4171d246ec4fdcf18fa45b32d752f9f7e29c46a1d1c52d70753dd9259b37c5840cc04dfc32e3d1478dc603de12975c11c
6
+ metadata.gz: 6012f69c00630c444498586c698d3fc4392567fb88cf185eaadfdd0823afe42a9169524490d01b8e7da16332a46e409575d2bfdff15c13b964f967ccd5bd8443
7
+ data.tar.gz: 3dd9aba78d88b167bee0309ee56f8515deac2bc1925d9ebbcd4ab6ab9eeb2026a192a6e0f10a03cf51ddb35a0e1b927730ef5f6b63430c4413b677ee68478f9b
@@ -0,0 +1,37 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ branches: [ release ]
6
+
7
+ jobs:
8
+ build:
9
+ name: Build + Publish
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby 2.6
15
+ uses: actions/setup-ruby@v1
16
+ with:
17
+ ruby-version: 2.6.x
18
+
19
+ - name: Install bundler
20
+ run: |
21
+ gem install bundler
22
+
23
+ - name: Test
24
+ run: |
25
+ bundle install
26
+ bundle exec rake test
27
+
28
+ - name: Publish to RubyGems
29
+ run: |
30
+ mkdir -p $HOME/.gem
31
+ touch $HOME/.gem/credentials
32
+ chmod 0600 $HOME/.gem/credentials
33
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
34
+ gem build *.gemspec
35
+ gem push *.gem
36
+ env:
37
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
data/Gemfile CHANGED
@@ -2,11 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in habakiri.gemspec
4
4
  gemspec
5
-
6
- group :development do
7
- gem 'rake', '~> 12.0'
8
- gem 'rubocop'
9
- gem 'minitest'
10
- end
11
-
12
- gem 'diff-lcs'
@@ -7,7 +7,9 @@ Gem::Specification.new do |spec|
7
7
  spec.email = ['7163746+diaphragm@users.noreply.github.com']
8
8
 
9
9
  spec.summary = 'Strings template match engine'
10
- spec.description = 'Habariki is a template match engine for strings that can extract part of text by template keywords.'
10
+ spec.description = <<~EOS
11
+ Habariki is a template match engine for strings that can extract part of text by template keywords.
12
+ EOS
11
13
  spec.homepage = 'https://github.com/diaphragm/habakiri'
12
14
  spec.license = 'MIT'
13
15
  spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
@@ -18,4 +20,9 @@ Gem::Specification.new do |spec|
18
20
  `git ls-files -z`.split("\x0") - Dir['.*']
19
21
  end
20
22
  spec.require_paths = ['lib']
23
+
24
+ spec.add_dependency 'diff-lcs', '~> 1.4'
25
+ spec.add_development_dependency 'rake', '~> 12.0'
26
+ spec.add_development_dependency 'rubocop', '~> 0.89'
27
+ spec.add_development_dependency 'minitest', '~> 5.14'
21
28
  end
@@ -1,3 +1,3 @@
1
1
  class Habakiri
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,23 +1,82 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: habakiri
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - diaphragm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-25 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Habariki is a template match engine for strings that can extract part
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: diff-lcs
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '12.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '12.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.89'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.89'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.14'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.14'
69
+ description: 'Habariki is a template match engine for strings that can extract part
14
70
  of text by template keywords.
71
+
72
+ '
15
73
  email:
16
74
  - 7163746+diaphragm@users.noreply.github.com
17
75
  executables: []
18
76
  extensions: []
19
77
  extra_rdoc_files: []
20
78
  files:
79
+ - ".github/workflows/gem-push.yml"
21
80
  - Gemfile
22
81
  - LICENSE.txt
23
82
  - README.md
@@ -51,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
110
  - !ruby/object:Gem::Version
52
111
  version: '0'
53
112
  requirements: []
54
- rubygems_version: 3.1.4
113
+ rubygems_version: 3.0.3
55
114
  signing_key:
56
115
  specification_version: 4
57
116
  summary: Strings template match engine