spreadsheet 1.2.0 → 1.2.1

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
  SHA1:
3
- metadata.gz: 153daf0819e113f6da9726a43b23494e30497ae3
4
- data.tar.gz: 811ecec4ac2a63d3c431ed6dc324ff69c9a189ca
3
+ metadata.gz: 6d4a92af840a7af1a6640edef4e4e2a290bf8632
4
+ data.tar.gz: ea4959a7697ef5b0d8be64d2767ea5bd612b3a48
5
5
  SHA512:
6
- metadata.gz: 3bc43a69c6d5817d2132f05a9544546b070e5512c19c002aa7280ab2879a8b3f0297890f9bea890efe6a082b69a59a226313f4df47e4b5e65e7a08fb81ed894b
7
- data.tar.gz: 2ea734d18f429276707f0823f2703cda52fcc057d6aa04eea4b065db1f08299c3f2a94fc4fb1b61fde2080d5a63fe479ecf857bc14d47d92fa7b1a1331537c02
6
+ metadata.gz: 9ccf4a07cc9c9a246b87558112c76fc6164b63ed19ea2f56b91fad362eaca4cc8364f69379044e599320520953ac423ebb42afcd707489061834d9f0e756b1bb
7
+ data.tar.gz: 7515a6058723bf813700c5ec22dc71adba0fb3d3bfcd9e1d0ee7d52d0acb704e7f500276ceb07510d07ff6e39cb5023ad346ea9159e1c2a96879786054beef49
data/History.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### 1.2.1 28.2.2019
2
+ Author: taichi <taichi730@gmail.com>
3
+ Date: Thu Feb 28 10:30:46 2019 +0900
4
+
5
+ * Merge pull request #231 from taichi-ishitani/separated_version_file
6
+ * Merge pull request #230 from taichi-ishitani/frozen_string_literal_support
7
+
1
8
  ### 1.2.0 17.2.2019
2
9
  Author: James McLaren <jamesmclaren555@gmail.com>
3
10
  * spreadsheet-1.2.0.gem released
@@ -49,6 +49,7 @@ lib/spreadsheet/link.rb
49
49
  lib/spreadsheet/note.rb
50
50
  lib/spreadsheet/noteObject.rb
51
51
  lib/spreadsheet/row.rb
52
+ lib/spreadsheet/version.rb
52
53
  lib/spreadsheet/workbook.rb
53
54
  lib/spreadsheet/worksheet.rb
54
55
  lib/spreadsheet/writer.rb
@@ -25,6 +25,7 @@
25
25
  # 8006 Zürich
26
26
  ### Switzerland
27
27
 
28
+ require 'spreadsheet/version'
28
29
  require 'spreadsheet/errors'
29
30
 
30
31
  require 'spreadsheet/excel/workbook'
@@ -44,10 +45,6 @@ require 'spreadsheet/excel/rgb'
44
45
  # sheet.each do |row| puts row[0] end
45
46
  module Spreadsheet
46
47
 
47
- ##
48
- # The version of Spreadsheet you are using.
49
- VERSION = '1.2.0'
50
-
51
48
  ##
52
49
  # Default client Encoding. Change this value if your application uses a
53
50
  # different Encoding:
@@ -196,7 +196,7 @@ module Biff8
196
196
  ##
197
197
  # Insert null-characters into a compressed UTF-16 string
198
198
  def wide string
199
- data = ''
199
+ data = ''.dup
200
200
  string.each_byte do |byte| data << byte.chr << 0.chr end
201
201
  data
202
202
  end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Spreadsheet
4
+ ##
5
+ # The version of Spreadsheet you are using.
6
+ VERSION = '1.2.1'
7
+ end
@@ -1,7 +1,7 @@
1
1
  # require File.join(File.dirname(__FILE__), 'lib', 'spreadsheet')
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'spreadsheet'
4
+ require 'spreadsheet/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "spreadsheet"
@@ -36,7 +36,7 @@ module Spreadsheet
36
36
  end
37
37
  def teardown
38
38
  Spreadsheet.client_encoding = 'UTF-8'
39
- FileUtils.rm_r @var
39
+ FileUtils.rm_rf @var
40
40
  end
41
41
  def test_copy__identical__file_paths
42
42
  path = File.join @data, 'test_copy.xls'
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hannes F. Wyss, Masaomi Hatakeyama, Zeno R.R. Davatz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-17 00:00:00.000000000 Z
11
+ date: 2019-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-ole
@@ -126,6 +126,7 @@ files:
126
126
  - lib/spreadsheet/note.rb
127
127
  - lib/spreadsheet/noteObject.rb
128
128
  - lib/spreadsheet/row.rb
129
+ - lib/spreadsheet/version.rb
129
130
  - lib/spreadsheet/workbook.rb
130
131
  - lib/spreadsheet/worksheet.rb
131
132
  - lib/spreadsheet/writer.rb