rubyXL-addressing 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -3
- data/.travis.yml +27 -11
- data/Appraisals +2 -3
- data/Gemfile.lock +44 -0
- data/README.md +0 -1
- data/gemfiles/3.0.gemfile +1 -1
- data/gemfiles/3.0.gemfile.lock +45 -0
- data/gemfiles/3.1.gemfile +1 -1
- data/gemfiles/3.1.gemfile.lock +45 -0
- data/gemfiles/3.2.gemfile +1 -1
- data/gemfiles/3.2.gemfile.lock +45 -0
- data/gemfiles/3.3.gemfile +2 -2
- data/gemfiles/3.3.gemfile.lock +45 -0
- data/gemfiles/{2.1.gemfile → 3.4.gemfile} +2 -2
- data/gemfiles/3.4.gemfile.lock +45 -0
- data/lib/rubyXL/address.rb +8 -6
- data/lib/rubyXL/addressing/version.rb +1 -1
- data/rubyXL-addressing.gemspec +3 -3
- metadata +14 -10
- data/gemfiles/2.5.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1af5fe155ee47093e73a69f9cab10aa3df2e1dbaec92c58654251c1b7b1cd8a5
|
4
|
+
data.tar.gz: 6bcdf9608bc4d5e71e9aeda4467d0d60e7f6a817ee4dea894147227aaeb2ddc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bc7bd4de827d0bb094bdfd3e73daa8b3411ec04c000df9cf6d86e3c8d88a81d26577ba8f067a27d3b555bbae7805fd36a67523e19c4ee6093cd277044ec991e
|
7
|
+
data.tar.gz: 2889c7f3ef262e20e35309327d724a9aa2e296b0d2ef169042fdb0984ad8360fc5bc16a2f68ba769d38385426142dbb3949d24eefb168cf08476275d6f385ece
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -1,13 +1,29 @@
|
|
1
|
+
dist: xenial
|
2
|
+
sudo: false
|
1
3
|
language: ruby
|
4
|
+
|
2
5
|
rvm:
|
3
|
-
- 2
|
4
|
-
- 2.
|
5
|
-
|
6
|
-
|
7
|
-
-
|
8
|
-
-
|
9
|
-
|
10
|
-
|
11
|
-
-
|
12
|
-
|
13
|
-
|
6
|
+
- 2
|
7
|
+
- 2.3
|
8
|
+
|
9
|
+
install:
|
10
|
+
- bundle install --jobs=3 --retry=3
|
11
|
+
- bundle exec appraisal install
|
12
|
+
|
13
|
+
before_script:
|
14
|
+
- |
|
15
|
+
if [ "$TRAVIS_PULL_REQUEST" = false -a "$TRAVIS_RUBY_VERSION" = 2 ]; then
|
16
|
+
curl -fL -o cc-test-reporter \
|
17
|
+
https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
|
18
|
+
chmod +x cc-test-reporter
|
19
|
+
fi
|
20
|
+
|
21
|
+
script:
|
22
|
+
- if [ -e cc-test-reporter ]; then export COVERAGE=true; fi
|
23
|
+
- bundle exec appraisal rake
|
24
|
+
|
25
|
+
after_script:
|
26
|
+
- |
|
27
|
+
if [ -e cc-test-reporter ]; then
|
28
|
+
./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
29
|
+
fi
|
data/Appraisals
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rubyXL-addressing (0.5.0)
|
5
|
+
rubyXL (>= 3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
docile (1.3.1)
|
15
|
+
json (2.2.0)
|
16
|
+
mini_portile2 (2.4.0)
|
17
|
+
minitest (5.11.3)
|
18
|
+
nokogiri (1.10.3)
|
19
|
+
mini_portile2 (~> 2.4.0)
|
20
|
+
rake (10.5.0)
|
21
|
+
rubyXL (3.4.3)
|
22
|
+
nokogiri (>= 1.4.4)
|
23
|
+
rubyzip (>= 1.1.6)
|
24
|
+
rubyzip (1.2.2)
|
25
|
+
simplecov (0.16.1)
|
26
|
+
docile (~> 1.1)
|
27
|
+
json (>= 1.8, < 3)
|
28
|
+
simplecov-html (~> 0.10.0)
|
29
|
+
simplecov-html (0.10.2)
|
30
|
+
thor (0.20.3)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
appraisal
|
37
|
+
bundler (~> 1.11)
|
38
|
+
minitest (~> 5.0)
|
39
|
+
rake (~> 10.0)
|
40
|
+
rubyXL-addressing!
|
41
|
+
simplecov
|
42
|
+
|
43
|
+
BUNDLED WITH
|
44
|
+
1.17.3
|
data/README.md
CHANGED
@@ -6,7 +6,6 @@ Addressing for [rubyXL](https://github.com/weshatheleopard/rubyXL)
|
|
6
6
|
[![Build Status](https://travis-ci.org/m4i/rubyXL-addressing.svg?branch=master)](https://travis-ci.org/m4i/rubyXL-addressing)
|
7
7
|
[![Test Coverage](https://codeclimate.com/github/m4i/rubyXL-addressing/badges/coverage.svg)](https://codeclimate.com/github/m4i/rubyXL-addressing/coverage)
|
8
8
|
[![Code Climate](https://codeclimate.com/github/m4i/rubyXL-addressing/badges/gpa.svg)](https://codeclimate.com/github/m4i/rubyXL-addressing)
|
9
|
-
[![Dependency Status](https://gemnasium.com/m4i/rubyXL-addressing.svg)](https://gemnasium.com/m4i/rubyXL-addressing)
|
10
9
|
|
11
10
|
## Installation
|
12
11
|
|
data/gemfiles/3.0.gemfile
CHANGED
@@ -0,0 +1,45 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rubyXL-addressing (0.5.0)
|
5
|
+
rubyXL (>= 3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
docile (1.3.1)
|
15
|
+
json (2.2.0)
|
16
|
+
mini_portile2 (2.4.0)
|
17
|
+
minitest (5.11.3)
|
18
|
+
nokogiri (1.10.3)
|
19
|
+
mini_portile2 (~> 2.4.0)
|
20
|
+
rake (10.5.0)
|
21
|
+
rubyXL (3.0.2)
|
22
|
+
nokogiri (>= 1.4.4)
|
23
|
+
rubyzip (>= 1.0.0)
|
24
|
+
rubyzip (1.2.2)
|
25
|
+
simplecov (0.16.1)
|
26
|
+
docile (~> 1.1)
|
27
|
+
json (>= 1.8, < 3)
|
28
|
+
simplecov-html (~> 0.10.0)
|
29
|
+
simplecov-html (0.10.2)
|
30
|
+
thor (0.20.3)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
appraisal
|
37
|
+
bundler (~> 1.11)
|
38
|
+
minitest (~> 5.0)
|
39
|
+
rake (~> 10.0)
|
40
|
+
rubyXL (= 3.0.2)
|
41
|
+
rubyXL-addressing!
|
42
|
+
simplecov
|
43
|
+
|
44
|
+
BUNDLED WITH
|
45
|
+
1.17.3
|
data/gemfiles/3.1.gemfile
CHANGED
@@ -0,0 +1,45 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rubyXL-addressing (0.5.0)
|
5
|
+
rubyXL (>= 3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
docile (1.3.1)
|
15
|
+
json (2.2.0)
|
16
|
+
mini_portile2 (2.4.0)
|
17
|
+
minitest (5.11.3)
|
18
|
+
nokogiri (1.10.3)
|
19
|
+
mini_portile2 (~> 2.4.0)
|
20
|
+
rake (10.5.0)
|
21
|
+
rubyXL (3.1.2)
|
22
|
+
nokogiri (>= 1.4.4)
|
23
|
+
rubyzip (>= 1.1.6)
|
24
|
+
rubyzip (1.2.2)
|
25
|
+
simplecov (0.16.1)
|
26
|
+
docile (~> 1.1)
|
27
|
+
json (>= 1.8, < 3)
|
28
|
+
simplecov-html (~> 0.10.0)
|
29
|
+
simplecov-html (0.10.2)
|
30
|
+
thor (0.20.3)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
appraisal
|
37
|
+
bundler (~> 1.11)
|
38
|
+
minitest (~> 5.0)
|
39
|
+
rake (~> 10.0)
|
40
|
+
rubyXL (= 3.1.2)
|
41
|
+
rubyXL-addressing!
|
42
|
+
simplecov
|
43
|
+
|
44
|
+
BUNDLED WITH
|
45
|
+
1.17.3
|
data/gemfiles/3.2.gemfile
CHANGED
@@ -0,0 +1,45 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rubyXL-addressing (0.5.0)
|
5
|
+
rubyXL (>= 3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
docile (1.3.1)
|
15
|
+
json (2.2.0)
|
16
|
+
mini_portile2 (2.4.0)
|
17
|
+
minitest (5.11.3)
|
18
|
+
nokogiri (1.10.3)
|
19
|
+
mini_portile2 (~> 2.4.0)
|
20
|
+
rake (10.5.0)
|
21
|
+
rubyXL (3.2.7)
|
22
|
+
nokogiri (>= 1.4.4)
|
23
|
+
rubyzip (>= 1.1.6)
|
24
|
+
rubyzip (1.2.2)
|
25
|
+
simplecov (0.16.1)
|
26
|
+
docile (~> 1.1)
|
27
|
+
json (>= 1.8, < 3)
|
28
|
+
simplecov-html (~> 0.10.0)
|
29
|
+
simplecov-html (0.10.2)
|
30
|
+
thor (0.20.3)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
appraisal
|
37
|
+
bundler (~> 1.11)
|
38
|
+
minitest (~> 5.0)
|
39
|
+
rake (~> 10.0)
|
40
|
+
rubyXL (= 3.2.7)
|
41
|
+
rubyXL-addressing!
|
42
|
+
simplecov
|
43
|
+
|
44
|
+
BUNDLED WITH
|
45
|
+
1.17.3
|
data/gemfiles/3.3.gemfile
CHANGED
@@ -0,0 +1,45 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rubyXL-addressing (0.5.0)
|
5
|
+
rubyXL (>= 3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
docile (1.3.1)
|
15
|
+
json (2.2.0)
|
16
|
+
mini_portile2 (2.4.0)
|
17
|
+
minitest (5.11.3)
|
18
|
+
nokogiri (1.10.3)
|
19
|
+
mini_portile2 (~> 2.4.0)
|
20
|
+
rake (10.5.0)
|
21
|
+
rubyXL (3.3.33)
|
22
|
+
nokogiri (>= 1.4.4)
|
23
|
+
rubyzip (>= 1.1.6)
|
24
|
+
rubyzip (1.2.2)
|
25
|
+
simplecov (0.16.1)
|
26
|
+
docile (~> 1.1)
|
27
|
+
json (>= 1.8, < 3)
|
28
|
+
simplecov-html (~> 0.10.0)
|
29
|
+
simplecov-html (0.10.2)
|
30
|
+
thor (0.20.3)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
appraisal
|
37
|
+
bundler (~> 1.11)
|
38
|
+
minitest (~> 5.0)
|
39
|
+
rake (~> 10.0)
|
40
|
+
rubyXL (= 3.3.33)
|
41
|
+
rubyXL-addressing!
|
42
|
+
simplecov
|
43
|
+
|
44
|
+
BUNDLED WITH
|
45
|
+
1.17.3
|
@@ -0,0 +1,45 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
rubyXL-addressing (0.5.0)
|
5
|
+
rubyXL (>= 3)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
appraisal (2.2.0)
|
11
|
+
bundler
|
12
|
+
rake
|
13
|
+
thor (>= 0.14.0)
|
14
|
+
docile (1.3.1)
|
15
|
+
json (2.2.0)
|
16
|
+
mini_portile2 (2.4.0)
|
17
|
+
minitest (5.11.3)
|
18
|
+
nokogiri (1.10.3)
|
19
|
+
mini_portile2 (~> 2.4.0)
|
20
|
+
rake (10.5.0)
|
21
|
+
rubyXL (3.4.3)
|
22
|
+
nokogiri (>= 1.4.4)
|
23
|
+
rubyzip (>= 1.1.6)
|
24
|
+
rubyzip (1.2.2)
|
25
|
+
simplecov (0.16.1)
|
26
|
+
docile (~> 1.1)
|
27
|
+
json (>= 1.8, < 3)
|
28
|
+
simplecov-html (~> 0.10.0)
|
29
|
+
simplecov-html (0.10.2)
|
30
|
+
thor (0.20.3)
|
31
|
+
|
32
|
+
PLATFORMS
|
33
|
+
ruby
|
34
|
+
|
35
|
+
DEPENDENCIES
|
36
|
+
appraisal
|
37
|
+
bundler (~> 1.11)
|
38
|
+
minitest (~> 5.0)
|
39
|
+
rake (~> 10.0)
|
40
|
+
rubyXL (= 3.4.3)
|
41
|
+
rubyXL-addressing!
|
42
|
+
simplecov
|
43
|
+
|
44
|
+
BUNDLED WITH
|
45
|
+
1.17.3
|
data/lib/rubyXL/address.rb
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'rubyXL
|
3
|
+
require 'rubyXL'
|
4
|
+
begin
|
5
|
+
# >= rubyXL 3.4.0
|
6
|
+
require 'rubyXL/convenience_methods/cell'
|
7
|
+
rescue LoadError
|
8
|
+
end
|
4
9
|
|
5
10
|
module RubyXL
|
6
11
|
class Address
|
@@ -200,11 +205,8 @@ module RubyXL
|
|
200
205
|
# @param [Object] value
|
201
206
|
# @return [Object]
|
202
207
|
def value=(value)
|
203
|
-
|
204
|
-
|
205
|
-
else
|
206
|
-
@worksheet.add_cell(@row, @column, value)
|
207
|
-
end
|
208
|
+
@worksheet.add_cell(@row, @column) unless cell
|
209
|
+
cell.change_contents(value)
|
208
210
|
end
|
209
211
|
end
|
210
212
|
end
|
data/rubyXL-addressing.gemspec
CHANGED
@@ -20,13 +20,13 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.required_ruby_version = '>= 2.
|
23
|
+
spec.required_ruby_version = '>= 2.3.0'
|
24
24
|
|
25
|
-
spec.add_dependency 'rubyXL', '>=
|
25
|
+
spec.add_dependency 'rubyXL', '>= 3'
|
26
26
|
|
27
27
|
spec.add_development_dependency 'bundler', '~> 1.11'
|
28
28
|
spec.add_development_dependency 'rake', '~> 10.0'
|
29
29
|
spec.add_development_dependency 'minitest', '~> 5.0'
|
30
30
|
spec.add_development_dependency 'appraisal'
|
31
|
-
spec.add_development_dependency '
|
31
|
+
spec.add_development_dependency 'simplecov'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyXL-addressing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaki Takeuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyXL
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: '3'
|
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:
|
26
|
+
version: '3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: simplecov
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -108,17 +108,22 @@ files:
|
|
108
108
|
- Appraisals
|
109
109
|
- CODE_OF_CONDUCT.md
|
110
110
|
- Gemfile
|
111
|
+
- Gemfile.lock
|
111
112
|
- LICENSE.txt
|
112
113
|
- README.md
|
113
114
|
- Rakefile
|
114
115
|
- bin/console
|
115
116
|
- bin/setup
|
116
|
-
- gemfiles/2.1.gemfile
|
117
|
-
- gemfiles/2.5.gemfile
|
118
117
|
- gemfiles/3.0.gemfile
|
118
|
+
- gemfiles/3.0.gemfile.lock
|
119
119
|
- gemfiles/3.1.gemfile
|
120
|
+
- gemfiles/3.1.gemfile.lock
|
120
121
|
- gemfiles/3.2.gemfile
|
122
|
+
- gemfiles/3.2.gemfile.lock
|
121
123
|
- gemfiles/3.3.gemfile
|
124
|
+
- gemfiles/3.3.gemfile.lock
|
125
|
+
- gemfiles/3.4.gemfile
|
126
|
+
- gemfiles/3.4.gemfile.lock
|
122
127
|
- lib/rubyXL/address.rb
|
123
128
|
- lib/rubyXL/addressing.rb
|
124
129
|
- lib/rubyXL/addressing/version.rb
|
@@ -135,15 +140,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
135
140
|
requirements:
|
136
141
|
- - ">="
|
137
142
|
- !ruby/object:Gem::Version
|
138
|
-
version: 2.
|
143
|
+
version: 2.3.0
|
139
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
145
|
requirements:
|
141
146
|
- - ">="
|
142
147
|
- !ruby/object:Gem::Version
|
143
148
|
version: '0'
|
144
149
|
requirements: []
|
145
|
-
|
146
|
-
rubygems_version: 2.5.1
|
150
|
+
rubygems_version: 3.0.3
|
147
151
|
signing_key:
|
148
152
|
specification_version: 4
|
149
153
|
summary: Addressing for rubyXL.
|