skates 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -2
- data/bin/skates +2 -0
- data/lib/skates/generator.rb +1 -1
- data/lib/skates/xmpp_parser.rb +0 -5
- data/lib/skates.rb +0 -2
- metadata +4 -17
data/Rakefile
CHANGED
@@ -13,9 +13,8 @@ begin
|
|
13
13
|
gem.add_dependency('eventmachine', ">= 0.12.10")
|
14
14
|
gem.add_dependency('log4r')
|
15
15
|
gem.add_dependency('nokogiri', ">= 1.4.1")
|
16
|
-
gem.add_dependency('templater')
|
17
16
|
gem.add_dependency('utf8cleaner')
|
18
|
-
gem.requirements = ["eventmachine", "yaml", "fileutils", "log4r", "nokogiri", "
|
17
|
+
gem.requirements = ["eventmachine", "yaml", "fileutils", "log4r", "nokogiri", "optparse", "digest/sha1", "base64", "resolv", "utf8cleaner"]
|
19
18
|
gem.executables = "skates"
|
20
19
|
gem.files = [ "bin/skates",
|
21
20
|
"lib/skates.rb",
|
data/bin/skates
CHANGED
data/lib/skates/generator.rb
CHANGED
data/lib/skates/xmpp_parser.rb
CHANGED
@@ -83,8 +83,6 @@ module Skates
|
|
83
83
|
end
|
84
84
|
end
|
85
85
|
|
86
|
-
private
|
87
|
-
|
88
86
|
##
|
89
87
|
# Adds namespaces and attributes. Nokogiri passes them as a array of [[ns_name, ns_url], [ns_name, ns_url]..., key, value, key, value]...
|
90
88
|
def add_namespaces_and_attributes_to_current_node(attrs)
|
@@ -110,8 +108,5 @@ module Skates
|
|
110
108
|
@elem.add_namespace(nil, value)
|
111
109
|
end
|
112
110
|
end
|
113
|
-
|
114
|
-
|
115
|
-
|
116
111
|
end
|
117
112
|
end
|
data/lib/skates.rb
CHANGED
@@ -9,7 +9,6 @@ require 'fileutils'
|
|
9
9
|
require 'digest/sha1'
|
10
10
|
require 'base64'
|
11
11
|
require 'resolv'
|
12
|
-
require 'templater'
|
13
12
|
require 'cgi'
|
14
13
|
require 'utf8cleaner'
|
15
14
|
|
@@ -20,7 +19,6 @@ require 'skates/component_connection'
|
|
20
19
|
require 'skates/client_connection'
|
21
20
|
require 'skates/router'
|
22
21
|
require 'skates/runner'
|
23
|
-
require 'skates/generator'
|
24
22
|
require 'skates/base/controller'
|
25
23
|
require 'skates/base/view'
|
26
24
|
require 'skates/base/stanza'
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 3
|
9
|
+
version: 0.3.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- julien Genestoux
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-16 00:00:00 +02:00
|
18
18
|
default_executable: skates
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
type: :runtime
|
59
59
|
version_requirements: *id003
|
60
60
|
- !ruby/object:Gem::Dependency
|
61
|
-
name:
|
61
|
+
name: utf8cleaner
|
62
62
|
prerelease: false
|
63
63
|
requirement: &id004 !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
@@ -69,18 +69,6 @@ dependencies:
|
|
69
69
|
version: "0"
|
70
70
|
type: :runtime
|
71
71
|
version_requirements: *id004
|
72
|
-
- !ruby/object:Gem::Dependency
|
73
|
-
name: utf8cleaner
|
74
|
-
prerelease: false
|
75
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - ">="
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
segments:
|
80
|
-
- 0
|
81
|
-
version: "0"
|
82
|
-
type: :runtime
|
83
|
-
version_requirements: *id005
|
84
72
|
description:
|
85
73
|
email: julien.genestoux@gmail.com
|
86
74
|
executables:
|
@@ -149,7 +137,6 @@ requirements:
|
|
149
137
|
- fileutils
|
150
138
|
- log4r
|
151
139
|
- nokogiri
|
152
|
-
- templater
|
153
140
|
- optparse
|
154
141
|
- digest/sha1
|
155
142
|
- base64
|