humane-rails 5.0.2 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/README.md +4 -0
- data/app/assets/javascripts/humane-rails.js +3 -3
- data/app/assets/stylesheets/humane-rails/flatty.css +3 -0
- data/app/helpers/humane_rails/flash_messages_helper.rb +14 -16
- data/humane-rails.gemspec +2 -3
- data/lib/humane-rails/engine.rb +0 -4
- data/lib/humane-rails/version.rb +1 -1
- data/vendor/assets/components/humane-js/changelog.md +8 -0
- data/vendor/assets/components/humane-js/humane.js +2 -1
- data/vendor/assets/components/humane-js/humane.min.js +11 -1
- data/vendor/assets/components/humane-js/index.html +5 -2
- data/vendor/assets/components/humane-js/package.json +10 -5
- data/vendor/assets/components/humane-js/readme.md +4 -4
- data/vendor/assets/components/humane-js/themes/flatty.css +94 -0
- metadata +33 -49
- data/spec/internal/log/test.log +0 -2323
- data/vendor/assets/components/humane-js/Makefile +0 -7
- data/vendor/assets/components/humane-js/component.json +0 -7
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NTY0YmNiNzQ3OGI1NTg2OGFkOTI0YTg4NzMwZDdiODljNzA5Njg4YTc1ODMz
|
10
|
-
MWVmMDczNjM3ZTA1MjRiMWE1ZjdmNGQxZGYzZTlkMjRjODEwNjBkNTg4MTZi
|
11
|
-
YTMzMjJhNzRiY2YwZjg4NGM0MDgyZjMzOWMwZjhhMWI4N2RmNzA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
M2NjNmI2MjhjMWNlZjAyZDBlYjZhMDQ5ZmMzNDk5ZDk0OGZiNjVmMWNmMTZl
|
14
|
-
ZDhmNGEyYWI1OWUwNDQxOGI5MjQxZmExNjYwZmQ0MzNjNDI5NDYzMDBhNmNl
|
15
|
-
YThlY2YwZGZiZDAyYThjNTUyMmUwMDQ0ZGRiZTNmMmJmN2UwYWU=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d0b60eedd90be5bd67827bf259fc241f17c879e6
|
4
|
+
data.tar.gz: 0a4cd72cf5ccaf484d4777168fd660382077d646
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8f431aef62bfc29cad8d5aaa8b83733eebfa65acab1692a4c7b598b3ca4ff08d3f019adb299a8e43e368ffcdcd2455d1eecc3093cb3dea423d835d22b2bc4a9a
|
7
|
+
data.tar.gz: 438e95e4b9a75597e088e2dd588e51c063addab07f4e6b9992f4f925f088b167ef3d8212c46291238b089f748c4db4df0a2222f4790458f7b3a92982cdad3688
|
data/README.md
CHANGED
@@ -45,6 +45,10 @@ and one of the following directives to the top of your `application.css`:
|
|
45
45
|
*= require humane-rails/jackedup
|
46
46
|
```
|
47
47
|
|
48
|
+
```css
|
49
|
+
*= require humane-rails/flatty
|
50
|
+
```
|
51
|
+
|
48
52
|
Don't forget to run `bundle update` after updating to the latest version of the gem to ensure that it is used by your Rails application.
|
49
53
|
|
50
54
|
The gem also provides a helper for displaying flash messages:
|
@@ -1,13 +1,13 @@
|
|
1
1
|
//= require humane-js/humane
|
2
2
|
|
3
3
|
humane.notice = humane.spawn({
|
4
|
-
addnCls: 'humane-info humane-bigbox-info humane-boldlight-info humane-jackedup-info humane-libnotify-info humane-original-info'
|
4
|
+
addnCls: 'humane-info humane-bigbox-info humane-boldlight-info humane-jackedup-info humane-libnotify-info humane-original-info humane-flatty-info'
|
5
5
|
});
|
6
6
|
|
7
7
|
humane.error = humane.spawn({
|
8
|
-
addnCls: 'humane-error humane-bigbox-error humane-boldlight-error humane-jackedup-error humane-libnotify-error humane-original-error'
|
8
|
+
addnCls: 'humane-error humane-bigbox-error humane-boldlight-error humane-jackedup-error humane-libnotify-error humane-original-error humane-flatty-error'
|
9
9
|
});
|
10
10
|
|
11
11
|
humane.alert = humane.spawn({
|
12
|
-
addnCls: 'humane-error humane-bigbox-error humane-boldlight-error humane-jackedup-error humane-libnotify-error humane-original-error'
|
12
|
+
addnCls: 'humane-error humane-bigbox-error humane-boldlight-error humane-jackedup-error humane-libnotify-error humane-original-error humane-flatty-error'
|
13
13
|
});
|
@@ -1,21 +1,19 @@
|
|
1
|
-
module HumaneRails
|
2
|
-
|
3
|
-
|
4
|
-
content = ""
|
1
|
+
module HumaneRails::FlashMessagesHelper
|
2
|
+
def humane_flash_messages
|
3
|
+
content = ""
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
unless flash[:error].blank?
|
11
|
-
content << javascript_tag("humane.error(\"#{escape_javascript(flash[:error])}\");")
|
12
|
-
end
|
5
|
+
unless flash[:notice].blank?
|
6
|
+
content << javascript_tag("humane.notice(\"#{escape_javascript(flash[:notice])}\");")
|
7
|
+
end
|
13
8
|
|
14
|
-
|
15
|
-
|
16
|
-
|
9
|
+
unless flash[:error].blank?
|
10
|
+
content << javascript_tag("humane.error(\"#{escape_javascript(flash[:error])}\");")
|
11
|
+
end
|
17
12
|
|
18
|
-
|
13
|
+
unless flash[:alert].blank?
|
14
|
+
content << javascript_tag("humane.alert(\"#{escape_javascript(flash[:alert])}\");")
|
19
15
|
end
|
16
|
+
|
17
|
+
content
|
20
18
|
end
|
21
|
-
end
|
19
|
+
end
|
data/humane-rails.gemspec
CHANGED
@@ -13,11 +13,10 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.license = "MIT"
|
14
14
|
|
15
15
|
s.files = Dir["{app,lib,vendor}/**/*", "humane-rails.gemspec", "Rakefile", "README.md"]
|
16
|
-
s.test_files = Dir["spec/**/*"]
|
16
|
+
s.test_files = Dir["spec/**/*"] - Dir["spec/internal/log/*.log"] - Dir["spec/internal/tmp/**/*"] - ["spec/internal/tmp"]
|
17
17
|
|
18
|
-
s.add_dependency "rails", ">= 3.
|
18
|
+
s.add_dependency "rails", ">= 3.2.0"
|
19
19
|
|
20
|
-
s.add_development_dependency "rails", "~> 3.1.0"
|
21
20
|
s.add_development_dependency "rspec-rails"
|
22
21
|
s.add_development_dependency "capybara"
|
23
22
|
s.add_development_dependency "poltergeist"
|
data/lib/humane-rails/engine.rb
CHANGED
data/lib/humane-rails/version.rb
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
* @author Marc Harter (@wavded)
|
5
5
|
* @example
|
6
6
|
* humane.log('hello world');
|
7
|
+
* @license MIT
|
7
8
|
* See more usage examples at: http://wavded.github.com/humane-js/
|
8
9
|
*/
|
9
10
|
|
@@ -226,4 +227,4 @@
|
|
226
227
|
create: function (o) { return new Humane(o) }
|
227
228
|
}
|
228
229
|
return new Humane()
|
229
|
-
})
|
230
|
+
});
|
@@ -1 +1,11 @@
|
|
1
|
-
|
1
|
+
;
|
2
|
+
/**
|
3
|
+
* humane.js
|
4
|
+
* Humanized Messages for Notifications
|
5
|
+
* @author Marc Harter (@wavded)
|
6
|
+
* @example
|
7
|
+
* humane.log('hello world');
|
8
|
+
* @license MIT
|
9
|
+
* See more usage examples at: http://wavded.github.com/humane-js/
|
10
|
+
*/
|
11
|
+
!function(name,context,definition){if(typeof module!=="undefined")module.exports=definition(name,context);else if(typeof define==="function"&&typeof define.amd==="object")define(definition);else context[name]=definition(name,context)}("humane",this,function(name,context){var win=window;var doc=document;var ENV={on:function(el,type,cb){"addEventListener"in win?el.addEventListener(type,cb,false):el.attachEvent("on"+type,cb)},off:function(el,type,cb){"removeEventListener"in win?el.removeEventListener(type,cb,false):el.detachEvent("on"+type,cb)},bind:function(fn,ctx){return function(){fn.apply(ctx,arguments)}},isArray:Array.isArray||function(obj){return Object.prototype.toString.call(obj)==="[object Array]"},config:function(preferred,fallback){return preferred!=null?preferred:fallback},transSupport:false,useFilter:/msie [678]/i.test(navigator.userAgent),_checkTransition:function(){var el=doc.createElement("div");var vendors={webkit:"webkit",Moz:"",O:"o",ms:"MS"};for(var vendor in vendors)if(vendor+"Transition"in el.style){this.vendorPrefix=vendors[vendor];this.transSupport=true}}};ENV._checkTransition();var Humane=function(o){o||(o={});this.queue=[];this.baseCls=o.baseCls||"humane";this.addnCls=o.addnCls||"";this.timeout="timeout"in o?o.timeout:2500;this.waitForMove=o.waitForMove||false;this.clickToClose=o.clickToClose||false;this.timeoutAfterMove=o.timeoutAfterMove||false;this.container=o.container;try{this._setupEl()}catch(e){ENV.on(win,"load",ENV.bind(this._setupEl,this))}};Humane.prototype={constructor:Humane,_setupEl:function(){var el=doc.createElement("div");el.style.display="none";if(!this.container){if(doc.body)this.container=doc.body;else throw"document.body is null"}this.container.appendChild(el);this.el=el;this.removeEvent=ENV.bind(function(){if(!this.timeoutAfterMove){this.remove()}else{setTimeout(ENV.bind(this.remove,this),this.timeout)}},this);this.transEvent=ENV.bind(this._afterAnimation,this);this._run()},_afterTimeout:function(){if(!ENV.config(this.currentMsg.waitForMove,this.waitForMove))this.remove();else if(!this.removeEventsSet){ENV.on(doc.body,"mousemove",this.removeEvent);ENV.on(doc.body,"click",this.removeEvent);ENV.on(doc.body,"keypress",this.removeEvent);ENV.on(doc.body,"touchstart",this.removeEvent);this.removeEventsSet=true}},_run:function(){if(this._animating||!this.queue.length||!this.el)return;this._animating=true;if(this.currentTimer){clearTimeout(this.currentTimer);this.currentTimer=null}var msg=this.queue.shift();var clickToClose=ENV.config(msg.clickToClose,this.clickToClose);if(clickToClose){ENV.on(this.el,"click",this.removeEvent);ENV.on(this.el,"touchstart",this.removeEvent)}var timeout=ENV.config(msg.timeout,this.timeout);if(timeout>0)this.currentTimer=setTimeout(ENV.bind(this._afterTimeout,this),timeout);if(ENV.isArray(msg.html))msg.html="<ul><li>"+msg.html.join("<li>")+"</ul>";this.el.innerHTML=msg.html;this.currentMsg=msg;this.el.className=this.baseCls;if(ENV.transSupport){this.el.style.display="block";setTimeout(ENV.bind(this._showMsg,this),50)}else{this._showMsg()}},_setOpacity:function(opacity){if(ENV.useFilter){try{this.el.filters.item("DXImageTransform.Microsoft.Alpha").Opacity=opacity*100}catch(err){}}else{this.el.style.opacity=String(opacity)}},_showMsg:function(){var addnCls=ENV.config(this.currentMsg.addnCls,this.addnCls);if(ENV.transSupport){this.el.className=this.baseCls+" "+addnCls+" "+this.baseCls+"-animate"}else{var opacity=0;this.el.className=this.baseCls+" "+addnCls+" "+this.baseCls+"-js-animate";this._setOpacity(0);this.el.style.display="block";var self=this;var interval=setInterval(function(){if(opacity<1){opacity+=.1;if(opacity>1)opacity=1;self._setOpacity(opacity)}else clearInterval(interval)},30)}},_hideMsg:function(){var addnCls=ENV.config(this.currentMsg.addnCls,this.addnCls);if(ENV.transSupport){this.el.className=this.baseCls+" "+addnCls;ENV.on(this.el,ENV.vendorPrefix?ENV.vendorPrefix+"TransitionEnd":"transitionend",this.transEvent)}else{var opacity=1;var self=this;var interval=setInterval(function(){if(opacity>0){opacity-=.1;if(opacity<0)opacity=0;self._setOpacity(opacity)}else{self.el.className=self.baseCls+" "+addnCls;clearInterval(interval);self._afterAnimation()}},30)}},_afterAnimation:function(){if(ENV.transSupport)ENV.off(this.el,ENV.vendorPrefix?ENV.vendorPrefix+"TransitionEnd":"transitionend",this.transEvent);if(this.currentMsg.cb)this.currentMsg.cb();this.el.style.display="none";this._animating=false;this._run()},remove:function(e){var cb=typeof e=="function"?e:null;ENV.off(doc.body,"mousemove",this.removeEvent);ENV.off(doc.body,"click",this.removeEvent);ENV.off(doc.body,"keypress",this.removeEvent);ENV.off(doc.body,"touchstart",this.removeEvent);ENV.off(this.el,"click",this.removeEvent);ENV.off(this.el,"touchstart",this.removeEvent);this.removeEventsSet=false;if(cb&&this.currentMsg)this.currentMsg.cb=cb;if(this._animating)this._hideMsg();else if(cb)cb()},log:function(html,o,cb,defaults){var msg={};if(defaults)for(var opt in defaults)msg[opt]=defaults[opt];if(typeof o=="function")cb=o;else if(o)for(var opt in o)msg[opt]=o[opt];msg.html=html;if(cb)msg.cb=cb;this.queue.push(msg);this._run();return this},spawn:function(defaults){var self=this;return function(html,o,cb){self.log.call(self,html,o,cb,defaults);return self}},create:function(o){return new Humane(o)}};return new Humane});
|
@@ -66,6 +66,8 @@
|
|
66
66
|
<link rel='stylesheet' href='themes/jackedup.css'/>
|
67
67
|
<link rel='stylesheet' href='themes/libnotify.css'/>
|
68
68
|
<link rel='stylesheet' href='themes/original.css'/>
|
69
|
+
<link rel='stylesheet' href='themes/flatty.css'/>
|
70
|
+
|
69
71
|
<script src='humane.js'></script>
|
70
72
|
</head>
|
71
73
|
<body>
|
@@ -76,13 +78,14 @@
|
|
76
78
|
<strong>A simple, modern, framework-independent, well-tested, unobtrusive, notification system.</strong>
|
77
79
|
<br/>Utilizes CSS transitions when available, falls back to JS animation when not. Includes mobile support.
|
78
80
|
</p>
|
79
|
-
<h3>Select a theme:
|
81
|
+
<h3>Select a theme:
|
80
82
|
<select onchange='humane.baseCls="humane-"+this.options[this.selectedIndex].value'>
|
81
83
|
<option selected>libnotify</option>
|
82
84
|
<option>bigbox</option>
|
83
85
|
<option>boldlight</option>
|
84
86
|
<option>jackedup</option>
|
85
87
|
<option>original</option>
|
88
|
+
<option>flatty</option>
|
86
89
|
</select>
|
87
90
|
</h3>
|
88
91
|
<p>Click a code sample below to see it in action:</p>
|
@@ -184,4 +187,4 @@ jacked.log("What's up here!")</pre>
|
|
184
187
|
}(pretags[i])) }
|
185
188
|
</script>
|
186
189
|
</body>
|
187
|
-
</html>
|
190
|
+
</html>
|
@@ -2,19 +2,24 @@
|
|
2
2
|
"author": "Marc Harter <@wavded> (wavded.com)",
|
3
3
|
"name": "humane-js",
|
4
4
|
"description": "A simple, modern, browser notification system",
|
5
|
-
"version": "3.
|
5
|
+
"version": "3.2.0",
|
6
6
|
"homepage": "http://wavded.github.com/humane-js/",
|
7
7
|
"repository": {
|
8
8
|
"type": "git",
|
9
9
|
"url": "git://github.com/wavded/humane-js.git"
|
10
10
|
},
|
11
11
|
"main": "humane.js",
|
12
|
+
"scripts": {
|
13
|
+
"watch": "stylus -u nib -w theme-src/*.styl -o themes/",
|
14
|
+
"minify": "uglifyjs --comments --preamble=\";\" humane.js > humane.min.js",
|
15
|
+
"serve": "python -m SimpleHTTPServer"
|
16
|
+
},
|
12
17
|
"engines": {},
|
13
18
|
"dependencies": {},
|
14
19
|
"devDependencies": {
|
15
|
-
"
|
16
|
-
"nib": "0.
|
17
|
-
"stylus": "0.
|
18
|
-
"
|
20
|
+
"canvas": "1.0.2",
|
21
|
+
"nib": "^1.0.3",
|
22
|
+
"stylus": "^0.47.3",
|
23
|
+
"uglify-js": "^2.4.15"
|
19
24
|
}
|
20
25
|
}
|
@@ -11,7 +11,7 @@ clear and grabs the users attention. It is framework independent. Customizable
|
|
11
11
|
Setup is simple:
|
12
12
|
|
13
13
|
- Download tar/zip
|
14
|
-
- Select a [theme](humane-js/wiki/Themes) from `themes` dir.
|
14
|
+
- Select a [theme](https://github.com/wavded/humane-js/wiki/Themes) from `themes` dir.
|
15
15
|
- Include the theme CSS in your page
|
16
16
|
- Include `humane.min.js` in your page
|
17
17
|
|
@@ -26,13 +26,13 @@ Got a neat theme/animation, love to see it. View `theme-src/bigbox.styl` for an
|
|
26
26
|
To get setup with Stylus use [npm](http://npmjs.org):
|
27
27
|
|
28
28
|
```sh
|
29
|
-
|
29
|
+
npm install --development
|
30
30
|
```
|
31
31
|
|
32
32
|
With Stylus installed you can watch for changes and compile into CSS by running:
|
33
33
|
|
34
34
|
```sh
|
35
|
-
|
35
|
+
npm run watch
|
36
36
|
```
|
37
37
|
|
38
38
|
## Desktop and Mobile Browser Support
|
@@ -64,7 +64,7 @@ Many thanks to the JS/Browser wizards that helped make this better, community ro
|
|
64
64
|
|
65
65
|
(The MIT License)
|
66
66
|
|
67
|
-
Copyright (c)
|
67
|
+
Copyright (c) 2014 Marc Harter <wavded@gmail.com>
|
68
68
|
|
69
69
|
Permission is hereby granted, free of charge, to any person obtaining
|
70
70
|
a copy of this software and associated documentation files (the
|
@@ -0,0 +1,94 @@
|
|
1
|
+
html,
|
2
|
+
body {
|
3
|
+
min-height: 100%;
|
4
|
+
}
|
5
|
+
.humane,
|
6
|
+
.humane-flatty {
|
7
|
+
position: fixed;
|
8
|
+
-moz-transition: all 0.4s ease-in-out;
|
9
|
+
-webkit-transition: all 0.4s ease-in-out;
|
10
|
+
-ms-transition: all 0.4s ease-in-out;
|
11
|
+
-o-transition: all 0.4s ease-in-out;
|
12
|
+
transition: all 0.4s ease-in-out;
|
13
|
+
z-index: 100000;
|
14
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
15
|
+
}
|
16
|
+
.humane,
|
17
|
+
.humane-flatty {
|
18
|
+
font-family: Helvetica Neue, Helvetica, san-serif;
|
19
|
+
font-size: 16px;
|
20
|
+
top: 0;
|
21
|
+
left: 30%;
|
22
|
+
opacity: 0;
|
23
|
+
width: 40%;
|
24
|
+
color: #444;
|
25
|
+
padding: 10px;
|
26
|
+
text-align: center;
|
27
|
+
background-color: #fff;
|
28
|
+
-webkit-border-bottom-right-radius: 3px;
|
29
|
+
-webkit-border-bottom-left-radius: 3px;
|
30
|
+
-moz-border-radius-bottomright: 3px;
|
31
|
+
-moz-border-radius-bottomleft: 3px;
|
32
|
+
border-bottom-right-radius: 3px;
|
33
|
+
border-bottom-left-radius: 3px;
|
34
|
+
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.5);
|
35
|
+
box-shadow: 0 1px 2px rgba(0,0,0,0.5);
|
36
|
+
-moz-transform: translateY(-100px);
|
37
|
+
-webkit-transform: translateY(-100px);
|
38
|
+
-ms-transform: translateY(-100px);
|
39
|
+
-o-transform: translateY(-100px);
|
40
|
+
transform: translateY(-100px);
|
41
|
+
}
|
42
|
+
.humane p,
|
43
|
+
.humane-flatty p,
|
44
|
+
.humane ul,
|
45
|
+
.humane-flatty ul {
|
46
|
+
margin: 0;
|
47
|
+
padding: 0;
|
48
|
+
}
|
49
|
+
.humane ul,
|
50
|
+
.humane-flatty ul {
|
51
|
+
list-style: none;
|
52
|
+
}
|
53
|
+
.humane.humane-flatty-info,
|
54
|
+
.humane-flatty.humane-flatty-info {
|
55
|
+
background-color: #3498db;
|
56
|
+
color: #FFF;
|
57
|
+
}
|
58
|
+
.humane.humane-flatty-success,
|
59
|
+
.humane-flatty.humane-flatty-success {
|
60
|
+
background-color: #18bc9c;
|
61
|
+
color: #FFF;
|
62
|
+
}
|
63
|
+
.humane.humane-flatty-error,
|
64
|
+
.humane-flatty.humane-flatty-error {
|
65
|
+
background-color: #e74c3c;
|
66
|
+
color: #FFF;
|
67
|
+
}
|
68
|
+
.humane-animate,
|
69
|
+
.humane-flatty.humane-flatty-animate {
|
70
|
+
opacity: 1;
|
71
|
+
-moz-transform: translateY(0);
|
72
|
+
-webkit-transform: translateY(0);
|
73
|
+
-ms-transform: translateY(0);
|
74
|
+
-o-transform: translateY(0);
|
75
|
+
transform: translateY(0);
|
76
|
+
}
|
77
|
+
.humane-animate:hover,
|
78
|
+
.humane-flatty.humane-flatty-animate:hover {
|
79
|
+
opacity: 0.7;
|
80
|
+
}
|
81
|
+
.humane-js-animate,
|
82
|
+
.humane-flatty.humane-flatty-js-animate {
|
83
|
+
opacity: 1;
|
84
|
+
-moz-transform: translateY(0);
|
85
|
+
-webkit-transform: translateY(0);
|
86
|
+
-ms-transform: translateY(0);
|
87
|
+
-o-transform: translateY(0);
|
88
|
+
transform: translateY(0);
|
89
|
+
}
|
90
|
+
.humane-js-animate:hover,
|
91
|
+
.humane-flatty.humane-flatty-js-animate:hover {
|
92
|
+
opacity: 0.7;
|
93
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
|
94
|
+
}
|
metadata
CHANGED
@@ -1,97 +1,83 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: humane-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0
|
4
|
+
version: 5.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Harrigan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
19
|
+
version: 3.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 3.1.0
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 3.1.0
|
26
|
+
version: 3.2.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rspec-rails
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- -
|
31
|
+
- - ">="
|
46
32
|
- !ruby/object:Gem::Version
|
47
33
|
version: '0'
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- -
|
38
|
+
- - ">="
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: '0'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: capybara
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
|
-
- -
|
45
|
+
- - ">="
|
60
46
|
- !ruby/object:Gem::Version
|
61
47
|
version: '0'
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- -
|
52
|
+
- - ">="
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: poltergeist
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- -
|
59
|
+
- - ">="
|
74
60
|
- !ruby/object:Gem::Version
|
75
61
|
version: '0'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- -
|
66
|
+
- - ">="
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: combustion
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- -
|
73
|
+
- - ">="
|
88
74
|
- !ruby/object:Gem::Version
|
89
75
|
version: '0'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- -
|
80
|
+
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '0'
|
97
83
|
description: A gemified version of Marc Harter's humane-js.
|
@@ -101,22 +87,34 @@ executables: []
|
|
101
87
|
extensions: []
|
102
88
|
extra_rdoc_files: []
|
103
89
|
files:
|
90
|
+
- README.md
|
91
|
+
- Rakefile
|
104
92
|
- app/assets/javascripts/humane-rails.js
|
105
93
|
- app/assets/stylesheets/humane-rails/bigbox.css
|
106
94
|
- app/assets/stylesheets/humane-rails/boldlight.css
|
95
|
+
- app/assets/stylesheets/humane-rails/flatty.css
|
107
96
|
- app/assets/stylesheets/humane-rails/jackedup.css
|
108
97
|
- app/assets/stylesheets/humane-rails/libnotify.css
|
109
98
|
- app/assets/stylesheets/humane-rails/original.css
|
110
99
|
- app/helpers/humane_rails/flash_messages_helper.rb
|
100
|
+
- humane-rails.gemspec
|
101
|
+
- lib/humane-rails.rb
|
111
102
|
- lib/humane-rails/engine.rb
|
112
103
|
- lib/humane-rails/version.rb
|
113
|
-
-
|
104
|
+
- spec/internal/app/assets/javascripts/application.js
|
105
|
+
- spec/internal/app/assets/stylesheets/application.css
|
106
|
+
- spec/internal/app/controllers/application_controller.rb
|
107
|
+
- spec/internal/app/controllers/flash_controller.rb
|
108
|
+
- spec/internal/app/views/flash/index.html.erb
|
109
|
+
- spec/internal/app/views/layouts/application.html.erb
|
110
|
+
- spec/internal/config/routes.rb
|
111
|
+
- spec/internal/public/favicon.ico
|
112
|
+
- spec/requests/navigation_spec.rb
|
113
|
+
- spec/spec_helper.rb
|
114
114
|
- vendor/assets/components/humane-js/changelog.md
|
115
|
-
- vendor/assets/components/humane-js/component.json
|
116
115
|
- vendor/assets/components/humane-js/humane.js
|
117
116
|
- vendor/assets/components/humane-js/humane.min.js
|
118
117
|
- vendor/assets/components/humane-js/index.html
|
119
|
-
- vendor/assets/components/humane-js/Makefile
|
120
118
|
- vendor/assets/components/humane-js/package.json
|
121
119
|
- vendor/assets/components/humane-js/readme.md
|
122
120
|
- vendor/assets/components/humane-js/test/issue23.html
|
@@ -129,23 +127,10 @@ files:
|
|
129
127
|
- vendor/assets/components/humane-js/theme-src/original.styl
|
130
128
|
- vendor/assets/components/humane-js/themes/bigbox.css
|
131
129
|
- vendor/assets/components/humane-js/themes/boldlight.css
|
130
|
+
- vendor/assets/components/humane-js/themes/flatty.css
|
132
131
|
- vendor/assets/components/humane-js/themes/jackedup.css
|
133
132
|
- vendor/assets/components/humane-js/themes/libnotify.css
|
134
133
|
- vendor/assets/components/humane-js/themes/original.css
|
135
|
-
- humane-rails.gemspec
|
136
|
-
- Rakefile
|
137
|
-
- README.md
|
138
|
-
- spec/internal/app/assets/javascripts/application.js
|
139
|
-
- spec/internal/app/assets/stylesheets/application.css
|
140
|
-
- spec/internal/app/controllers/application_controller.rb
|
141
|
-
- spec/internal/app/controllers/flash_controller.rb
|
142
|
-
- spec/internal/app/views/flash/index.html.erb
|
143
|
-
- spec/internal/app/views/layouts/application.html.erb
|
144
|
-
- spec/internal/config/routes.rb
|
145
|
-
- spec/internal/log/test.log
|
146
|
-
- spec/internal/public/favicon.ico
|
147
|
-
- spec/requests/navigation_spec.rb
|
148
|
-
- spec/spec_helper.rb
|
149
134
|
homepage: http://github.com/harrigan/humane-rails
|
150
135
|
licenses:
|
151
136
|
- MIT
|
@@ -156,17 +141,17 @@ require_paths:
|
|
156
141
|
- lib
|
157
142
|
required_ruby_version: !ruby/object:Gem::Requirement
|
158
143
|
requirements:
|
159
|
-
- -
|
144
|
+
- - ">="
|
160
145
|
- !ruby/object:Gem::Version
|
161
146
|
version: '0'
|
162
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
148
|
requirements:
|
164
|
-
- -
|
149
|
+
- - ">="
|
165
150
|
- !ruby/object:Gem::Version
|
166
151
|
version: '0'
|
167
152
|
requirements: []
|
168
153
|
rubyforge_project:
|
169
|
-
rubygems_version: 2.0
|
154
|
+
rubygems_version: 2.2.0
|
170
155
|
signing_key:
|
171
156
|
specification_version: 4
|
172
157
|
summary: A gemified version of Marc Harter's humane-js.
|
@@ -178,7 +163,6 @@ test_files:
|
|
178
163
|
- spec/internal/app/views/flash/index.html.erb
|
179
164
|
- spec/internal/app/views/layouts/application.html.erb
|
180
165
|
- spec/internal/config/routes.rb
|
181
|
-
- spec/internal/log/test.log
|
182
166
|
- spec/internal/public/favicon.ico
|
183
167
|
- spec/requests/navigation_spec.rb
|
184
168
|
- spec/spec_helper.rb
|