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 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", "templater", "optparse", "digest/sha1", "base64", "resolv", "utf8cleaner"]
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
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubygems'
4
+ require 'templater'
4
5
  require 'skates'
6
+ require 'skates/generator'
5
7
 
6
8
  Skates::Generator.run_cli(Dir.pwd, 'skates_app', "0.1", ARGV)
@@ -3,7 +3,7 @@ module Skates
3
3
  extend Templater::Manifold
4
4
 
5
5
  desc <<-DESC
6
- Skates is a framework to generate XMPP Applications in Ruby."
6
+ Skates is a framework to generate XMPP Applications in Ruby.
7
7
  DESC
8
8
 
9
9
  ##
@@ -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
- - 2
9
- version: 0.3.2
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-11 00:00:00 +02:00
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: templater
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