alphadecimal 1.0.1 → 1.0.2
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/Manifest.txt +2 -0
- data/Rakefile +23 -10
- data/VERSION +1 -0
- data/alphadecimal.gemspec +52 -0
- data/lib/alphadecimal.rb +0 -2
- data/rails/init.rb +1 -0
- metadata +26 -27
data/Manifest.txt
CHANGED
data/Rakefile
CHANGED
@@ -1,13 +1,26 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
require 'jeweler'
|
3
|
+
Jeweler::Tasks.new do |gem|
|
4
|
+
gem.name = "alphadecimal"
|
5
|
+
gem.summary = %Q{Convert integers to base62 strings (A-Za-z0-9) and back. A handy way to shorten long numbers.}
|
6
|
+
gem.description = %Q{Convert integers to base62 strings (A-Za-z0-9) and back. Ideal for url shorteners like Shawty-server.}
|
7
|
+
gem.email = "rubygems@6brand.com"
|
8
|
+
gem.homepage = "http://github.com/JackDanger/alphadecimal"
|
9
|
+
gem.authors = ["Mike Mondragon", "Jack Danger Canty"]
|
10
|
+
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
11
|
+
end
|
12
|
+
Jeweler::GemcutterTasks.new
|
13
|
+
rescue LoadError
|
14
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
15
|
+
end
|
2
16
|
|
3
|
-
require 'rubygems'
|
4
|
-
require 'hoe'
|
5
|
-
require './lib/alphadecimal.rb'
|
6
17
|
|
7
|
-
Hoe.new('alphadecimal', Alphadecimal::VERSION) do |p|
|
8
|
-
# p.rubyforge_name = 'alphadecimal' # if different than lowercase project name
|
9
|
-
p.developer('Mike Mondragon', 'mikemondragon@gmail.com')
|
10
|
-
p.developer('Jack Danger Canty', 'jdanger@adpickles.com')
|
11
|
-
end
|
12
18
|
|
13
|
-
|
19
|
+
task :default => :test
|
20
|
+
|
21
|
+
require 'rake/testtask'
|
22
|
+
Rake::TestTask.new(:test) do |test|
|
23
|
+
test.libs << '.'
|
24
|
+
test.pattern = 'test/test_*.rb'
|
25
|
+
test.verbose = true
|
26
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.0.2
|
@@ -0,0 +1,52 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{alphadecimal}
|
8
|
+
s.version = "1.0.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Mike Mondragon", "Jack Danger Canty"]
|
12
|
+
s.date = %q{2010-05-03}
|
13
|
+
s.default_executable = %q{alphadecimal}
|
14
|
+
s.description = %q{Convert integers to base62 strings (A-Za-z0-9) and back. Ideal for url shorteners like Shawty-server.}
|
15
|
+
s.email = %q{rubygems@6brand.com}
|
16
|
+
s.executables = ["alphadecimal"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"README.txt"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
"History.txt",
|
22
|
+
"Manifest.txt",
|
23
|
+
"README.txt",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"alphadecimal.gemspec",
|
27
|
+
"bin/alphadecimal",
|
28
|
+
"init.rb",
|
29
|
+
"lib/alphadecimal.rb",
|
30
|
+
"rails/init.rb",
|
31
|
+
"test/test_alphadecimal.rb"
|
32
|
+
]
|
33
|
+
s.homepage = %q{http://github.com/JackDanger/alphadecimal}
|
34
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
35
|
+
s.require_paths = ["lib"]
|
36
|
+
s.rubygems_version = %q{1.3.6}
|
37
|
+
s.summary = %q{Convert integers to base62 strings (A-Za-z0-9) and back. A handy way to shorten long numbers.}
|
38
|
+
s.test_files = [
|
39
|
+
"test/test_alphadecimal.rb"
|
40
|
+
]
|
41
|
+
|
42
|
+
if s.respond_to? :specification_version then
|
43
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
44
|
+
s.specification_version = 3
|
45
|
+
|
46
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
47
|
+
else
|
48
|
+
end
|
49
|
+
else
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
data/lib/alphadecimal.rb
CHANGED
data/rails/init.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'alphadecimal'
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alphadecimal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 1
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
version: 1.0.2
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Mike Mondragon
|
@@ -10,65 +15,59 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date:
|
14
|
-
default_executable:
|
15
|
-
dependencies:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 1.5.1
|
24
|
-
version:
|
25
|
-
description: Convert integers to base62 strings (A-Za-z0-9) and back. A handy way to shorten long numbers.
|
26
|
-
email:
|
27
|
-
- mikemondragon@gmail.com
|
28
|
-
- jdanger@adpickles.com
|
18
|
+
date: 2010-05-03 00:00:00 -07:00
|
19
|
+
default_executable: alphadecimal
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: Convert integers to base62 strings (A-Za-z0-9) and back. Ideal for url shorteners like Shawty-server.
|
23
|
+
email: rubygems@6brand.com
|
29
24
|
executables:
|
30
25
|
- alphadecimal
|
31
26
|
extensions: []
|
32
27
|
|
33
28
|
extra_rdoc_files:
|
34
|
-
- History.txt
|
35
|
-
- Manifest.txt
|
36
29
|
- README.txt
|
37
30
|
files:
|
38
31
|
- History.txt
|
39
32
|
- Manifest.txt
|
40
33
|
- README.txt
|
41
34
|
- Rakefile
|
35
|
+
- VERSION
|
36
|
+
- alphadecimal.gemspec
|
42
37
|
- bin/alphadecimal
|
43
38
|
- init.rb
|
44
39
|
- lib/alphadecimal.rb
|
40
|
+
- rails/init.rb
|
45
41
|
- test/test_alphadecimal.rb
|
46
42
|
has_rdoc: true
|
47
43
|
homepage: http://github.com/JackDanger/alphadecimal
|
44
|
+
licenses: []
|
45
|
+
|
48
46
|
post_install_message:
|
49
47
|
rdoc_options:
|
50
|
-
- --
|
51
|
-
- README.txt
|
48
|
+
- --charset=UTF-8
|
52
49
|
require_paths:
|
53
50
|
- lib
|
54
51
|
required_ruby_version: !ruby/object:Gem::Requirement
|
55
52
|
requirements:
|
56
53
|
- - ">="
|
57
54
|
- !ruby/object:Gem::Version
|
55
|
+
segments:
|
56
|
+
- 0
|
58
57
|
version: "0"
|
59
|
-
version:
|
60
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
59
|
requirements:
|
62
60
|
- - ">="
|
63
61
|
- !ruby/object:Gem::Version
|
62
|
+
segments:
|
63
|
+
- 0
|
64
64
|
version: "0"
|
65
|
-
version:
|
66
65
|
requirements: []
|
67
66
|
|
68
|
-
rubyforge_project:
|
69
|
-
rubygems_version: 1.
|
67
|
+
rubyforge_project:
|
68
|
+
rubygems_version: 1.3.6
|
70
69
|
signing_key:
|
71
|
-
specification_version:
|
72
|
-
summary: Convert integers to base62 strings (A-Za-z0-9) and back
|
70
|
+
specification_version: 3
|
71
|
+
summary: Convert integers to base62 strings (A-Za-z0-9) and back. A handy way to shorten long numbers.
|
73
72
|
test_files:
|
74
73
|
- test/test_alphadecimal.rb
|