sms_serial 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: b436b4e29ddcb27584da42b50edcac1f3ade809a5b60c0832ca260815f9a504b
4
- data.tar.gz: ad14c469f8e450771d9c8a1d5f5f5c748889ceb0fb5cd28f01e5eef954fc57b5
3
+ metadata.gz: 6a9a4074b51ab071ed1274e21bae63fdef2c9b8f2a84dc0b692fac73950c404d
4
+ data.tar.gz: c3715ff4a41a98a05002843888d761c2999db9fac08732bc2b13314552f91128
5
5
  SHA512:
6
- metadata.gz: c59b5aae20d08f3e97e9e0575cc31da4c386c3d971101f9803cf1de2b156f63afb3ebee789a7b404f821c0b9f255edddacdcc177bd21c8391fe12e6ca2a89aaa
7
- data.tar.gz: ff86b4f2f485705d64352f1df0d9fd3ccdb5acbd086e321d2bbb9900806b72539cbb5187513bb578f04c48d5a742637a9329b86c79637602fc7bbcda79c04378
6
+ metadata.gz: f59e09604cc6551308e2820c84f712e21876ebd2e6fd045e0cf8fe71e2224e982f070730393f8bd0fd8531982de9b4bd96ffe0014f71d588f7bcc57ceb916f59
7
+ data.tar.gz: 5ea271a283f72e241b70ccfe0db843800b5312ab83538055aa589faa87f67f3695459335d58d287ab52d7a09341eda064fe8a0dc3a250206f15e4ba1e57e72b8
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/sms_serial.rb CHANGED
@@ -42,6 +42,9 @@ class SmsSerial
42
42
 
43
43
  end
44
44
  end
45
+
46
+ sleep 0.3
47
+
45
48
  end
46
49
  }
47
50
 
@@ -64,6 +67,8 @@ class SmsSerial
64
67
  end
65
68
 
66
69
  def delete(idx)
70
+
71
+ return delete_all() if idx.to_sym == :all
67
72
 
68
73
  cmd 'CMD' do |r|
69
74
  total = r.lines[2].split(',')[1].to_i
@@ -73,6 +78,8 @@ class SmsSerial
73
78
  end
74
79
 
75
80
  end
81
+
82
+ alias del delete
76
83
 
77
84
  def delete_all()
78
85
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sms_serial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,7 +35,7 @@ cert_chain:
35
35
  EYzIL92BZpCZCtjvESIrEv5VJgAmyveQNNU5h8mCJUtl5niL+zFr9No3bLdleGKx
36
36
  h+73cUmDE6yvcIa2oIkbUrre
37
37
  -----END CERTIFICATE-----
38
- date: 2019-09-04 00:00:00.000000000 Z
38
+ date: 2019-10-08 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: c32
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  requirements: []
106
- rubygems_version: 3.0.1
106
+ rubygems_version: 3.0.3
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: Reads SMS messages from a serial connection to an Arduino compatible board
metadata.gz.sig CHANGED
Binary file