init 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data.tar.gz.sig CHANGED
Binary file
data/HISTORY.md CHANGED
@@ -1,3 +1,10 @@
1
+ 2.0.1 / 2012-10-02
2
+ ==================
3
+
4
+ * minor improvement
5
+
6
+ * Updated documentation
7
+
1
8
  2.0.0 / 2012-03-13
2
9
  ==================
3
10
 
data/README.md CHANGED
@@ -3,6 +3,7 @@ Init
3
3
 
4
4
  [![Build Status](https://secure.travis-ci.org/aef/init.png)](
5
5
  https://secure.travis-ci.org/aef/init)
6
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/aef/init)
6
7
 
7
8
  * [Documentation][docs]
8
9
  * [Project][project]
@@ -93,9 +94,9 @@ A delay between the two commands can be defined:
93
94
 
94
95
  ~~~~~ ruby
95
96
  class DemoSubclass < Aef::Init
96
- ...
97
+
97
98
  stop_start_delay 3
98
- ...
99
+
99
100
  end
100
101
  ~~~~~
101
102
 
@@ -107,9 +108,9 @@ Still, a default command can be specified which is called if no command is provi
107
108
 
108
109
  ~~~~~ ruby
109
110
  class DemoSubclass < Aef::Init
110
- ...
111
+
111
112
  default_command :start
112
- ...
113
+
113
114
  end
114
115
  ~~~~~
115
116
 
@@ -125,7 +126,7 @@ build reusable libraries and keep your code DRY.
125
126
  end
126
127
 
127
128
  class DemoSubclass > CommonCommands
128
- ...
129
+
129
130
  end
130
131
  ~~~~~
131
132
 
@@ -161,7 +162,7 @@ following command:
161
162
  Please notice that you may need other keys for dependent libraries, so you may
162
163
  have to install dependencies manually.
163
164
 
164
- [gemkey]: http://aef.name/crypto/aef-gem.pem
165
+ [gemkey]: https://aef.name/crypto/aef-gem.pem
165
166
 
166
167
  ### Normal
167
168
 
@@ -192,18 +193,34 @@ or ideas for improvement of this software.
192
193
 
193
194
  ### Source code
194
195
 
195
- This software is developed in the source code management system git hosted
196
- at github.com. You can download the most recent sourcecode through the
197
- following command:
196
+ This software is developed in the source code management system Git. There are
197
+ several synchronized mirror repositories available:
198
+
199
+ * GitHub
200
+
201
+ URL: https://github.com/aef/init.git
202
+
203
+ * Gitorious
204
+
205
+ URL: https://git.gitorious.org/init/init.git
206
+
207
+ * BitBucket
208
+
209
+ URL: https://bitbucket.org/alefi/init.git
210
+
211
+ You can get the latest source code with the following command, while
212
+ exchanging the placeholder for one of the mirror URLs:
213
+
214
+ git clone MIRROR_URL
198
215
 
199
- git clone https://github.com/aef/init.git
216
+ #### Tags
200
217
 
201
218
  The final commit before each released gem version will be marked by a tag
202
219
  named like the version with a prefixed lower-case "v", as required by Semantic
203
220
  Versioning. Every tag will be signed by my [OpenPGP public key][openpgp] which
204
221
  enables you to verify your copy of the code cryptographically.
205
222
 
206
- [openpgp]: http://aef.name/crypto/aef-openpgp.asc
223
+ [openpgp]: https://aef.name/crypto/aef-openpgp.asc
207
224
 
208
225
  Add the key to your GnuPG keyring by the following command:
209
226
 
@@ -43,12 +43,12 @@ scripts in Ruby.
43
43
 
44
44
  s.required_ruby_version = '>= 1.8.7'
45
45
 
46
- s.add_development_dependency('bundler', '~> 1.0.22')
47
- s.add_development_dependency('rake', '~> 0.9.2')
48
- s.add_development_dependency('rspec', '~> 2.8.0')
49
- s.add_development_dependency('simplecov', '~> 0.6.1')
50
- s.add_development_dependency('pry', '~> 0.9.8')
51
- s.add_development_dependency('yard', '~> 0.7.5')
46
+ s.add_development_dependency('bundler', '~> 1.1.5')
47
+ s.add_development_dependency('rake', '~> 0.9.2.2')
48
+ s.add_development_dependency('rspec', '~> 2.11.0')
49
+ s.add_development_dependency('simplecov', '~> 0.6.4')
50
+ s.add_development_dependency('pry', '~> 0.9.10')
51
+ s.add_development_dependency('yard', '~> 0.8.2.1')
52
52
 
53
53
  s.cert_chain = "#{ENV['GEM_CERT_CHAIN']}".split(':')
54
54
  s.signing_key = ENV['GEM_SIGNING_KEY']
@@ -70,8 +70,8 @@ module Aef
70
70
  # The delay in seconds between the call of the stop and the start method
71
71
  # in the predefined restart method.
72
72
  #
73
- # @param [Numeric, false] time in seconds, if false is given, the value
74
- # will be returned and not modified.
73
+ # @param [Numeric, false] seconds time in seconds, if false is given,
74
+ # the value will be returned and not modified.
75
75
  # @return [Float] time in seconds
76
76
  def stop_start_delay(seconds = false)
77
77
  if seconds.equal?(false)
@@ -24,7 +24,7 @@ module Aef
24
24
  #
25
25
  # Using Semantic Versioning (2.0.0-rc.1) rules
26
26
  # @see http://semver.org/
27
- VERSION = '2.0.0'.freeze
27
+ VERSION = '2.0.1'.freeze
28
28
 
29
29
  end
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: init
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -48,74 +48,74 @@ cert_chain:
48
48
  -----END CERTIFICATE-----
49
49
 
50
50
  '
51
- date: 2012-03-13 00:00:00.000000000 Z
51
+ date: 2012-10-02 00:00:00.000000000 Z
52
52
  dependencies:
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bundler
55
- requirement: &22448820 !ruby/object:Gem::Requirement
55
+ requirement: &8185760 !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
58
58
  - - ~>
59
59
  - !ruby/object:Gem::Version
60
- version: 1.0.22
60
+ version: 1.1.5
61
61
  type: :development
62
62
  prerelease: false
63
- version_requirements: *22448820
63
+ version_requirements: *8185760
64
64
  - !ruby/object:Gem::Dependency
65
65
  name: rake
66
- requirement: &22448240 !ruby/object:Gem::Requirement
66
+ requirement: &8185080 !ruby/object:Gem::Requirement
67
67
  none: false
68
68
  requirements:
69
69
  - - ~>
70
70
  - !ruby/object:Gem::Version
71
- version: 0.9.2
71
+ version: 0.9.2.2
72
72
  type: :development
73
73
  prerelease: false
74
- version_requirements: *22448240
74
+ version_requirements: *8185080
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: rspec
77
- requirement: &22447440 !ruby/object:Gem::Requirement
77
+ requirement: &8184540 !ruby/object:Gem::Requirement
78
78
  none: false
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 2.8.0
82
+ version: 2.11.0
83
83
  type: :development
84
84
  prerelease: false
85
- version_requirements: *22447440
85
+ version_requirements: *8184540
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: simplecov
88
- requirement: &22469660 !ruby/object:Gem::Requirement
88
+ requirement: &8183700 !ruby/object:Gem::Requirement
89
89
  none: false
90
90
  requirements:
91
91
  - - ~>
92
92
  - !ruby/object:Gem::Version
93
- version: 0.6.1
93
+ version: 0.6.4
94
94
  type: :development
95
95
  prerelease: false
96
- version_requirements: *22469660
96
+ version_requirements: *8183700
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
- requirement: &22469160 !ruby/object:Gem::Requirement
99
+ requirement: &8183020 !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
102
102
  - - ~>
103
103
  - !ruby/object:Gem::Version
104
- version: 0.9.8
104
+ version: 0.9.10
105
105
  type: :development
106
106
  prerelease: false
107
- version_requirements: *22469160
107
+ version_requirements: *8183020
108
108
  - !ruby/object:Gem::Dependency
109
109
  name: yard
110
- requirement: &22468700 !ruby/object:Gem::Requirement
110
+ requirement: &8182440 !ruby/object:Gem::Requirement
111
111
  none: false
112
112
  requirements:
113
113
  - - ~>
114
114
  - !ruby/object:Gem::Version
115
- version: 0.7.5
115
+ version: 0.8.2.1
116
116
  type: :development
117
117
  prerelease: false
118
- version_requirements: *22468700
118
+ version_requirements: *8182440
119
119
  description: ! 'Init is a lightweight framework for writing readable, reusable *nix
120
120
  init
121
121
 
metadata.gz.sig CHANGED
Binary file