middleman-aria_current 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed1a17eadfd68508ba8bf1c572cdfa910b878f9a
4
- data.tar.gz: 86d2dfaa60bc5fb9d7f8c9344f4b00783bc26052
3
+ metadata.gz: ff16121cc057d7f72d132ba8babd104ee3a1741f
4
+ data.tar.gz: 34a9af9b635c01c9bee5e9def7a6f3ec62b27776
5
5
  SHA512:
6
- metadata.gz: db356f86365f428dba966a77b1d9399d7ccd3ab307a1a6a2e30c1f5e5f51167152c3ffcd812b8d3babe388b8e75daa12ca06364963cc4f99bf3b4dfe60ef76fc
7
- data.tar.gz: 3d10bf8cd475d29f1e0012f943b35ba88a03a6bde11e706cb360d6aaf82808bbc079afed1a3d9ba418d4f3dde1312fd171958284ba4396aeac3cbd8dba68fc21
6
+ metadata.gz: 3ff03e7f82183e64b0427745866d4a290011d58856063ea2edce3fd678e2b6bf7df1c195a6459218e05dad7822f32eebeb7be5fb6488b33676e09aab260a2f40
7
+ data.tar.gz: 9c427e58ee4b02279eb25f6d820d804f49499df4bf705b7a6746d5870c307491bc0ca57b8c0606c48dd51c2152629ec827819b3889455a562b9d1a202b077b7c
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
+ *gem
1
2
  /Gemfile.lock
2
3
  /pkg
@@ -0,0 +1,2 @@
1
+ ruby:
2
+ enabled: true
@@ -0,0 +1 @@
1
+ 2.4.0
@@ -8,6 +8,15 @@ The format is loosely based on [Keep a Changelog] and this project adheres to
8
8
  [Keep a Changelog]: http://keepachangelog.com/
9
9
  [Semantic Versioning]: http://semver.org/
10
10
 
11
+ ## [0.1.1] - 2017-03-19
12
+
13
+ ### Changed
14
+
15
+ - Relaxed `middleman-core` dependency from `~> 4.2` to `~> 4.0`. ([#13])
16
+
17
+ [0.1.1]: https://github.com/thoughtbot/middleman-aria_current/compare/v0.1.0...v0.1.1
18
+ [#13]: https://github.com/thoughtbot/middleman-aria_current/pull/13
19
+
11
20
  ## 0.1.0 - 2017-03-17
12
21
 
13
22
  ### Added
data/Gemfile CHANGED
@@ -1,19 +1,3 @@
1
1
  source "https://rubygems.org"
2
2
 
3
3
  gemspec
4
-
5
- group :development, :test do
6
- gem "middleman-cli"
7
- end
8
-
9
- group :development do
10
- gem "rake"
11
- gem "rdoc"
12
- gem "yard"
13
- end
14
-
15
- group :test do
16
- gem "cucumber"
17
- gem "aruba"
18
- gem "rspec"
19
- end
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017 Tyson Gach and thoughtbot, inc.
3
+ Copyright © 2017 Tyson Gach and thoughtbot, inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -10,33 +10,41 @@ detailing its usage][article].
10
10
  [spec]: https://www.w3.org/TR/wai-aria-1.1/#aria-current
11
11
  [article]: http://tink.uk/using-the-aria-current-attribute/
12
12
 
13
- # Install
13
+ # Installation
14
14
 
15
15
  1. Add middleman-aria_current to your `Gemfile`:
16
16
 
17
- ```
18
- gem "middleman-aria_current"
19
- ```
17
+ ```bash
18
+ gem "middleman-aria_current"
19
+ ```
20
20
 
21
- 1. Run:
21
+ 1. Install the gem:
22
22
 
23
- ```
24
- bundle install
25
- ```
23
+ ```bash
24
+ bundle install
25
+ ```
26
+
27
+ 1. Activate the extension in `config.rb`:
28
+
29
+ ```ruby
30
+ activate :aria_current
31
+ ```
26
32
 
27
33
  ## Usage
28
34
 
29
35
  ```erb
30
36
  <%= current_link_to "Home", "/" %>
37
+ <%= current_link_to "About", "/about" %>
31
38
  ```
32
39
 
33
40
  ```html
34
41
  <a href="/" aria-current="page">Home</a>
42
+ <a href="/about">About</a>
35
43
  ```
36
44
 
37
45
  ## License
38
46
 
39
- middleman-aria_current is Copyright (c) 2017 Tyson Gach and thoughtbot, inc.
47
+ middleman-aria_current is copyright © 2017 Tyson Gach and thoughtbot, inc.
40
48
  It is free software, and may be redistributed
41
49
  under the terms specified in the [LICENSE] file.
42
50
 
data/Rakefile CHANGED
@@ -1,14 +1,12 @@
1
1
  require "bundler"
2
- Bundler::GemHelper.install_tasks
3
-
4
2
  require "cucumber/rake/task"
3
+ require "rake/clean"
5
4
 
5
+ Bundler::GemHelper.install_tasks
6
6
  Cucumber::Rake::Task.new(:cucumber, "Run features that should pass") do |t|
7
7
  t.cucumber_opts = "--color --tags ~@wip --strict"
8
8
  end
9
9
 
10
- require "rake/clean"
11
-
12
10
  task test: ["cucumber"]
13
11
 
14
12
  task default: :test
@@ -0,0 +1,3 @@
1
+ test:
2
+ override:
3
+ - bundle exec rake test
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "middleman-aria_current"
6
- s.version = "0.1.0"
6
+ s.version = "0.1.1"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Tyson Gach", "Sean Doyle"]
9
9
  s.email = ["tyson@thoughtbot.com", "sean@thoughtbot.com"]
@@ -19,5 +19,11 @@ using `aria-current`.
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_runtime_dependency "middleman-core", "~> 4.2"
22
+ s.add_development_dependency "aruba", "~> 0.14"
23
+ s.add_development_dependency "capybara", "~> 2.13"
24
+ s.add_development_dependency "cucumber", "~> 2.4"
25
+ s.add_development_dependency "middleman-cli", "~> 4.0"
26
+ s.add_development_dependency "rake", "~> 12.0"
27
+ s.add_development_dependency "rspec", "~> 3.5"
28
+ s.add_runtime_dependency "middleman-core", "~> 4.0"
23
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-aria_current
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyson Gach
@@ -9,22 +9,106 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-17 00:00:00.000000000 Z
12
+ date: 2017-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: aruba
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '0.14'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '0.14'
28
+ - !ruby/object:Gem::Dependency
29
+ name: capybara
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '2.13'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '2.13'
42
+ - !ruby/object:Gem::Dependency
43
+ name: cucumber
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '2.4'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '2.4'
56
+ - !ruby/object:Gem::Dependency
57
+ name: middleman-cli
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '4.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '4.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rake
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '12.0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '12.0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rspec
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '3.5'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '3.5'
14
98
  - !ruby/object:Gem::Dependency
15
99
  name: middleman-core
16
100
  requirement: !ruby/object:Gem::Requirement
17
101
  requirements:
18
102
  - - "~>"
19
103
  - !ruby/object:Gem::Version
20
- version: '4.2'
104
+ version: '4.0'
21
105
  type: :runtime
22
106
  prerelease: false
23
107
  version_requirements: !ruby/object:Gem::Requirement
24
108
  requirements:
25
109
  - - "~>"
26
110
  - !ruby/object:Gem::Version
27
- version: '4.2'
111
+ version: '4.0'
28
112
  description:
29
113
  email:
30
114
  - tyson@thoughtbot.com
@@ -34,11 +118,14 @@ extensions: []
34
118
  extra_rdoc_files: []
35
119
  files:
36
120
  - ".gitignore"
121
+ - ".hound.yml"
122
+ - ".ruby-version"
37
123
  - CHANGELOG.md
38
124
  - Gemfile
39
125
  - LICENSE.md
40
126
  - README.md
41
127
  - Rakefile
128
+ - circle.yml
42
129
  - features/aria_current.feature
43
130
  - features/support/env.rb
44
131
  - fixtures/aria_current-app/build/index.html
@@ -71,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
158
  version: '0'
72
159
  requirements: []
73
160
  rubyforge_project:
74
- rubygems_version: 2.5.1
161
+ rubygems_version: 2.6.8
75
162
  signing_key:
76
163
  specification_version: 4
77
164
  summary: A Middleman extension for indicating a current (active) link using `aria-current`.