prowl 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.
data/README CHANGED
@@ -3,6 +3,19 @@
3
3
  Ruby wrapper for http://prowl.weks.net/.
4
4
  Written by August Lilleaas (http://august.lilleaas.net/).
5
5
 
6
+
7
+ --~~ Installation ~~--
8
+
9
+ gem install prowl
10
+
11
+ or
12
+
13
+ gem install augustl-prowl --source=http://gems.github.com/
14
+
15
+ Code available here: http://github.com/augustl/ruby-prowl/tree
16
+
17
+ --~~ About ~~--
18
+
6
19
  Prowl rocks! It's a webapp and a iPhone app that works
7
20
  together and lets you send push notifications via HTTP
8
21
  to any iPhone that has the prowl app installed.
@@ -0,0 +1,6 @@
1
+ task :upload_rubyforge_site do
2
+ content = "<pre>#{File.read('README')}</pre>"
3
+ File.open("index.html", "w+") {|f| f << content }
4
+ `scp index.html leethal@rubyforge.org:/var/www/gforge-projects/prowl`
5
+ File.delete("index.html")
6
+ end
@@ -23,9 +23,7 @@ class Prowl
23
23
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
24
24
 
25
25
  params[:apikey] = @api_key
26
- u = uri.request_uri + "?" + params.map {|k, v| "#{k}=#{CGI.escape(v)}"}.join("&")
27
- p u
28
- request = Net::HTTP::Get.new(u)
26
+ request = Net::HTTP::Get.new(uri.request_uri + "?" + params.map {|k, v| "#{k}=#{CGI.escape(v)}"}.join("&"))
29
27
  response = http.request(request)
30
28
  return response.code.to_i
31
29
  end
@@ -1,18 +1,19 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "prowl"
3
- s.version = "0.1.0"
3
+ s.version = "0.1.1"
4
4
  s.date = "2009-07-08"
5
5
  s.authors = ["August Lilleaas"]
6
6
  s.email = "augustlilleaas@gmail.com"
7
7
  s.rubyforge_project = "prowl"
8
8
  s.has_rdoc = true
9
9
  s.summary = "Wrapprer for prowl, http://prowl.weks.net/."
10
- s.homepage = "http://github.com/augustl/prowl"
10
+ s.homepage = "http://prowl.rubyforge.org/"
11
11
  s.files = [
12
12
  "lib/prowl.rb",
13
13
  "lib/prowl/api_key_handler.rb",
14
14
  "lib/prowl/http_auth_handler.rb",
15
15
  "prowl.gemspec",
16
+ "Rakefile",
16
17
  "README",
17
18
  "test/prowl_test.rb"
18
19
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prowl
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
  - August Lilleaas
@@ -26,10 +26,11 @@ files:
26
26
  - lib/prowl/api_key_handler.rb
27
27
  - lib/prowl/http_auth_handler.rb
28
28
  - prowl.gemspec
29
+ - Rakefile
29
30
  - README
30
31
  - test/prowl_test.rb
31
32
  has_rdoc: true
32
- homepage: http://github.com/augustl/prowl
33
+ homepage: http://prowl.rubyforge.org/
33
34
  post_install_message:
34
35
  rdoc_options: []
35
36