sass-timestamp 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. data/lib/sass-timestamp.rb +4 -0
  2. metadata +10 -6
  3. checksums.yaml +0 -15
@@ -6,4 +6,8 @@ module Sass::Script::Functions
6
6
  def timestamp()
7
7
  return Sass::Script::String.new(Time.now.to_s)
8
8
  end
9
+
10
+ def unix_timestamp()
11
+ return Sass::Script::String.new(Time.now.to_i.to_s)
12
+ end
9
13
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-timestamp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - madastro
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-09-03 00:00:00.000000000 Z
12
+ date: 2015-02-02 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: sass
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,11 +22,12 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: '3.2'
27
- description: Sass function for addimg timestamps to compiled CSS.
30
+ description: Sass function for adding timestamps to compiled CSS.
28
31
  email: hello@madastro.com
29
32
  executables: []
30
33
  extensions: []
@@ -34,25 +37,26 @@ files:
34
37
  homepage: https://github.com/madastro/sass-timestamp
35
38
  licenses:
36
39
  - MIT
37
- metadata: {}
38
40
  post_install_message:
39
41
  rdoc_options: []
40
42
  require_paths:
41
43
  - lib
42
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
+ none: false
43
46
  requirements:
44
47
  - - ! '>='
45
48
  - !ruby/object:Gem::Version
46
49
  version: '0'
47
50
  required_rubygems_version: !ruby/object:Gem::Requirement
51
+ none: false
48
52
  requirements:
49
53
  - - ! '>='
50
54
  - !ruby/object:Gem::Version
51
55
  version: '0'
52
56
  requirements: []
53
57
  rubyforge_project:
54
- rubygems_version: 2.4.1
58
+ rubygems_version: 1.8.29
55
59
  signing_key:
56
- specification_version: 4
60
+ specification_version: 3
57
61
  summary: SASS compile timestamp function
58
62
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ODI2NTAyNmJjNTM2MGY5ZmIxOGM5YjEyNzE1YjVjOTg4NTVhMTk0ZA==
5
- data.tar.gz: !binary |-
6
- YzBlZmE0Y2FjODc1MzA4NTQ0NmYyNzA5NDJkMDNlOTMwY2ZkYjYwZQ==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- OGFlMGM5NTA3ZTY2ZWQ4NjIyYTgwNTUwMmNlNzcwMDdjMjRhNjQxMDE1M2U4
10
- ZGExMjMwNmVmZjY4ZGEyMThiYjY1MjU0MTc4NjIwNjBmZmU5ZWMwZjE2MDFm
11
- NGYzODFlMzFhZGJhYjFlY2Y1MzlmZDhkNDRkYTM1NTU3NzdlOWE=
12
- data.tar.gz: !binary |-
13
- ZDE5NjU2ODNkMzY0NDBiMDNkMjAwZTBlZjgzM2RkYTZiNTg2ZDNhYTEzYjVh
14
- NjdlZTJjNDZlMTQwMDBkZTcwYTNjYjEyNDgzNjI1ODI0MGQyMjkxYmE0YTY1
15
- OTgwM2RiZmQ5Zjk1NGU0MTg3OTI2M2RkOWM0ZTUyYWU1ODE1NGQ=