compass_ae_starter_kit 2.0.4 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
1
|
module CompassAeStarterKit
|
2
2
|
RAILS_MAJOR = 3
|
3
|
-
RAILS_MINOR =
|
3
|
+
RAILS_MINOR = 2
|
4
4
|
RAILS_TINY = '*'
|
5
5
|
class CompassAE
|
6
6
|
class << self
|
@@ -42,6 +42,10 @@ Usage:
|
|
42
42
|
puts 'Generating Rails infrastructure...'
|
43
43
|
system "rails new #{app_name} #{ARGV * ' '} -m #{template_path}"
|
44
44
|
Dir.chdir app_name
|
45
|
+
puts 'Installing CompassAE migrations and data migrations...'
|
46
|
+
system "rake compass_ae:install:migrations"
|
47
|
+
system "rake compass_ae:install:data_migrations"
|
48
|
+
puts 'Migrating a fresh database...'
|
45
49
|
system "rake db:migrate"
|
46
50
|
system "rake db:migrate_data"
|
47
51
|
end
|
@@ -26,13 +26,13 @@ CompassAeStarterKit::FileSupport.patch_file 'config/environments/production.rb',
|
|
26
26
|
|
27
27
|
CompassAeStarterKit::FileSupport.append_file 'Gemfile',
|
28
28
|
"
|
29
|
-
gem 'erp_base_erp_svcs', '
|
30
|
-
gem 'erp_tech_svcs', '
|
31
|
-
gem 'erp_app', '
|
32
|
-
gem 'erp_forms', '
|
33
|
-
gem 'knitkit', '
|
34
|
-
gem 'rails_db_admin', '
|
35
|
-
gem 'compass_ae_console', '
|
29
|
+
gem 'erp_base_erp_svcs', '3.1.0'
|
30
|
+
gem 'erp_tech_svcs', '3.1.0'
|
31
|
+
gem 'erp_app', '3.1.0'
|
32
|
+
gem 'erp_forms', '2.1.0'
|
33
|
+
gem 'knitkit', '2.1.0'
|
34
|
+
gem 'rails_db_admin', '2.1.0'
|
35
|
+
gem 'compass_ae_console', '2.0.0'
|
36
36
|
"
|
37
37
|
|
38
38
|
puts <<-end
|
data/public/index.html
CHANGED
@@ -3,10 +3,7 @@
|
|
3
3
|
<head>
|
4
4
|
<title>compass_install_splash</title>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
6
|
-
<!-- Save for Web Styles (compass_install_splash.psd) -->
|
7
6
|
<style type="text/css">
|
8
|
-
<!--
|
9
|
-
|
10
7
|
a img {
|
11
8
|
border-style: none;
|
12
9
|
}
|
@@ -20,53 +17,10 @@ div.Table_01 {
|
|
20
17
|
height:768px;
|
21
18
|
}
|
22
19
|
|
23
|
-
div.main-bg_ {
|
24
|
-
position:absolute;
|
25
|
-
left:0px;
|
26
|
-
top:0px;
|
27
|
-
width:100%;
|
28
|
-
height:768px;
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
div.compass-install-splash-02_ {
|
33
|
-
position:absolute;
|
34
|
-
left:15px;
|
35
|
-
top:0px;
|
36
|
-
width:1009px;
|
37
|
-
height:97px;
|
38
|
-
}
|
39
|
-
|
40
|
-
div.compass-install-splash-03_ {
|
41
|
-
position:absolute;
|
42
|
-
left:15px;
|
43
|
-
top:97px;
|
44
|
-
width:232px;
|
45
|
-
height:311px;
|
46
|
-
}
|
47
|
-
|
48
20
|
div.compass-logo_ {
|
49
|
-
|
50
|
-
|
51
|
-
top:
|
52
|
-
width:538px;
|
53
|
-
height:274px;
|
54
|
-
}
|
55
|
-
|
56
|
-
div.compass-install-splash-05_ {
|
57
|
-
position:absolute;
|
58
|
-
left:785px;
|
59
|
-
top:97px;
|
60
|
-
width:239px;
|
61
|
-
height:311px;
|
62
|
-
}
|
63
|
-
|
64
|
-
div.compass-install-splash-06_ {
|
65
|
-
position:absolute;
|
66
|
-
left:247px;
|
67
|
-
top:371px;
|
68
|
-
width:538px;
|
69
|
-
height:37px;
|
21
|
+
text-align:center;
|
22
|
+
width:100%;
|
23
|
+
padding-top:200px;
|
70
24
|
}
|
71
25
|
|
72
26
|
div.browse-docs-icon_ {
|
@@ -93,129 +47,34 @@ div.contact-mgt-icon_ {
|
|
93
47
|
height:254px;
|
94
48
|
}
|
95
49
|
|
96
|
-
|
97
|
-
|
98
|
-
left:15px;
|
99
|
-
top:662px;
|
100
|
-
width:461px;
|
101
|
-
height:87px;
|
102
|
-
}
|
103
|
-
|
104
|
-
div.tn-logo_ {
|
105
|
-
position:absolute;
|
106
|
-
left:476px;
|
107
|
-
top:662px;
|
108
|
-
width:77px;
|
109
|
-
height:71px;
|
110
|
-
}
|
111
|
-
|
112
|
-
div.compass-install-splash-13_ {
|
113
|
-
position:absolute;
|
114
|
-
left:553px;
|
115
|
-
top:662px;
|
116
|
-
width:471px;
|
117
|
-
height:87px;
|
118
|
-
}
|
119
|
-
|
120
|
-
div.compass-install-splash-14_ {
|
121
|
-
position:absolute;
|
122
|
-
left:476px;
|
123
|
-
top:733px;
|
124
|
-
width:77px;
|
125
|
-
height:16px;
|
126
|
-
}
|
127
|
-
|
128
|
-
div.compass-install-splash-15_ {
|
129
|
-
position:absolute;
|
130
|
-
left:15px;
|
131
|
-
top:749px;
|
132
|
-
width:330px;
|
133
|
-
height:19px;
|
50
|
+
body {
|
51
|
+
background-color:black;
|
134
52
|
}
|
135
|
-
|
136
|
-
div.sponsored-by_ {
|
137
|
-
position:absolute;
|
138
|
-
left:345px;
|
139
|
-
top:749px;
|
140
|
-
width:342px;
|
141
|
-
height:19px;
|
142
|
-
}
|
143
|
-
|
144
|
-
div.compass-install-splash-17_ {
|
145
|
-
position:absolute;
|
146
|
-
left:687px;
|
147
|
-
top:749px;
|
148
|
-
width:337px;
|
149
|
-
height:19px;
|
150
|
-
}
|
151
|
-
|
152
|
-
-->
|
153
53
|
</style>
|
154
|
-
<!-- End Save for Web Styles -->
|
155
|
-
</head>
|
156
|
-
<body style="background-image:url(images/splash_screen/main_bg.png); ">
|
157
|
-
<!-- Save for Web Slices (compass_install_splash.psd) -->
|
158
|
-
|
159
54
|
|
55
|
+
</head>
|
56
|
+
<body>
|
160
57
|
|
161
58
|
<div class="Table_01">
|
162
|
-
<div class="main-bg_">
|
163
|
-
<img id="main_bg" src="images/splash_screen/main_bg.png" width="15" height="768" alt="" />
|
164
|
-
</div>
|
165
|
-
<div class="compass-install-splash-02_">
|
166
|
-
<img id="compass_install_splash_02" src="images/splash_screen/compass_install_splash_02.png" width="1009" height="97" alt="" />
|
167
|
-
</div>
|
168
|
-
<div class="compass-install-splash-03_">
|
169
|
-
<img id="compass_install_splash_03" src="images/splash_screen/compass_install_splash_03.png" width="232" height="311" alt="" />
|
170
|
-
</div>
|
171
59
|
<div class="compass-logo_">
|
172
|
-
<img id="compass_logo" src="images/
|
173
|
-
</div>
|
174
|
-
<div class="compass-install-splash-05_">
|
175
|
-
<img id="compass_install_splash_05" src="images/splash_screen/compass_install_splash_05.png" width="239" height="311" alt="" />
|
176
|
-
</div>
|
177
|
-
<div class="compass-install-splash-06_">
|
178
|
-
<img id="compass_install_splash_06" src="images/splash_screen/compass_install_splash_06.png" width="538" height="37" alt="" />
|
60
|
+
<img id="compass_logo" src="images/art/compass-ae-logo-reverse-1.png" alt="" />
|
179
61
|
</div>
|
180
62
|
<div class="browse-docs-icon_">
|
181
|
-
<a href="http://
|
63
|
+
<a href="http://tntech.biz/compassae" style="border-style: none;" target="_blank">
|
182
64
|
<img id="browse_docs_icon" src="images/splash_screen/browse_docs_icon.png" width="285" height="254" alt="" />
|
183
65
|
</a>
|
184
66
|
</div>
|
185
67
|
<div class="desktop-icon_">
|
186
|
-
<a href="/erp_app/
|
68
|
+
<a href="/erp_app/login" style="border-style: none;" target="_blank">
|
187
69
|
<img id="desktop_icon" src="images/splash_screen/desktop_icon.png" width="214" height="254" alt="" />
|
188
70
|
</a>
|
189
71
|
</div>
|
190
72
|
<div class="contact-mgt-icon_">
|
191
|
-
<a href="/erp_app/
|
73
|
+
<a href="/erp_app/login/csr" style="border-style: none;" target="_blank">
|
192
74
|
<img id="contact_mgt_icon" src="images/splash_screen/contact_mgt_icon.png" width="295" height="254" alt="" style="border-style: none;"/>
|
193
75
|
</a>
|
194
76
|
</div>
|
195
|
-
<div class="compass-install-splash-11_">
|
196
|
-
<img id="compass_install_splash_11" src="images/splash_screen/compass_install_splash_11.png" width="461" height="87" alt="" />
|
197
|
-
</div>
|
198
|
-
<div class="tn-logo_">
|
199
|
-
<img id="tn_logo" src="images/splash_screen/tn_logo.png" width="77" height="71" alt="" />
|
200
|
-
</div>
|
201
|
-
<div class="compass-install-splash-13_">
|
202
|
-
<img id="compass_install_splash_13" src="images/splash_screen/compass_install_splash_13.png" width="471" height="87" alt="" />
|
203
|
-
</div>
|
204
|
-
<div class="compass-install-splash-14_">
|
205
|
-
<img id="compass_install_splash_14" src="images/splash_screen/compass_install_splash_14.png" width="77" height="16" alt="" />
|
206
|
-
</div>
|
207
|
-
<div class="compass-install-splash-15_">
|
208
|
-
<img id="compass_install_splash_15" src="images/splash_screen/compass_install_splash_15.png" width="330" height="19" alt="" />
|
209
|
-
</div>
|
210
|
-
<div class="sponsored-by_">
|
211
|
-
<img id="sponsored_by" src="images/splash_screen/sponsored_by.png" width="342" height="19" alt="" />
|
212
|
-
</div>
|
213
|
-
<div class="compass-install-splash-17_">
|
214
|
-
<img id="compass_install_splash_17" src="images/splash_screen/compass_install_splash_17.png" width="337" height="19" alt="" />
|
215
|
-
</div>
|
216
77
|
</div>
|
217
78
|
|
218
|
-
|
219
|
-
<!-- End Save for Web Slices -->
|
220
79
|
</body>
|
221
80
|
</html>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass_ae_starter_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,104 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rspec-rails
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ~>
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 2.12.0
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 2.12.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: simplecov
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.7.1
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.7.1
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: spork
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.9.2
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.9.2
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: sqlite3
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.3.6
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.3.6
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: watchr
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0.7'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.7'
|
25
110
|
description: Contains compass_ae command to create a new Compass AE application
|
26
111
|
email:
|
27
112
|
- russonrails@gmail.com
|
@@ -41,8 +126,7 @@ files:
|
|
41
126
|
- public/index.html
|
42
127
|
- GPL-3-LICENSE
|
43
128
|
- README.md
|
44
|
-
-
|
45
|
-
YmluL2NvbXBhc3NfYWU=
|
129
|
+
- bin/compass_ae
|
46
130
|
homepage: http://development.compassagile.com
|
47
131
|
licenses: []
|
48
132
|
post_install_message:
|
@@ -55,15 +139,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
139
|
- - ! '>='
|
56
140
|
- !ruby/object:Gem::Version
|
57
141
|
version: '0'
|
142
|
+
segments:
|
143
|
+
- 0
|
144
|
+
hash: 3719803254994523329
|
58
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
146
|
none: false
|
60
147
|
requirements:
|
61
148
|
- - ! '>='
|
62
149
|
- !ruby/object:Gem::Version
|
63
150
|
version: '0'
|
151
|
+
segments:
|
152
|
+
- 0
|
153
|
+
hash: 3719803254994523329
|
64
154
|
requirements: []
|
65
155
|
rubyforge_project:
|
66
|
-
rubygems_version: 1.8.
|
156
|
+
rubygems_version: 1.8.24
|
67
157
|
signing_key:
|
68
158
|
specification_version: 3
|
69
159
|
summary: Gem to help get the Compass AE framework up a running
|