blueprint-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -20,11 +20,8 @@ To use it in your application, just include this gem in your Gemfile:
20
20
 
21
21
  And then, in your `app/assets/stylesheets/application.css`:
22
22
 
23
- /* ...
24
- *= require reset
25
- *= require typography
26
- *= require grid
27
- * ...
23
+ /*
24
+ *= require blueprint
28
25
  */
29
26
 
30
27
  ## Rails 3.0
@@ -33,6 +30,6 @@ I haven't had a chance to test it, yet.
33
30
 
34
31
  ## Uh... thank you's
35
32
 
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
33
+ This gem is just a quick attempt to extract blueprint stylesheets from my
34
+ applications in a centralized location. So, most of the copyrights go to Blueprint
38
35
  and jquery-rails contributors (beer's on me). Thank you guys!
@@ -0,0 +1,6 @@
1
+ /*
2
+ *= require blueprint/reset
3
+ *= require blueprint/grid
4
+ *= require blueprint/typography
5
+ *= require blueprint/forms
6
+ */
@@ -1,3 +1,6 @@
1
+ require 'action_controller'
2
+ require 'action_view'
3
+
1
4
  module Blueprint
2
5
  module Rails
3
6
  if ::Rails.version < "3.1"
@@ -6,4 +9,9 @@ module Blueprint
6
9
  require 'blueprint-rails/engine'
7
10
  end
8
11
  end
12
+
13
+ module Helpers
14
+ autoload :Helper, 'blueprint-rails/helpers/helper'
15
+ end
16
+ ActionController::Base.helper(Blueprint::Helpers::Helper)
9
17
  end
@@ -0,0 +1,11 @@
1
+ module Blueprint
2
+ module Helpers
3
+ module Helper
4
+ include ActionView::Helpers::AssetTagHelper
5
+
6
+ def blueprint_ie_fix_stylesheet_link_tag
7
+ ("<!--[if lt IE8]>"+stylesheet_link_tag("blueprint/ie")+"<![endif] -->").html_safe
8
+ end
9
+ end
10
+ end
11
+ end
@@ -1,5 +1,5 @@
1
1
  module Blueprint
2
2
  module Rails
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,111 +1,105 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: blueprint-rails
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.2
4
5
  prerelease:
5
- version: 0.1.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - beawesomeinstead
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-05-22 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-09 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
16
15
  name: railties
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70219901052340 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
18
+ requirements:
21
19
  - - ~>
22
- - !ruby/object:Gem::Version
23
- version: "3.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
24
22
  type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: thor
28
23
  prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70219901052340
25
+ - !ruby/object:Gem::Dependency
26
+ name: thor
27
+ requirement: &70219901051000 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
29
+ requirements:
32
30
  - - ~>
33
- - !ruby/object:Gem::Version
34
- version: "0.14"
31
+ - !ruby/object:Gem::Version
32
+ version: '0.14'
35
33
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: bundler
39
34
  prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70219901051000
36
+ - !ruby/object:Gem::Dependency
37
+ name: bundler
38
+ requirement: &70219901049760 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
40
+ requirements:
43
41
  - - ~>
44
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
45
43
  version: 1.0.0
46
44
  type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: rails
50
45
  prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70219901049760
47
+ - !ruby/object:Gem::Dependency
48
+ name: rails
49
+ requirement: &70219901048600 !ruby/object:Gem::Requirement
52
50
  none: false
53
- requirements:
51
+ requirements:
54
52
  - - ~>
55
- - !ruby/object:Gem::Version
56
- version: "3.0"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
57
55
  type: :development
58
- version_requirements: *id004
56
+ prerelease: false
57
+ version_requirements: *70219901048600
59
58
  description: This gem provides Blueprint CSS framework for your Rails 3 application.
60
59
  email: graf.otodrakula@gmail.com
61
60
  executables: []
62
-
63
61
  extensions: []
64
-
65
62
  extra_rdoc_files: []
66
-
67
- files:
63
+ files:
68
64
  - README.md
69
65
  - Rakefile
70
66
  - blueprint-rails.gemspec
67
+ - lib/assets/stylesheets/blueprint/index.css
71
68
  - lib/blueprint-rails.rb
72
69
  - lib/blueprint-rails/engine.rb
70
+ - lib/blueprint-rails/helpers/helper.rb
73
71
  - lib/blueprint-rails/railtie.rb
74
72
  - lib/blueprint-rails/version.rb
75
73
  - test/.gitkeep
76
74
  - vendor/assets/images/grid.png
77
- - vendor/assets/stylesheets/forms.css
78
- - vendor/assets/stylesheets/grid.css
79
- - vendor/assets/stylesheets/ie.css
80
- - vendor/assets/stylesheets/print.css
81
- - vendor/assets/stylesheets/reset.css
82
- - vendor/assets/stylesheets/typography.css
75
+ - vendor/assets/stylesheets/blueprint/forms.css
76
+ - vendor/assets/stylesheets/blueprint/grid.css
77
+ - vendor/assets/stylesheets/blueprint/ie.css
78
+ - vendor/assets/stylesheets/blueprint/print.css
79
+ - vendor/assets/stylesheets/blueprint/reset.css
80
+ - vendor/assets/stylesheets/blueprint/typography.css
83
81
  homepage: http://github.com/bai/blueprint-rails
84
82
  licenses: []
85
-
86
83
  post_install_message:
87
84
  rdoc_options: []
88
-
89
- require_paths:
85
+ require_paths:
90
86
  - lib
91
- required_ruby_version: !ruby/object:Gem::Requirement
87
+ required_ruby_version: !ruby/object:Gem::Requirement
92
88
  none: false
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: "0"
97
- required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
94
  none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
102
98
  version: 1.3.6
103
99
  requirements: []
104
-
105
- rubyforge_project: "[none]"
106
- rubygems_version: 1.7.2
100
+ rubyforge_project: ! '[none]'
101
+ rubygems_version: 1.8.10
107
102
  signing_key:
108
103
  specification_version: 3
109
104
  summary: Use Blueprint CSS framework with Rails 3
110
105
  test_files: []
111
-