blueprint-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -0,0 +1,38 @@
1
+ # blueprint-rails
2
+
3
+ This gem provides `reset`, `typography`, `grid`, `forms`, `ie`, and `print`
4
+ stylesheets from Blueprint CSS framework version 1.0.1.
5
+
6
+ We don't include those files in default stylesheets load paths, because you
7
+ may want not to use some of them.
8
+
9
+ ## Background grid
10
+
11
+ If you need `grid.png`, just use it in your stylesheets:
12
+
13
+ .showgrid { background:url('/assets/grid.png'); }
14
+
15
+ ## Rails 3.1
16
+
17
+ To use it in your application, just include this gem in your Gemfile:
18
+
19
+ gem 'blueprint-rails'
20
+
21
+ And then, in your `app/assets/stylesheets/application.css`:
22
+
23
+ /* ...
24
+ *= require reset
25
+ *= require typography
26
+ *= require grid
27
+ * ...
28
+ */
29
+
30
+ ## Rails 3.0
31
+
32
+ I haven't had a chance to test it, yet.
33
+
34
+ ## Uh... thank you's
35
+
36
+ This gem is just a quick attempt to extract those stylesheets from my
37
+ applications is a centralized location. So, most of the copyrigts go to Blueprint
38
+ and jquery-rails contributors (beer's on me). Thank you guys!
@@ -1,10 +1,7 @@
1
- # Configure Rails 3.0 to use public/javascripts/* et al
1
+ # I would put blueprint in defaults, but you may want to use only a part of it
2
2
  module Blueprint
3
3
  module Rails
4
4
  class Railtie < ::Rails::Railtie
5
- config.before_configuration do
6
- # config.action_view.javascript_expansions[:defaults] << %w(reset fonts grid)
7
- end
8
5
  end
9
6
  end
10
7
  end
@@ -1,5 +1,5 @@
1
1
  module Blueprint
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -19,7 +19,7 @@
19
19
 
20
20
  /* Use this class on any .span / container to see the grid. */
21
21
  .showgrid {
22
- background: url(src/grid.png);
22
+ background: url(/assets/grid.png);
23
23
  }
24
24
 
25
25
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: blueprint-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - beawesomeinstead