extjs 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/VERSION +1 -1
- data/bin/extjs +0 -1
- data/extjs.gemspec +2 -2
- data/lib/extjs.rb +40 -18
- data/lib/vendor.yml +6 -8
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/bin/extjs
CHANGED
data/extjs.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{extjs}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Christocracy"]
|
12
|
-
s.date = %q{2010-03-
|
12
|
+
s.date = %q{2010-03-15}
|
13
13
|
s.default_executable = %q{extjs}
|
14
14
|
s.description = %q{Gem for managing Ext JS resources including downloading from cachefly}
|
15
15
|
s.email = %q{christocracy@gmail.com}
|
data/lib/extjs.rb
CHANGED
@@ -1,33 +1,55 @@
|
|
1
1
|
require 'extlib'
|
2
|
+
require 'yaml'
|
3
|
+
require 'thor'
|
2
4
|
|
3
|
-
module
|
5
|
+
module Xmvc
|
4
6
|
|
5
|
-
|
7
|
+
#CONFIG_PATH = File.join(ROOT, "vendor.yml")
|
8
|
+
#ROOT = File.dirname(__FILE__)
|
6
9
|
|
7
|
-
|
10
|
+
class << self
|
11
|
+
def config(root)
|
12
|
+
#@config ||= YAML.load(File.read(File.join(root, "vendor.yml", ))).to_mash
|
13
|
+
end
|
14
|
+
end
|
8
15
|
|
9
|
-
|
16
|
+
class Vendor < Thor
|
17
|
+
#CONFIG_PATH = File.join(ROOT, "vendor.yml")
|
18
|
+
#ROOT = File.dirname(__FILE__)
|
19
|
+
#class << self
|
20
|
+
# def config(root)
|
21
|
+
# @config ||= YAML.load(File.read(File.join(root, "vendor.yml", ))).to_mash
|
22
|
+
# end
|
23
|
+
#end
|
24
|
+
|
25
|
+
def initialize(args, options, config)
|
26
|
+
puts "options: #{options}, config: #{config}"
|
27
|
+
say_status("Xmvc::Vendor initialized, load teh config file")
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
module ExtJS
|
10
33
|
|
11
|
-
|
34
|
+
#VERSION = "0.1.0"
|
12
35
|
|
13
|
-
|
36
|
+
#ROOT = File.dirname(__FILE__)
|
37
|
+
|
38
|
+
#CACHEFLY_URL = "http://extjs.cachefly.net/"
|
14
39
|
|
15
|
-
|
16
|
-
# mix the ThorCheese module into your base nameespace. This allows you to boot an
|
17
|
-
# instance of the colourful Cheese::UI::Sheel
|
18
|
-
#
|
19
|
-
include Thor::Cheese
|
40
|
+
#GITHUB_URL = "git@github.com:extjs/extjs.git"
|
20
41
|
|
21
42
|
##
|
22
43
|
# Example error-extension
|
23
44
|
#
|
24
|
-
class Error < Thor::Cheese::Error; status_code(0) ; end
|
25
|
-
class InstallError < Error; status_code(9) ; end
|
26
|
-
|
27
|
-
class
|
28
|
-
|
29
|
-
|
45
|
+
#class Error < Thor::Cheese::Error; status_code(0) ; end
|
46
|
+
#class InstallError < Error; status_code(9) ; end
|
47
|
+
|
48
|
+
class API < Xmvc::Vendor
|
49
|
+
desc "secretary", "Returns the asset secretary"
|
50
|
+
def secretary
|
51
|
+
say_status("ExtJS API")
|
52
|
+
|
30
53
|
end
|
31
54
|
end
|
32
|
-
|
33
55
|
end
|
data/lib/vendor.yml
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Christocracy
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-15 00:00:00 -04:00
|
18
18
|
default_executable: extjs
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|