pipely-generators 0.1.1 → 0.1.2

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: 2175c4ffc2fc30bb32068a9ea25c1a330fcc165d
4
- data.tar.gz: 3c8c8ced673165f040d317b0ff0163cfa3614832
3
+ metadata.gz: a5f3d5db18e81d2558bc8ef5c48042c077f7fec8
4
+ data.tar.gz: 89ea0bd40d72ef90a15124e109e55f6ce4e1078a
5
5
  SHA512:
6
- metadata.gz: 3f5c6bfd4d23bf8ad798c116c57486bc2c712b49c4e74787e7920af4028677d82894a7ce64950895efebc60d4604626ad2f08d4a6ade3b0b63817c49ef72659c
7
- data.tar.gz: c761cdf9683372e00f01731fecde88e2c854e3ccdc460b0d777062aa74f37d251f1a952cfbe353df3548e285933955839e14030bfd34324ee4e3377cd29bf614
6
+ metadata.gz: 674637c19c5f38b55637a804765e5d28b5ffb9324e100420a65006fa64a645bf3538bd654ca0e64df65bc5713ead3a3179e931831ff9d0ce750696fb43417491
7
+ data.tar.gz: 994d962f2ab97e497ef2bbce16ad7b42c5771b7b0fd8d1d624e69fae9900f070c8eb7a03aa89ec6c8e83091b78f8686f98b1f8ff89b22a401847ffef5f0509ac
data/bin/pipely-generate CHANGED
@@ -22,8 +22,9 @@ class PipelyGenerator < Thor::Group
22
22
  copy_file "Rakefile", "#{name}/Rakefile"
23
23
  end
24
24
 
25
- def create_gitignore
25
+ def create_dotfiles
26
26
  copy_file ".gitignore", "#{name}/.gitignore"
27
+ copy_file ".rspec", "#{name}/.rspec"
27
28
  end
28
29
 
29
30
  def create_template
@@ -1,5 +1,5 @@
1
1
  module Pipely
2
2
  module Generators
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
data/templates/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --colour
2
+ --profile
@@ -0,0 +1,14 @@
1
+ $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
2
+ $LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'steps')
3
+
4
+ RSpec.configure do |config|
5
+ config.treat_symbols_as_metadata_keys_with_true_values = true
6
+ config.run_all_when_everything_filtered = true
7
+ config.filter_run :focus
8
+
9
+ # Run specs in random order to surface order dependencies. If you find an
10
+ # order dependency and want to debug it, you can fix the order by providing
11
+ # the seed, which is printed after each run.
12
+ # --seed 1234
13
+ config.order = 'random'
14
+ end
@@ -46,7 +46,7 @@
46
46
 
47
47
  {
48
48
  "id": "<%= name.camelize %>EMRCluster",
49
- "name": <%= name.camelize %>EMRCluster",
49
+ "name": "<%= name.camelize %>EMRCluster",
50
50
  "type": "EmrCluster",
51
51
  "masterInstanceType": "m1.large",
52
52
  "taskInstanceType": "m1.large",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipely-generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Gillooly
@@ -98,11 +98,13 @@ files:
98
98
  - lib/pipely/generators/version.rb
99
99
  - pipely-generators.gemspec
100
100
  - templates/.gitignore
101
+ - templates/.rspec
101
102
  - templates/Gemfile
102
103
  - templates/Rakefile
103
104
  - templates/config/config.yml.tt
104
105
  - templates/lib/template.rb
105
106
  - templates/script/build_bootstrap
107
+ - templates/spec/spec_helper.rb
106
108
  - templates/spec/template_spec.rb
107
109
  - templates/steps/bootstrap_ec2.sh
108
110
  - templates/steps/bootstrap_emr.sh