imessage 0.1.0 → 0.1.1

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: c4fa9051a3ac20744feaf5430e2630d587d80964
4
- data.tar.gz: 8aaafb2a16d83a42838ea369f61b717a6deed0a8
3
+ metadata.gz: daf8c0ba467145de9550f33f588536ccd42ebcbf
4
+ data.tar.gz: 9c1ebbeb7170042fef1131c1ddb8ef8d990d6a08
5
5
  SHA512:
6
- metadata.gz: b00e4d7697dde2ff635ae8b54fa10c233363100f756ca24d724b63552e955dc07661a19468ab364ec6761234b171f37db189341743c5943ca082b1333be110cf
7
- data.tar.gz: f1e1b8e0db34eaf7e3e0fc9904cf3a0a29f52639d960b91b47b2df31833202d492a575ba788873bcf9334a9b1c000b063cd95f5e6a6ffd9f4e91022f3bff5cd7
6
+ metadata.gz: 38497957a3158ab72cf337a651a448fb7126b4814d9362cf5748b5e105bd2c0a9680a1199414a79c4da7f541775ca1dbf1f8edf53ae0c6dbfb91539f8deea3a4
7
+ data.tar.gz: cb885e1137527cae11ec475e30930e785e820bed279bafe0fcfba497508cdd5e56425bf5d0882896f945ba880259ce4365613c5fffad30e674783db4db6b1876
@@ -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
- # Imessage
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)
@@ -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
- if File.exists?(attachment)
27
- attachment = File.expand_path(attachment)
28
- else
29
- exit_now!("Can not find file #{attachment}")
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
@@ -1,3 +1,3 @@
1
1
  module Imessage
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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-08 00:00:00.000000000 Z
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.6
113
+ rubygems_version: 2.4.5
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Command line tool to send iMessage.