spreadsheet 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +3 -0
- data/bin/xlsopcodes +13 -14
- data/lib/spreadsheet.rb +1 -1
- data/spreadsheet.gemspec +16 -15
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7a292fadcd84916c37aae55acb1b03f3b42a380
|
4
|
+
data.tar.gz: 5336bed05e1a9c56659f079c427a718d3361471a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f21ee26da89ad559cc221f2ed9ff1cab7d82834aab4b28f3c52ea72d68689626fa6913791efb2eae1fb1fe9c2a30de80363e20e0e273e57ec9df7c7a858625b
|
7
|
+
data.tar.gz: 961a57736598945e1e1f913a8fe5fed867eb0dad3d87acd00fc26e243b1aeafe996c0599afa2ab2165540f9662d25085ef7a0ac3e07b7095241ee458b0cdfab7
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -16,6 +16,9 @@ Hoe.spec('spreadsheet') do |p|
|
|
16
16
|
p.developer('Masaomi Hatakeyama, Zeno R.R. Davatz','mhatakeyama@ywesee.com, zdavatz@ywesee.com')
|
17
17
|
p.remote_rdoc_dir = 'spreadsheet'
|
18
18
|
p.extra_deps << ['ruby-ole', '>=1.0']
|
19
|
+
p.email = "zdavatz@ywesee.com"
|
20
|
+
p.urls = ['https://github.com/zdavatz/spreadsheet']
|
21
|
+
p.licenses = ['GPL-3.0']
|
19
22
|
end
|
20
23
|
|
21
24
|
# vim: syntax=Ruby
|
data/bin/xlsopcodes
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
#
|
4
|
+
# This file was generated by Bundler.
|
5
|
+
#
|
6
|
+
# The application 'xlsopcodes' is installed as part of a gem, and
|
7
|
+
# this file is here to facilitate running it.
|
8
|
+
#
|
2
9
|
|
3
|
-
require
|
10
|
+
require "pathname"
|
11
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
+
Pathname.new(__FILE__).realpath)
|
4
13
|
|
5
|
-
|
14
|
+
require "rubygems"
|
15
|
+
require "bundler/setup"
|
6
16
|
|
7
|
-
|
8
|
-
puts "Usage: #{$0} <source> [<target>]"
|
9
|
-
exit -1
|
10
|
-
end
|
11
|
-
|
12
|
-
target = target ? File.open(target, 'w') : STDOUT
|
13
|
-
|
14
|
-
reader = Spreadsheet::Excel::Reader.new :print_opcodes => target
|
15
|
-
reader.setup File.open(source)
|
16
|
-
|
17
|
-
while tuple = reader.get_next_chunk
|
18
|
-
end
|
17
|
+
load Gem.bin_path("spreadsheet", "xlsopcodes")
|
data/lib/spreadsheet.rb
CHANGED
data/spreadsheet.gemspec
CHANGED
@@ -3,22 +3,23 @@ lib = File.expand_path('../lib', __FILE__)
|
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require 'spreadsheet'
|
5
5
|
|
6
|
-
spec = Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
6
|
+
spec = Gem::Specification.new do |spec|
|
7
|
+
spec.name = "spreadsheet"
|
8
|
+
spec.version = Spreadsheet::VERSION
|
9
|
+
spec.homepage = "https://github.com/zdavatz/spreadsheet"
|
10
|
+
spec.summary = "The Spreadsheet Library is designed to read and write Spreadsheet Documents"
|
11
|
+
spec.description = "As of version 0.6.0, only Microsoft Excel compatible spreadsheets are supported"
|
12
|
+
spec.author = "Masaomi Hatakeyama, Zeno R.R. Davatz"
|
13
|
+
spec.email = "mhatakeyama@ywesee.com, zdavatz@ywesee.com"
|
14
|
+
spec.platform = Gem::Platform::RUBY
|
15
|
+
spec.license = "GPL-3.0"
|
16
|
+
spec.files = Dir.glob("{bin,lib,test}/**/*") + Dir.glob("*.txt")
|
17
|
+
spec.test_file = "test/suite.rb"
|
18
|
+
spec.executables << "xlsopcodes"
|
18
19
|
|
19
|
-
|
20
|
-
|
20
|
+
spec.add_dependency "ruby-ole"
|
21
|
+
spec.add_development_dependency "hoe"
|
21
22
|
|
22
|
-
|
23
|
+
spec.homepage = 'https://github.com/zdavatz/spreadsheet/'
|
23
24
|
end
|
24
25
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreadsheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaomi Hatakeyama, Zeno R.R. Davatz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-ole
|
@@ -58,8 +58,7 @@ description: |-
|
|
58
58
|
supported. Spreadsheet is a combination/complete rewrite of the
|
59
59
|
Spreadsheet::Excel Library by Daniel J. Berger and the ParseExcel Library by
|
60
60
|
Hannes Wyss. Spreadsheet can read, write and modify Spreadsheet Documents.
|
61
|
-
email:
|
62
|
-
- mhatakeyama@ywesee.com, zdavatz@ywesee.com
|
61
|
+
email: zdavatz@ywesee.com
|
63
62
|
executables:
|
64
63
|
- xlsopcodes
|
65
64
|
extensions: []
|
@@ -157,9 +156,9 @@ files:
|
|
157
156
|
- test/workbook.rb
|
158
157
|
- test/workbook_protection.rb
|
159
158
|
- test/worksheet.rb
|
160
|
-
homepage:
|
159
|
+
homepage: https://github.com/zdavatz/spreadsheet
|
161
160
|
licenses:
|
162
|
-
-
|
161
|
+
- GPL-3.0
|
163
162
|
metadata: {}
|
164
163
|
post_install_message:
|
165
164
|
rdoc_options:
|