job_spec 0.2.3 → 0.2.4

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: 79b602ff7e317683102ed14f53dfc72da480d914
4
- data.tar.gz: 241c6303fb7edf5d8801775db56dca4bc10afa93
3
+ metadata.gz: 4d590a6b3f4138ca8f2aa028bf1bd2af113f2473
4
+ data.tar.gz: 4a56478ca7176bd641ec0c8f8c863d4ded87c3ea
5
5
  SHA512:
6
- metadata.gz: 5a17ebcf9168fd3d25d65baf8c598edf6e6b9d44f77e66c6ac60873366070298c611832bb53a7417a7707a1787ab472a0a1aa77672473d221352806dd2ce62ab
7
- data.tar.gz: 55a3cd1225e51a0283b99e132ee360e87cd13fec7e7e7c9304f4fd89a1bdf7a1893363efc2edb53cfb9a8184846b0bb0ae1fdbdd244ae179bce22cd068000b23
6
+ metadata.gz: cfd405fc8d74fceb28e71fcaaceaf4bc6c3ecde639720b88be353b57e19a619f8ab2d8cf58eda435d2559f21c3540ddaf34af2cf6623ce9dc326b4cd7b2d5fcf
7
+ data.tar.gz: 682005267b429921b0c02c1e98b8dcdcb5c50232273a17eadeb2ff10bfe1a85c5252d63ff0f458c3756828c24aff3983387ffdf10d7a4a38639de91286690190
data/lib/job_spec/cli.rb CHANGED
@@ -42,7 +42,7 @@ def role_files(dir)
42
42
  end
43
43
 
44
44
  def safe_role_name(role)
45
- "#{role.name.downcase.gsub(/[^a-z]+/, '')}.md"
45
+ "#{role.name.downcase.gsub(' ', '_').gsub(/[^a-z_]+/, '')}.md"
46
46
  end
47
47
 
48
48
  def safe_role_out_path(role)
@@ -1,3 +1,3 @@
1
1
  module JobSpec
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: job_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luke Morton