twitter-bootstrap-scaffold 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -18,7 +18,23 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ ```
22
+ rails g bootstrap:scaffold
23
+ ----------
24
+ create app/assets/images/bootstrap
25
+ create app/assets/javascripts/bootstrap
26
+ create app/assets/stylesheets/bootstrap
27
+ create app/assets/images/bootstrap/one/two/three
28
+ create app/assets/images/bootstrap/glyphicons-halflings-white.png
29
+ create app/assets/images/bootstrap/glyphicons-halflings.png
30
+ create app/assets/javascripts/bootstrap/bootstrap.js
31
+ create app/assets/javascripts/bootstrap/bootstrap.min.js
32
+ create app/assets/stylesheets/bootstrap/bootstrap-responsive.css
33
+ create app/assets/stylesheets/bootstrap/bootstrap-responsive.min.css
34
+ create app/assets/stylesheets/bootstrap/bootstrap.css
35
+ create app/assets/stylesheets/bootstrap/bootstrap.min.css
36
+ ----------
37
+ ```
22
38
 
23
39
  ## Contributing
24
40
 
@@ -27,3 +43,7 @@ TODO: Write usage instructions here
27
43
  3. Commit your changes (`git commit -am 'Add some feature'`)
28
44
  4. Push to the branch (`git push origin my-new-feature`)
29
45
  5. Create new Pull Request
46
+
47
+ ## Thanks
48
+
49
+ Twitter Bootstrap http://twitter.github.com/bootstrap
@@ -16,6 +16,7 @@ end
16
16
  module Bootstrap
17
17
  module Generators
18
18
  class ScaffoldGenerator < ::Rails::Generators::Base
19
+ source_root File.expand_path("../twitter-bootstrap-scaffold", __FILE__)
19
20
  desc "This generator scaffold for Twitter Bootstrap"
20
21
 
21
22
  #-------------------#
@@ -26,6 +27,7 @@ module Bootstrap
26
27
  empty_directory "app/assets/images/bootstrap"
27
28
  empty_directory "app/assets/javascripts/bootstrap"
28
29
  empty_directory "app/assets/stylesheets/bootstrap"
30
+ empty_directory "app/assets/images/bootstrap/one/two/three"
29
31
 
30
32
  # img/images
31
33
  copy_file( "templates/bootstrap/img/glyphicons-halflings-white.png", "app/assets/images/bootstrap/glyphicons-halflings-white.png" )
@@ -1,7 +1,7 @@
1
1
  module Twitter
2
2
  module Bootstrap
3
3
  module Scaffold
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
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.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: