parxer 0.2.0 → 0.3.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 +4 -4
- data/.circleci/config.yml +8 -7
- data/.circleci/setup-rubygems.sh +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -0
- data/README.md +11 -0
- data/lib/parxer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7cccd146511d636ab20ad78746e1b3327f2439d0783e33ce572900ae609966cf
|
|
4
|
+
data.tar.gz: 795950d61cb3ccfa1f6de41ee609a5a2e946911f9c11fbe2181398460195d31f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 24dba2cbdadbbc32f0a34f4ae88e4e745d4996fe06af162e1fe52c6acbb83734f8c7f396f3308e6bc165ae1fd9fff936613c39aff60bef3d3c239ee179185d09
|
|
7
|
+
data.tar.gz: d9762981d8be257e06afb1ea3acb3cb5839217df7c5af451d0d16c950be6cc00697fb1eb4a0d964a1cfe547195f39ac1cc0fcb1b5d9476ad5b903e761cc95956
|
data/.circleci/config.yml
CHANGED
|
@@ -14,10 +14,10 @@ executors:
|
|
|
14
14
|
parameters:
|
|
15
15
|
ruby-version:
|
|
16
16
|
description: "Ruby version"
|
|
17
|
-
default: "2
|
|
17
|
+
default: "3.2"
|
|
18
18
|
type: string
|
|
19
19
|
docker:
|
|
20
|
-
- image:
|
|
20
|
+
- image: cimg/ruby:<<parameters.ruby-version>>-node
|
|
21
21
|
environment: *env-vars
|
|
22
22
|
|
|
23
23
|
commands:
|
|
@@ -29,7 +29,7 @@ commands:
|
|
|
29
29
|
name: Install bundle dependencies
|
|
30
30
|
command: |
|
|
31
31
|
gem install bundler:2.2.15
|
|
32
|
-
bundle install
|
|
32
|
+
bundle _2.2.15_ install
|
|
33
33
|
|
|
34
34
|
jobs:
|
|
35
35
|
lint:
|
|
@@ -67,7 +67,7 @@ jobs:
|
|
|
67
67
|
command: |
|
|
68
68
|
RSPEC_JUNIT_ARGS="-r rspec_junit_formatter -f RspecJunitFormatter -o test_results/rspec.xml"
|
|
69
69
|
RSPEC_FORMAT_ARGS="-f progress --no-color -p 10"
|
|
70
|
-
bundle exec rspec ./spec
|
|
70
|
+
bundle exec rspec ./spec $RSPEC_FORMAT_ARGS $RSPEC_JUNIT_ARGS
|
|
71
71
|
- store_test_results:
|
|
72
72
|
path: test_results
|
|
73
73
|
deploy:
|
|
@@ -81,18 +81,19 @@ jobs:
|
|
|
81
81
|
name: Publish to rubygems
|
|
82
82
|
command: |
|
|
83
83
|
gem build parxer.gemspec
|
|
84
|
-
|
|
84
|
+
version_tag=$(git describe --tags)
|
|
85
|
+
gem push parxer-${version_tag#v}.gem
|
|
85
86
|
|
|
86
87
|
workflows:
|
|
87
88
|
version: 2
|
|
88
|
-
|
|
89
|
+
main:
|
|
89
90
|
jobs:
|
|
90
91
|
- lint:
|
|
91
92
|
context: org-global
|
|
92
93
|
- test:
|
|
93
94
|
matrix:
|
|
94
95
|
parameters:
|
|
95
|
-
ruby-version: ["2.5", "2.6", "2.7"]
|
|
96
|
+
ruby-version: ["2.5", "2.6", "2.7", "3.1", "3.2"]
|
|
96
97
|
- deploy:
|
|
97
98
|
context: org-global
|
|
98
99
|
filters:
|
data/.circleci/setup-rubygems.sh
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2
|
|
1
|
+
3.2
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Parxer
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/parxer)
|
|
4
|
+
[](https://app.circleci.com/pipelines/github/platanus/parxer)
|
|
4
5
|
[](https://coveralls.io/github/platanus/parxer?branch=master)
|
|
5
6
|
|
|
6
7
|
Parxer is another parser for xls, xlsx and csv files. But the big plus is that this ruby gem also has a nice DSL to help us with:
|
|
@@ -114,6 +115,16 @@ bundle exec guard
|
|
|
114
115
|
|
|
115
116
|
You need to put **all your tests** in the `/my_gem/spec/` directory.
|
|
116
117
|
|
|
118
|
+
## Publishing
|
|
119
|
+
|
|
120
|
+
On master/main branch...
|
|
121
|
+
|
|
122
|
+
1. Change `VERSION` in `lib/parxer/version.rb`.
|
|
123
|
+
2. Change `Unreleased` title to current version in `CHANGELOG.md`.
|
|
124
|
+
3. Commit new release. For example: `Releasing v0.1.0`.
|
|
125
|
+
4. Create tag. For example: `git tag v0.1.0`.
|
|
126
|
+
5. Push tag. For example: `git push origin v0.1.0`.
|
|
127
|
+
|
|
117
128
|
## Contributing
|
|
118
129
|
|
|
119
130
|
1. Fork it
|
data/lib/parxer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parxer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Platanus
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2023-07-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
268
268
|
- !ruby/object:Gem::Version
|
|
269
269
|
version: '0'
|
|
270
270
|
requirements: []
|
|
271
|
-
rubygems_version: 3.
|
|
271
|
+
rubygems_version: 3.4.10
|
|
272
272
|
signing_key:
|
|
273
273
|
specification_version: 4
|
|
274
274
|
summary: ruby gem to parse data
|