ruby-development-toolbox 1.0.0 → 1.0.1

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: 22b744b67045fe9b7e9723c8348c41c965817595
4
- data.tar.gz: cacf4bda93f4a41d615af66357870b5b087088f8
3
+ metadata.gz: 8ba6feb404e796725892b588f2269c5d450ba5d2
4
+ data.tar.gz: 1c0aea5470e67d94e9a5da5d7ea3fa18b17e8896
5
5
  SHA512:
6
- metadata.gz: 927911a9758224060e07073c069de0998c28b6e00d45dbca05b0b467efa5681778270f89cdc169d479d597bb338b4e264b380d8eb85fbbdbc72fa3cce6a5faf4
7
- data.tar.gz: ff85882f2ed5d4d4fbde8faed4189283cacfc691bec3b682b7a31891b469d2678d31f8e6c0e60d24e53194f8ef6b7554258088e06f6d037fffe7c684704e8589
6
+ metadata.gz: 7648624640b0e2f9d428a0c6c4583b5e702c88b53f39b89f4c2aba059cb4b1934c80ff018d92457c8f1bc0992f7f64e924b1fffb51b847e2f61c5a6b88b884dd
7
+ data.tar.gz: 07c7687f492bf8672615d2bd0739c8ad11f5ecadf4b71b9e0be7473bf0fb741d4c71808d71db94f4ecb9d252ed2ad42b65cf61fff08a867e6b1d334ab8dd7098
data/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # ruby-development-toolbox
2
+
3
+ A collection of useful utilities and libraries for Ruby development (not Rails)
4
+
5
+ ## Contributing to ruby-development-toolbox
6
+
7
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
+ * Fork the project.
10
+ * Start a feature/bugfix branch.
11
+ * Commit and push until you are happy with your contribution.
12
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
+
15
+ # Development
16
+
17
+ The project is built by [jeweler](https://github.com/technicalpickles/jeweler). See the project's page for more details about how to manage this gem. However, I will list out quick quidance on a typical release.
18
+
19
+ ## Active Gem Development
20
+
21
+ It may be useful to load this project for use in other local projects. The easiest way to configure Ruby is to set `RUBYLIB` environment variable to include all Ruby paths (Separated by colons ':'):
22
+
23
+ $ export RUBYLIB=$YOUR_PATH_TO_LIB_DIRECTORY:$OTHER_PATHS
24
+
25
+ ### 1. Version Bump
26
+
27
+ When you are ready to release, you will need to up-rev the version via the
28
+ following methods depending if it's (i) a major, (ii) a minor, or (iii) a patch
29
+ release:
30
+
31
+ # version:write like before
32
+ $ rake version:write MAJOR=0 MINOR=3 PATCH=0
33
+
34
+ # bump just major, ie 0.1.0 -> 1.0.0
35
+ $ rake version:bump:major
36
+
37
+ # bump just minor, ie 0.1.0 -> 0.2.0
38
+ $ rake version:bump:minor
39
+
40
+ # bump just patch, ie 0.1.0 -> 0.1.1
41
+ $ rake version:bump:patch
42
+
43
+ ### 2. Local Testing of Gem
44
+
45
+ While doing active work on your project, it is helpful to actively install your gem into your local gem repo using `rake install` on the command-line.
46
+
47
+ $ rake install
48
+
49
+ Do note that discovering what files to include in the gem is written around git. The file must be at least be tracked. You may need to do a `git init` and a `git add .` to at least satisfy the requirements for building a gem from source.
50
+
51
+ ### 3. Releasing
52
+
53
+ At last, it's time to ship it! Make sure you have everything committed and pushed, then go wild:
54
+
55
+ $ rake release
56
+
57
+ # Copyright
58
+
59
+ Copyright (c) 2014 Peter Salas. See LICENSE.txt for
60
+ further details.
61
+
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -23,4 +23,13 @@ class FalseClass
23
23
  def to_bool
24
24
  self
25
25
  end
26
+ end
27
+
28
+ ##
29
+ # Implementing to_bool operation that returns self
30
+ #
31
+ class NilClass
32
+ def to_bool
33
+ self
34
+ end
26
35
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ruby-development-toolbox"
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter Salas"]
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
  s.email = "psalas+github@gmail.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
- "README.rdoc"
17
+ "README.md"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  "Gemfile",
23
23
  "Gemfile.lock",
24
24
  "LICENSE.txt",
25
- "README.rdoc",
25
+ "README.md",
26
26
  "Rakefile",
27
27
  "VERSION",
28
28
  "lib/ruby-development-toolbox.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-development-toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Salas
@@ -87,14 +87,14 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files:
89
89
  - LICENSE.txt
90
- - README.rdoc
90
+ - README.md
91
91
  files:
92
92
  - .document
93
93
  - .rvmrc
94
94
  - Gemfile
95
95
  - Gemfile.lock
96
96
  - LICENSE.txt
97
- - README.rdoc
97
+ - README.md
98
98
  - Rakefile
99
99
  - VERSION
100
100
  - lib/ruby-development-toolbox.rb
data/README.rdoc DELETED
@@ -1,19 +0,0 @@
1
- = ruby-development-toolbox
2
-
3
- Description goes here.
4
-
5
- == Contributing to ruby-development-toolbox
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
9
- * Fork the project.
10
- * Start a feature/bugfix branch.
11
- * Commit and push until you are happy with your contribution.
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2014 Peter Salas. See LICENSE.txt for
18
- further details.
19
-