sniffux 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/sniffux/action_controller.rb +1 -1
- data/lib/sniffux/version.rb +1 -1
- data/sniffux.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Sniffux
|
2
2
|
|
3
|
-
Use user-agent string to reason about UX expectations. E.g. Should the Cancel button in
|
3
|
+
Use user-agent string to reason about UX expectations. E.g. Should the Cancel button in dialogues be on the left or the right? You may then use this information to serve your users a version of your site that matches their expectations and is consistent with the UX they are used to.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,9 +18,9 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
Rails:
|
21
|
+
Rails (the `sniffux` helper is automatically available):
|
22
22
|
|
23
|
-
<div id="alert" class="cancel
|
23
|
+
<div id="alert" class="cancel-<%=sniffux.cancel_side%>">
|
24
24
|
|
25
25
|
Other framework:
|
26
26
|
|
data/lib/sniffux/version.rb
CHANGED
data/sniffux.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Sniffux::VERSION
|
9
9
|
gem.authors = ["Simon George"]
|
10
10
|
gem.email = ["simon@sfcgeorge.co.uk"]
|
11
|
-
gem.description = %q{Use user-agent string to reason about UX expectations. E.g. Should the Cancel button in
|
11
|
+
gem.description = %q{Use user-agent string to reason about UX expectations. E.g. Should the Cancel button in dialogues be on the left or the right?}
|
12
12
|
gem.summary = %q{Reason about UX expectations.}
|
13
13
|
gem.homepage = "http://www.sfcgeorge.co.uk/posts/2013/04/20/enhancing-web-ux-consistency-sniffux"
|
14
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sniffux
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 0.5.0
|
30
30
|
description: Use user-agent string to reason about UX expectations. E.g. Should the
|
31
|
-
Cancel button in
|
31
|
+
Cancel button in dialogues be on the left or the right?
|
32
32
|
email:
|
33
33
|
- simon@sfcgeorge.co.uk
|
34
34
|
executables: []
|