twitter-bootstrap-scaffold 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +0 -4
- data/lib/twitter-bootstrap-scaffold.rb +4 -15
- data/lib/twitter-bootstrap-scaffold/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -24,15 +24,11 @@ rails g bootstrap:scaffold
|
|
24
24
|
create app/assets/images/bootstrap
|
25
25
|
create app/assets/javascripts/bootstrap
|
26
26
|
create app/assets/stylesheets/bootstrap
|
27
|
-
create app/assets/images/bootstrap/one/two/three
|
28
27
|
create app/assets/images/bootstrap/glyphicons-halflings-white.png
|
29
28
|
create app/assets/images/bootstrap/glyphicons-halflings.png
|
30
29
|
create app/assets/javascripts/bootstrap/bootstrap.js
|
31
|
-
create app/assets/javascripts/bootstrap/bootstrap.min.js
|
32
30
|
create app/assets/stylesheets/bootstrap/bootstrap-responsive.css
|
33
|
-
create app/assets/stylesheets/bootstrap/bootstrap-responsive.min.css
|
34
31
|
create app/assets/stylesheets/bootstrap/bootstrap.css
|
35
|
-
create app/assets/stylesheets/bootstrap/bootstrap.min.css
|
36
32
|
----------
|
37
33
|
```
|
38
34
|
|
@@ -2,17 +2,6 @@
|
|
2
2
|
require 'rails/generators'
|
3
3
|
require "twitter-bootstrap-scaffold/version"
|
4
4
|
|
5
|
-
=begin
|
6
|
-
module Twitter
|
7
|
-
module Bootstrap
|
8
|
-
module Scaffold
|
9
|
-
# Your code goes here...
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
13
|
-
=end
|
14
|
-
|
15
|
-
|
16
5
|
module Bootstrap
|
17
6
|
module Generators
|
18
7
|
class ScaffoldGenerator < ::Rails::Generators::Base
|
@@ -27,7 +16,7 @@ module Bootstrap
|
|
27
16
|
empty_directory "app/assets/images/bootstrap"
|
28
17
|
empty_directory "app/assets/javascripts/bootstrap"
|
29
18
|
empty_directory "app/assets/stylesheets/bootstrap"
|
30
|
-
empty_directory "app/assets/images/bootstrap/one/two/three"
|
19
|
+
# empty_directory "app/assets/images/bootstrap/one/two/three"
|
31
20
|
|
32
21
|
# img/images
|
33
22
|
copy_file( "templates/bootstrap/img/glyphicons-halflings-white.png", "app/assets/images/bootstrap/glyphicons-halflings-white.png" )
|
@@ -35,13 +24,13 @@ module Bootstrap
|
|
35
24
|
|
36
25
|
# js/javascripts
|
37
26
|
copy_file( "templates/bootstrap/js/bootstrap.js", "app/assets/javascripts/bootstrap/bootstrap.js" )
|
38
|
-
copy_file( "templates/bootstrap/js/bootstrap.min.js", "app/assets/javascripts/bootstrap/bootstrap.min.js" )
|
27
|
+
# copy_file( "templates/bootstrap/js/bootstrap.min.js", "app/assets/javascripts/bootstrap/bootstrap.min.js" )
|
39
28
|
|
40
29
|
# css/stylesheets
|
41
30
|
copy_file( "templates/bootstrap/css/bootstrap-responsive.css", "app/assets/stylesheets/bootstrap/bootstrap-responsive.css" )
|
42
|
-
copy_file( "templates/bootstrap/css/bootstrap-responsive.min.css", "app/assets/stylesheets/bootstrap/bootstrap-responsive.min.css" )
|
31
|
+
# copy_file( "templates/bootstrap/css/bootstrap-responsive.min.css", "app/assets/stylesheets/bootstrap/bootstrap-responsive.min.css" )
|
43
32
|
copy_file( "templates/bootstrap/css/bootstrap.css", "app/assets/stylesheets/bootstrap/bootstrap.css" )
|
44
|
-
copy_file( "templates/bootstrap/css/bootstrap.min.css", "app/assets/stylesheets/bootstrap/bootstrap.min.css" )
|
33
|
+
# copy_file( "templates/bootstrap/css/bootstrap.min.css", "app/assets/stylesheets/bootstrap/bootstrap.min.css" )
|
45
34
|
end
|
46
35
|
end
|
47
36
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootstrap-scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Scaffold for Twitter Bootstrap.
|
15
15
|
email:
|
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
56
|
rubyforge_project:
|
57
|
-
rubygems_version: 1.8.
|
57
|
+
rubygems_version: 1.8.24
|
58
58
|
signing_key:
|
59
59
|
specification_version: 3
|
60
60
|
summary: Twitter Bootstrap Scaffold
|