ember-cli-assets 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +10 -0
- data/.travis.yml +12 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +46 -0
- data/Rakefile +22 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/ember-cli-assets.gemspec +24 -0
- data/lib/ember/cli/assets.rb +18 -0
- data/lib/ember/cli/assets/version.rb +7 -0
- data/lib/ember/cli/load_initializer.rb +7 -0
- data/lib/ember/cli/loader.rb +7 -0
- data/lib/ember/cli/resolver.rb +7 -0
- metadata +105 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6324475174da3b4678909377d0b7511296ddf7c3
|
4
|
+
data.tar.gz: 27164802110270844b351b0817ac1c1709973599
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a7d8bb8a72377d8b246a09e3b2b6f6f23f7e9b223a0824a951d86454902727d8c6250aca857477be01beb81f1213d36bd2a5926d5a772de7e730347c32841e77
|
7
|
+
data.tar.gz: d76f9dd296da2c98b2142ecc72c22e1018a149602ce41aa851266cd25fa42610517c26cc73f0568a6b5c4ecec34e1b80b5514aae6d1a7ef5a00135b31b1a7706
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Ryunosuke SATO
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
# Ember::CLI::Assets
|
2
|
+
|
3
|
+
The Ember CLI assets for Ruby.
|
4
|
+
|
5
|
+
The following assets are included:
|
6
|
+
* [loader.js](https://github.com/ember-cli/loader.js)
|
7
|
+
* [Ember Resolver](https://github.com/ember-cli/ember-resolver)
|
8
|
+
* [Ember load initializers](https://github.com/ember-cli/ember-load-initializers)
|
9
|
+
|
10
|
+
Thanks for all efforts by Ember CLI comunitiy.
|
11
|
+
|
12
|
+
This gem is aimed at the ES6 integration of [Ember Rails](https://github.com/emberjs/ember-rails).
|
13
|
+
|
14
|
+
## Installation
|
15
|
+
|
16
|
+
Add this line to your application's Gemfile:
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
gem 'ember-cli-assets'
|
20
|
+
```
|
21
|
+
|
22
|
+
And then execute:
|
23
|
+
|
24
|
+
```
|
25
|
+
$ bundle
|
26
|
+
```
|
27
|
+
|
28
|
+
Or install it yourself as:
|
29
|
+
|
30
|
+
```
|
31
|
+
$ gem install ember-cli-assets
|
32
|
+
```
|
33
|
+
|
34
|
+
## Development
|
35
|
+
|
36
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
|
37
|
+
|
38
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release` to create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
39
|
+
|
40
|
+
## Contributing
|
41
|
+
|
42
|
+
1. Fork it
|
43
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
44
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
45
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
46
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
2
|
+
require 'ember/cli/assets'
|
3
|
+
require 'rake/testtask'
|
4
|
+
|
5
|
+
task :default => :test
|
6
|
+
|
7
|
+
Rake::TestTask.new do |t|
|
8
|
+
t.libs << 'test'
|
9
|
+
t.warning = true
|
10
|
+
end
|
11
|
+
|
12
|
+
desc 'Clean assets'
|
13
|
+
task :clean_assets do
|
14
|
+
`rm vendor/assets/ember/*.js`
|
15
|
+
end
|
16
|
+
|
17
|
+
desc 'Update assets with current version'
|
18
|
+
task :update_assets do
|
19
|
+
`curl -o vendor/assets/ember/loader.js https://raw.githubusercontent.com/ember-cli/loader.js/v#{Ember::CLI::Loader::VERSION}/loader.js`
|
20
|
+
`curl -o vendor/assets/ember/resolver.js https://raw.githubusercontent.com/ember-cli/ember-resolver/v#{Ember::CLI::Resolver::VERSION}/dist/ember-resolver.js`
|
21
|
+
`curl -o vendor/assets/ember/load-initializers.js https://raw.githubusercontent.com/ember-cli/ember-load-initializers/v#{Ember::CLI::LoadInitializer::VERSION}/ember-load-initializers.js`
|
22
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'ember/cli/assets'
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require 'irb'
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'ember/cli/assets/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'ember-cli-assets'
|
7
|
+
spec.version = Ember::CLI::Assets::VERSION
|
8
|
+
spec.authors = ['Ryunosuke SATO']
|
9
|
+
spec.email = ['tricknotes.rs@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = %q{The assets for Ember CLI.}
|
12
|
+
spec.description = %q{The assets for Ember CLI.}
|
13
|
+
spec.homepage = 'https://github.com/tricknotes/ember-cli-assets'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + Dir['vendor/**/*']
|
17
|
+
spec.bindir = 'exe'
|
18
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler', '~> 1.8'
|
22
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
23
|
+
spec.add_development_dependency 'minitest', '~> 5.0'
|
24
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'pathname'
|
2
|
+
|
3
|
+
require 'ember/cli/assets/version'
|
4
|
+
|
5
|
+
module Ember
|
6
|
+
module CLI
|
7
|
+
autoload :Loader, 'ember/cli/loader'
|
8
|
+
autoload :LoadInitializer, 'ember/cli/load_initializer'
|
9
|
+
autoload :Resolver, 'ember/cli/resolver'
|
10
|
+
autoload :Shims, 'ember/cli/shims'
|
11
|
+
|
12
|
+
module Assets
|
13
|
+
def self.root
|
14
|
+
Pathname(__FILE__).join('../../../../vendor/assets')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ember-cli-assets
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ryunosuke SATO
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-03-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.8'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.8'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
description: The assets for Ember CLI.
|
56
|
+
email:
|
57
|
+
- tricknotes.rs@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".travis.yml"
|
64
|
+
- Gemfile
|
65
|
+
- LICENSE.txt
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- bin/console
|
69
|
+
- bin/setup
|
70
|
+
- ember-cli-assets.gemspec
|
71
|
+
- lib/ember/cli/assets.rb
|
72
|
+
- lib/ember/cli/assets/version.rb
|
73
|
+
- lib/ember/cli/load_initializer.rb
|
74
|
+
- lib/ember/cli/loader.rb
|
75
|
+
- lib/ember/cli/resolver.rb
|
76
|
+
- vendor/assets/ember/.keep
|
77
|
+
- vendor/assets/ember/load-initializers.js
|
78
|
+
- vendor/assets/ember/loader.js
|
79
|
+
- vendor/assets/ember/resolver.js
|
80
|
+
- vendor/assets/ember/shims.js
|
81
|
+
homepage: https://github.com/tricknotes/ember-cli-assets
|
82
|
+
licenses:
|
83
|
+
- MIT
|
84
|
+
metadata: {}
|
85
|
+
post_install_message:
|
86
|
+
rdoc_options: []
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - ">="
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
requirements: []
|
100
|
+
rubyforge_project:
|
101
|
+
rubygems_version: 2.4.5
|
102
|
+
signing_key:
|
103
|
+
specification_version: 4
|
104
|
+
summary: The assets for Ember CLI.
|
105
|
+
test_files: []
|