sprockets-amd 0.0.1
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 +15 -0
- data/lib/sprockets-amd.rb +23 -0
- metadata +57 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
!binary "U0hBMQ==":
|
|
3
|
+
metadata.gz: !binary |-
|
|
4
|
+
ZTE3NzBjNWQ2YTFlOGM1OTcwNzJjOTU0ZGVmZTJkMjg5OGFkYWUzNg==
|
|
5
|
+
data.tar.gz: !binary |-
|
|
6
|
+
NjIxYmVjMzViMGY2ZTc2MmRmOWI0ZTRmNWVkMjMzYzM3YjliMzc1Mg==
|
|
7
|
+
!binary "U0hBNTEy":
|
|
8
|
+
metadata.gz: !binary |-
|
|
9
|
+
OWE5MjFkOGJkZTBlNjc3YmM3NTEyN2FkNzBkMDUxMGZhNTQ5NTM5MWQ3NjNi
|
|
10
|
+
ZjhmZDA5ZmJhZThhYjc5MjAyMzViOTBiYzFlZTg1MzJiMTE4ODhmOTFkNjBj
|
|
11
|
+
ODBiY2QxYzE2YzI4YjFkOTA0YjhjNDVhZjRlMmRiY2QwN2YzZTc=
|
|
12
|
+
data.tar.gz: !binary |-
|
|
13
|
+
OTY1YjJhNzU5ZTEwNGU3YTU2NzljNDhlOWM0OTJkZDk2MWM2ZWU1NmY0Nzk0
|
|
14
|
+
M2MxZTMxZjE5MDEwMTIxMmViYTczNTk2MGM5NGViOTRjOGFlNmJjYTYwMTc4
|
|
15
|
+
MWRlZTg0NjgzZTlmYmM3ZjRmYTI4OWRiMjMyOTc0NjFlZmM0N2U=
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
require 'sprockets-amd/version'
|
|
2
|
+
|
|
3
|
+
require 'sprockets-amd/engine'
|
|
4
|
+
|
|
5
|
+
require "sprockets"
|
|
6
|
+
Sprockets::Engines # force autoload
|
|
7
|
+
Sprockets.register_engine '.amd', SprocketsAmd::AMDTemplate
|
|
8
|
+
|
|
9
|
+
module SprocketsAmd
|
|
10
|
+
|
|
11
|
+
class << self
|
|
12
|
+
|
|
13
|
+
def configure
|
|
14
|
+
yield config
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
def config
|
|
18
|
+
SprocketsAmd::AMDTemplate.config
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: sprockets-amd
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Vyacheslav Shebanov
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2013-04-05 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: tilt
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ! '>='
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ! '>='
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
27
|
+
description: Simple preprocessor for JavaScript files for adding AMD style definitions
|
|
28
|
+
email: terminal2010@gmail.com
|
|
29
|
+
executables: []
|
|
30
|
+
extensions: []
|
|
31
|
+
extra_rdoc_files: []
|
|
32
|
+
files:
|
|
33
|
+
- lib/sprockets-amd.rb
|
|
34
|
+
homepage: https://github.com/Termina1/sprockets-amd
|
|
35
|
+
licenses: []
|
|
36
|
+
metadata: {}
|
|
37
|
+
post_install_message:
|
|
38
|
+
rdoc_options: []
|
|
39
|
+
require_paths:
|
|
40
|
+
- lib
|
|
41
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
- - ! '>='
|
|
49
|
+
- !ruby/object:Gem::Version
|
|
50
|
+
version: '0'
|
|
51
|
+
requirements: []
|
|
52
|
+
rubyforge_project:
|
|
53
|
+
rubygems_version: 2.0.3
|
|
54
|
+
signing_key:
|
|
55
|
+
specification_version: 4
|
|
56
|
+
summary: Simple preprocessor for JavaScript files for adding AMD style definitions
|
|
57
|
+
test_files: []
|