csb 0.5.1 → 0.7.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: f2301a29400774ab62d1f107853554a59718284eea27e1040ca2d7c6109fceff
4
- data.tar.gz: 56ebda4dc560f15de5b26eca01741b97164b99e96dc92c0af5b822a1c3a4e8b4
3
+ metadata.gz: 6cf72524c9c57bb6b6b8552ff67f34542f791bae8f1e395464a8d887157480ee
4
+ data.tar.gz: 3450353def85946d04c04e238082200401b1bf2ee1010fc4ebb3f6478bbdfac1
5
5
  SHA512:
6
- metadata.gz: 9c484f8f54f49c2d0f88832017ce9c96c3a3306da56535fbcc6c6320ae44c37ebf4babbfb6be38064dc35b38e85a1dfee5f49dafd9a28c9427496433bed0b73d
7
- data.tar.gz: 75798c786ce777530dfd6ebc2c7006d66079517d1b4e03e096895c5baf40a863c3e7a65d6083f1c32863915c6d8f7a1abe9ccfb19f7aa719cf6ec6b99189d09a
6
+ metadata.gz: 570eb119ec084220bb78abfcc11dd99dfd7427904593b4c229e1e0d825c6b0b69dfdb4053cdaec18725b0ef4569764ca02b90c3d61e342501f52f3bcb44c91f6
7
+ data.tar.gz: 1410d02f0dcfd112fc0799e1a2fdfde1edc44aa7a6c4f4bbe64fc7aea171bffc0a55fbea09dc6ff4999712c64d4586a5693c9fa1f1e2451dded04f863326358a
@@ -2,46 +2,32 @@ name: Build
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ master ]
5
+ branches: [master]
6
6
  pull_request:
7
7
 
8
8
  jobs:
9
9
  rspec:
10
-
11
10
  runs-on: ubuntu-latest
12
11
  env:
13
12
  BUNDLE_JOBS: 4
14
13
  BUNDLE_RETRY: 3
14
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
18
- ruby: [2.6, 2.7]
19
- gemfile: [
20
- "gemfiles/rails52.gemfile",
21
- "gemfiles/rails61.gemfile",
22
- ]
18
+ ruby: ["3.0", "3.1", "3.2"]
19
+ gemfile: ["rails61", "rails70"]
20
+ exclude:
21
+ - ruby: "3.1"
22
+ gemfile: "rails61"
23
23
  steps:
24
- - name: Install packages
25
- run: |
26
- sudo apt update -y
27
- sudo apt install -y libsqlite3-dev
28
- - uses: actions/checkout@v2
29
- - uses: actions/cache@v1
30
- with:
31
- path: /home/runner/bundle
32
- key: bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-${{ hashFiles(matrix.gemfile) }}-${{ hashFiles('**/*.gemspec') }}
33
- restore-keys: |
34
- bundle-${{ matrix.ruby }}-${{ matrix.gemfile }}-
35
- - name: Set up Ruby
36
- uses: ruby/setup-ruby@v1
37
- with:
38
- ruby-version: ${{ matrix.ruby }}
39
- - name: Install dependencies
40
- run: |
41
- bundle config path /home/runner/bundle
42
- bundle config --global gemfile ${{ matrix.gemfile }}
43
- bundle install
44
- bundle update
45
- bundle clean
46
- - name: Run rspec
47
- run: bundle exec rspec
24
+ - uses: actions/checkout@v3
25
+
26
+ - name: Set up Ruby
27
+ uses: ruby/setup-ruby@v1
28
+ with:
29
+ ruby-version: ${{ matrix.ruby }}
30
+ bundler-cache: true
31
+
32
+ - name: Run rspec
33
+ run: bundle exec rspec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.7.0
2
+
3
+ - Drop support for ruby 2.7
4
+ - Drop support for rails 6.0
5
+
6
+ ## 0.6.0
7
+
8
+ - Drop support for ruby 2.6
9
+ - Drop support for rails 5.1
10
+
1
11
  ## 0.5.1
2
12
 
3
13
  - Update dependency
data/csb.gemspec CHANGED
@@ -22,7 +22,9 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "rails", ">= 5.2.4.6"
25
+ spec.required_ruby_version = '>= 3.0.0'
26
+
27
+ spec.add_dependency "rails", ">= 6.1.0"
26
28
  spec.add_dependency "csv"
27
29
 
28
30
  spec.add_development_dependency "bundler", "~> 2.0"
@@ -1,5 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rails', '5.2.4.6'
3
+ gem 'rails', '~> 6.0.0'
4
4
 
5
5
  gemspec path: '../'
@@ -1,5 +1,5 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'rails', '6.1.3.2'
3
+ gem 'rails', '~> 6.1.0'
4
4
 
5
5
  gemspec path: '../'
@@ -0,0 +1,5 @@
1
+ source "http://rubygems.org"
2
+
3
+ gem 'rails', '~> 7.0.0'
4
+
5
+ gemspec path: '../'
data/lib/csb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Csb
2
- VERSION = '0.5.1'
2
+ VERSION = '0.7.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - aki77
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-30 00:00:00.000000000 Z
11
+ date: 2023-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.4.6
19
+ version: 6.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.4.6
26
+ version: 6.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: csv
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -90,7 +90,6 @@ files:
90
90
  - ".github/workflows/rspec.yml"
91
91
  - ".gitignore"
92
92
  - ".rspec"
93
- - ".travis.yml"
94
93
  - CHANGELOG.md
95
94
  - CODE_OF_CONDUCT.md
96
95
  - Gemfile
@@ -100,8 +99,9 @@ files:
100
99
  - bin/console
101
100
  - bin/setup
102
101
  - csb.gemspec
103
- - gemfiles/rails52.gemfile
102
+ - gemfiles/rails60.gemfile
104
103
  - gemfiles/rails61.gemfile
104
+ - gemfiles/rails70.gemfile
105
105
  - lib/csb.rb
106
106
  - lib/csb/builder.rb
107
107
  - lib/csb/col.rb
@@ -116,7 +116,7 @@ homepage: https://github.com/aki77/csb
116
116
  licenses:
117
117
  - MIT
118
118
  metadata: {}
119
- post_install_message:
119
+ post_install_message:
120
120
  rdoc_options: []
121
121
  require_paths:
122
122
  - lib
@@ -124,15 +124,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
124
124
  requirements:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
- version: '0'
127
+ version: 3.0.0
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.1.2
135
- signing_key:
134
+ rubygems_version: 3.4.10
135
+ signing_key:
136
136
  specification_version: 4
137
137
  summary: A simple and streaming support CSV template engine for Ruby on Rails.
138
138
  test_files: []
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.3
7
- before_install: gem install bundler -v 2.0.1