pushover 1.0.4 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +78 -0
- data/CODE_OF_CONDUCT.md +46 -0
- data/Gemfile +0 -37
- data/Guardfile +37 -27
- data/LICENSE +17 -32
- data/README.md +26 -153
- data/Rakefile +2 -3
- data/bin/pushover +0 -154
- data/lib/pushover.rb +8 -144
- data/lib/pushover/api.rb +35 -0
- data/lib/pushover/message.rb +38 -0
- data/lib/pushover/receipt.rb +5 -0
- data/lib/pushover/request.rb +12 -0
- data/lib/pushover/response.rb +40 -0
- data/lib/pushover/version.rb +2 -2
- data/pushover.gemspec +38 -25
- data/spec/lib/pushover/api_spec.rb +41 -0
- data/spec/lib/pushover/message_spec.rb +81 -0
- data/spec/lib/pushover/receipt_spec.rb +6 -0
- data/spec/lib/pushover/request_spec.rb +60 -0
- data/spec/lib/pushover/response_spec.rb +98 -0
- data/spec/lib/pushover_spec.rb +1 -116
- data/spec/spec_helper.rb +14 -39
- metadata +234 -36
- data/.travis.yml +0 -15
- data/lib/pushover/app.rb +0 -64
- data/lib/pushover/mixins.rb +0 -7
- data/lib/pushover/priority.rb +0 -63
- data/lib/pushover/user.rb +0 -68
- data/spec/bin/pushover_spec.rb +0 -108
- data/spec/cli_spec_helper.rb +0 -99
- data/spec/lib/pushover/app_spec.rb +0 -54
- data/spec/lib/pushover/user_spec.rb +0 -53
- data/whatsnew.md +0 -69
data/whatsnew.md
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
## 1.0.4
|
2
|
-
* Merged in github #18, don't break functionality defined in enumerable
|
3
|
-
* Updated for rubinius 2.1
|
4
|
-
|
5
|
-
## 1.0.3
|
6
|
-
* Fixed the save option to properly store the appkey and user key (@cptobvious for this). As a result I added tests and cleaned up some internal code.
|
7
|
-
|
8
|
-
## 1.0.2
|
9
|
-
* hotfixes
|
10
|
-
* #13 added license to the gemspec
|
11
|
-
* #15 fixed the configfile not being configurable on the cli (and testing now)
|
12
|
-
* #16 fix for the --user option reading the app key (and tests).
|
13
|
-
|
14
|
-
## 1.0.1
|
15
|
-
* hot fix (merge from @cptobvious) for optional notification parameters.
|
16
|
-
|
17
|
-
## 1.0.0
|
18
|
-
* Sounds.
|
19
|
-
* Emergency notifications.
|
20
|
-
* Will properly trap 500 (server errors) being returned from the server.
|
21
|
-
* Dropped the local sash in favor of the bini copy.
|
22
|
-
|
23
|
-
## 0.99.2:
|
24
|
-
* Version constraint (thanks @freeatnet) on bini, I stupidily upgraded one without the other.
|
25
|
-
|
26
|
-
## 0.99.1:
|
27
|
-
* Big one here, properly testing bin/pushover now.
|
28
|
-
* Fixed a bug in the bin/pushover so --config_file and --app work as expected.
|
29
|
-
* Empty params will no longer be sent to pushover.net
|
30
|
-
* Fixed Pushover#notification, no longer overwrites params with it's arguments.
|
31
|
-
* Added a user-agent to the POST's sent to pushover.net
|
32
|
-
|
33
|
-
## 0.99.0:
|
34
|
-
* Added url and a url_title.
|
35
|
-
* Added time, we can take an epoch or string. The string is run through stdlib Time#parse, so effectively takes rfc822, html, xml, and a bunch of random bits.
|
36
|
-
* Added gemnasium to the readme.
|
37
|
-
* Added code climate to the readme.
|
38
|
-
* Updated for Bini 0.6.0
|
39
|
-
* Priority takes a text or integer argument now.
|
40
|
-
|
41
|
-
## 0.5.1:
|
42
|
-
* SimpleCov and 100% test coverage
|
43
|
-
* Webmock based testing for Pushover##notification.
|
44
|
-
* Added integration to http://travis-ci.org
|
45
|
-
|
46
|
-
## 0.5.0:
|
47
|
-
* Switched the order of App and it's derivatives so that it's name, api_key to make it more human readable.
|
48
|
-
* Ditto for User.
|
49
|
-
* Merged in me bones.
|
50
|
-
* Using bini's logic whenever possible now instead of reinventing the wheel.
|
51
|
-
|
52
|
-
## 0.4.0:
|
53
|
-
* Added priority and device specification.
|
54
|
-
* Moved all the variables, including message, into the configure block.
|
55
|
-
* Updated the gemspec with some more information.
|
56
|
-
* Better output for error messages.
|
57
|
-
|
58
|
-
## 0.3.1
|
59
|
-
* Added benwoody's changes back to the system, this allows for some nifty generators.
|
60
|
-
* Fixed the nasty bug where it wasn't working once installed.
|
61
|
-
|
62
|
-
## 0.3.0
|
63
|
-
* No longer need to supply credentials at all if you have some saved.
|
64
|
-
* Fixed up a ton of documentation and spelling mistakes.
|
65
|
-
* Various bug fixes.
|
66
|
-
* About thirty percent of the tests are complete.
|
67
|
-
* Added convenience methods for App.current_app and User.current_user to supply the correctly inherited credentials.
|
68
|
-
* Will only create the save directory if you attempt to save.
|
69
|
-
* You can specify config on the command line via --config_file
|