rabbit_file_split 0.0.2 → 0.0.3

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: f90d06540f2fdf44e0b1fc2c0d727c236ec75427
4
- data.tar.gz: dbcfdd50908c93d9fa7a47c062df566e32dfd166
3
+ metadata.gz: 5d1b82d51aa582a7de9a385b3a72153f2191d2e6
4
+ data.tar.gz: b11da62194574c6fad997b8b415bc8c50385700d
5
5
  SHA512:
6
- metadata.gz: 139187cc060d09f180ec5245e602426fa1919b5b300accc6c438f85b790cd68e79d0c10a3982c98110b644c88bb8ae2b31b9ce6f5b9f20abc4e696268284fa83
7
- data.tar.gz: c702859766c29e895dcab6dfeec493fdd45d5aec3fb54d1c2d07c57d821a3ce254d587b05d48bdeb455769373e3a6d05aaaf001d749e1596f02a72a1b0f2608b
6
+ metadata.gz: 8b4afe079025acba189d9e368c9d367c0fd33ed96d93f8927fa6214a20813e32677769a9d3d523a3cf0705adb6cc1b9a472b4eedd295f0f03d84881deb4f1154
7
+ data.tar.gz: ac76e795b80e988f452d623956924e0f4b019f16b1eeedf5dcb97c98a61a4836aa7da3a0f00d769de215883b57d04e3d40a82c24740918ba991f7571b53816bc
@@ -7,13 +7,10 @@ module RabbitFileSplit
7
7
  # bytes_split (uintmax_t n_bytes, char *buf, size_t bufsize, size_t initial_read, uintmax_t max_files)
8
8
 
9
9
  BUFFER_SIZE = 4096
10
- @file_path = nil
11
- @file_base_name = nil
10
+ attr_accessor :file_path, :file_base_name, :split_file_num, :file_list, :file_parent_path, :original_file_size, :split_work_time
11
+
12
12
  @split_file_num = 0
13
13
  @file_list = Array.new
14
- @file_parent_path = nil
15
- @original_file_size = nil
16
- @split_work_time = nil
17
14
 
18
15
  # @param [String] file_path target file path
19
16
  # @return [Bytes] RabbitFIleSplit::Bytes instance
@@ -1,3 +1,3 @@
1
1
  module RabbitFileSplit
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit_file_split
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - AKB428