ruby-notify-my-android 0.4.0 → 0.4.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.
@@ -68,7 +68,7 @@ The standard API response for a unsuccessful call is as follows:
68
68
  Note that the @code signifies the success or failure of the HTTP call, not the NMA call. Use the @response["code"] for that determination.
69
69
 
70
70
  == Contributing to ruby-notify-my-android
71
-
71
+
72
72
  * Familiarize yourself with the documentation at https://nma.usk.bz/api.php
73
73
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
74
74
  * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -18,7 +18,7 @@ opts.on("-k", "--apikey APIKEY", "Your API Key", String) {|val| o
18
18
  opts.on("-p", "--priority PRIORITY", "Priority (-2,-1,0,1,2)", Integer) {|val| o[:priority] = val }
19
19
  opts.on("-a", "--application APPNAME", "Name of app", String) {|val| o[:application] = val }
20
20
  opts.on("-e", "--event EVENTNAME", "Name of event", String) {|val| o[:event] = val }
21
- opts.on("-d", "--description DESCRIPTION", "Notify text", String) {|val| o[:priority] = val }
21
+ opts.on("-d", "--description DESCRIPTION", "Notify text", String) {|val| o[:description] = val }
22
22
  z = opts.parse(ARGV)
23
23
 
24
24
  # set defaults
@@ -10,7 +10,7 @@ module NMA
10
10
  class NoApplicationNameGiven < RuntimeError; end
11
11
 
12
12
  attr_accessor :application, :description
13
- attr_accessor :providerkey, :priority, :event, :url
13
+ attr_accessor :providerkey, :priority, :event
14
14
  attr_writer :apikey
15
15
 
16
16
  def apikey
@@ -27,7 +27,6 @@ module NMA
27
27
  @event = params[:event] || "NMA is working!!"
28
28
  @description = params[:description] || "This is the default description"
29
29
  @priority = params[:priority] || Priority::NORMAL
30
- @url = params[:url] || nil
31
30
  end
32
31
 
33
32
  def to_params
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ruby-notify-my-android}
8
- s.version = "0.4.0"
8
+ s.version = "0.4.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ken Pepple"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-notify-my-android
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 0
10
- version: 0.4.0
9
+ - 1
10
+ version: 0.4.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ken Pepple