jbootstrap 0.0.4.1 → 0.0.5
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/jbootstrap.gemspec +1 -1
- data/lib/jbootstrap/generators/component.rb +9 -9
- metadata +1 -1
data/jbootstrap.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'jbootstrap'
|
|
3
|
-
s.version = '0.0.
|
|
3
|
+
s.version = '0.0.5'
|
|
4
4
|
s.date = '2012-11-12'
|
|
5
5
|
s.summary = 'Generator and abstract classes for Joomla 1.5 components.'
|
|
6
6
|
s.description = 'Generator and abstract classes for Joomla 1.5 components.'
|
|
@@ -27,14 +27,6 @@ module JBootstrap
|
|
|
27
27
|
template "com_COM_NAME.xml.tt", "com_#{@name.downcase}.xml"
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
def create_helpers
|
|
31
|
-
copy_file "gitignore", ".gitignore"
|
|
32
|
-
copy_file "Guardfile"
|
|
33
|
-
copy_file "Gemfile"
|
|
34
|
-
run "bundle check"
|
|
35
|
-
run "bundle install"
|
|
36
|
-
end
|
|
37
|
-
|
|
38
30
|
def create_backend
|
|
39
31
|
directory "admin/abstracts"
|
|
40
32
|
copy_file "admin/install.php", "admin/install.php"
|
|
@@ -54,9 +46,17 @@ module JBootstrap
|
|
|
54
46
|
template "site/controller.php.tt"
|
|
55
47
|
end
|
|
56
48
|
|
|
49
|
+
def create_helpers
|
|
50
|
+
copy_file "gitignore", ".gitignore"
|
|
51
|
+
copy_file "Guardfile"
|
|
52
|
+
copy_file "Gemfile"
|
|
53
|
+
run "bundle check"
|
|
54
|
+
run "bundle install"
|
|
55
|
+
end
|
|
56
|
+
|
|
57
57
|
def init_git
|
|
58
58
|
run "git init ."
|
|
59
|
-
run "git add -
|
|
59
|
+
run "git add -A"
|
|
60
60
|
run "git commit -m 'Initial import.'"
|
|
61
61
|
end
|
|
62
62
|
end
|