mabtie 0.0.3 → 0.0.4.beta1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -10
- data/{public → app/assets}/images/button.png +0 -0
- data/{public → app/assets}/images/select_arrow.gif +0 -0
- data/{public → app/assets}/stylesheets/flutie.css +0 -0
- data/{public → app/assets}/stylesheets/sass/_defaults.scss +0 -0
- data/{public → app/assets}/stylesheets/sass/_forms.scss +0 -0
- data/{public → app/assets}/stylesheets/sass/_lists.scss +0 -0
- data/{public → app/assets}/stylesheets/sass/_reset.scss +0 -0
- data/{public → app/assets}/stylesheets/sass/_screen.scss +0 -0
- data/{public → app/assets}/stylesheets/sass/_tables.scss +0 -0
- data/{public → app/assets}/stylesheets/sass/_type.scss +0 -0
- data/{public → app/assets}/stylesheets/sass/flutie.scss +0 -0
- data/lib/tasks/flutie.rake +4 -4
- metadata +23 -19
data/README.md
CHANGED
@@ -8,28 +8,28 @@ Basic, default styles for rails applications
|
|
8
8
|
Installation & Upgrading
|
9
9
|
------------------------
|
10
10
|
|
11
|
-
|
11
|
+
Mabtie is a Rails engine. It works with versions of Rails greater than 3.0.
|
12
12
|
|
13
|
-
|
13
|
+
Mabtie is recommended to be run as a gem and included in your Gemfile:
|
14
14
|
|
15
|
-
gem "mabtie"
|
15
|
+
gem "mabtie"
|
16
16
|
|
17
17
|
After you've bundled, run the installer:
|
18
18
|
|
19
19
|
rake flutie:install
|
20
20
|
|
21
|
-
The installer will copy the
|
21
|
+
The installer will copy the mabtie stylesheets into **assets/stylesheets**
|
22
22
|
|
23
|
-
Once
|
23
|
+
Once Mabtie is installed, with your application running (not in production environment) you can browse to /styleguides. This will present you with many standard markup elements that are present in a Rails application, in your default application layout.
|
24
24
|
|
25
|
-
Click on the "Default styles" link to view the same markup with a barebones layout that only contains the
|
25
|
+
Click on the "Default styles" link to view the same markup with a barebones layout that only contains the Mabtie stylesheets. Click on "Application styles" to view the markup in your application layout.
|
26
26
|
|
27
27
|
To upgrade, bump the gem version in your Gemfile, and then run 'rake flutie:install' again to get the latest changes moved into your application.
|
28
28
|
|
29
29
|
Usage
|
30
30
|
-----
|
31
31
|
|
32
|
-
|
32
|
+
Mabtie registers a :flutie shortcut for stylesheets, so in your layout you can do...
|
33
33
|
|
34
34
|
bc. <%= stylesheet_link_tag :flutie, 'admin', :cache => true %>
|
35
35
|
|
@@ -74,10 +74,10 @@ Fork away and create a "Github Issue":http://github.com/mab879/mabtie/issues. Pl
|
|
74
74
|
Development
|
75
75
|
-----------
|
76
76
|
|
77
|
-
The actual stylesheet source files are sass, so edit the files in
|
77
|
+
The actual stylesheet source files are sass, so edit the files in app/assets/stylesheets/sass.
|
78
78
|
To rebuild the normal scss run:
|
79
79
|
|
80
|
-
sass -C --update
|
80
|
+
sass -C --update app/assets/stylesheets/sass:app/assets/stylesheets
|
81
81
|
|
82
82
|
Credits
|
83
83
|
-------
|
@@ -95,6 +95,6 @@ The form styleing is from [formalize](http://formalize.me/)
|
|
95
95
|
License
|
96
96
|
-------
|
97
97
|
|
98
|
-
|
98
|
+
FLutie is Copyright © 2010-2011 thoughtbot. It is free software, and may be redistributed under the terms specified in the LICENSE file.
|
99
99
|
|
100
100
|
Mabtie is Copyright © 2011 Matthew Burket.
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/tasks/flutie.rake
CHANGED
@@ -9,11 +9,11 @@ end
|
|
9
9
|
directory = File.dirname(__FILE__)
|
10
10
|
|
11
11
|
namespace :flutie do
|
12
|
-
desc 'install
|
12
|
+
desc 'install mabtie stylesheets into app/assets directory'
|
13
13
|
task :install => :environment do
|
14
|
-
# Copy the flutie stylesheets into rails_root/
|
15
|
-
copy_files("../../
|
14
|
+
# Copy the flutie stylesheets into rails_root/app/assets/mabtie
|
15
|
+
copy_files("../../app/assets/stylesheets", "/app/assets/mabtie", directory)
|
16
16
|
# Copy the images
|
17
|
-
copy_files("../../
|
17
|
+
copy_files("../../app/assets/images", "/app/assets/images")
|
18
18
|
end
|
19
19
|
end
|
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mabtie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 62196353
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
|
9
|
+
- 4
|
10
|
+
- beta
|
11
|
+
- 1
|
12
|
+
version: 0.0.4.beta1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Chad Pytel
|
@@ -51,23 +53,23 @@ files:
|
|
51
53
|
- app/controllers/flutie/styleguides_controller.rb
|
52
54
|
- app/views/layouts/flutie.erb
|
53
55
|
- app/views/flutie/styleguides/show.erb
|
56
|
+
- app/assets/stylesheets/sass/_reset.scss
|
57
|
+
- app/assets/stylesheets/sass/_type.scss
|
58
|
+
- app/assets/stylesheets/sass/_tables.scss
|
59
|
+
- app/assets/stylesheets/sass/_screen.scss
|
60
|
+
- app/assets/stylesheets/sass/_lists.scss
|
61
|
+
- app/assets/stylesheets/sass/_defaults.scss
|
62
|
+
- app/assets/stylesheets/sass/_forms.scss
|
63
|
+
- app/assets/stylesheets/sass/flutie.scss
|
64
|
+
- app/assets/stylesheets/flutie.css
|
65
|
+
- app/assets/images/select_arrow.gif
|
66
|
+
- app/assets/images/button.png
|
54
67
|
- config/initializers/expansion.rb
|
55
68
|
- config/initializers/sass.rb
|
56
69
|
- config/routes.rb
|
57
70
|
- lib/flutie.rb
|
58
71
|
- lib/tasks/flutie.rake
|
59
72
|
- lib/flutie/engine.rb
|
60
|
-
- public/stylesheets/sass/_reset.scss
|
61
|
-
- public/stylesheets/sass/_type.scss
|
62
|
-
- public/stylesheets/sass/_tables.scss
|
63
|
-
- public/stylesheets/sass/_screen.scss
|
64
|
-
- public/stylesheets/sass/_lists.scss
|
65
|
-
- public/stylesheets/sass/_defaults.scss
|
66
|
-
- public/stylesheets/sass/_forms.scss
|
67
|
-
- public/stylesheets/sass/flutie.scss
|
68
|
-
- public/stylesheets/flutie.css
|
69
|
-
- public/images/select_arrow.gif
|
70
|
-
- public/images/button.png
|
71
73
|
has_rdoc: true
|
72
74
|
homepage: http://github.com/mab879/mabtie
|
73
75
|
licenses: []
|
@@ -89,12 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
92
|
none: false
|
91
93
|
requirements:
|
92
|
-
- - "
|
94
|
+
- - ">"
|
93
95
|
- !ruby/object:Gem::Version
|
94
|
-
hash:
|
96
|
+
hash: 25
|
95
97
|
segments:
|
96
|
-
-
|
97
|
-
|
98
|
+
- 1
|
99
|
+
- 3
|
100
|
+
- 1
|
101
|
+
version: 1.3.1
|
98
102
|
requirements: []
|
99
103
|
|
100
104
|
rubyforge_project:
|