pwnstyles_rails 0.1.21 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -4,7 +4,7 @@ gem 'rails', '>= 3.2.3'
4
4
  gem 'sass-rails', '>= 3.2.5'
5
5
 
6
6
  group :development do
7
- gem 'shoulda', '>= 0'
7
+ gem 'minitest', '>= 3.0.0'
8
8
  gem 'bundler', '>= 1.1.0'
9
9
  gem 'jeweler', '>= 1.8.3'
10
10
  gem 'rcov', '>= 0', :platform => :mri_18
data/Gemfile.lock CHANGED
@@ -40,13 +40,14 @@ GEM
40
40
  rake
41
41
  rdoc
42
42
  journey (1.0.3)
43
- json (1.6.5)
43
+ json (1.7.1)
44
44
  mail (2.4.4)
45
45
  i18n (>= 0.4.0)
46
46
  mime-types (~> 1.16)
47
47
  treetop (~> 1.4.8)
48
48
  mime-types (1.18)
49
- multi_json (1.1.0)
49
+ minitest (3.0.0)
50
+ multi_json (1.3.4)
50
51
  polyglot (0.3.3)
51
52
  rack (1.4.1)
52
53
  rack-cache (1.2)
@@ -74,17 +75,16 @@ GEM
74
75
  rcov (1.0.0)
75
76
  rdoc (3.12)
76
77
  json (~> 1.4)
77
- sass (3.1.15)
78
+ sass (3.1.17)
78
79
  sass-rails (3.2.5)
79
80
  railties (~> 3.2.0)
80
81
  sass (>= 3.1.10)
81
82
  tilt (~> 1.3)
82
- shoulda (2.11.3)
83
- simplecov (0.6.0)
84
- multi_json (~> 1.0)
83
+ simplecov (0.6.2)
84
+ multi_json (~> 1.3)
85
85
  simplecov-html (~> 0.5.3)
86
86
  simplecov-html (0.5.3)
87
- sprockets (2.1.2)
87
+ sprockets (2.1.3)
88
88
  hike (~> 1.2)
89
89
  rack (~> 1.0)
90
90
  tilt (~> 1.1, != 1.3.0)
@@ -101,8 +101,8 @@ PLATFORMS
101
101
  DEPENDENCIES
102
102
  bundler (>= 1.1.0)
103
103
  jeweler (>= 1.8.3)
104
+ minitest (>= 3.0.0)
104
105
  rails (>= 3.2.3)
105
106
  rcov
106
107
  sass-rails (>= 3.2.5)
107
- shoulda
108
108
  simplecov
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.21
1
+ 0.1.22
@@ -1,4 +1,3 @@
1
1
  img {
2
2
  display: inline-block;
3
- vertical-align: bottom;
4
3
  }
@@ -57,3 +57,7 @@
57
57
  }
58
58
  }
59
59
  }
60
+
61
+ img.logo {
62
+ vertical-align: -$logo-image-baseline;
63
+ }
@@ -70,7 +70,6 @@
70
70
  color: inherit;
71
71
  img {
72
72
  -webkit-filter: grayscale(0.33);
73
- vertical-align: baseline;
74
73
  }
75
74
  }
76
75
  a:visited {
@@ -25,6 +25,9 @@ $h5-line-height: $main-line-height !default;
25
25
  $h6-font-size: $main-font-size * 1 !default;
26
26
  $h6-line-height: $main-line-height !default;
27
27
 
28
+ // The logo image is usually next to a heading.
29
+ $logo-image-baseline: 2px !default;
30
+
28
31
  // Header.
29
32
  $header-menu-font-size: 14pt !default;
30
- $header-menu-line-height: 1.5 !default;
33
+ $header-menu-line-height: 1.5 !default;
@@ -3,6 +3,9 @@
3
3
  // At the very least, you should set a primary color to distinguish the app.
4
4
  // $main-color1: hsl(240deg, 100%, 50%);
5
5
 
6
+ // If you use a logo image, set the height of the image's "baseline".
7
+ // $logo-image-baseline: 2px;
8
+
6
9
  // If you use non-standard fonts, don't forget to add @font-face definitions.
7
10
  // $main-font: Arial, Times, serif;
8
11
  // $heading-font: Helvetica, Tahoma, sans-serif;
@@ -4,7 +4,7 @@
4
4
  <li>
5
5
  <%= link_to root_path do %>
6
6
  <h1>
7
- <%= image_tag 'logo.png', :alt => '' %>
7
+ <%= image_tag 'logo.png', :class => 'logo', :alt => '' %>
8
8
  <span class="app-name">
9
9
  App Name
10
10
  </span>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pwnstyles_rails"
8
- s.version = "0.1.21"
8
+ s.version = "0.1.22"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Victor Costan"]
12
- s.date = "2012-04-18"
12
+ s.date = "2012-05-09"
13
13
  s.description = "Included CSS was designed for reuse across pwnb.us apps."
14
14
  s.email = "victor@costan.us"
15
15
  s.extra_rdoc_files = [
@@ -69,7 +69,7 @@ Gem::Specification.new do |s|
69
69
  s.homepage = "http://github.com/pwnall/pwnstyles_rails"
70
70
  s.licenses = ["MIT"]
71
71
  s.require_paths = ["lib"]
72
- s.rubygems_version = "1.8.22"
72
+ s.rubygems_version = "1.8.24"
73
73
  s.summary = "Rails 3 SCSS integration and non-trivial default style."
74
74
 
75
75
  if s.respond_to? :specification_version then
@@ -78,7 +78,7 @@ Gem::Specification.new do |s|
78
78
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
79
79
  s.add_runtime_dependency(%q<rails>, [">= 3.2.3"])
80
80
  s.add_runtime_dependency(%q<sass-rails>, [">= 3.2.5"])
81
- s.add_development_dependency(%q<shoulda>, [">= 0"])
81
+ s.add_development_dependency(%q<minitest>, [">= 3.0.0"])
82
82
  s.add_development_dependency(%q<bundler>, [">= 1.1.0"])
83
83
  s.add_development_dependency(%q<jeweler>, [">= 1.8.3"])
84
84
  s.add_development_dependency(%q<rcov>, [">= 0"])
@@ -86,7 +86,7 @@ Gem::Specification.new do |s|
86
86
  else
87
87
  s.add_dependency(%q<rails>, [">= 3.2.3"])
88
88
  s.add_dependency(%q<sass-rails>, [">= 3.2.5"])
89
- s.add_dependency(%q<shoulda>, [">= 0"])
89
+ s.add_dependency(%q<minitest>, [">= 3.0.0"])
90
90
  s.add_dependency(%q<bundler>, [">= 1.1.0"])
91
91
  s.add_dependency(%q<jeweler>, [">= 1.8.3"])
92
92
  s.add_dependency(%q<rcov>, [">= 0"])
@@ -95,7 +95,7 @@ Gem::Specification.new do |s|
95
95
  else
96
96
  s.add_dependency(%q<rails>, [">= 3.2.3"])
97
97
  s.add_dependency(%q<sass-rails>, [">= 3.2.5"])
98
- s.add_dependency(%q<shoulda>, [">= 0"])
98
+ s.add_dependency(%q<minitest>, [">= 3.0.0"])
99
99
  s.add_dependency(%q<bundler>, [">= 1.1.0"])
100
100
  s.add_dependency(%q<jeweler>, [">= 1.8.3"])
101
101
  s.add_dependency(%q<rcov>, [">= 0"])
data/test/helper.rb CHANGED
@@ -7,12 +7,14 @@ rescue Bundler::BundlerError => e
7
7
  $stderr.puts "Run `bundle install` to install missing gems"
8
8
  exit e.status_code
9
9
  end
10
- require 'test/unit'
11
- require 'shoulda'
10
+ require 'minitest/unit'
11
+ require 'minitest/spec'
12
12
 
13
13
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
14
  $LOAD_PATH.unshift(File.dirname(__FILE__))
15
15
  require 'pwnstyles_rails'
16
16
 
17
- class Test::Unit::TestCase
17
+ class MiniTest::Unit
18
18
  end
19
+
20
+ MiniTest::Unit.autorun
@@ -1,7 +1,7 @@
1
1
  require 'helper'
2
2
 
3
- class TestPwnstylesRails < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
3
+ describe 'PwnstylesRails' do
4
+ it 'fails' do
5
5
  flunk "hey buddy, you should probably rename this file and start testing for real"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwnstyles_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.21
4
+ version: 0.1.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-18 00:00:00.000000000 Z
12
+ date: 2012-05-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -44,13 +44,13 @@ dependencies:
44
44
  - !ruby/object:Gem::Version
45
45
  version: 3.2.5
46
46
  - !ruby/object:Gem::Dependency
47
- name: shoulda
47
+ name: minitest
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
51
  - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: 3.0.0
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,7 +58,7 @@ dependencies:
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 3.0.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: bundler
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -194,7 +194,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  segments:
196
196
  - 0
197
- hash: 2599914208928910354
197
+ hash: -3682663604570600785
198
198
  required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  none: false
200
200
  requirements:
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  requirements: []
205
205
  rubyforge_project:
206
- rubygems_version: 1.8.22
206
+ rubygems_version: 1.8.24
207
207
  signing_key:
208
208
  specification_version: 3
209
209
  summary: Rails 3 SCSS integration and non-trivial default style.