table_creator 0.1.1 → 0.2.0
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 +5 -5
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/release.yml +59 -0
- data/.github/workflows/ruby.yml +19 -0
- data/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +3 -1
- data/README.md +16 -0
- data/gemfiles/rails60.gemfile +9 -0
- data/gemfiles/rails61.gemfile +9 -0
- data/lib/table_creator/col.rb +1 -1
- data/lib/table_creator/version.rb +1 -1
- data/table_creator.gemspec +3 -2
- metadata +12 -8
- data/.travis.yml +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 82f56334c12cf8e12dfbcf6e6f9bec8e5336d801c2f1e370909c956451d8bd67
|
|
4
|
+
data.tar.gz: 0c0b92053026cb7e7de30959e4dfb043098e79487778466bee9870b1de0d3cde
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3090766d799ea731553bb0c3872df01091e351ea5a7b4c033fb68bcc4562c27a786d6506abe6bb86a81f971de9d68125604e22d6b1076c6ef745d35e5bd28390
|
|
7
|
+
data.tar.gz: b6ff6cfed9f27559e7984d863ec9a940473f319cf409c432a0103dd77ec1b85e48146a98bf540ec60990e60df62c5c4f5901abc97a6029b994d66377998f5fe6
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
name: Build
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout
|
|
14
|
+
uses: actions/checkout@v2
|
|
15
|
+
- uses: ruby/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
bundler-cache: true
|
|
18
|
+
- run: bundle exec rake
|
|
19
|
+
|
|
20
|
+
release:
|
|
21
|
+
needs: build
|
|
22
|
+
name: Release
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
steps:
|
|
25
|
+
- name: Checkout
|
|
26
|
+
uses: actions/checkout@v2
|
|
27
|
+
|
|
28
|
+
- name: Generate Changelog
|
|
29
|
+
run: |
|
|
30
|
+
# Get version from github ref (remove 'refs/tags/' and prefix 'v')
|
|
31
|
+
version="${GITHUB_REF#refs/tags/v}"
|
|
32
|
+
npx changelog-parser CHANGELOG.md | jq -cr ".versions | .[] | select(.version == \"$version\") | .body" > ${{ github.workflow }}-CHANGELOG.txt
|
|
33
|
+
|
|
34
|
+
- name: Release
|
|
35
|
+
uses: softprops/action-gh-release@v1
|
|
36
|
+
with:
|
|
37
|
+
body_path: ${{ github.workflow }}-CHANGELOG.txt
|
|
38
|
+
env:
|
|
39
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
40
|
+
|
|
41
|
+
publish:
|
|
42
|
+
needs: [build, release]
|
|
43
|
+
name: Publish
|
|
44
|
+
runs-on: ubuntu-latest
|
|
45
|
+
|
|
46
|
+
steps:
|
|
47
|
+
- uses: actions/checkout@v2
|
|
48
|
+
- uses: ruby/setup-ruby@v1
|
|
49
|
+
|
|
50
|
+
- name: Publish to RubyGems
|
|
51
|
+
run: |
|
|
52
|
+
mkdir -p $HOME/.gem
|
|
53
|
+
touch $HOME/.gem/credentials
|
|
54
|
+
chmod 0600 $HOME/.gem/credentials
|
|
55
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
56
|
+
gem build *.gemspec
|
|
57
|
+
gem push *.gem
|
|
58
|
+
env:
|
|
59
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Build and Test
|
|
2
|
+
on: [push, pull_request]
|
|
3
|
+
jobs:
|
|
4
|
+
test:
|
|
5
|
+
strategy:
|
|
6
|
+
fail-fast: false
|
|
7
|
+
matrix:
|
|
8
|
+
gemfile: [rails60, rails61]
|
|
9
|
+
ruby: ["2.6", "2.7", "3.0"]
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
env:
|
|
12
|
+
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v2
|
|
15
|
+
- uses: ruby/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
ruby-version: ${{ matrix.ruby }}
|
|
18
|
+
bundler-cache: true
|
|
19
|
+
- run: bundle exec rake
|
data/.gitignore
CHANGED
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.0.0
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
Table Creator
|
|
2
2
|
=============
|
|
3
3
|
|
|
4
|
+
[](http://badge.fury.io/rb/table_creator)
|
|
5
|
+
[](https://github.com/sealink/table_creator/actions)
|
|
6
|
+
|
|
4
7
|
# DESCRIPTION
|
|
5
8
|
|
|
6
9
|
Various helpers to enter data in a tabular form and export to HTML/CSV
|
|
@@ -8,3 +11,16 @@ Various helpers to enter data in a tabular form and export to HTML/CSV
|
|
|
8
11
|
# USAGE
|
|
9
12
|
|
|
10
13
|
See tests in spec folder for basic usage
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# RELEASE
|
|
17
|
+
|
|
18
|
+
To publish a new version of this gem the following steps must be taken.
|
|
19
|
+
|
|
20
|
+
* Update the version in the following files
|
|
21
|
+
```
|
|
22
|
+
CHANGELOG.md
|
|
23
|
+
lib/table_creator/version.rb
|
|
24
|
+
````
|
|
25
|
+
* Create a tag using the format v0.1.0
|
|
26
|
+
* Follow build progress in GitHub actions
|
data/lib/table_creator/col.rb
CHANGED
data/table_creator.gemspec
CHANGED
|
@@ -19,15 +19,16 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
21
21
|
spec.require_paths = ["lib"]
|
|
22
|
+
spec.required_ruby_version = '>= 2.6'
|
|
22
23
|
|
|
23
24
|
spec.add_dependency 'actionpack' # TagHelpers
|
|
24
25
|
spec.add_dependency 'activesupport' # Hash#except, blank?, etc.
|
|
25
26
|
|
|
26
|
-
spec.add_development_dependency "bundler", "~>
|
|
27
|
+
spec.add_development_dependency "bundler", "~> 2"
|
|
27
28
|
spec.add_development_dependency "rake"
|
|
28
29
|
spec.add_development_dependency 'rspec'
|
|
29
30
|
spec.add_development_dependency 'coverage-kit'
|
|
30
31
|
spec.add_development_dependency 'simplecov-rcov'
|
|
31
32
|
spec.add_development_dependency 'coveralls'
|
|
32
|
-
spec.add_development_dependency '
|
|
33
|
+
spec.add_development_dependency 'pry'
|
|
33
34
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: table_creator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Noack
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '2'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '2'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rake
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -123,7 +123,7 @@ dependencies:
|
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
126
|
+
name: pry
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
129
|
- - ">="
|
|
@@ -142,13 +142,18 @@ executables: []
|
|
|
142
142
|
extensions: []
|
|
143
143
|
extra_rdoc_files: []
|
|
144
144
|
files:
|
|
145
|
+
- ".github/dependabot.yml"
|
|
146
|
+
- ".github/workflows/release.yml"
|
|
147
|
+
- ".github/workflows/ruby.yml"
|
|
145
148
|
- ".gitignore"
|
|
146
|
-
- ".
|
|
149
|
+
- ".ruby-version"
|
|
147
150
|
- CHANGELOG.md
|
|
148
151
|
- Gemfile
|
|
149
152
|
- LICENSE
|
|
150
153
|
- README.md
|
|
151
154
|
- Rakefile
|
|
155
|
+
- gemfiles/rails60.gemfile
|
|
156
|
+
- gemfiles/rails61.gemfile
|
|
152
157
|
- lib/table_creator.rb
|
|
153
158
|
- lib/table_creator/col.rb
|
|
154
159
|
- lib/table_creator/col_group.rb
|
|
@@ -174,15 +179,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
174
179
|
requirements:
|
|
175
180
|
- - ">="
|
|
176
181
|
- !ruby/object:Gem::Version
|
|
177
|
-
version: '
|
|
182
|
+
version: '2.6'
|
|
178
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
184
|
requirements:
|
|
180
185
|
- - ">="
|
|
181
186
|
- !ruby/object:Gem::Version
|
|
182
187
|
version: '0'
|
|
183
188
|
requirements: []
|
|
184
|
-
|
|
185
|
-
rubygems_version: 2.5.2
|
|
189
|
+
rubygems_version: 3.2.3
|
|
186
190
|
signing_key:
|
|
187
191
|
specification_version: 4
|
|
188
192
|
summary: Manage sets of data and export.
|