parxer 0.2.0 → 0.3.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: b6a27548a85cdc15543c65753f4ede5dadb8638bd3c4e9918c952b1fdeddd7a3
4
- data.tar.gz: eaf3dcfd5dfcd30d07c99c8a8c843b032ca27ed47ed5d8abda678dbd35241854
3
+ metadata.gz: 7cccd146511d636ab20ad78746e1b3327f2439d0783e33ce572900ae609966cf
4
+ data.tar.gz: 795950d61cb3ccfa1f6de41ee609a5a2e946911f9c11fbe2181398460195d31f
5
5
  SHA512:
6
- metadata.gz: 2296d7476bff30e5f2a9746f0802fe497a1e6d3dacc238c00259c4c86e8b2e76a6acefc6fb342d279bcb0ac94b32beefce6208bc21b2a583c7b1afafe1159068
7
- data.tar.gz: 5a7909e6edf56d2dc139af02c1b23954eaef311b59a06fedec9ab9fd9f95086833f4061a65cd4ed1514c6ff90bb2827cad53e3d01c80bb3767068516c040b486
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.7"
17
+ default: "3.2"
18
18
  type: string
19
19
  docker:
20
- - image: circleci/ruby:<<parameters.ruby-version>>-node
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/lib $RSPEC_FORMAT_ARGS $RSPEC_JUNIT_ARGS
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
- gem push "parxer-$(git describe --tags).gem"
84
+ version_tag=$(git describe --tags)
85
+ gem push parxer-${version_tag#v}.gem
85
86
 
86
87
  workflows:
87
88
  version: 2
88
- test_and_lint:
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:
@@ -1,3 +1,3 @@
1
1
  mkdir ~/.gem
2
2
  echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
3
- chmod 0600 /home/circleci/.gem/credentials
3
+ chmod 0600 /home/circleci/.gem/credentials
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7
1
+ 3.2
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ### v0.3.0
6
+
7
+ ##### Added
8
+
9
+ * Add Ruby 3 support
10
+
5
11
  ### v0.2.0
6
12
 
7
13
  ##### Changed
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Parxer
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/parxer.svg)](https://badge.fury.io/rb/parxer)
4
+ [![CircleCI](https://circleci.com/gh/platanus/parxer.svg?style=shield)](https://app.circleci.com/pipelines/github/platanus/parxer)
4
5
  [![Coverage Status](https://coveralls.io/repos/github/platanus/parxer/badge.svg?branch=master)](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
@@ -1,3 +1,3 @@
1
1
  module Parxer
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.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: 2021-06-08 00:00:00.000000000 Z
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.1.6
271
+ rubygems_version: 3.4.10
272
272
  signing_key:
273
273
  specification_version: 4
274
274
  summary: ruby gem to parse data