extjs 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 (6) hide show
  1. data/VERSION +1 -1
  2. data/bin/extjs +0 -1
  3. data/extjs.gemspec +2 -2
  4. data/lib/extjs.rb +40 -18
  5. data/lib/vendor.yml +6 -8
  6. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/bin/extjs CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
4
4
 
5
- require 'thor-cheese'
6
5
  require 'extjs'
7
6
  require 'extjs/cli'
8
7
 
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.0"
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-11}
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 ExtJS
5
+ module Xmvc
4
6
 
5
- VERSION = "0.1.0"
7
+ #CONFIG_PATH = File.join(ROOT, "vendor.yml")
8
+ #ROOT = File.dirname(__FILE__)
6
9
 
7
- ROOT = File.dirname(__FILE__)
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
- CONFIG_PATH = File.join(ROOT, "vendor.yml")
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
- CACHEFLY_URL = "http://extjs.cachefly.net/"
34
+ #VERSION = "0.1.0"
12
35
 
13
- GITHUB_URL = "git@github.com:extjs/extjs.git"
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 << self
28
- def config
29
- @config ||= YAML.load(File.read(ASSETS_PATH)).to_mash
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
@@ -1,10 +1,8 @@
1
+ name: extjs
2
+
1
3
  javascripts:
2
- production:
3
- - ext-base.js
4
- - ext-all.js
5
- development:
6
- - ext-base-debug.js
7
- - ext-all-debug.js
8
-
4
+ - adapter/ext/ext-base.js
5
+ - ext-all.js
6
+
9
7
  stylesheets:
10
- - ext-all.css
8
+ - resources/css/ext-all.css
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
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-11 00:00:00 -05:00
17
+ date: 2010-03-15 00:00:00 -04:00
18
18
  default_executable: extjs
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency