pushover 1.0.3 → 1.0.4

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: 5a70f1e785179b7356c2c887632f283de549006f
4
- data.tar.gz: d54b26659eeefb08394b6c266af442832182f5d7
3
+ metadata.gz: 315c0ceeee45f022f8d00fc608399bf53a71b131
4
+ data.tar.gz: 377d69dd15226e298deaaf4d179360710b54d5ec
5
5
  SHA512:
6
- metadata.gz: 465930a2259084a11269263cd8eb5d4048a9c0551c9214e282bbc6277684f271686812acbd80dc26558325cd6ef9ccc5badddf97c8ca51f6100322fa8296daf6
7
- data.tar.gz: d3e911be81b0e044f3dde95a06c114d3f8ad8005a64e2de665aa2aeb829bcbb7edbb4de342d73d4b5d5d0defac475b0153787b2ea139e8c7abe3c4be5cecb90e
6
+ metadata.gz: f0bdb2755a96aca9c8c22e43e187718930a76fff3f3b5d72bfd062c35cbaf85211cac7897f7a1da163f11950c9149627c7f61d9fa9392552aa66222833991bc6
7
+ data.tar.gz: d36021c61c655ba7897c78aa2d1cf717d4854d7b9b51f580e7445b768893bb6e06b12773ca599a3825dc194d12b0cd2c727513d0fdadc05b7441eba37bd347a9
@@ -4,7 +4,8 @@ rvm:
4
4
  - 1.9.2
5
5
  - 1.9.3
6
6
  - 2.0.0
7
- - rbx-19mode
7
+ - 2.1.0
8
+ - rbx-2.1
8
9
 
9
10
  branches:
10
11
  only:
data/Gemfile CHANGED
@@ -2,6 +2,12 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
+ platforms :rbx do
6
+ gem 'racc'
7
+ gem 'rubysl', '~> 2.0'
8
+ gem 'psych'
9
+ end
10
+
5
11
  group :development do
6
12
  gem "pry", :require => false
7
13
  gem "guard", :require => false
@@ -1,5 +1,5 @@
1
1
  class Hash
2
- def first
2
+ def first_pair
3
3
  self.each do |k,v|
4
4
  return {k => v}
5
5
  end
@@ -30,7 +30,7 @@ module Pushover
30
30
  def find_receipt(prefix)
31
31
  results = Receipts.select { |k,v| k =~ /^#{prefix}/ }
32
32
  return nil if results.empty?
33
- return results.first
33
+ return results.first_pair
34
34
  end
35
35
 
36
36
  def update_receipts
@@ -1,4 +1,4 @@
1
1
  module Pushover
2
2
  # The current version of Pushover.
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
@@ -1,3 +1,7 @@
1
+ ## 1.0.4
2
+ * Merged in github #18, don't break functionality defined in enumerable
3
+ * Updated for rubinius 2.1
4
+
1
5
  ## 1.0.3
2
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.
3
7
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushover
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernie Brodeur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-22 00:00:00.000000000 Z
11
+ date: 2014-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yajl-ruby
@@ -62,8 +62,8 @@ extra_rdoc_files:
62
62
  - README.md
63
63
  - whatsnew.md
64
64
  files:
65
- - .gitignore
66
- - .travis.yml
65
+ - ".gitignore"
66
+ - ".travis.yml"
67
67
  - Gemfile
68
68
  - Guardfile
69
69
  - LICENSE
@@ -90,28 +90,28 @@ licenses:
90
90
  metadata: {}
91
91
  post_install_message:
92
92
  rdoc_options:
93
- - --line-numbers
94
- - --inline-source
95
- - --title
93
+ - "--line-numbers"
94
+ - "--inline-source"
95
+ - "--title"
96
96
  - Pushover
97
- - --main
97
+ - "--main"
98
98
  - README.md
99
- - --encoding=UTF-8
99
+ - "--encoding=UTF-8"
100
100
  require_paths:
101
101
  - lib
102
102
  required_ruby_version: !ruby/object:Gem::Requirement
103
103
  requirements:
104
- - - '>='
104
+ - - ">="
105
105
  - !ruby/object:Gem::Version
106
106
  version: '0'
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
113
  rubyforge_project:
114
- rubygems_version: 2.0.3
114
+ rubygems_version: 2.2.0
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: This gem provides both an API and CLI interface to pushover.net.