phplist 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Manifest +0 -1
  2. data/Rakefile +2 -2
  3. data/lib/phplist.rb +1 -1
  4. data/phplist.gemspec +4 -4
  5. metadata +4 -4
data/Manifest CHANGED
@@ -3,5 +3,4 @@ README.md
3
3
  README.rdoc
4
4
  Rakefile
5
5
  lib/phplist.rb
6
- phplist.gemspec
7
6
  Manifest
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('phplist', '0.1.0') do |p|
5
+ Echoe.new('phplist', '0.1.1') do |p|
6
6
  p.description = "Phplist subscriber"
7
7
  p.url = "http://github.com/ahmadhussain/phplist"
8
8
  p.author = "Ahmad Hussain"
@@ -11,4 +11,4 @@ Echoe.new('phplist', '0.1.0') do |p|
11
11
  p.development_dependencies = []
12
12
  end
13
13
 
14
- Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
@@ -23,7 +23,7 @@ module Phplist
23
23
  p_country = CGI::escape(info[:subscriber][:country]||'')
24
24
 
25
25
  start_time = Time.now
26
- url = "http#{'s' if @ssl_enabled}://#{@domain}/#{@action}?password=#{@password}&email=#{p_email.downcase}&name=#{p_name}&city=#{p_city}&country=#{p_country}&makeconfirmed=1&lid=#{info[:id]}"
26
+ url = "http#{'s' if @ssl_enabled}://#{@domain}/#{@action}?passwd=#{@password}&email=#{p_email.downcase}&name=#{p_name}&city=#{p_city}&country=#{p_country}&makeconfirmed=1&lid=#{info[:id]}"
27
27
  url = URI.encode(url)
28
28
  uri = URI(url)
29
29
  res = Net::HTTP.get_response(uri)
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "phplist"
5
- s.version = "0.1.0"
5
+ s.version = "0.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ahmad Hussain"]
9
- s.date = "2013-11-27"
9
+ s.date = "2013-11-28"
10
10
  s.description = "Phplist subscriber"
11
11
  s.email = "ahmadhmugl@gmail.com"
12
12
  s.extra_rdoc_files = ["CHANGELOG", "README.md", "README.rdoc", "lib/phplist.rb"]
13
- s.files = ["CHANGELOG", "README.md", "README.rdoc", "Rakefile", "lib/phplist.rb", "phplist.gemspec", "Manifest"]
13
+ s.files = ["CHANGELOG", "README.md", "README.rdoc", "Rakefile", "lib/phplist.rb", "Manifest", "phplist.gemspec"]
14
14
  s.homepage = "http://github.com/ahmadhussain/phplist"
15
15
  s.rdoc_options = ["--line-numbers", "--title", "Phplist", "--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = "phplist"
18
- s.rubygems_version = "1.8.25"
18
+ s.rubygems_version = "1.8.24"
19
19
  s.summary = "Phplist subscriber"
20
20
 
21
21
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phplist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-27 00:00:00.000000000 Z
12
+ date: 2013-11-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Phplist subscriber
15
15
  email: ahmadhmugl@gmail.com
@@ -26,8 +26,8 @@ files:
26
26
  - README.rdoc
27
27
  - Rakefile
28
28
  - lib/phplist.rb
29
- - phplist.gemspec
30
29
  - Manifest
30
+ - phplist.gemspec
31
31
  homepage: http://github.com/ahmadhussain/phplist
32
32
  licenses: []
33
33
  post_install_message:
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  version: '1.2'
54
54
  requirements: []
55
55
  rubyforge_project: phplist
56
- rubygems_version: 1.8.25
56
+ rubygems_version: 1.8.24
57
57
  signing_key:
58
58
  specification_version: 3
59
59
  summary: Phplist subscriber