ember-rails 0.20.5 → 0.20.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 83a8b7c6fea2c25f45fe04cba8a910249d4efc99
4
- data.tar.gz: 6d74b54b523102a5102bb3d8c71c266d9ad04f8d
3
+ metadata.gz: 3e38515f2213cd439f8b35e623c14c1a53812638
4
+ data.tar.gz: 3c4dae6df402457e52b68695ebb5f4b18cc16426
5
5
  SHA512:
6
- metadata.gz: ebe6a524e6a697321c996fa517bf83a9531cb93803169a5add839c2e3a54eb62dc71d69a49726d9a80c08da78174fe17c714f0984f14390fcb8b4507bb05f6ea
7
- data.tar.gz: 7c4228055e884d066e15c7a5d4f49603395f8184ad9815c02605043856b04907f500d27733be27c2b7c2bc0577c80449468b8b0d42ff5063f5780b3c7ed1d385
6
+ metadata.gz: 544b33e433cd555ae6d43e05e569b068836c3bed7dc735852cf778dc94fef6e93f5becf3f47bf6615b765705abbf8c6d32e4f27a8786b5114ee7a870d4c045e2
7
+ data.tar.gz: c21caf5bd01bb712aafa48ca29f827ae92c1c4f4e8c7c2be9d273607d3e09e9fbd07196857315c48adc00d79c9f9e9cd26194dd3e8d031ff9804f6b246c4be34
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ember-rails [![Build Status](https://secure.travis-ci.org/emberjs/ember-rails.svg?branch=master)](http://travis-ci.org/emberjs/ember-rails) [![Dependency Status](https://gemnasium.com/emberjs/ember-rails.png)](https://gemnasium.com/emberjs/ember-rails) [![Code Climate](https://codeclimate.com/github/emberjs/ember-rails/badges/gpa.svg)](https://codeclimate.com/github/emberjs/ember-rails)
1
+ # ember-rails [![Build Status](https://secure.travis-ci.org/emberjs/ember-rails.svg?branch=master)](http://travis-ci.org/emberjs/ember-rails) [![Dependency Status](https://gemnasium.com/emberjs/ember-rails.svg)](https://gemnasium.com/emberjs/ember-rails) [![Code Climate](https://codeclimate.com/github/emberjs/ember-rails/badges/gpa.svg)](https://codeclimate.com/github/emberjs/ember-rails)
2
2
 
3
3
  ember-rails makes developing an [Ember.JS](http://emberjs.com/) application much easier in Rails 3.1+.
4
4
 
@@ -111,7 +111,7 @@ To use ES6 module in your application, the following configuration is required:
111
111
 
112
112
  ### Single Ember Application
113
113
 
114
- This is the case for single Ember application in `app/assets/javascripts` (not under the sub directiry).
114
+ This is the case for single Ember application in `app/assets/javascripts` (not under the subdirectory).
115
115
 
116
116
  `my-app.es6`
117
117
  ``` javascript
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Rails
3
- VERSION = '0.20.5'
3
+ VERSION = '0.20.6'
4
4
  end
5
5
  end
@@ -8,9 +8,9 @@ module Ember
8
8
  source_root File.expand_path("../../templates", __FILE__)
9
9
 
10
10
  desc "Creates a new Ember.js adapter"
11
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
11
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
12
12
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
13
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
13
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
14
14
 
15
15
  def create_adapter_files
16
16
  file_path = File.join(ember_path, 'adapters', class_path, "#{file_name}.#{engine_extension}")
@@ -9,10 +9,10 @@ module Ember
9
9
 
10
10
  desc "Creates a default Ember.js folder layout in app/assets/javascripts"
11
11
 
12
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
12
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
13
13
  class_option :skip_git, :type => :boolean, :aliases => "-g", :default => false, :desc => "Skip Git keeps"
14
14
  class_option :javascript_engine, :desc => "Engine for JavaScripts (js for JavaScript, coffee for CoffeeScript, etc)"
15
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
15
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
16
16
 
17
17
  def inject_ember
18
18
  begin
@@ -10,8 +10,8 @@ module Ember
10
10
  desc "Creates a new Ember.js component and component template\nCustom Ember Components require at least two descriptive names separated by a dash. Use CamelCase or dash-case to name your component.\n\nExample,\n\trails generate ember:component PostChart [options]\n\trails generate ember:component post-chart [options]"
11
11
 
12
12
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
13
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
14
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
13
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
14
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
15
15
 
16
16
  def create_component_files
17
17
  dashed_file_name = file_name.dasherize
@@ -11,9 +11,9 @@ module Ember
11
11
 
12
12
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
13
13
  class_option :array, :type => :boolean, :default => false, :desc => "Create an Ember.ArrayController to represent multiple objects"
14
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
14
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
15
15
  class_option :object, :type => :boolean, :default => false, :desc => "Create an Ember.Controller to represent a single object"
16
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
16
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
17
17
 
18
18
 
19
19
  def create_controller_files
@@ -10,8 +10,8 @@ module Ember
10
10
  desc "Creates a new Ember.js initializer"
11
11
 
12
12
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
13
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
14
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
13
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
14
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
15
15
 
16
16
  def create_initializer_files
17
17
  file_path = File.join(ember_path, 'initializers', class_path, "#{file_name.dasherize}.#{engine_extension}")
@@ -10,8 +10,8 @@ module Ember
10
10
  desc "Creates a new Ember.js instance initializer"
11
11
 
12
12
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
13
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
14
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
13
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
14
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
15
15
 
16
16
  def create_instance_initializer_files
17
17
  file_path = File.join(ember_path, 'instance-initializers', class_path, "#{file_name.dasherize}.#{engine_extension}")
@@ -9,8 +9,8 @@ module Ember
9
9
  desc "creates a new ember.js model"
10
10
  argument :attributes, :type => :array, :default => [], :banner => "field[:type] field[:type] ..."
11
11
  class_option :javascript_engine, :desc => "engine for javascripts"
12
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "custom ember app path"
13
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
12
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "custom ember app path"
13
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
14
14
 
15
15
  def create_model_files
16
16
  file_path = File.join(ember_path, 'models', class_path, "#{file_name.dasherize}.#{engine_extension}")
@@ -13,7 +13,7 @@ module Ember
13
13
  class_option :skip_route, :type => :boolean, :default => false, :desc => "Don't create route"
14
14
  class_option :array, :type => :boolean, :default => false, :desc => "Create an Ember.ArrayController to represent multiple objects"
15
15
  class_option :object, :type => :boolean, :default => false, :desc => "Create an Ember.Controller to represent a single object"
16
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
16
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
17
17
 
18
18
 
19
19
  def create_resource_files
@@ -8,9 +8,9 @@ module Rails
8
8
  ResourceGenerator.class_eval do
9
9
 
10
10
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
11
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
11
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
12
12
  class_option :with_template, :type => :boolean, :default => false, :desc => "Create template for this view"
13
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
13
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
14
14
 
15
15
  def add_ember
16
16
  say_status :invoke, "ember:model", :white
@@ -8,9 +8,9 @@ module Ember
8
8
  source_root File.expand_path("../../templates", __FILE__)
9
9
 
10
10
  desc "Creates a new Ember.js route"
11
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
11
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
12
12
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
13
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
13
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
14
14
 
15
15
  def create_route_files
16
16
  file_path = File.join(ember_path, 'routes', class_path, "#{file_name.dasherize}.#{engine_extension}")
@@ -10,8 +10,8 @@ module Ember
10
10
  desc "Creates a new Ember.js service"
11
11
 
12
12
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
13
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
14
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
13
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
14
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
15
15
 
16
16
  def create_service_files
17
17
  file_path = File.join(ember_path, 'services', class_path, "#{file_name.dasherize}.#{engine_extension}")
@@ -9,7 +9,7 @@ module Ember
9
9
 
10
10
  desc "Creates a new Ember.js template"
11
11
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
12
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
12
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
13
13
 
14
14
  def create_template_files
15
15
  file_path = File.join(ember_path, 'templates', class_path, "#{file_name.dasherize}.hbs")
@@ -9,9 +9,9 @@ module Ember
9
9
 
10
10
  desc "Creates a new Ember.js view and associated Handlebars template"
11
11
  class_option :javascript_engine, :desc => "Engine for JavaScripts"
12
- class_option :ember_path, :type => :string, :aliases => "-d", :default => false, :desc => "Custom ember app path"
12
+ class_option :ember_path, :type => :string, :aliases => "-d", :desc => "Custom ember app path"
13
13
  class_option :with_template, :type => :boolean, :default => false, :desc => "Create template for this view"
14
- class_option :app_name, :type => :string, :aliases => "-n", :default => false, :desc => "Custom ember app name"
14
+ class_option :app_name, :type => :string, :aliases => "-n", :desc => "Custom ember app name"
15
15
 
16
16
  def create_view_files
17
17
  file_path = File.join(ember_path, 'views', class_path, "#{file_name.dasherize}.#{engine_extension}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.5
4
+ version: 0.20.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Pitt
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-03-23 00:00:00.000000000 Z
14
+ date: 2016-12-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: railties
@@ -381,7 +381,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
381
381
  version: '0'
382
382
  requirements: []
383
383
  rubyforge_project:
384
- rubygems_version: 2.5.1
384
+ rubygems_version: 2.5.2
385
385
  signing_key:
386
386
  specification_version: 4
387
387
  summary: Ember for Rails 3.1+