aurelia 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: bec5e457b37f0f5164769f8116555b984546ba17
4
+ data.tar.gz: bdca890df202163d21dbf013903bf08bca072d67
5
+ SHA512:
6
+ metadata.gz: 52f76a19bcc68bb2f99a3f86dfd2d57ce5706ee95fde2e4214d883c20b283936d0c6401b3047edab978a8c64d962d776c3d409ad416c223f8d6d75393557b624
7
+ data.tar.gz: 549cf759235f72ea70129fa9878494fa36f8a45ec85c9e9a802f04815d817bf6c0951b771d1da94a6128358dad0c05b631c912ae6a825ad97a6c38a78704b103
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.3
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in aurelia_wrapper.gemspec
4
+ gemspec
5
+
6
+ gem "rails", "4.2.4"
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Gustavo Barrientos
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.
@@ -0,0 +1,41 @@
1
+ # AureliaWrapper
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/aurelia`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'aurelia'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install aurelia
22
+
23
+ ## Usage
24
+
25
+ $ rails g aurelia:install
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ 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`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/acidstudios/aurelia.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,13 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require jspm
@@ -0,0 +1,2 @@
1
+ //= require jspm_packages/system.src.js
2
+ //= require config.js
@@ -0,0 +1,6 @@
1
+ class Aurelia::AureliaController < ApplicationController
2
+ layout "appaurelia"
3
+
4
+ def index
5
+ end
6
+ end
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Aurelia Rails</title>
5
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
+ <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
+
8
+ <%= csrf_meta_tags %>
9
+ </head>
10
+ <body aurelia-app="main">
11
+
12
+ <%= yield %>
13
+
14
+ </body>
15
+ </html>
@@ -0,0 +1,3 @@
1
+ <script>
2
+ System.import('aurelia-bootstrapper');
3
+ </script>
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'aurelia/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "aurelia"
8
+ spec.version = Aurelia::VERSION
9
+ spec.authors = ["Gustavo Barrientos"]
10
+ spec.email = ["gustavo.barrientos@acidstudios.me"]
11
+
12
+ spec.summary = "Integrate Aurelia.io in your Rails project"
13
+ spec.description = "Integrate Aurelia.io in your Rails project."
14
+ spec.homepage = "http://www.github.com/acidstudios/aurelia"
15
+ spec.license = "MIT"
16
+
17
+ spec.required_ruby_version = '>= 2.2.2'
18
+ spec.required_rubygems_version = '>= 1.8.11'
19
+
20
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.10"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec"
28
+ spec.add_development_dependency "rails", "4.2.4"
29
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "aurelia_wrapper"
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
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,7 @@
1
+ require 'rails/all'
2
+ module Aurelia
3
+ class Application < Rails::Application
4
+ config.assets.paths << Rails.root.join("assets")
5
+ config.assets.paths << Rails.root.join("fonts")
6
+ end
7
+ end
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ get 'welcome/index'
3
+ end
@@ -0,0 +1,6 @@
1
+ require "aurelia/version"
2
+ require "aurelia/engine"
3
+
4
+ module Aurelia
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,4 @@
1
+ module Aurelia
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module Aurelia
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,22 @@
1
+ require 'rails/generators/base'
2
+
3
+ module Aurelia
4
+ class InstallGenerator < Rails::Generators::Base
5
+ source_root File.expand_path("../../", __FILE__)
6
+
7
+ desc "Install all dependencies for Aurelia, and integrates into Rails App"
8
+ def copy_package_json
9
+ copy_file "js/package.json", "package.json"
10
+ end
11
+
12
+ def copy_sample_app
13
+ directory "js/", "assets/"
14
+ remove_file("assets/package.json")
15
+ end
16
+
17
+ def restore_packages
18
+ exec "jspm install && jspm dl-loader"
19
+ end
20
+
21
+ end
22
+ end
@@ -0,0 +1,10 @@
1
+ <template>
2
+ <require from="nav-bar.html"></require>
3
+ <require from="bootstrap/css/bootstrap.css"></require>
4
+
5
+ <nav-bar router.bind="router"></nav-bar>
6
+
7
+ <div class="page-host">
8
+ <router-view></router-view>
9
+ </div>
10
+ </template>
@@ -0,0 +1,10 @@
1
+ export class App {
2
+ configureRouter(config, router){
3
+ config.title = 'Aurelia Rails';
4
+ config.map([
5
+ { route: ['','welcome'], name: 'welcome', moduleId: 'welcome', nav: true, title:'Welcome' },
6
+ ]);
7
+
8
+ this.router = router;
9
+ }
10
+ }
@@ -0,0 +1,179 @@
1
+ System.config({
2
+ baseURL: "/assets/",
3
+ defaultJSExtensions: true,
4
+ transpiler: "babel",
5
+ babelOptions: {
6
+ "optional": [
7
+ "runtime",
8
+ "es7.decorators",
9
+ "es7.classProperties",
10
+ ]
11
+ },
12
+ paths: {
13
+ "*": "*.js",
14
+ "github:*": "jspm_packages/github/*",
15
+ "npm:*": "jspm_packages/npm/*"
16
+ },
17
+
18
+ map: {
19
+ "aurelia-animator-css": "github:aurelia/animator-css@0.16.0",
20
+ "aurelia-binding": "github:aurelia/binding@0.9.0",
21
+ "aurelia-bootstrapper": "github:aurelia/bootstrapper@0.17.0",
22
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
23
+ "aurelia-event-aggregator": "github:aurelia/event-aggregator@0.8.0",
24
+ "aurelia-fetch-client": "github:aurelia/fetch-client@0.2.0",
25
+ "aurelia-framework": "github:aurelia/framework@0.16.0",
26
+ "aurelia-history": "github:aurelia/history@0.7.0",
27
+ "aurelia-history-browser": "github:aurelia/history-browser@0.8.0",
28
+ "aurelia-loader": "github:aurelia/loader@0.9.0",
29
+ "aurelia-loader-default": "github:aurelia/loader-default@0.10.0",
30
+ "aurelia-logging": "github:aurelia/logging@0.7.0",
31
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
32
+ "aurelia-path": "github:aurelia/path@0.9.0",
33
+ "aurelia-route-recognizer": "github:aurelia/route-recognizer@0.7.0",
34
+ "aurelia-router": "github:aurelia/router@0.12.0",
35
+ "aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
36
+ "aurelia-templating": "github:aurelia/templating@0.15.0",
37
+ "aurelia-templating-binding": "github:aurelia/templating-binding@0.15.0",
38
+ "aurelia-templating-resources": "github:aurelia/templating-resources@0.15.0",
39
+ "aurelia-templating-router": "github:aurelia/templating-router@0.16.0",
40
+ "aurelia/fetch-client": "github:aurelia/fetch-client@0.1.1",
41
+ "babel": "npm:babel-core@5.8.23",
42
+ "babel-runtime": "npm:babel-runtime@5.8.20",
43
+ "bootstrap": "github:twbs/bootstrap@3.3.5",
44
+ "core-js": "npm:core-js@0.9.18",
45
+ "fetch": "github:github/fetch@0.9.0",
46
+ "font-awesome": "npm:font-awesome@4.4.0",
47
+ "github:aurelia/animator-css@0.16.0": {
48
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
49
+ "aurelia-templating": "github:aurelia/templating@0.15.0"
50
+ },
51
+ "github:aurelia/binding@0.9.0": {
52
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
53
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
54
+ "aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
55
+ "core-js": "npm:core-js@0.9.18"
56
+ },
57
+ "github:aurelia/bootstrapper@0.17.0": {
58
+ "aurelia-event-aggregator": "github:aurelia/event-aggregator@0.8.0",
59
+ "aurelia-framework": "github:aurelia/framework@0.16.0",
60
+ "aurelia-history": "github:aurelia/history@0.7.0",
61
+ "aurelia-history-browser": "github:aurelia/history-browser@0.8.0",
62
+ "aurelia-loader-default": "github:aurelia/loader-default@0.10.0",
63
+ "aurelia-logging-console": "github:aurelia/logging-console@0.7.1",
64
+ "aurelia-router": "github:aurelia/router@0.12.0",
65
+ "aurelia-templating": "github:aurelia/templating@0.15.0",
66
+ "aurelia-templating-binding": "github:aurelia/templating-binding@0.15.0",
67
+ "aurelia-templating-resources": "github:aurelia/templating-resources@0.15.0",
68
+ "aurelia-templating-router": "github:aurelia/templating-router@0.16.0",
69
+ "core-js": "npm:core-js@0.9.18"
70
+ },
71
+ "github:aurelia/dependency-injection@0.10.0": {
72
+ "aurelia-logging": "github:aurelia/logging@0.7.0",
73
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
74
+ "core-js": "npm:core-js@0.9.18"
75
+ },
76
+ "github:aurelia/event-aggregator@0.8.0": {
77
+ "aurelia-logging": "github:aurelia/logging@0.7.0"
78
+ },
79
+ "github:aurelia/fetch-client@0.1.1": {
80
+ "core-js": "npm:core-js@0.9.18"
81
+ },
82
+ "github:aurelia/fetch-client@0.2.0": {
83
+ "core-js": "npm:core-js@0.9.18"
84
+ },
85
+ "github:aurelia/framework@0.16.0": {
86
+ "aurelia-binding": "github:aurelia/binding@0.9.0",
87
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
88
+ "aurelia-loader": "github:aurelia/loader@0.9.0",
89
+ "aurelia-logging": "github:aurelia/logging@0.7.0",
90
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
91
+ "aurelia-path": "github:aurelia/path@0.9.0",
92
+ "aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
93
+ "aurelia-templating": "github:aurelia/templating@0.15.0",
94
+ "core-js": "npm:core-js@0.9.18"
95
+ },
96
+ "github:aurelia/history-browser@0.8.0": {
97
+ "aurelia-history": "github:aurelia/history@0.7.0",
98
+ "core-js": "npm:core-js@0.9.18"
99
+ },
100
+ "github:aurelia/loader-default@0.10.0": {
101
+ "aurelia-loader": "github:aurelia/loader@0.9.0",
102
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0"
103
+ },
104
+ "github:aurelia/loader@0.9.0": {
105
+ "aurelia-html-template-element": "github:aurelia/html-template-element@0.3.0",
106
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
107
+ "aurelia-path": "github:aurelia/path@0.9.0",
108
+ "core-js": "github:zloirock/core-js@0.8.4"
109
+ },
110
+ "github:aurelia/logging-console@0.7.1": {
111
+ "aurelia-logging": "github:aurelia/logging@0.7.0"
112
+ },
113
+ "github:aurelia/metadata@0.8.0": {
114
+ "core-js": "npm:core-js@0.9.18"
115
+ },
116
+ "github:aurelia/route-recognizer@0.7.0": {
117
+ "aurelia-path": "github:aurelia/path@0.9.0",
118
+ "core-js": "npm:core-js@0.9.18"
119
+ },
120
+ "github:aurelia/router@0.12.0": {
121
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
122
+ "aurelia-event-aggregator": "github:aurelia/event-aggregator@0.8.0",
123
+ "aurelia-history": "github:aurelia/history@0.7.0",
124
+ "aurelia-logging": "github:aurelia/logging@0.7.0",
125
+ "aurelia-path": "github:aurelia/path@0.9.0",
126
+ "aurelia-route-recognizer": "github:aurelia/route-recognizer@0.7.0",
127
+ "core-js": "npm:core-js@0.9.18"
128
+ },
129
+ "github:aurelia/templating-binding@0.15.0": {
130
+ "aurelia-binding": "github:aurelia/binding@0.9.0",
131
+ "aurelia-logging": "github:aurelia/logging@0.7.0",
132
+ "aurelia-templating": "github:aurelia/templating@0.15.0"
133
+ },
134
+ "github:aurelia/templating-resources@0.15.0": {
135
+ "aurelia-binding": "github:aurelia/binding@0.9.0",
136
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
137
+ "aurelia-loader": "github:aurelia/loader@0.9.0",
138
+ "aurelia-logging": "github:aurelia/logging@0.7.0",
139
+ "aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
140
+ "aurelia-templating": "github:aurelia/templating@0.15.0",
141
+ "core-js": "npm:core-js@0.9.18"
142
+ },
143
+ "github:aurelia/templating-router@0.16.0": {
144
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
145
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
146
+ "aurelia-path": "github:aurelia/path@0.9.0",
147
+ "aurelia-router": "github:aurelia/router@0.12.0",
148
+ "aurelia-templating": "github:aurelia/templating@0.15.0"
149
+ },
150
+ "github:aurelia/templating@0.15.0": {
151
+ "aurelia-binding": "github:aurelia/binding@0.9.0",
152
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@0.10.0",
153
+ "aurelia-html-template-element": "github:aurelia/html-template-element@0.3.0",
154
+ "aurelia-loader": "github:aurelia/loader@0.9.0",
155
+ "aurelia-logging": "github:aurelia/logging@0.7.0",
156
+ "aurelia-metadata": "github:aurelia/metadata@0.8.0",
157
+ "aurelia-path": "github:aurelia/path@0.9.0",
158
+ "aurelia-task-queue": "github:aurelia/task-queue@0.7.0",
159
+ "core-js": "npm:core-js@0.9.18"
160
+ },
161
+ "github:jspm/nodelibs-process@0.1.1": {
162
+ "process": "npm:process@0.10.1"
163
+ },
164
+ "github:twbs/bootstrap@3.3.5": {
165
+ "jquery": "github:components/jquery@2.1.4"
166
+ },
167
+ "npm:babel-runtime@5.8.20": {
168
+ "process": "github:jspm/nodelibs-process@0.1.1"
169
+ },
170
+ "npm:core-js@0.9.18": {
171
+ "fs": "github:jspm/nodelibs-fs@0.1.2",
172
+ "process": "github:jspm/nodelibs-process@0.1.1",
173
+ "systemjs-json": "github:systemjs/plugin-json@0.1.0"
174
+ },
175
+ "npm:font-awesome@4.4.0": {
176
+ "css": "github:systemjs/plugin-css@0.1.13"
177
+ }
178
+ }
179
+ });
@@ -0,0 +1,2 @@
1
+ //= require jspm_packages/system.js
2
+ //= require config.js
@@ -0,0 +1,15 @@
1
+ import 'bootstrap';
2
+
3
+ export function configure(aurelia) {
4
+ aurelia.use
5
+ .standardConfiguration()
6
+ .developmentLogging();
7
+
8
+ //Uncomment the line below to enable animation.
9
+ //aurelia.use.plugin('aurelia-animator-css');
10
+
11
+ //Anyone wanting to use HTMLImports to load views, will need to install the following plugin.
12
+ //aurelia.use.plugin('aurelia-html-import-template-loader')
13
+
14
+ aurelia.start().then(a => a.setRoot());
15
+ }
@@ -0,0 +1,30 @@
1
+ <template bindable="router">
2
+ <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
3
+ <div class="navbar-header">
4
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
5
+ <span class="sr-only">Toggle Navigation</span>
6
+ <span class="icon-bar"></span>
7
+ <span class="icon-bar"></span>
8
+ <span class="icon-bar"></span>
9
+ </button>
10
+ <a class="navbar-brand" href="#">
11
+ <i class="fa fa-home"></i>
12
+ <span>${router.title}</span>
13
+ </a>
14
+ </div>
15
+
16
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
17
+ <ul class="nav navbar-nav">
18
+ <li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}">
19
+ <a data-toggle="collapse" data-target="#bs-example-navbar-collapse-1.in" href.bind="row.href">${row.title}</a>
20
+ </li>
21
+ </ul>
22
+
23
+ <ul class="nav navbar-nav navbar-right">
24
+ <li class="loader" if.bind="router.isNavigating">
25
+ <i class="fa fa-spinner fa-spin fa-2x"></i>
26
+ </li>
27
+ </ul>
28
+ </div>
29
+ </nav>
30
+ </template>
@@ -0,0 +1,5 @@
1
+ import {bindable} from 'aurelia-framework';
2
+
3
+ export class NavBar {
4
+ @bindable router = null;
5
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "devDependencies": {
3
+ "aurelia-cli": "^0.3.1",
4
+ "aurelia-tools": "^0.1.3",
5
+ "browser-sync": "^1.8.1",
6
+ "conventional-changelog": "0.0.11",
7
+ "del": "^1.1.0",
8
+ "gulp": "^3.8.10",
9
+ "gulp-babel": "^5.1.0",
10
+ "gulp-bump": "^0.3.1",
11
+ "gulp-changed": "^1.1.0",
12
+ "gulp-jshint": "^1.9.0",
13
+ "gulp-notify": "^2.2.0",
14
+ "gulp-plumber": "^0.6.6",
15
+ "gulp-protractor": "^0.0.12",
16
+ "gulp-sourcemaps": "^1.3.0",
17
+ "gulp-yuidoc": "^0.1.2",
18
+ "jasmine-core": "^2.1.3",
19
+ "jshint-stylish": "^1.0.0",
20
+ "karma": "^0.12.28",
21
+ "karma-babel-preprocessor": "^5.2.1",
22
+ "karma-chrome-launcher": "^0.1.7",
23
+ "karma-coverage": "^0.3.1",
24
+ "karma-jasmine": "^0.3.5",
25
+ "karma-jspm": "2.0.1-beta.2",
26
+ "object.assign": "^1.0.3",
27
+ "require-dir": "^0.1.0",
28
+ "run-sequence": "^1.0.2",
29
+ "vinyl-paths": "^1.0.0",
30
+ "yargs": "^2.1.1"
31
+ },
32
+ "jspm": {
33
+ "directories": {
34
+ "baseURL": "assets"
35
+ },
36
+ "dependencies": {
37
+ "aurelia-animator-css": "github:aurelia/animator-css@^0.16.0",
38
+ "aurelia-binding": "github:aurelia/binding@^0.9.0",
39
+ "aurelia-bootstrapper": "github:aurelia/bootstrapper@^0.17.0",
40
+ "aurelia-dependency-injection": "github:aurelia/dependency-injection@^0.10.0",
41
+ "aurelia-event-aggregator": "github:aurelia/event-aggregator@^0.8.0",
42
+ "aurelia-fetch-client": "github:aurelia/fetch-client@^0.2.0",
43
+ "aurelia-framework": "github:aurelia/framework@^0.16.0",
44
+ "aurelia-history": "github:aurelia/history@^0.7.0",
45
+ "aurelia-history-browser": "github:aurelia/history-browser@^0.8.0",
46
+ "aurelia-loader": "github:aurelia/loader@^0.9.0",
47
+ "aurelia-loader-default": "github:aurelia/loader-default@^0.10.0",
48
+ "aurelia-logging": "github:aurelia/logging@^0.7.0",
49
+ "aurelia-metadata": "github:aurelia/metadata@^0.8.0",
50
+ "aurelia-path": "github:aurelia/path@^0.9.0",
51
+ "aurelia-route-recognizer": "github:aurelia/route-recognizer@^0.7.0",
52
+ "aurelia-router": "github:aurelia/router@^0.12.0",
53
+ "aurelia-task-queue": "github:aurelia/task-queue@^0.7.0",
54
+ "aurelia-templating": "github:aurelia/templating@^0.15.0",
55
+ "aurelia-templating-binding": "github:aurelia/templating-binding@^0.15.0",
56
+ "aurelia-templating-resources": "github:aurelia/templating-resources@^0.15.0",
57
+ "aurelia-templating-router": "github:aurelia/templating-router@^0.16.0",
58
+ "bootstrap": "github:twbs/bootstrap@^3.3.4",
59
+ "core-js": "npm:core-js@^0.9.4",
60
+ "fetch": "github:github/fetch@^0.9.0",
61
+ "font-awesome": "npm:font-awesome@^4.3.0"
62
+ },
63
+ "devDependencies": {
64
+ "babel": "npm:babel-core@^5.6.4",
65
+ "babel-runtime": "npm:babel-runtime@^5.6.4",
66
+ "core-js": "npm:core-js@^0.9.4"
67
+ },
68
+ "overrides": {
69
+ "npm:core-js@0.9.18": {
70
+ "main": "client/shim.min"
71
+ }
72
+ }
73
+ }
74
+ }
@@ -0,0 +1,5 @@
1
+ <template>
2
+ <section class="au-animate">
3
+ <h2>${heading}</h2>
4
+ </section>
5
+ </template>
@@ -0,0 +1,5 @@
1
+ export class Welcome {
2
+ constructor() {
3
+ this.heading = 'Hello World';
4
+ }
5
+ }
metadata ADDED
@@ -0,0 +1,131 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aurelia
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gustavo Barrientos
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-09-15 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.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
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: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 4.2.4
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 4.2.4
69
+ description: Integrate Aurelia.io in your Rails project.
70
+ email:
71
+ - gustavo.barrientos@acidstudios.me
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
+ - Gemfile
80
+ - LICENSE.txt
81
+ - README.md
82
+ - Rakefile
83
+ - app/assets/javascripts/appaurelia.js
84
+ - app/assets/javascripts/systema.js
85
+ - app/controllers/aurelia/aurelia_controller.rb
86
+ - app/views/layouts/appaurelia.html.erb
87
+ - app/views/welcome/index.html.erb
88
+ - aurelia.gemspec
89
+ - bin/console
90
+ - bin/setup
91
+ - config/application.rb
92
+ - config/routes.rb
93
+ - lib/aurelia.rb
94
+ - lib/aurelia/engine.rb
95
+ - lib/aurelia/version.rb
96
+ - lib/generators/aurelia/install_generator.rb
97
+ - lib/generators/js/app.html
98
+ - lib/generators/js/app.js
99
+ - lib/generators/js/config.js
100
+ - lib/generators/js/jspm.js
101
+ - lib/generators/js/main.js
102
+ - lib/generators/js/nav-bar.html
103
+ - lib/generators/js/nav-bar.js
104
+ - lib/generators/js/package.json
105
+ - lib/generators/js/welcome.html
106
+ - lib/generators/js/welcome.js
107
+ homepage: http://www.github.com/acidstudios/aurelia
108
+ licenses:
109
+ - MIT
110
+ metadata: {}
111
+ post_install_message:
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: 2.2.2
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 1.8.11
125
+ requirements: []
126
+ rubyforge_project:
127
+ rubygems_version: 2.4.5.1
128
+ signing_key:
129
+ specification_version: 4
130
+ summary: Integrate Aurelia.io in your Rails project
131
+ test_files: []