ember-cli-rails 0.1.9 → 0.1.10

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: 8ace965a0ccf7d16251382a73152dcf16f32a051
4
- data.tar.gz: 40d851c77d3360d988a45ef43f1073cf2f0b76fe
3
+ metadata.gz: 01ad5e448480f3166d9da3fe61436dfcb01ba241
4
+ data.tar.gz: 3da6bf6fc695b7df6464b81264d095407f49538f
5
5
  SHA512:
6
- metadata.gz: 6000a0a0f708431d1a3652bfb453db22e882acc44b875d35d19290347d632efce7efba088c9d6c567e35e56df8f84353f385264a706f8466a98994a3fcfedf71
7
- data.tar.gz: bc263fab3bd2e91bafffc3035152f8b3a9ac551207e7df7c58da7b8013b20c99ba4a31fd1ee397c15f96747f9ba8d2b760ff33f07c634bf9bbb71545acb61b1d
6
+ metadata.gz: 52874840c8471865343ff050252ccc7d404489fc5bed110cdfeba2906d74355e677f6c853d2f85306589520fd8caa4f34d6ff0643301e36655ebf2f0442766c6
7
+ data.tar.gz: d9b964b2db6b3104dab4f1b7441745e27859647a69b649be671e07d59db1dd24e3dcf5956eb31801fca61856bd6c51cb1a6a2e3b1375bee2be945d33c3689b6a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.1.10
2
+ ------
3
+
4
+ * Support ember-cli 0.2.\* [1bf8d2c](https://github.com/rwz/ember-cli-rails/commit/1bf8d2c5fb43e369b76819ffd5bd2bbcfb0fe14e)
5
+
1
6
  0.1.9
2
7
  -----
3
8
 
data/lib/ember-cli/app.rb CHANGED
@@ -3,7 +3,7 @@ require "timeout"
3
3
  module EmberCLI
4
4
  class App
5
5
  ADDON_VERSION = "0.0.11"
6
- EMBER_CLI_VERSION = "~> 0.1.5"
6
+ EMBER_CLI_VERSION = "~> 0.1.5", "~> 0.2.0"
7
7
 
8
8
  class BuildError < StandardError; end
9
9
 
@@ -2,10 +2,13 @@ module EmberCLI
2
2
  module Helpers
3
3
  extend self
4
4
 
5
- def match_version?(version, requirement)
5
+ def match_version?(version, requirements)
6
6
  version = Gem::Version.new(version)
7
- requirement = Gem::Requirement.new(requirement)
8
- requirement.satisfied_by?(version)
7
+
8
+ Array.wrap(requirements).any? do |requirement|
9
+ requirement = Gem::Requirement.new(requirement)
10
+ requirement.satisfied_by?(version)
11
+ end
9
12
  end
10
13
 
11
14
  def which(cmd)
@@ -1,3 +1,3 @@
1
1
  module EmberCLI
2
- VERSION = "0.1.9".freeze
2
+ VERSION = "0.1.10".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-cli-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Pravosud
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-03-06 00:00:00.000000000 Z
13
+ date: 2015-03-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties