versionary 0.1.0 → 0.1.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/.gitignore +14 -5
- data/Gemfile.lock +1 -1
- data/Rakefile +2 -2
- data/lib/versionary/version.rb +3 -0
- data/versionary.gemspec +24 -0
- metadata +5 -3
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -13,7 +13,7 @@ task :environment_ready => [
|
|
13
13
|
begin
|
14
14
|
require 'bundler'
|
15
15
|
Bundler::GemHelper.install_tasks
|
16
|
-
rescue
|
16
|
+
rescue Exception => e
|
17
17
|
puts "This problem should get sorted out once you've completed the above instructions:\n" + e.message
|
18
18
|
end
|
19
19
|
|
@@ -22,7 +22,7 @@ Rake::RDocTask.new do |rdoc|
|
|
22
22
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
23
23
|
|
24
24
|
rdoc.rdoc_dir = 'rdoc'
|
25
|
-
rdoc.title = "
|
25
|
+
rdoc.title = "Versionary #{version}"
|
26
26
|
rdoc.rdoc_files.include('README*')
|
27
27
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
28
28
|
end
|
data/versionary.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "versionary/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "versionary"
|
7
|
+
s.version = Versionary::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["RiverGlide"]
|
10
|
+
s.email = ["talktous@riverglide.com"]
|
11
|
+
s.homepage = "https://github.com/RiverGlide/Versionary"
|
12
|
+
s.summary = %q{Simple, comparable, rational Version Number object}
|
13
|
+
s.description = %q{Versionary has a simple VersionNumber object that allows you to do things like `raise "Not the right version" unless VersionNumber.of( RUBY_VERSION ) >= '1.9.2'` }
|
14
|
+
|
15
|
+
s.licenses = ["MIT"]
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec}/*`.split("\n")
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.add_development_dependency "bundler", "~> 1.0.0"
|
22
|
+
s.add_development_dependency "rake", "~> 0.8.7"
|
23
|
+
s.add_development_dependency "rspec", ">=2.5.0"
|
24
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: versionary
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- RiverGlide
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- README.md
|
83
83
|
- Rakefile
|
84
84
|
- cucumber.yml
|
85
|
+
- lib/versionary/version.rb
|
85
86
|
- lib/versionary/version_number.rb
|
86
87
|
- rake/audit_tasks/you_need_our_dependency_manager.rb
|
87
88
|
- rake/audit_tasks/you_need_the_right_ruby_version.rb
|
@@ -90,6 +91,7 @@ files:
|
|
90
91
|
- rake/testing_tasks/check_features_with_cucumber.rb
|
91
92
|
- rake/testing_tasks/check_internals_with_rspec.rb
|
92
93
|
- spec/versionary/version_number_spec.rb
|
94
|
+
- versionary.gemspec
|
93
95
|
has_rdoc: true
|
94
96
|
homepage: https://github.com/RiverGlide/Versionary
|
95
97
|
licenses:
|