rails_apps_composer 2.4.2 → 2.4.3

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: 62ce05c341f22e3bf91c2ef04d2c189d3ff0498a
4
- data.tar.gz: df89f3952f5ab4ed020d743d9a49ed1a6887d906
3
+ metadata.gz: c21a490508b96261d584126f3909e1e552b3584a
4
+ data.tar.gz: 500c90885f4a9c21cb43013fb93ff1ec21aa98f6
5
5
  SHA512:
6
- metadata.gz: 976f7aab418f6e2bebd97acb217fefd6a6a532fcf3ddda576bbce21c2a91d23e8d7a0d7bdbc2425fd66c33705c130b253cc47fc15e180ab5895e351515d8d380
7
- data.tar.gz: 33072b0fe0ffe1c32810ed983035489223109d9c907cd927f25536c48f4a73ef9a357f9884e9dfd8a43cbba2d5f0bdde4e5945691c3e2f5a2a1722b1630b3106
6
+ metadata.gz: c28cd50756cb4390535e53d8f4e1d3250662af3b17a018b38f30e49ae376c51695939b6fc2c7c48b28f84bbc31f0a6a052182545367ca564c4c18ab5bf7620ad
7
+ data.tar.gz: 71c9a39b69de1338b0f7f3a77a44062923a92ac1506bb67d13e9f78d71ba7d0dbe29da726b9f6357a4dbe0e633e614cdc4d970c5dc39801405c82cf4b6db3139
@@ -36,7 +36,7 @@ describe RailsWizard::Template do
36
36
 
37
37
  subject do
38
38
  @template = RailsWizard::Template.new([])
39
- @template.stub!(:recipes_with_dependencies).and_return(@recipes)
39
+ @template.stub(:recipes_with_dependencies).and_return(@recipes)
40
40
  @template.resolve_recipes.map { |r| r.key }
41
41
  end
42
42
 
@@ -56,16 +56,16 @@ describe RailsWizard::Template do
56
56
 
57
57
  describe '#recipes_with_dependencies' do
58
58
  def r(*deps)
59
- mock(:Class, :requires => deps, :superclass => RailsWizard::Recipe)
59
+ double(:Class, :requires => deps, :superclass => RailsWizard::Recipe)
60
60
  end
61
61
 
62
62
  subject do
63
- @template = RailsWizard::Template.new([])
64
- @template.stub!(:recipes).and_return(@recipes)
65
- @template.stub!(:recipe_classes).and_return(@recipes)
63
+ @template = RailsWizard::Template.new([])
64
+ @template.stub(:recipes).and_return(@recipes)
65
+ @template.stub(:recipe_classes).and_return(@recipes)
66
66
  @template
67
67
  end
68
-
68
+
69
69
  it 'should return the same number recipes if none have dependencies' do
70
70
  @recipes = [r, r]
71
71
  subject.recipes_with_dependencies.size.should == 2
data/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RailsWizard
2
- VERSION = "2.4.2"
2
+ VERSION = "2.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_apps_composer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe