poet 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/History.txt +6 -0
  3. data/lib/poet.rb +3 -2
  4. data/lib/poet/version.rb +1 -1
  5. metadata +35 -31
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7a1c22167979b956323e1722622e55dc797f4dd1
4
+ data.tar.gz: cb6db04649fb4bb6419deda704d8973e48eca4ab
5
+ SHA512:
6
+ metadata.gz: 764a303b1d55051d77222ea392f84d47a147b5142253826d1bdb806c809f22c1e5a65bdb8ac5e16469178a0d17d14e79ff5a7a4a14a6d6260921ef174cece617
7
+ data.tar.gz: 21780a1d05d1bb5bf1fb7ea86928f76c73d8e25da282acad005c1dc9986364e5bff30a706a2f862d68c72c86c9edcc74456d57e479c546f070b2a0e940315014
@@ -1,5 +1,11 @@
1
1
  master
2
2
 
3
+ 0.6
4
+
5
+ - show original file where stanzas came from (thanks @sethiele)
6
+
7
+ - check for existence of ssh config file when bootstrapping (thanks @jayed)
8
+
3
9
  0.5
4
10
 
5
11
  - drop support for Ruby 1.8
@@ -32,7 +32,7 @@ class PoetCLI < Thor
32
32
  Process.exit!(3)
33
33
  end
34
34
  FileUtils.mkdir_p(options[:dir])
35
- FileUtils.mv(file, options[:dir])
35
+ FileUtils.mv(file, options[:dir]) if File.file?(file)
36
36
  create
37
37
  end
38
38
 
@@ -61,6 +61,7 @@ class PoetCLI < Thor
61
61
  entries = []
62
62
 
63
63
  files.sort.each do |file|
64
+ entries << "\n# Located in " + file.to_s
64
65
  entries << File.read(file)
65
66
  $stdout.puts "Using #{file.gsub(/^\.\//, '')}" if options[:verbose]
66
67
  end
@@ -84,4 +85,4 @@ class PoetCLI < Thor
84
85
  create if File.exists?(filepath)
85
86
  end
86
87
 
87
- end
88
+ end
@@ -1,3 +1,3 @@
1
1
  module Poet
2
- VERSION = "0.5"
2
+ VERSION = "0.6"
3
3
  end
metadata CHANGED
@@ -1,60 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poet
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
5
- prerelease:
4
+ version: '0.6'
6
5
  platform: ruby
7
6
  authors:
8
7
  - André Wendt
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-02-05 00:00:00.000000000 Z
11
+ date: 2013-08-07 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: cucumber
16
- requirement: &70099056296460 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *70099056296460
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: aruba
27
- requirement: &70099056296020 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - '>='
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *70099056296020
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: rake
38
- requirement: &70099056295560 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ! '>='
45
+ - - '>='
42
46
  - !ruby/object:Gem::Version
43
47
  version: '0'
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *70099056295560
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: thor
49
- requirement: &70099056311480 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ! '>='
59
+ - - '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :runtime
56
63
  prerelease: false
57
- version_requirements: *70099056311480
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  description: Split your longish ~/.ssh/config into files in ~/.ssh/config.d/ and let
59
70
  poet join them for you.
60
71
  email:
@@ -86,33 +97,26 @@ files:
86
97
  - poet.gemspec
87
98
  homepage: https://github.com/awendt/poet
88
99
  licenses: []
100
+ metadata: {}
89
101
  post_install_message:
90
102
  rdoc_options: []
91
103
  require_paths:
92
104
  - lib
93
105
  required_ruby_version: !ruby/object:Gem::Requirement
94
- none: false
95
106
  requirements:
96
- - - ! '>='
107
+ - - '>='
97
108
  - !ruby/object:Gem::Version
98
109
  version: '0'
99
- segments:
100
- - 0
101
- hash: -3487840776745573411
102
110
  required_rubygems_version: !ruby/object:Gem::Requirement
103
- none: false
104
111
  requirements:
105
- - - ! '>='
112
+ - - '>='
106
113
  - !ruby/object:Gem::Version
107
114
  version: '0'
108
- segments:
109
- - 0
110
- hash: -3487840776745573411
111
115
  requirements: []
112
116
  rubyforge_project: poet
113
- rubygems_version: 1.8.11
117
+ rubygems_version: 2.0.0
114
118
  signing_key:
115
- specification_version: 3
119
+ specification_version: 4
116
120
  summary: Poet concatenates stanzas
117
121
  test_files:
118
122
  - features/bootstrapping.feature