sass-timestamp 0.0.2

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