openxml-xlsx 0.2.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +17 -0
- data/Gemfile.lock +25 -23
- data/README.md +46 -0
- data/bin/console +1 -1
- data/lib/openxml/xlsx/version.rb +1 -1
- data/openxml-xlsx.gemspec +4 -3
- metadata +30 -50
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9209c8d440ff1dc6a798dbca55faa3ea86e30488b8b626f43eb06184ea59de8c
|
4
|
+
data.tar.gz: e1867e7efc718fd9b192b1a00df26f7b49d17580a2b807661a4890d3220da079
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 470a245da3608ddfdf4aa60d142fb71a358c7376853275969fcbd69e3c20f6a74ae5f8b5907ebe340c569e8b5f429961d2eef2f8eabee5d5e2232d90e4208725
|
7
|
+
data.tar.gz: ce7b45a14e845ea25fc352619c60c27b5f9c8b853e8683af063c570369fee9c8c73d6e784b02798a7e559aae75434690f8b2b0e24bfe2a69c659239eba37a1da
|
@@ -0,0 +1,17 @@
|
|
1
|
+
name: Tests
|
2
|
+
on: [push]
|
3
|
+
|
4
|
+
jobs:
|
5
|
+
ruby:
|
6
|
+
name: Tests
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
steps:
|
9
|
+
- name: Checkout
|
10
|
+
uses: actions/checkout@v2
|
11
|
+
- name: Setup Ruby
|
12
|
+
uses: ruby/setup-ruby@v1
|
13
|
+
with:
|
14
|
+
ruby-version: 2.6
|
15
|
+
bundler-cache: true
|
16
|
+
- name: Run the Tests
|
17
|
+
run: bundle exec rake spec
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
openxml-xlsx (0.2.
|
4
|
+
openxml-xlsx (0.2.5)
|
5
5
|
nokogiri
|
6
6
|
openxml-package (>= 0.2.0)
|
7
7
|
|
@@ -9,38 +9,40 @@ GEM
|
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
coderay (1.1.0)
|
12
|
-
diff-lcs (1.
|
12
|
+
diff-lcs (1.4.4)
|
13
13
|
docile (1.1.5)
|
14
|
-
json (1.8.
|
14
|
+
json (1.8.6)
|
15
15
|
method_source (0.8.2)
|
16
|
-
mini_portile2 (2.
|
17
|
-
nokogiri (1.
|
18
|
-
mini_portile2 (~> 2.
|
19
|
-
|
16
|
+
mini_portile2 (2.6.1)
|
17
|
+
nokogiri (1.12.5)
|
18
|
+
mini_portile2 (~> 2.6.1)
|
19
|
+
racc (~> 1.4)
|
20
|
+
openxml-package (0.3.4)
|
20
21
|
nokogiri
|
21
22
|
ox
|
22
|
-
rubyzip
|
23
|
-
ox (2.
|
23
|
+
rubyzip
|
24
|
+
ox (2.14.5)
|
24
25
|
pry (0.10.3)
|
25
26
|
coderay (~> 1.1.0)
|
26
27
|
method_source (~> 0.8.1)
|
27
28
|
slop (~> 3.4)
|
28
|
-
|
29
|
+
racc (1.6.0)
|
30
|
+
rake (12.3.3)
|
29
31
|
rr (1.1.2)
|
30
|
-
rspec (3.
|
31
|
-
rspec-core (~> 3.
|
32
|
-
rspec-expectations (~> 3.
|
33
|
-
rspec-mocks (~> 3.
|
34
|
-
rspec-core (3.
|
35
|
-
rspec-support (~> 3.
|
36
|
-
rspec-expectations (3.
|
32
|
+
rspec (3.10.0)
|
33
|
+
rspec-core (~> 3.10.0)
|
34
|
+
rspec-expectations (~> 3.10.0)
|
35
|
+
rspec-mocks (~> 3.10.0)
|
36
|
+
rspec-core (3.10.1)
|
37
|
+
rspec-support (~> 3.10.0)
|
38
|
+
rspec-expectations (3.10.1)
|
37
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
-
rspec-support (~> 3.
|
39
|
-
rspec-mocks (3.
|
40
|
+
rspec-support (~> 3.10.0)
|
41
|
+
rspec-mocks (3.10.2)
|
40
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
-
rspec-support (~> 3.
|
42
|
-
rspec-support (3.
|
43
|
-
rubyzip (
|
43
|
+
rspec-support (~> 3.10.0)
|
44
|
+
rspec-support (3.10.2)
|
45
|
+
rubyzip (2.3.2)
|
44
46
|
simplecov (0.11.0)
|
45
47
|
docile (~> 1.1.0)
|
46
48
|
json (~> 1.8)
|
@@ -62,4 +64,4 @@ DEPENDENCIES
|
|
62
64
|
timecop
|
63
65
|
|
64
66
|
BUNDLED WITH
|
65
|
-
|
67
|
+
2.2.17
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# OpenXml::Xlsx
|
2
|
+
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/openxml-xlsx.svg)](https://rubygems.org/gems/openxml-xlsx)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/openxml/openxml-xlsx.svg)](https://codeclimate.com/github/openxml/openxml-xlsx)
|
5
|
+
[![Build Status](https://travis-ci.org/openxml/openxml-xlsx.svg)](https://travis-ci.org/openxml/openxml-xlsx)
|
6
|
+
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
gem 'openxml-xlsx'
|
14
|
+
```
|
15
|
+
|
16
|
+
And then execute:
|
17
|
+
|
18
|
+
$ bundle
|
19
|
+
|
20
|
+
Or install it yourself as:
|
21
|
+
|
22
|
+
$ gem install openxml-xlsx
|
23
|
+
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
TODO: Write usage instructions here
|
28
|
+
|
29
|
+
|
30
|
+
## Development
|
31
|
+
|
32
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
33
|
+
|
34
|
+
Reference for SpreadsheetML can be found in Part 1 of the Fourth Edition of [ECMA-376](http://www.ecma-international.org/publications/standards/Ecma-376.htm) (the Office Open XML Standard).
|
35
|
+
|
36
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
37
|
+
|
38
|
+
|
39
|
+
## Contributing
|
40
|
+
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/openxml/openxml-xlsx.
|
42
|
+
|
43
|
+
|
44
|
+
## License
|
45
|
+
|
46
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/bin/console
CHANGED
data/lib/openxml/xlsx/version.rb
CHANGED
data/openxml-xlsx.gemspec
CHANGED
@@ -10,16 +10,17 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["bob.lailfamily@gmail.com"]
|
11
11
|
|
12
12
|
spec.description = %q{Create Microsoft Excel (.xlsx) files.}
|
13
|
-
spec.summary = %q{
|
14
|
-
spec.license = "MIT"
|
13
|
+
spec.summary = %q{Implements the Office Open XML spec for creating SpreadsheetML documents}
|
15
14
|
spec.homepage = "https://github.com/openxml/openxml-xlsx"
|
15
|
+
spec.license = "MIT"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.required_ruby_version = "
|
22
|
+
spec.required_ruby_version = ">= 2.0"
|
23
|
+
|
23
24
|
spec.add_dependency "nokogiri"
|
24
25
|
spec.add_dependency "openxml-package", ">= 0.2.0"
|
25
26
|
|
metadata
CHANGED
@@ -1,142 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openxml-xlsx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bob Lail
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: exe
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2021-10-29 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: nokogiri
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: openxml-package
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.2.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.2.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: pry
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rspec
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rake
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '0'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: rr
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ">="
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: simplecov
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: timecop
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- -
|
115
|
+
- - ">="
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: '0'
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- -
|
122
|
+
- - ">="
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: '0'
|
142
125
|
description: Create Microsoft Excel (.xlsx) files.
|
@@ -146,10 +129,12 @@ executables: []
|
|
146
129
|
extensions: []
|
147
130
|
extra_rdoc_files: []
|
148
131
|
files:
|
149
|
-
- .
|
132
|
+
- ".github/workflows/ci.yml"
|
133
|
+
- ".gitignore"
|
150
134
|
- Gemfile
|
151
135
|
- Gemfile.lock
|
152
136
|
- LICENSE.txt
|
137
|
+
- README.md
|
153
138
|
- Rakefile
|
154
139
|
- bin/console
|
155
140
|
- bin/setup
|
@@ -185,29 +170,24 @@ files:
|
|
185
170
|
homepage: https://github.com/openxml/openxml-xlsx
|
186
171
|
licenses:
|
187
172
|
- MIT
|
188
|
-
|
173
|
+
metadata: {}
|
174
|
+
post_install_message:
|
189
175
|
rdoc_options: []
|
190
176
|
require_paths:
|
191
177
|
- lib
|
192
178
|
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
179
|
requirements:
|
195
|
-
- -
|
180
|
+
- - ">="
|
196
181
|
- !ruby/object:Gem::Version
|
197
182
|
version: '2.0'
|
198
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
-
none: false
|
200
184
|
requirements:
|
201
|
-
- -
|
185
|
+
- - ">="
|
202
186
|
- !ruby/object:Gem::Version
|
203
187
|
version: '0'
|
204
|
-
segments:
|
205
|
-
- 0
|
206
|
-
hash: 3853153706643088338
|
207
188
|
requirements: []
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
summary: Using a simple API, create xlsx files programmatically
|
189
|
+
rubygems_version: 3.2.15
|
190
|
+
signing_key:
|
191
|
+
specification_version: 4
|
192
|
+
summary: Implements the Office Open XML spec for creating SpreadsheetML documents
|
213
193
|
test_files: []
|