stylistic 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.
@@ -0,0 +1,26 @@
1
+ require 'rails'
2
+
3
+ class Stylistic < ::Rails::Railtie
4
+
5
+ generators do
6
+ require 'generators/stylistic/stylistic_generator.rb'
7
+ end
8
+
9
+ config.before_configuration do
10
+
11
+ javascripts = []
12
+ Dir.foreach(::Rails.root.join("public/javascripts/jquery/")) { |file| javascripts << 'jquery/'+file.to_s if /.js/.match(file.to_s) } if File.directory?(::Rails.root.join("public/javascripts/jquery/"))
13
+
14
+ stylesheets = []
15
+ Dir.foreach(::Rails.root.join("public/stylesheets/stylistic/")) { |file| stylesheets << 'stylistic/'+file.to_s if /.css/.match(file.to_s) } if File.directory?(::Rails.root.join("public/stylesheets/stylistic/"))
16
+
17
+ framework = []
18
+ Dir.foreach(::Rails.root.join("public/stylesheets/framework/")) { |file| framework << 'framework/'+file.to_s if /.css/.match(file.to_s) } if File.directory?(::Rails.root.join("public/stylesheets/framework/"))
19
+
20
+ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :stylistic => javascripts
21
+ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :stylistic => framework | stylesheets
22
+
23
+ end
24
+
25
+ end
26
+
@@ -0,0 +1,3 @@
1
+ module Stylistic
2
+ VERSION = "0.0.2"
3
+ end
@@ -0,0 +1,10 @@
1
+ Stylistic
2
+ =========
3
+
4
+ Stylistic is a gem that makes it easy to get started on a nice-looking Rails project.
5
+
6
+ It's being developed and is not quite ready for use yet.
7
+
8
+ It bundles some kickass open-source HTML and CSS "frameworks" and boilerplate code, includes jQuery replacement as a convenience and basically turns new Rails projects superstylistic in seconds.
9
+
10
+ [SO STYLISTIC](http://www.youtube.com/watch?v=Yu1Ezr1YEoY)
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "stylistic/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "stylistic"
7
+ s.version = Stylistic::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Jay Stakelon"]
10
+ s.email = ["stakes@jaystakelon.com"]
11
+ s.homepage = ""
12
+ s.summary = %q{Upgrade your default stylesheet and much more}
13
+ s.description = %q{This gem will make your Rails project so stylistic by installing (better) default scaffold styles, popular CSS grid frameworks and jQuery.}
14
+
15
+ s.rubyforge_project = "stylistic"
16
+
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
+ s.require_paths = ["lib"]
21
+ end
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stylistic
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 2
9
+ version: 0.0.2
10
+ platform: ruby
11
+ authors:
12
+ - Jay Stakelon
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-01-05 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: This gem will make your Rails project so stylistic by installing (better) default scaffold styles, popular CSS grid frameworks and jQuery.
22
+ email:
23
+ - stakes@jaystakelon.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - .gitignore
32
+ - 0.0.1
33
+ - Gemfile
34
+ - Rakefile
35
+ - lib/generators/stylistic/USAGE
36
+ - lib/generators/stylistic/stylistic_generator.rb
37
+ - lib/generators/stylistic/templates/960.css
38
+ - lib/generators/stylistic/templates/blueprint/ie.css
39
+ - lib/generators/stylistic/templates/blueprint/print.css
40
+ - lib/generators/stylistic/templates/blueprint/screen.css
41
+ - lib/generators/stylistic/templates/html5-reset.css
42
+ - lib/generators/stylistic/templates/jquery.min.js
43
+ - lib/generators/stylistic/templates/jquery.ui.min.js
44
+ - lib/generators/stylistic/templates/less.css
45
+ - lib/generators/stylistic/templates/rails.js
46
+ - lib/generators/stylistic/templates/squaregrid.css
47
+ - lib/generators/stylistic/templates/stylistic-scaffold.css
48
+ - lib/stylistic.rb
49
+ - lib/stylistic/version.rb
50
+ - readme.md
51
+ - stylistic.gemspec
52
+ has_rdoc: true
53
+ homepage: ""
54
+ licenses: []
55
+
56
+ post_install_message:
57
+ rdoc_options: []
58
+
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ segments:
67
+ - 0
68
+ version: "0"
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
76
+ version: "0"
77
+ requirements: []
78
+
79
+ rubyforge_project: stylistic
80
+ rubygems_version: 1.3.7
81
+ signing_key:
82
+ specification_version: 3
83
+ summary: Upgrade your default stylesheet and much more
84
+ test_files: []
85
+