hst 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/hst.gemspec +1 -0
  3. data/lib/hst.rb +1 -1
  4. data/lib/hst/version.rb +1 -1
  5. metadata +14 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be064011c7f92e2103d9dd8293e1fae819a574cb
4
- data.tar.gz: 8535cec98c05824a3221fa8b8fc8130c34062585
3
+ metadata.gz: 60ce8c9a13aae5e367ce4a75afb05a34c6fc2837
4
+ data.tar.gz: 464b62d106c7740da888a7d5193d558d4a0f25aa
5
5
  SHA512:
6
- metadata.gz: 4728df90b4c33f30cb1cde60dbcbbc8376363afdfe262576f6eef3ebfa0459447fa39df2cfe54dd46e38e93370067c7df070087da67629a1de4c7cafb2071722
7
- data.tar.gz: e57c17f51a6474d6ff77c515924cc7bb225376fe25fa8f0d71fc5433e5dad2ec16fa5f18d3406137c1a42ba4bc1a81b96dfee35a456c8a635908f2fa0d45e42e
6
+ metadata.gz: daa17a430c21bd8b2173b87fb35d41975100142abeac4f04d0c2a3f734e85b8e61a83e2e475e52913a493bf2c7773f117b6aafd521cb5e4e97cbae6623bbf983
7
+ data.tar.gz: 3bcadf3de298c4dbb181ec1be02aff6e2927cc81ff0b9c574cd92f30be0fb19e7d34a99dbfbb14a95b84df98df7c46f25828ba185dabba53e7af7b907915c400
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "bundler", "~> 1.10"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "minitest"
25
+ spec.required_ruby_version = ">= 2.0"
25
26
  end
data/lib/hst.rb CHANGED
@@ -63,7 +63,7 @@ module Hst
63
63
  @f.close
64
64
  end
65
65
 
66
- def write(t, o, h, l, c, v, s, rv)
66
+ def write(t, o, h, l, c, v, s = nil, rv = nil)
67
67
  @f.write [t.to_i, o, h, l, c, v, s, rv].pack(@packet_format)
68
68
  end
69
69
  end
@@ -1,3 +1,3 @@
1
1
  module Hst
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hst
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nurettin Onur TUĞCU
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-15 00:00:00.000000000 Z
11
+ date: 2015-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.10'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Includes a Hst::Reader and Hst::Writer class for reading and writing
@@ -60,8 +60,8 @@ executables: []
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - ".gitignore"
64
- - ".travis.yml"
63
+ - .gitignore
64
+ - .travis.yml
65
65
  - Gemfile
66
66
  - LICENSE.txt
67
67
  - README.md
@@ -81,17 +81,17 @@ require_paths:
81
81
  - lib
82
82
  required_ruby_version: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - ">="
84
+ - - '>='
85
85
  - !ruby/object:Gem::Version
86
- version: '0'
86
+ version: '2.0'
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">="
89
+ - - '>='
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.4.5.1
94
+ rubygems_version: 2.4.8
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Read & Write Metatrader 4 .hst files