xmvc 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +63 -0
- data/VERSION +1 -0
- data/bin/xmvc +13 -0
- data/lib/xmvc/README +20 -0
- data/lib/xmvc/builder.rb +72 -0
- data/lib/xmvc/builders/all_builder.rb +13 -0
- data/lib/xmvc/builders/app_builder.rb +36 -0
- data/lib/xmvc/builders/base.rb +138 -0
- data/lib/xmvc/builders/css_builder.rb +34 -0
- data/lib/xmvc/builders/docs_builder.rb +20 -0
- data/lib/xmvc/builders/mvc_builder.rb +33 -0
- data/lib/xmvc/builders/plugin_builder.rb +53 -0
- data/lib/xmvc/cli.rb +58 -0
- data/lib/xmvc/environment.rb +9 -0
- data/lib/xmvc/generator.rb +79 -0
- data/lib/xmvc/generators/app.rb +94 -0
- data/lib/xmvc/generators/base.rb +90 -0
- data/lib/xmvc/generators/controller.rb +41 -0
- data/lib/xmvc/generators/model.rb +40 -0
- data/lib/xmvc/generators/scaffold.rb +15 -0
- data/lib/xmvc/generators/templates/Controller.js +10 -0
- data/lib/xmvc/generators/templates/Model.js +9 -0
- data/lib/xmvc/generators/templates/ModelSpec.js +12 -0
- data/lib/xmvc/generators/templates/View.js +17 -0
- data/lib/xmvc/generators/templates/_Action.js +7 -0
- data/lib/xmvc/generators/templates/app/README.rdoc +152 -0
- data/lib/xmvc/generators/templates/app/app/App.js +64 -0
- data/lib/xmvc/generators/templates/app/app/controllers/application_controller.js +10 -0
- data/lib/xmvc/generators/templates/app/app/controllers/home_controller.js +10 -0
- data/lib/xmvc/generators/templates/app/app/views/home/index.js +17 -0
- data/lib/xmvc/generators/templates/app/app/views/layout/menu.js +23 -0
- data/lib/xmvc/generators/templates/app/config/application.js +1 -0
- data/lib/xmvc/generators/templates/app/config/boot.js +66 -0
- data/lib/xmvc/generators/templates/app/config/database.js +4 -0
- data/lib/xmvc/generators/templates/app/config/environment.json +62 -0
- data/lib/xmvc/generators/templates/app/config/environments/development.json +1 -0
- data/lib/xmvc/generators/templates/app/config/environments/production.json +4 -0
- data/lib/xmvc/generators/templates/app/config/routes.js +27 -0
- data/lib/xmvc/generators/templates/app/config/settings.yml +3 -0
- data/lib/xmvc/generators/templates/app/public/index.html +19 -0
- data/lib/xmvc/generators/templates/app/public/stylesheets/extjs-mvc-all.css +49 -0
- data/lib/xmvc/generators/templates/app/spec/SpecHelper.js +0 -0
- data/lib/xmvc/generators/templates/app/spec/index.html +66 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/EXAMPLE.html +68 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/LICENSE +22 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/README.markdown +307 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery-1.2.3.js +3408 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery.fn.js +29 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery.print.js +108 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.assets.js +36 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.behaviors.js +91 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.builder.js +80 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.css +90 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.events.js +42 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.matchers.js +145 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.server.js +21 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/spec/behaviors_spec.js +178 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/spec/matchers_spec.js +237 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/spec/print_spec.js +119 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/spec/spec_helper.js +0 -0
- data/lib/xmvc/generators/templates/app/vendor/screw-unit/spec/suite.html +18 -0
- data/lib/xmvc/generators/templates/scaffold/ScaffoldController.js +18 -0
- data/lib/xmvc/generators/view.rb +33 -0
- data/lib/xmvc/plugin.rb +102 -0
- data/lib/xmvc/settings.rb +75 -0
- data/lib/xmvc/stats.rb +259 -0
- data/lib/xmvc/test.rb +9 -0
- data/lib/xmvc/testserver.ru +95 -0
- data/lib/xmvc/ui.rb +55 -0
- data/lib/xmvc/update.rb +71 -0
- data/lib/xmvc.rb +79 -0
- data/test/helper.rb +10 -0
- data/test/test_extjs-core.rb +7 -0
- data/xmvc.gemspec +142 -0
- metadata +237 -0
data/lib/xmvc.rb
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require 'pathname'
|
3
|
+
require 'yaml'
|
4
|
+
require 'json'
|
5
|
+
require 'extlib'
|
6
|
+
require 'whorm'
|
7
|
+
|
8
|
+
module Xmvc
|
9
|
+
|
10
|
+
VERSION = "0.4.0.a"
|
11
|
+
|
12
|
+
ROOT = File.dirname(__FILE__)
|
13
|
+
|
14
|
+
##
|
15
|
+
# Do autoloads here
|
16
|
+
#
|
17
|
+
require 'xmvc/settings'
|
18
|
+
|
19
|
+
autoload :UI, 'xmvc/ui'
|
20
|
+
autoload :Generator, 'xmvc/generator'
|
21
|
+
autoload :Environment, 'xmvc/environment'
|
22
|
+
autoload :BuilderManager, 'xmvc/builder'
|
23
|
+
autoload :Plugin, 'xmvc/plugin'
|
24
|
+
autoload :Stats, 'xmvc/stats'
|
25
|
+
autoload :Update, 'xmvc/update'
|
26
|
+
autoload :Text, 'xmvc/test'
|
27
|
+
|
28
|
+
class Error < StandardError
|
29
|
+
def self.status_code(code = nil)
|
30
|
+
return @code unless code
|
31
|
+
@code = code
|
32
|
+
end
|
33
|
+
|
34
|
+
def status_code
|
35
|
+
self.class.status_code
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
class ArgumentError < Error; status_code(1) ; end
|
40
|
+
class AppNotFound < Error; status_code(2) ; end
|
41
|
+
class AppAlreadyExists < Error; status_code(3) ; end
|
42
|
+
class FileExists < Error; status_code(4) ; end
|
43
|
+
class BuilderError < Error; status_code(5) ; end
|
44
|
+
|
45
|
+
##
|
46
|
+
# Add more error classes here
|
47
|
+
#
|
48
|
+
#class GemfileNotFound < BundlerError; status_code(10) ; end
|
49
|
+
#class GemNotFound < BundlerError; status_code(7) ; end
|
50
|
+
|
51
|
+
class << self
|
52
|
+
attr_writer :ui
|
53
|
+
attr_writer :environment
|
54
|
+
|
55
|
+
def configure
|
56
|
+
@configured ||= begin
|
57
|
+
##
|
58
|
+
# perform some config here?
|
59
|
+
#
|
60
|
+
#configure_gem_home_and_path
|
61
|
+
true
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
##
|
66
|
+
# Ensure we're running within a rails app unless generating a new app ($ xmvc generate app foo)
|
67
|
+
#
|
68
|
+
def ensure_in_app
|
69
|
+
unless ARGV.empty? || ARGV.first == 'help' || (File.exists?('app') && File.exists?('config') && File.exists?('config/environment.json'))
|
70
|
+
raise Xmvc::AppNotFound.new("This command must be executed from the root of an xmvc application")
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
def ui
|
75
|
+
@ui ||= UI.new
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
data/test/helper.rb
ADDED
data/xmvc.gemspec
ADDED
@@ -0,0 +1,142 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{xmvc}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Ed Spencer and Chris Scott"]
|
12
|
+
s.date = %q{2010-03-10}
|
13
|
+
s.default_executable = %q{xmvc}
|
14
|
+
s.description = %q{A full-stack, full-stack MVC framework generator geared towards generating towards the Ext JS framework. The actual javascript framework implementation is provided by the Gem extjs-mvc. This gem contains a series of builders and erb-templates for auto-generating javascript model, view and controller class-files.}
|
15
|
+
s.email = %q{christocracy@gmail.com}
|
16
|
+
s.executables = ["xmvc"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE",
|
19
|
+
"README.rdoc"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
".document",
|
23
|
+
".gitignore",
|
24
|
+
"LICENSE",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"bin/xmvc",
|
29
|
+
"lib/xmvc.rb",
|
30
|
+
"lib/xmvc/README",
|
31
|
+
"lib/xmvc/builder.rb",
|
32
|
+
"lib/xmvc/builders/all_builder.rb",
|
33
|
+
"lib/xmvc/builders/app_builder.rb",
|
34
|
+
"lib/xmvc/builders/base.rb",
|
35
|
+
"lib/xmvc/builders/css_builder.rb",
|
36
|
+
"lib/xmvc/builders/docs_builder.rb",
|
37
|
+
"lib/xmvc/builders/mvc_builder.rb",
|
38
|
+
"lib/xmvc/builders/plugin_builder.rb",
|
39
|
+
"lib/xmvc/cli.rb",
|
40
|
+
"lib/xmvc/environment.rb",
|
41
|
+
"lib/xmvc/generator.rb",
|
42
|
+
"lib/xmvc/generators/app.rb",
|
43
|
+
"lib/xmvc/generators/base.rb",
|
44
|
+
"lib/xmvc/generators/controller.rb",
|
45
|
+
"lib/xmvc/generators/model.rb",
|
46
|
+
"lib/xmvc/generators/scaffold.rb",
|
47
|
+
"lib/xmvc/generators/templates/Controller.js",
|
48
|
+
"lib/xmvc/generators/templates/Model.js",
|
49
|
+
"lib/xmvc/generators/templates/ModelSpec.js",
|
50
|
+
"lib/xmvc/generators/templates/View.js",
|
51
|
+
"lib/xmvc/generators/templates/_Action.js",
|
52
|
+
"lib/xmvc/generators/templates/app/README.rdoc",
|
53
|
+
"lib/xmvc/generators/templates/app/app/App.js",
|
54
|
+
"lib/xmvc/generators/templates/app/app/controllers/application_controller.js",
|
55
|
+
"lib/xmvc/generators/templates/app/app/controllers/home_controller.js",
|
56
|
+
"lib/xmvc/generators/templates/app/app/views/home/index.js",
|
57
|
+
"lib/xmvc/generators/templates/app/app/views/layout/menu.js",
|
58
|
+
"lib/xmvc/generators/templates/app/config/application.js",
|
59
|
+
"lib/xmvc/generators/templates/app/config/boot.js",
|
60
|
+
"lib/xmvc/generators/templates/app/config/database.js",
|
61
|
+
"lib/xmvc/generators/templates/app/config/environment.json",
|
62
|
+
"lib/xmvc/generators/templates/app/config/environments/development.json",
|
63
|
+
"lib/xmvc/generators/templates/app/config/environments/production.json",
|
64
|
+
"lib/xmvc/generators/templates/app/config/routes.js",
|
65
|
+
"lib/xmvc/generators/templates/app/config/settings.yml",
|
66
|
+
"lib/xmvc/generators/templates/app/public/index.html",
|
67
|
+
"lib/xmvc/generators/templates/app/public/stylesheets/extjs-mvc-all.css",
|
68
|
+
"lib/xmvc/generators/templates/app/spec/SpecHelper.js",
|
69
|
+
"lib/xmvc/generators/templates/app/spec/index.html",
|
70
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/EXAMPLE.html",
|
71
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/LICENSE",
|
72
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/README.markdown",
|
73
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery-1.2.3.js",
|
74
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery.fn.js",
|
75
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery.print.js",
|
76
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.assets.js",
|
77
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.behaviors.js",
|
78
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.builder.js",
|
79
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.css",
|
80
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.events.js",
|
81
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.matchers.js",
|
82
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.server.js",
|
83
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/spec/behaviors_spec.js",
|
84
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/spec/matchers_spec.js",
|
85
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/spec/print_spec.js",
|
86
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/spec/spec_helper.js",
|
87
|
+
"lib/xmvc/generators/templates/app/vendor/screw-unit/spec/suite.html",
|
88
|
+
"lib/xmvc/generators/templates/scaffold/ScaffoldController.js",
|
89
|
+
"lib/xmvc/generators/view.rb",
|
90
|
+
"lib/xmvc/plugin.rb",
|
91
|
+
"lib/xmvc/settings.rb",
|
92
|
+
"lib/xmvc/stats.rb",
|
93
|
+
"lib/xmvc/test.rb",
|
94
|
+
"lib/xmvc/testserver.ru",
|
95
|
+
"lib/xmvc/ui.rb",
|
96
|
+
"lib/xmvc/update.rb",
|
97
|
+
"test/helper.rb",
|
98
|
+
"test/test_extjs-core.rb",
|
99
|
+
"xmvc.gemspec"
|
100
|
+
]
|
101
|
+
s.homepage = %q{http://github.com/christocracy/extjs-core}
|
102
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
103
|
+
s.require_paths = ["lib"]
|
104
|
+
s.rubygems_version = %q{1.3.6}
|
105
|
+
s.summary = %q{A Rails-like, full-stack MVC framework generator geared towards generating towards the Ext JS framework.}
|
106
|
+
s.test_files = [
|
107
|
+
"test/helper.rb",
|
108
|
+
"test/test_extjs-core.rb"
|
109
|
+
]
|
110
|
+
|
111
|
+
if s.respond_to? :specification_version then
|
112
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
113
|
+
s.specification_version = 3
|
114
|
+
|
115
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
116
|
+
s.add_runtime_dependency(%q<extlib>, [">= 0.9.14"])
|
117
|
+
s.add_runtime_dependency(%q<thor>, [">= 0.13.0"])
|
118
|
+
s.add_runtime_dependency(%q<jammit-core>, [">= 0.1.0"])
|
119
|
+
s.add_runtime_dependency(%q<whorm>, [">= 0.1.0"])
|
120
|
+
s.add_runtime_dependency(%q<hpricot>, [">= 0.8.2"])
|
121
|
+
s.add_runtime_dependency(%q<extjs-mvc>, [">= 0.4.0.a"])
|
122
|
+
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
123
|
+
else
|
124
|
+
s.add_dependency(%q<extlib>, [">= 0.9.14"])
|
125
|
+
s.add_dependency(%q<thor>, [">= 0.13.0"])
|
126
|
+
s.add_dependency(%q<jammit-core>, [">= 0.1.0"])
|
127
|
+
s.add_dependency(%q<whorm>, [">= 0.1.0"])
|
128
|
+
s.add_dependency(%q<hpricot>, [">= 0.8.2"])
|
129
|
+
s.add_dependency(%q<extjs-mvc>, [">= 0.4.0.a"])
|
130
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
131
|
+
end
|
132
|
+
else
|
133
|
+
s.add_dependency(%q<extlib>, [">= 0.9.14"])
|
134
|
+
s.add_dependency(%q<thor>, [">= 0.13.0"])
|
135
|
+
s.add_dependency(%q<jammit-core>, [">= 0.1.0"])
|
136
|
+
s.add_dependency(%q<whorm>, [">= 0.1.0"])
|
137
|
+
s.add_dependency(%q<hpricot>, [">= 0.8.2"])
|
138
|
+
s.add_dependency(%q<extjs-mvc>, [">= 0.4.0.a"])
|
139
|
+
s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
metadata
ADDED
@@ -0,0 +1,237 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: xmvc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Ed Spencer and Chris Scott
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-03-10 00:00:00 -05:00
|
18
|
+
default_executable: xmvc
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: extlib
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 9
|
30
|
+
- 14
|
31
|
+
version: 0.9.14
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: thor
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
- 13
|
44
|
+
- 0
|
45
|
+
version: 0.13.0
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: jammit-core
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
57
|
+
- 1
|
58
|
+
- 0
|
59
|
+
version: 0.1.0
|
60
|
+
type: :runtime
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: whorm
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
- 1
|
72
|
+
- 0
|
73
|
+
version: 0.1.0
|
74
|
+
type: :runtime
|
75
|
+
version_requirements: *id004
|
76
|
+
- !ruby/object:Gem::Dependency
|
77
|
+
name: hpricot
|
78
|
+
prerelease: false
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
segments:
|
84
|
+
- 0
|
85
|
+
- 8
|
86
|
+
- 2
|
87
|
+
version: 0.8.2
|
88
|
+
type: :runtime
|
89
|
+
version_requirements: *id005
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: extjs-mvc
|
92
|
+
prerelease: false
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
segments:
|
98
|
+
- 0
|
99
|
+
- 4
|
100
|
+
- 0
|
101
|
+
- a
|
102
|
+
version: 0.4.0.a
|
103
|
+
type: :runtime
|
104
|
+
version_requirements: *id006
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: thoughtbot-shoulda
|
107
|
+
prerelease: false
|
108
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
segments:
|
113
|
+
- 0
|
114
|
+
version: "0"
|
115
|
+
type: :development
|
116
|
+
version_requirements: *id007
|
117
|
+
description: A full-stack, full-stack MVC framework generator geared towards generating towards the Ext JS framework. The actual javascript framework implementation is provided by the Gem extjs-mvc. This gem contains a series of builders and erb-templates for auto-generating javascript model, view and controller class-files.
|
118
|
+
email: christocracy@gmail.com
|
119
|
+
executables:
|
120
|
+
- xmvc
|
121
|
+
extensions: []
|
122
|
+
|
123
|
+
extra_rdoc_files:
|
124
|
+
- LICENSE
|
125
|
+
- README.rdoc
|
126
|
+
files:
|
127
|
+
- .document
|
128
|
+
- .gitignore
|
129
|
+
- LICENSE
|
130
|
+
- README.rdoc
|
131
|
+
- Rakefile
|
132
|
+
- VERSION
|
133
|
+
- bin/xmvc
|
134
|
+
- lib/xmvc.rb
|
135
|
+
- lib/xmvc/README
|
136
|
+
- lib/xmvc/builder.rb
|
137
|
+
- lib/xmvc/builders/all_builder.rb
|
138
|
+
- lib/xmvc/builders/app_builder.rb
|
139
|
+
- lib/xmvc/builders/base.rb
|
140
|
+
- lib/xmvc/builders/css_builder.rb
|
141
|
+
- lib/xmvc/builders/docs_builder.rb
|
142
|
+
- lib/xmvc/builders/mvc_builder.rb
|
143
|
+
- lib/xmvc/builders/plugin_builder.rb
|
144
|
+
- lib/xmvc/cli.rb
|
145
|
+
- lib/xmvc/environment.rb
|
146
|
+
- lib/xmvc/generator.rb
|
147
|
+
- lib/xmvc/generators/app.rb
|
148
|
+
- lib/xmvc/generators/base.rb
|
149
|
+
- lib/xmvc/generators/controller.rb
|
150
|
+
- lib/xmvc/generators/model.rb
|
151
|
+
- lib/xmvc/generators/scaffold.rb
|
152
|
+
- lib/xmvc/generators/templates/Controller.js
|
153
|
+
- lib/xmvc/generators/templates/Model.js
|
154
|
+
- lib/xmvc/generators/templates/ModelSpec.js
|
155
|
+
- lib/xmvc/generators/templates/View.js
|
156
|
+
- lib/xmvc/generators/templates/_Action.js
|
157
|
+
- lib/xmvc/generators/templates/app/README.rdoc
|
158
|
+
- lib/xmvc/generators/templates/app/app/App.js
|
159
|
+
- lib/xmvc/generators/templates/app/app/controllers/application_controller.js
|
160
|
+
- lib/xmvc/generators/templates/app/app/controllers/home_controller.js
|
161
|
+
- lib/xmvc/generators/templates/app/app/views/home/index.js
|
162
|
+
- lib/xmvc/generators/templates/app/app/views/layout/menu.js
|
163
|
+
- lib/xmvc/generators/templates/app/config/application.js
|
164
|
+
- lib/xmvc/generators/templates/app/config/boot.js
|
165
|
+
- lib/xmvc/generators/templates/app/config/database.js
|
166
|
+
- lib/xmvc/generators/templates/app/config/environment.json
|
167
|
+
- lib/xmvc/generators/templates/app/config/environments/development.json
|
168
|
+
- lib/xmvc/generators/templates/app/config/environments/production.json
|
169
|
+
- lib/xmvc/generators/templates/app/config/routes.js
|
170
|
+
- lib/xmvc/generators/templates/app/config/settings.yml
|
171
|
+
- lib/xmvc/generators/templates/app/public/index.html
|
172
|
+
- lib/xmvc/generators/templates/app/public/stylesheets/extjs-mvc-all.css
|
173
|
+
- lib/xmvc/generators/templates/app/spec/SpecHelper.js
|
174
|
+
- lib/xmvc/generators/templates/app/spec/index.html
|
175
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/EXAMPLE.html
|
176
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/LICENSE
|
177
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/README.markdown
|
178
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery-1.2.3.js
|
179
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery.fn.js
|
180
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/jquery.print.js
|
181
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.assets.js
|
182
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.behaviors.js
|
183
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.builder.js
|
184
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.css
|
185
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.events.js
|
186
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.matchers.js
|
187
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/lib/screw.server.js
|
188
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/spec/behaviors_spec.js
|
189
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/spec/matchers_spec.js
|
190
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/spec/print_spec.js
|
191
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/spec/spec_helper.js
|
192
|
+
- lib/xmvc/generators/templates/app/vendor/screw-unit/spec/suite.html
|
193
|
+
- lib/xmvc/generators/templates/scaffold/ScaffoldController.js
|
194
|
+
- lib/xmvc/generators/view.rb
|
195
|
+
- lib/xmvc/plugin.rb
|
196
|
+
- lib/xmvc/settings.rb
|
197
|
+
- lib/xmvc/stats.rb
|
198
|
+
- lib/xmvc/test.rb
|
199
|
+
- lib/xmvc/testserver.ru
|
200
|
+
- lib/xmvc/ui.rb
|
201
|
+
- lib/xmvc/update.rb
|
202
|
+
- test/helper.rb
|
203
|
+
- test/test_extjs-core.rb
|
204
|
+
- xmvc.gemspec
|
205
|
+
has_rdoc: true
|
206
|
+
homepage: http://github.com/christocracy/extjs-core
|
207
|
+
licenses: []
|
208
|
+
|
209
|
+
post_install_message:
|
210
|
+
rdoc_options:
|
211
|
+
- --charset=UTF-8
|
212
|
+
require_paths:
|
213
|
+
- lib
|
214
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
segments:
|
219
|
+
- 0
|
220
|
+
version: "0"
|
221
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
segments:
|
226
|
+
- 0
|
227
|
+
version: "0"
|
228
|
+
requirements: []
|
229
|
+
|
230
|
+
rubyforge_project:
|
231
|
+
rubygems_version: 1.3.6
|
232
|
+
signing_key:
|
233
|
+
specification_version: 3
|
234
|
+
summary: A Rails-like, full-stack MVC framework generator geared towards generating towards the Ext JS framework.
|
235
|
+
test_files:
|
236
|
+
- test/helper.rb
|
237
|
+
- test/test_extjs-core.rb
|