wunderbar 1.1.0 → 1.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: 21f4fc73d344e0d9a2f46e7b8d72e5e3f1ad60e1
4
- data.tar.gz: 12fe5533a03fb8b6897d9d26866fbc47bdd6236c
3
+ metadata.gz: 196b894f6f9611d6f1a0cd7679b8c5a6dc29b69d
4
+ data.tar.gz: 0fd552897afcf09e71a435ea20e696246c0af852
5
5
  SHA512:
6
- metadata.gz: 158b9348e3db779c9d2e0f36e4f386acb75c53b4d11b93e958915d94d8f5010a28942553a99d9ab9cba26086b907cdf4ddab882bcf798769f7e8394a0566783e
7
- data.tar.gz: 0b4e52358e753ced888f0736cc2895c9a7b5a8f573c887af900ff401fd2929fc50699fbef29f94ec86d7c8942a335bb18952d50bd7ac4f625f4a88855e9f6f4d
6
+ metadata.gz: 11cd7fb182bce3f8afab7ecf8d74142f4bc7daa1840e01c8ddb09ac86ef3095a8fa83579d79a9f9930d1d919142a34f97940dc84547014250339afa45221e0cb
7
+ data.tar.gz: a73d2116764642309ccaba845cfa35a1819222766089e4425d3ced12e700617f34e1154cff0470211495844af21182c67e5700e36e4149134ef98b35f843c8a0
@@ -38,10 +38,7 @@ module Wunderbar
38
38
  if ENV['DOCUMENT_ROOT']
39
39
  root = File.join(ENV['DOCUMENT_ROOT'], 'assets').untaint
40
40
  dest = File.expand_path(@path, root).untaint
41
- if
42
- File.exist?(dest) and File.mtime(dest) >= @mtime and
43
- File.size(dest) == File.size(source)
44
- then
41
+ if File.exist?(dest) and File.size(dest) == File.size(source)
45
42
  @path = "/assets/#{@path}"
46
43
  return @path
47
44
  end
@@ -49,10 +46,7 @@ module Wunderbar
49
46
 
50
47
  # look for asset in app
51
48
  dest = File.expand_path(@path, Asset.root).untaint
52
- if
53
- File.exist?(dest) and File.mtime(dest) >= @mtime and
54
- File.size(dest) == File.size(source)
55
- then
49
+ if File.exist?(dest) and File.size(dest) == File.size(source)
56
50
  return @path
57
51
  end
58
52
 
@@ -135,6 +129,10 @@ module Wunderbar
135
129
  @@scripts
136
130
  end
137
131
 
132
+ def self.stylesheets
133
+ @@stylesheets
134
+ end
135
+
138
136
  def self.declarations(root, prefix)
139
137
  base = prefix.to_s + Asset.path
140
138
 
@@ -2,7 +2,7 @@ module Wunderbar
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 1
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/wunderbar.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: wunderbar 1.1.0 ruby lib
2
+ # stub: wunderbar 1.1.1 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "wunderbar".freeze
6
- s.version = "1.1.0"
6
+ s.version = "1.1.1"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Sam Ruby".freeze]
11
- s.date = "2017-05-09"
11
+ s.date = "2017-05-20"
12
12
  s.description = " Wunderbar makes it easy to produce valid HTML5, wellformed XHTML, Unicode\n (utf-8), consistently indented, readable applications.'\n".freeze
13
13
  s.email = "rubys@intertwingly.net".freeze
14
14
  s.files = ["COPYING".freeze, "README.md".freeze, "lib/wunderbar".freeze, "lib/wunderbar.rb".freeze, "lib/wunderbar/angularjs".freeze, "lib/wunderbar/angularjs.rb".freeze, "lib/wunderbar/angularjs/resource.rb".freeze, "lib/wunderbar/angularjs/route.rb".freeze, "lib/wunderbar/asset.rb".freeze, "lib/wunderbar/backtick.rb".freeze, "lib/wunderbar/bootstrap".freeze, "lib/wunderbar/bootstrap.rb".freeze, "lib/wunderbar/bootstrap/theme.rb".freeze, "lib/wunderbar/builder.rb".freeze, "lib/wunderbar/cgi-methods.rb".freeze, "lib/wunderbar/coderay.rb".freeze, "lib/wunderbar/coffeescript.rb".freeze, "lib/wunderbar/cssproxy.rb".freeze, "lib/wunderbar/environment.rb".freeze, "lib/wunderbar/eventsource.rb".freeze, "lib/wunderbar/html-methods.rb".freeze, "lib/wunderbar/installation.rb".freeze, "lib/wunderbar/job-control.rb".freeze, "lib/wunderbar/jquery".freeze, "lib/wunderbar/jquery.rb".freeze, "lib/wunderbar/jquery/filter.rb".freeze, "lib/wunderbar/jquery/stupidtable.rb".freeze, "lib/wunderbar/listen.rb".freeze, "lib/wunderbar/logger.rb".freeze, "lib/wunderbar/markdown.rb".freeze, "lib/wunderbar/marked.rb".freeze, "lib/wunderbar/node.rb".freeze, "lib/wunderbar/pagedown.rb".freeze, "lib/wunderbar/polymer.rb".freeze, "lib/wunderbar/rack.rb".freeze, "lib/wunderbar/rails.rb".freeze, "lib/wunderbar/react.rb".freeze, "lib/wunderbar/script.rb".freeze, "lib/wunderbar/server.rb".freeze, "lib/wunderbar/sinatra.rb".freeze, "lib/wunderbar/underscore.rb".freeze, "lib/wunderbar/vendor".freeze, "lib/wunderbar/vendor/Markdown.Converter.js".freeze, "lib/wunderbar/vendor/angular-resource.min.js".freeze, "lib/wunderbar/vendor/angular-route.min.js".freeze, "lib/wunderbar/vendor/angular.min.js".freeze, "lib/wunderbar/vendor/bootstrap-theme.min.css".freeze, "lib/wunderbar/vendor/bootstrap.min.css".freeze, "lib/wunderbar/vendor/bootstrap.min.js".freeze, "lib/wunderbar/vendor/eventsource.min.js".freeze, "lib/wunderbar/vendor/jquery-3.2.1.min.js".freeze, "lib/wunderbar/vendor/marked.min.js".freeze, "lib/wunderbar/vendor/polymer-v0.0.20131003.min.js".freeze, "lib/wunderbar/vendor/react-dom-server.min.js".freeze, "lib/wunderbar/vendor/react-dom.min.js".freeze, "lib/wunderbar/vendor/react-with-addons.min.js".freeze, "lib/wunderbar/vendor/stupidtable.min.js".freeze, "lib/wunderbar/vendor/underscore-min.js".freeze, "lib/wunderbar/version.rb".freeze, "lib/wunderbar/websocket.rb".freeze, "wunderbar.gemspec".freeze]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wunderbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-09 00:00:00.000000000 Z
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json