osheet-xmlss 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +5 -4
- data/{LICENSE.txt → LICENSE} +1 -1
- data/bench/bench.rb +6 -0
- data/bench/profiler.rb +1 -0
- data/examples/examples.rb +10 -0
- data/lib/osheet/xmlss/version.rb +1 -1
- data/osheet-xmlss.gemspec +7 -7
- data/test/helper.rb +10 -0
- data/test/support/factory.rb +6 -0
- metadata +23 -47
- data/Rakefile +0 -42
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
data.tar.gz: 1dbf594c8a22dd7b604c3ee098e1c06beb1f345f
|
4
|
+
metadata.gz: b09ffdd8492c108961a377782bb8583f7df4dfa2
|
5
|
+
SHA512:
|
6
|
+
data.tar.gz: 92a28162db67be1acdd7fc2ada3d40cfb973012962262451459336087a80399934654c5e27d6a671c5f7c65ccf300d090477711bcd78cfc6a4ebbdad05243153
|
7
|
+
metadata.gz: 6fabd8d9edbe2e89f2a1e894463bcd4a519c8b1ce2f6dd3e5a84e93d3ba67ee4552303a78a57375e802a0763852fe883950b256a98d9914cc1a7339e4979b392
|
data/Gemfile
CHANGED
data/{LICENSE.txt → LICENSE}
RENAMED
data/bench/bench.rb
ADDED
data/bench/profiler.rb
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
# $ bundle exec ruby examples/examples.rb
|
2
|
+
|
3
|
+
$LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
|
4
|
+
|
5
|
+
require 'examples/trivial'
|
6
|
+
require 'examples/basic'
|
7
|
+
require 'examples/basic_with_templates'
|
8
|
+
require 'examples/formats'
|
9
|
+
require 'examples/formula'
|
10
|
+
require 'examples/styles'
|
data/lib/osheet/xmlss/version.rb
CHANGED
data/osheet-xmlss.gemspec
CHANGED
@@ -6,11 +6,11 @@ require 'osheet/xmlss/version'
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "osheet-xmlss"
|
8
8
|
gem.version = Osheet::Xmlss::VERSION
|
9
|
-
gem.authors = ["Kelly Redding"]
|
10
|
-
gem.email = ["kelly@kellyredding.com"]
|
11
|
-
gem.description = %q{An Osheet writer (https://github.com/kellyredding/osheet) for the XMLSS format (https://github.com/kellyredding/xmlss)}
|
9
|
+
gem.authors = ["Kelly Redding", "Collin Redding"]
|
10
|
+
gem.email = ["kelly@kellyredding.com", "collin.redding@me.com"]
|
12
11
|
gem.summary = %q{An Osheet writer (https://github.com/kellyredding/osheet) for the XMLSS format (https://github.com/kellyredding/xmlss)}
|
13
|
-
gem.
|
12
|
+
gem.description = %q{An Osheet writer (https://github.com/kellyredding/osheet) for the XMLSS format (https://github.com/kellyredding/xmlss)}
|
13
|
+
gem.homepage = "http://github.com/redding/osheet-xmlss"
|
14
14
|
gem.license = 'MIT'
|
15
15
|
|
16
16
|
gem.files = `git ls-files`.split($/)
|
@@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_development_dependency("assert", ["~> 2.
|
21
|
+
gem.add_development_dependency("assert", ["~> 2.16.1"])
|
22
22
|
|
23
|
-
gem.add_dependency("osheet", ["~> 1.
|
24
|
-
gem.add_dependency("xmlss", ["~> 1.0"])
|
23
|
+
gem.add_dependency("osheet", ["~> 1.1.1"])
|
24
|
+
gem.add_dependency("xmlss", ["~> 1.0.1"])
|
25
25
|
|
26
26
|
end
|
data/test/helper.rb
CHANGED
@@ -7,6 +7,7 @@ $LOAD_PATH.unshift(File.expand_path("../..", __FILE__))
|
|
7
7
|
# require pry for debugging (`binding.pry`)
|
8
8
|
require 'pry'
|
9
9
|
|
10
|
+
require 'test/support/factory'
|
10
11
|
require 'xmlss/workbook'
|
11
12
|
|
12
13
|
class Assert::Context
|
@@ -20,3 +21,12 @@ class Assert::Context
|
|
20
21
|
end
|
21
22
|
|
22
23
|
end
|
24
|
+
|
25
|
+
# 1.8.7 backfills
|
26
|
+
|
27
|
+
# Array#sample
|
28
|
+
if !(a = Array.new).respond_to?(:sample) && a.respond_to?(:choice)
|
29
|
+
class Array
|
30
|
+
alias_method :sample, :choice
|
31
|
+
end
|
32
|
+
end
|
metadata
CHANGED
@@ -1,70 +1,50 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: osheet-xmlss
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 0
|
10
|
-
version: 1.0.0
|
3
|
+
version: &id003 !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
11
5
|
platform: ruby
|
12
6
|
authors:
|
13
7
|
- Kelly Redding
|
8
|
+
- Collin Redding
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date:
|
13
|
+
date: 2016-06-18 00:00:00 Z
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: assert
|
22
17
|
prerelease: false
|
23
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
19
|
requirements:
|
26
20
|
- - ~>
|
27
21
|
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 2
|
31
|
-
- 0
|
32
|
-
version: "2.0"
|
22
|
+
version: 2.16.1
|
33
23
|
type: :development
|
34
24
|
version_requirements: *id001
|
35
25
|
- !ruby/object:Gem::Dependency
|
36
26
|
name: osheet
|
37
27
|
prerelease: false
|
38
28
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
29
|
requirements:
|
41
30
|
- - ~>
|
42
31
|
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
segments:
|
45
|
-
- 1
|
46
|
-
- 0
|
47
|
-
version: "1.0"
|
32
|
+
version: 1.1.1
|
48
33
|
type: :runtime
|
49
34
|
version_requirements: *id002
|
50
35
|
- !ruby/object:Gem::Dependency
|
51
36
|
name: xmlss
|
52
37
|
prerelease: false
|
53
|
-
requirement: &
|
54
|
-
none: false
|
38
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
55
39
|
requirements:
|
56
40
|
- - ~>
|
57
|
-
-
|
58
|
-
hash: 15
|
59
|
-
segments:
|
60
|
-
- 1
|
61
|
-
- 0
|
62
|
-
version: "1.0"
|
41
|
+
- *id003
|
63
42
|
type: :runtime
|
64
|
-
version_requirements: *
|
43
|
+
version_requirements: *id004
|
65
44
|
description: An Osheet writer (https://github.com/kellyredding/osheet) for the XMLSS format (https://github.com/kellyredding/xmlss)
|
66
45
|
email:
|
67
46
|
- kelly@kellyredding.com
|
47
|
+
- collin.redding@me.com
|
68
48
|
executables: []
|
69
49
|
|
70
50
|
extensions: []
|
@@ -74,9 +54,9 @@ extra_rdoc_files: []
|
|
74
54
|
files:
|
75
55
|
- .gitignore
|
76
56
|
- Gemfile
|
77
|
-
- LICENSE
|
57
|
+
- LICENSE
|
78
58
|
- README.md
|
79
|
-
-
|
59
|
+
- bench/bench.rb
|
80
60
|
- bench/bench_runner.rb
|
81
61
|
- bench/bench_runner_10.xls
|
82
62
|
- bench/bench_runner_100.xls
|
@@ -85,6 +65,7 @@ files:
|
|
85
65
|
- bench/profiler_runner.rb
|
86
66
|
- examples/basic.rb
|
87
67
|
- examples/basic_with_templates.rb
|
68
|
+
- examples/examples.rb
|
88
69
|
- examples/formats.rb
|
89
70
|
- examples/formula.rb
|
90
71
|
- examples/styles.rb
|
@@ -96,46 +77,41 @@ files:
|
|
96
77
|
- lib/osheet/xmlss_writer.rb
|
97
78
|
- osheet-xmlss.gemspec
|
98
79
|
- test/helper.rb
|
80
|
+
- test/support/factory.rb
|
99
81
|
- test/unit/xmlss/api_tests.rb
|
100
82
|
- test/unit/xmlss/style_cache_tests.rb
|
101
83
|
- test/unit/xmlss/style_settings_tests.rb
|
102
84
|
- test/unit/xmlss/styles_tests.rb
|
103
85
|
- test/unit/xmlss_writer_tests.rb
|
104
|
-
homepage: http://github.com/
|
86
|
+
homepage: http://github.com/redding/osheet-xmlss
|
105
87
|
licenses:
|
106
88
|
- MIT
|
89
|
+
metadata: {}
|
90
|
+
|
107
91
|
post_install_message:
|
108
92
|
rdoc_options: []
|
109
93
|
|
110
94
|
require_paths:
|
111
95
|
- lib
|
112
96
|
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
97
|
requirements:
|
115
|
-
-
|
98
|
+
- &id005
|
99
|
+
- ">="
|
116
100
|
- !ruby/object:Gem::Version
|
117
|
-
hash: 3
|
118
|
-
segments:
|
119
|
-
- 0
|
120
101
|
version: "0"
|
121
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
103
|
requirements:
|
124
|
-
-
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
hash: 3
|
127
|
-
segments:
|
128
|
-
- 0
|
129
|
-
version: "0"
|
104
|
+
- *id005
|
130
105
|
requirements: []
|
131
106
|
|
132
107
|
rubyforge_project:
|
133
|
-
rubygems_version:
|
108
|
+
rubygems_version: 2.5.1
|
134
109
|
signing_key:
|
135
|
-
specification_version:
|
110
|
+
specification_version: 4
|
136
111
|
summary: An Osheet writer (https://github.com/kellyredding/osheet) for the XMLSS format (https://github.com/kellyredding/xmlss)
|
137
112
|
test_files:
|
138
113
|
- test/helper.rb
|
114
|
+
- test/support/factory.rb
|
139
115
|
- test/unit/xmlss/api_tests.rb
|
140
116
|
- test/unit/xmlss/style_cache_tests.rb
|
141
117
|
- test/unit/xmlss/style_settings_tests.rb
|
data/Rakefile
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
|
3
|
-
namespace :bench do
|
4
|
-
|
5
|
-
desc "Run the bench script."
|
6
|
-
task :run do
|
7
|
-
require 'bench/bench_runner'
|
8
|
-
OsheetXmlssBenchRunner.new
|
9
|
-
end
|
10
|
-
|
11
|
-
desc "Run the profiler on 1000 rows."
|
12
|
-
task :profiler do
|
13
|
-
require 'bench/profiler_runner'
|
14
|
-
runner = OsheetXmlssProfilerRunner.new(1000)
|
15
|
-
runner.print_flat(STDOUT, :min_percent => 1)
|
16
|
-
end
|
17
|
-
|
18
|
-
desc "Run the example workbook builds."
|
19
|
-
task :examples do
|
20
|
-
require 'examples/trivial'
|
21
|
-
require 'examples/basic'
|
22
|
-
require 'examples/basic_with_templates'
|
23
|
-
require 'examples/formats'
|
24
|
-
require 'examples/formula'
|
25
|
-
require 'examples/styles'
|
26
|
-
end
|
27
|
-
|
28
|
-
desc "Run all the tests, then the example builds, then the profiler."
|
29
|
-
task :all do
|
30
|
-
Rake::Task['test'].invoke
|
31
|
-
Rake::Task['bench:run'].invoke
|
32
|
-
Rake::Task['bench:profiler'].invoke
|
33
|
-
Rake::Task['bench:examples'].invoke
|
34
|
-
end
|
35
|
-
|
36
|
-
|
37
|
-
end
|
38
|
-
|
39
|
-
task :bench do
|
40
|
-
Rake::Task['bench:run'].invoke
|
41
|
-
end
|
42
|
-
|