rintcore 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
- ---
2
- SHA1:
3
- metadata.gz: 3a9b723838919efffb3f912ecefcbbbea54b9ab8
4
- data.tar.gz: ce1a9e323a978ae0e7452c722aadb13f259e436b
5
- SHA512:
6
- metadata.gz: 9fa795c99cd6f8783942d2a1fe206f5c0b4994acd0447b3e67f05984a89e6eed2e7e8e31633b0bd5be667e3634b09859086b09c8225e5dbaccf0024a821b3576
7
- data.tar.gz: dfd942aa41baaf1fe91ffaff69aa3731cee4c8ae88dd697d5eae5bb4dd32339bb274ecdb438879e7d121080081ed2d9da6d929d4dc3491c03ded7b0f6f98c6ec
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 25584e4760c4e1b347a2bd718be2d15ea3e6a3a8
4
+ data.tar.gz: dc98357e1b8995492a12f18622dbfae6b0bab95b
5
+ SHA512:
6
+ metadata.gz: 630a045a5a1c463447b5d84c712bf313b9c0a14d080c1386d7b687963b7364ab36c0b023a079c4a8294094e9cdb7a2c7634087615a9ac5f66a4be021a9edc48a
7
+ data.tar.gz: 679a641143bc7ffe4e3d95e80448bb575c45c16e5b8bbcbbac3729ce27c3bca07186cdf6eb7e7be24f4a98dd52638490f08e3855cc3105a6a3f65e64b4a780f6
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .ruby-version
@@ -140,6 +140,10 @@ private
140
140
  clear_to_send!
141
141
  when :online
142
142
  config.callbacks[:receive].call(line) if config.callbacks[:receive].present?
143
+ if printing? && @queue_index.zero?
144
+ sleep(config.long_sleep)
145
+ clear_to_send!
146
+ end
143
147
  when :temperature
144
148
  config.callbacks[:temperature].call(line) if config.callbacks[:temperature].present?
145
149
  when :temperature_response
@@ -1,3 +1,3 @@
1
1
  module RintCore
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/rintcore.gemspec CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
+ gem.required_ruby_version = '>= 1.9.1'
19
20
  gem.add_runtime_dependency 'serialport', '1.1.0'
20
21
  gem.add_runtime_dependency 'activesupport'
21
22
  gem.add_runtime_dependency 'thor'
metadata CHANGED
@@ -1,95 +1,72 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rintcore
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Kaz Walker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-02-26 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2013-02-26 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: serialport
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 1.1.0
20
16
  type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - "="
20
+ - !ruby/object:Gem::Version
26
21
  version: 1.1.0
27
- - !ruby/object:Gem::Dependency
22
+ prerelease: false
23
+ version_requirements: *id001
24
+ - !ruby/object:Gem::Dependency
28
25
  name: activesupport
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
26
  type: :runtime
27
+ requirement: &id002 !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - &id003
30
+ - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: "0"
35
33
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
34
+ version_requirements: *id002
35
+ - !ruby/object:Gem::Dependency
42
36
  name: thor
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
37
  type: :runtime
38
+ requirement: &id004 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - *id003
49
41
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
42
+ version_requirements: *id004
43
+ - !ruby/object:Gem::Dependency
56
44
  name: rake
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
45
  type: :development
46
+ requirement: &id005 !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - *id003
63
49
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
50
+ version_requirements: *id005
51
+ - !ruby/object:Gem::Dependency
70
52
  name: rspec
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
53
  type: :development
54
+ requirement: &id006 !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - *id003
77
57
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
58
+ version_requirements: *id006
83
59
  description: RepRap/GCode utilities written in Ruby.
84
- email:
60
+ email:
85
61
  - kaz.walker@doopli.co
86
- executables:
62
+ executables:
87
63
  - rintcore
88
64
  extensions: []
65
+
89
66
  extra_rdoc_files: []
90
- files:
67
+
68
+ files:
91
69
  - .gitignore
92
- - .ruby-version
93
70
  - CONTRIBUTING.md
94
71
  - Gemfile
95
72
  - LICENSE.md
@@ -113,25 +90,28 @@ files:
113
90
  - rintcore.gemspec
114
91
  homepage: https://github.com/KazW/RintCore
115
92
  licenses: []
93
+
116
94
  metadata: {}
95
+
117
96
  post_install_message:
118
97
  rdoc_options: []
119
- require_paths:
98
+
99
+ require_paths:
120
100
  - lib
121
- required_ruby_version: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- required_rubygems_version: !ruby/object:Gem::Requirement
127
- requirements:
128
- - - '>='
129
- - !ruby/object:Gem::Version
130
- version: '0'
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 1.9.1
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - *id003
131
109
  requirements: []
110
+
132
111
  rubyforge_project:
133
112
  rubygems_version: 2.0.0
134
113
  signing_key:
135
114
  specification_version: 4
136
115
  summary: A Ruby implementation of PrintCore.
137
116
  test_files: []
117
+
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.0.0-p0