imessage 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/bin/imessage +6 -5
- data/lib/imessage/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: daf8c0ba467145de9550f33f588536ccd42ebcbf
|
|
4
|
+
data.tar.gz: 9c1ebbeb7170042fef1131c1ddb8ef8d990d6a08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 38497957a3158ab72cf337a651a448fb7126b4814d9362cf5748b5e105bd2c0a9680a1199414a79c4da7f541775ca1dbf1f8edf53ae0c6dbfb91539f8deea3a4
|
|
7
|
+
data.tar.gz: cb885e1137527cae11ec475e30930e785e820bed279bafe0fcfba497508cdd5e56425bf5d0882896f945ba880259ce4365613c5fffad30e674783db4db6b1876
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## [v0.1.1](https://github.com/linjunpop/imessage/tree/v0.1.1)
|
|
6
|
+
|
|
7
|
+
* Fixes fail to send messages without attachment. [#3](https://github.com/linjunpop/imessage/issues/3)
|
|
8
|
+
|
|
5
9
|
## [v0.1.0](https://github.com/linjunpop/imessage/tree/v0.1.0)
|
|
6
10
|
|
|
7
11
|
* Now imessage can send attachment with `-a`.
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# imessage
|
|
2
2
|
|
|
3
3
|
Command line tool to send iMessage.
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ Or install it yourself as:
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
26
26
|
```
|
|
27
|
-
$ imessage send "hello" --to "foo@example.com"
|
|
27
|
+
$ imessage send "hello" --to "foo@example.com" --attachment 'bar.png'
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## [Changelog](CHANGELOG.md)
|
data/bin/imessage
CHANGED
|
@@ -22,11 +22,12 @@ command :send do |c|
|
|
|
22
22
|
help_now!('Message or Attachment is required') if !options[:attachment] && args.empty?
|
|
23
23
|
help_now!('Contacts is required') unless options[:contacts]
|
|
24
24
|
|
|
25
|
-
attachment = options[:attachment]
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
if attachment = options[:attachment]
|
|
26
|
+
if File.exists?(attachment)
|
|
27
|
+
attachment = File.expand_path(attachment)
|
|
28
|
+
else
|
|
29
|
+
exit_now!("Can not find file #{attachment}")
|
|
30
|
+
end
|
|
30
31
|
end
|
|
31
32
|
|
|
32
33
|
sender = Imessage::Sender.new
|
data/lib/imessage/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imessage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jun Lin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-05
|
|
11
|
+
date: 2015-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
110
|
version: '0'
|
|
111
111
|
requirements: []
|
|
112
112
|
rubyforge_project:
|
|
113
|
-
rubygems_version: 2.4.
|
|
113
|
+
rubygems_version: 2.4.5
|
|
114
114
|
signing_key:
|
|
115
115
|
specification_version: 4
|
|
116
116
|
summary: Command line tool to send iMessage.
|