which_osx 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +6 -0
  2. data/README.txt +15 -8
  3. data/Rakefile +3 -1
  4. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 1.0.1 / 2012-04-04
2
+
3
+ * 1 minor enhancement
4
+
5
+ * README enhanced with better usage examples.
6
+
1
7
  === 1.0.0 / 2012-04-04
2
8
 
3
9
  * 1 major enhancement
data/README.txt CHANGED
@@ -13,13 +13,20 @@ A simple ruby program for returning the version number of the current Mac OS X s
13
13
 
14
14
  == SYNOPSIS:
15
15
 
16
- require 'which_osx'
16
+ which_osx can be imported into a project and used to return the current version of OS X (as of writing, my computer returns "10.7.3"):
17
17
 
18
- module ForTheREADME
19
- def self.test
20
- who_am_i = WhichOSX.version
21
- end
22
- end
18
+ require 'which_osx'
19
+
20
+ module ForTheREADME
21
+ def self.test
22
+ who_am_i = WhichOSX.version
23
+ end
24
+ end
25
+
26
+ It also can be used from the command-line:
27
+
28
+ `$ which_osx`
29
+ `10.7.3`
23
30
 
24
31
  == REQUIREMENTS:
25
32
 
@@ -27,7 +34,7 @@ A simple ruby program for returning the version number of the current Mac OS X s
27
34
 
28
35
  == INSTALL:
29
36
 
30
- sudo gem install which_osx
37
+ sudo gem install which_osx
31
38
 
32
39
  == DEVELOPERS:
33
40
 
@@ -61,4 +68,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
61
68
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
62
69
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
63
70
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
64
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
71
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -3,7 +3,9 @@
3
3
  require 'rubygems'
4
4
  require 'hoe'
5
5
 
6
- VERSION = '1.0.0'
6
+ VERSION = '1.0.1'
7
+
8
+ Hoe.plugin :hoe_git
7
9
 
8
10
  Hoe.spec 'which_osx' do
9
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: which_osx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: