alea 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.markdown +1 -1
- data/Rakefile +0 -7
- data/VERSION +1 -1
- data/alea.gemspec +3 -4
- metadata +3 -4
- data/config/hoe.rb +0 -39
- data/config/requirements.rb +0 -15
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg
|
data/README.markdown
CHANGED
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/alea.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{alea}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aitor Garcia"]
|
@@ -17,7 +17,8 @@ Gem::Specification.new do |s|
|
|
17
17
|
"README.markdown"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
-
"
|
20
|
+
".gitignore",
|
21
|
+
"HISTORY",
|
21
22
|
"LICENSE",
|
22
23
|
"Manifest.txt",
|
23
24
|
"POSTINSTALL",
|
@@ -25,8 +26,6 @@ Gem::Specification.new do |s|
|
|
25
26
|
"Rakefile",
|
26
27
|
"VERSION",
|
27
28
|
"alea.gemspec",
|
28
|
-
"config/hoe.rb",
|
29
|
-
"config/requirements.rb",
|
30
29
|
"lib/alea.rb",
|
31
30
|
"lib/alea/kernel.rb",
|
32
31
|
"lib/alea/numeric.rb",
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Aitor Garcia
|
@@ -28,6 +28,7 @@ extra_rdoc_files:
|
|
28
28
|
- LICENSE
|
29
29
|
- README.markdown
|
30
30
|
files:
|
31
|
+
- .gitignore
|
31
32
|
- HISTORY
|
32
33
|
- LICENSE
|
33
34
|
- Manifest.txt
|
@@ -36,8 +37,6 @@ files:
|
|
36
37
|
- Rakefile
|
37
38
|
- VERSION
|
38
39
|
- alea.gemspec
|
39
|
-
- config/hoe.rb
|
40
|
-
- config/requirements.rb
|
41
40
|
- lib/alea.rb
|
42
41
|
- lib/alea/kernel.rb
|
43
42
|
- lib/alea/numeric.rb
|
data/config/hoe.rb
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
require 'alea/version'
|
2
|
-
|
3
|
-
AUTHOR = 'Linking Paths' # can also be an array of Authors
|
4
|
-
EMAIL = "aitor@linkingpaths.com"
|
5
|
-
DESCRIPTION = "alea is a tiny gem that aim to bring some aleatory behavior to ruby Kernel."
|
6
|
-
GEM_NAME = 'alea'
|
7
|
-
HOMEPATH = "http://github.com/linkingpaths/alea"
|
8
|
-
EXTRA_DEPENDENCIES = []
|
9
|
-
|
10
|
-
REV = nil
|
11
|
-
# UNCOMMENT IF REQUIRED:
|
12
|
-
# REV = YAML.load(`svn info`)['Revision']
|
13
|
-
VERS = Alea::VERSION::STRING + (REV ? ".#{REV}" : "")
|
14
|
-
RDOC_OPTS = ['--quiet', '--title', 'alea documentation',
|
15
|
-
"--opname", "index.html",
|
16
|
-
"--line-numbers",
|
17
|
-
"--main", "README",
|
18
|
-
"--inline-source"]
|
19
|
-
|
20
|
-
|
21
|
-
# Generate all the Rake tasks
|
22
|
-
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
23
|
-
$hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
24
|
-
p.developer(AUTHOR, EMAIL)
|
25
|
-
p.description = DESCRIPTION
|
26
|
-
p.summary = DESCRIPTION
|
27
|
-
p.url = HOMEPATH
|
28
|
-
p.test_globs = ["test/**/test_*.rb"]
|
29
|
-
p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store'] #An array of file patterns to delete on clean.
|
30
|
-
|
31
|
-
# == Optional
|
32
|
-
p.changes = p.paragraphs_of("HISTORY", 0..1).join("\n\n")
|
33
|
-
#p.extra_deps = EXTRA_DEPENDENCIES
|
34
|
-
|
35
|
-
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
36
|
-
end
|
37
|
-
|
38
|
-
CHANGES = $hoe.paragraphs_of('HISTORY', 0..1).join("\\n\\n")
|
39
|
-
$hoe.spec.post_install_message = File.open(File.dirname(__FILE__) + "/../POSTINSTALL").read rescue ""
|
data/config/requirements.rb
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
require 'fileutils'
|
2
|
-
include FileUtils
|
3
|
-
|
4
|
-
require 'rubygems'
|
5
|
-
%w[rake hoe ].each do |req_gem|
|
6
|
-
begin
|
7
|
-
require req_gem
|
8
|
-
rescue LoadError
|
9
|
-
puts "This Rakefile requires the '#{req_gem}' RubyGem."
|
10
|
-
puts "Installation: gem install #{req_gem} -y"
|
11
|
-
exit
|
12
|
-
end
|
13
|
-
end
|
14
|
-
|
15
|
-
$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))
|