colombus 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Manifest +5 -0
  2. data/README.rdoc +0 -0
  3. data/Rakefile +14 -0
  4. data/colombus.gemspec +30 -0
  5. data/lib/colombus.rb +21 -0
  6. metadata +78 -0
@@ -0,0 +1,5 @@
1
+ Manifest
2
+ README.rdoc
3
+ Rakefile
4
+ colombus.gemspec
5
+ lib/colombus.rb
File without changes
@@ -0,0 +1,14 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+ require 'echoe'
4
+
5
+ Echoe.new('colombus', '0.1.1') do |p|
6
+ p.description = "Generate a simple text"
7
+ p.url = "http://github.com/mauriciodeamorim/colombus"
8
+ p.author = "Mauricio de Amorim"
9
+ p.email = "mauriciodeamorim@gmail.com"
10
+ p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.development_dependencies = []
12
+ end
13
+
14
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
@@ -0,0 +1,30 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{colombus}
5
+ s.version = "0.1.1"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Mauricio de Amorim"]
9
+ s.date = %q{2010-10-29}
10
+ s.description = %q{Generate a simple text}
11
+ s.email = %q{mauriciodeamorim@gmail.com}
12
+ s.extra_rdoc_files = ["README.rdoc", "lib/colombus.rb"]
13
+ s.files = ["Manifest", "README.rdoc", "Rakefile", "colombus.gemspec", "lib/colombus.rb"]
14
+ s.homepage = %q{http://github.com/mauriciodeamorim/colombus}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Colombus", "--main", "README.rdoc"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{colombus}
18
+ s.rubygems_version = %q{1.3.7}
19
+ s.summary = %q{Generate a simple text}
20
+
21
+ if s.respond_to? :specification_version then
22
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ else
27
+ end
28
+ else
29
+ end
30
+ end
@@ -0,0 +1,21 @@
1
+ module Colombus
2
+ def self.included(base)
3
+ base.extend ClassMethods
4
+ end
5
+
6
+ def ensure_unique(name)
7
+ begin
8
+ self[name] = yield
9
+ end while self.class.exists?(name => self[name])
10
+ end
11
+
12
+ module ClassMethods
13
+ def colombus(string)
14
+ string = "#{string.downcase} COLUMBUS"
15
+ end
16
+
17
+ def xxx(string)
18
+ "Triplo X"
19
+ end
20
+ end
21
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: colombus
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
11
+ platform: ruby
12
+ authors:
13
+ - Mauricio de Amorim
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-29 00:00:00 -02:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Generate a simple text
23
+ email: mauriciodeamorim@gmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README.rdoc
30
+ - lib/colombus.rb
31
+ files:
32
+ - Manifest
33
+ - README.rdoc
34
+ - Rakefile
35
+ - colombus.gemspec
36
+ - lib/colombus.rb
37
+ has_rdoc: true
38
+ homepage: http://github.com/mauriciodeamorim/colombus
39
+ licenses: []
40
+
41
+ post_install_message:
42
+ rdoc_options:
43
+ - --line-numbers
44
+ - --inline-source
45
+ - --title
46
+ - Colombus
47
+ - --main
48
+ - README.rdoc
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ hash: 11
66
+ segments:
67
+ - 1
68
+ - 2
69
+ version: "1.2"
70
+ requirements: []
71
+
72
+ rubyforge_project: colombus
73
+ rubygems_version: 1.3.7
74
+ signing_key:
75
+ specification_version: 3
76
+ summary: Generate a simple text
77
+ test_files: []
78
+