dryml-firemarker 0.0.11 → 0.0.12

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.11
1
+ 0.0.12
@@ -1,4 +1,3 @@
1
- version = File.read(File.expand_path('../VERSION', __FILE__)).strip
2
1
  require 'date'
3
2
 
4
3
  Gem::Specification.new do |s|
@@ -11,7 +10,7 @@ Gem::Specification.new do |s|
11
10
  s.extra_rdoc_files = ["README.md"]
12
11
  s.require_paths = ["lib"]
13
12
  s.files = `git ls-files -z`.split("\0")
14
- s.version = version
13
+ s.version = File.read(File.expand_path('../VERSION', __FILE__)).strip
15
14
  s.date = Date.today.to_s
16
15
  s.required_rubygems_version = ">= 1.3.6"
17
16
  s.rdoc_options = ["--charset=UTF-8"]
@@ -15,7 +15,7 @@ module DrymlRootModule
15
15
  <<-source
16
16
  <%= timestamp#{uid} = Time.now.to_f; %(<!--[dryml]#{json}-->) %>
17
17
  #{content}
18
- <%= %(<!--[/dryml]{"time":"\#{(Time.now.to_f - timestamp#{uid})*1000}ms"}-->) %>
18
+ <%= %(<!--[/dryml]{"time":"\#{((Time.now.to_f - timestamp#{uid})*1000).round}ms"}-->) %>
19
19
  source
20
20
  end
21
21
  end
@@ -14,7 +14,7 @@ module Dryml
14
14
  <<-source
15
15
  <% timestamp#{uid} = Time.now.to_f; safe_concat(%(<!--[dryml]#{json}-->)) %>
16
16
  #{content}
17
- <% safe_concat(%(<!--[/dryml]{"time":"\#{(Time.now.to_f - timestamp#{uid})*1000}ms"}-->)) %>
17
+ <% safe_concat(%(<!--[/dryml]{"time":"\#{((Time.now.to_f - timestamp#{uid})*1000).round}ms"}-->)) %>
18
18
  source
19
19
  end
20
20
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dryml-firemarker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
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-07-14 00:00:00.000000000 Z
12
+ date: 2012-08-29 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Dryml FireMarker annotates the output of Hobo and Rails apps that use
15
15
  the DRYML templating system.
@@ -19,7 +19,6 @@ extensions: []
19
19
  extra_rdoc_files:
20
20
  - README.md
21
21
  files:
22
- - .gitignore
23
22
  - LICENSE
24
23
  - README.md
25
24
  - VERSION
@@ -52,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
51
  version: 1.3.6
53
52
  requirements: []
54
53
  rubyforge_project:
55
- rubygems_version: 1.8.24
54
+ rubygems_version: 1.8.10
56
55
  signing_key:
57
56
  specification_version: 3
58
57
  summary: Adds DRYML markers viewable with FireMarker
data/.gitignore DELETED
@@ -1,23 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## Eclipse
22
- .loadpath
23
- .project