epp-nokogiri 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 71d59991d2919cdb4aad9190b0bc63180131a360
4
+ data.tar.gz: 3c7a053f95d318c44b9b3fa318504e023d935418
5
+ SHA512:
6
+ metadata.gz: f724761625a2ad59796c0ff40b1f6dff946db06474766026e1a0ffa3b0b93f425bb07cb8ab121d0ea395f32a6002d176b4f44f7966c96c4462fd45c5de465707
7
+ data.tar.gz: 26afc81dd24651048e21d45c7e3fadbf8a6c88d326c0467f3751834435e7605f0408ae5dd46f9cdd2f2e7b54e37bbd495120a10beb44316ab3265e5553f1e51e
data/epp.gemspec CHANGED
@@ -7,9 +7,10 @@ Gem::Specification.new do |s|
7
7
  s.version = Epp::VERSION
8
8
  s.authors = ["Josh Delsman", "Delwyn de Villiers", "Priit Haamer"]
9
9
  s.email = ["jdelsman@ultraspeed.com", "delwyn.d@gmail.com", "priit@edicy.com"]
10
- s.homepage = "http://github.com/delwyn/epp"
10
+ s.homepage = "https://github.com/priithaamer/epp"
11
11
  s.summary = %q{EPP (Extensible Provisioning Protocol) for Ruby}
12
12
  s.description = %q{Basic functionality for connecting and making requests on EPP (Extensible Provisioning Protocol) servers}
13
+ s.license = 'MIT'
13
14
 
14
15
  s.rubyforge_project = "epp"
15
16
 
@@ -23,4 +24,5 @@ Gem::Specification.new do |s|
23
24
 
24
25
  s.add_development_dependency("shoulda", [">= 0"])
25
26
  s.add_development_dependency("mocha", [">= 0"])
27
+ s.add_development_dependency("rake", [">= 0"])
26
28
  end
data/lib/epp/server.rb CHANGED
@@ -125,12 +125,12 @@ module Epp #:nodoc:
125
125
  # size of the frame sent to the server. If the socket returns EOF,
126
126
  # the connection has closed and a SocketError is raised.
127
127
  def send_frame(xml)
128
- @socket.write(packed(xml) + xml)
128
+ @socket.write(packed(xml) + xml.bytes.pack('C*'))
129
129
  end
130
130
 
131
131
  # Pack the XML as a header for the EPP server.
132
132
  def packed(xml)
133
- [xml.size + 4].pack("N")
133
+ [xml.bytesize + 4].pack("N")
134
134
  end
135
135
 
136
136
  # Returns size of header of response from the EPP server.
data/lib/epp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Epp
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,96 +1,98 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: epp-nokogiri
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 0
10
- version: 1.0.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Josh Delsman
14
8
  - Delwyn de Villiers
15
9
  - Priit Haamer
16
10
  autorequire:
17
11
  bindir: bin
18
12
  cert_chain: []
19
-
20
- date: 2013-04-09 00:00:00 +03:00
21
- default_executable:
22
- dependencies:
23
- - !ruby/object:Gem::Dependency
13
+ date: 2015-12-01 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
24
16
  name: nokogiri
25
- prerelease: false
26
- requirement: &id001 !ruby/object:Gem::Requirement
27
- none: false
28
- requirements:
17
+ requirement: !ruby/object:Gem::Requirement
18
+ requirements:
29
19
  - - ">="
30
- - !ruby/object:Gem::Version
31
- hash: 5
32
- segments:
33
- - 1
34
- - 4
35
- - 1
20
+ - !ruby/object:Gem::Version
36
21
  version: 1.4.1
37
22
  type: :runtime
38
- version_requirements: *id001
39
- - !ruby/object:Gem::Dependency
40
- name: uuidtools
41
23
  prerelease: false
42
- requirement: &id002 !ruby/object:Gem::Requirement
43
- none: false
44
- requirements:
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 1.4.1
29
+ - !ruby/object:Gem::Dependency
30
+ name: uuidtools
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
45
33
  - - ">="
46
- - !ruby/object:Gem::Version
47
- hash: 3
48
- segments:
49
- - 0
50
- version: "0"
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
51
36
  type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: shoulda
55
37
  prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ - !ruby/object:Gem::Dependency
44
+ name: shoulda
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
59
47
  - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 3
62
- segments:
63
- - 0
64
- version: "0"
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
65
50
  type: :development
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ - !ruby/object:Gem::Dependency
68
58
  name: mocha
59
+ requirement: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ type: :development
69
65
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
71
- none: false
72
- requirements:
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
73
68
  - - ">="
74
- - !ruby/object:Gem::Version
75
- hash: 3
76
- segments:
77
- - 0
78
- version: "0"
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: rake
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
79
78
  type: :development
80
- version_requirements: *id004
81
- description: Basic functionality for connecting and making requests on EPP (Extensible Provisioning Protocol) servers
82
- email:
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ description: Basic functionality for connecting and making requests on EPP (Extensible
86
+ Provisioning Protocol) servers
87
+ email:
83
88
  - jdelsman@ultraspeed.com
84
89
  - delwyn.d@gmail.com
85
90
  - priit@edicy.com
86
91
  executables: []
87
-
88
92
  extensions: []
89
-
90
93
  extra_rdoc_files: []
91
-
92
- files:
93
- - .gitignore
94
+ files:
95
+ - ".gitignore"
94
96
  - Gemfile
95
97
  - LICENSE
96
98
  - README.rdoc
@@ -114,41 +116,31 @@ files:
114
116
  - test/xml/socket_preparation.xml
115
117
  - test/xml/test_request.xml
116
118
  - test/xml/test_response.xml
117
- has_rdoc: true
118
- homepage: http://github.com/delwyn/epp
119
- licenses: []
120
-
119
+ homepage: https://github.com/priithaamer/epp
120
+ licenses:
121
+ - MIT
122
+ metadata: {}
121
123
  post_install_message:
122
124
  rdoc_options: []
123
-
124
- require_paths:
125
+ require_paths:
125
126
  - lib
126
- required_ruby_version: !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
129
  - - ">="
130
- - !ruby/object:Gem::Version
131
- hash: 3
132
- segments:
133
- - 0
134
- version: "0"
135
- required_rubygems_version: !ruby/object:Gem::Requirement
136
- none: false
137
- requirements:
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
138
134
  - - ">="
139
- - !ruby/object:Gem::Version
140
- hash: 3
141
- segments:
142
- - 0
143
- version: "0"
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
144
137
  requirements: []
145
-
146
138
  rubyforge_project: epp
147
- rubygems_version: 1.4.2
139
+ rubygems_version: 2.2.2
148
140
  signing_key:
149
- specification_version: 3
141
+ specification_version: 4
150
142
  summary: EPP (Extensible Provisioning Protocol) for Ruby
151
- test_files:
143
+ test_files:
152
144
  - test/test_epp.rb
153
145
  - test/test_helper.rb
154
146
  - test/xml/error.xml