browsah 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/Rakefile +18 -0
- data/browsah.gemspec +17 -0
- data/lib/browsah.rb +19 -0
- data/lib/browsah/version.rb +13 -0
- data/script/console +7 -0
- data/test/browsah/xxx_test.rb +14 -0
- data/test/test_helper.rb +7 -0
- metadata +74 -0
data/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# It's a REAL BROWSAH!!!1!
|
data/Rakefile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rake'
|
2
|
+
require 'rake/testtask'
|
3
|
+
|
4
|
+
Rake::TestTask.new do |t|
|
5
|
+
t.libs << "test"
|
6
|
+
t.test_files = FileList['test/**/*.rb']
|
7
|
+
t.verbose = true
|
8
|
+
end
|
9
|
+
|
10
|
+
desc 'Load the gem environment'
|
11
|
+
task :environment do
|
12
|
+
require File.expand_path(File.dirname(__FILE__) + '/lib/browsah.rb')
|
13
|
+
end
|
14
|
+
|
15
|
+
# To load rake tasks on lib/task folder
|
16
|
+
# load 'lib/tasks/task_sample.rake'
|
17
|
+
|
18
|
+
task :default => :test
|
data/browsah.gemspec
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = "browsah"
|
3
|
+
s.version = "0.0.0"
|
4
|
+
s.platform = Gem::Platform::RUBY
|
5
|
+
s.summary = "it's a real browsah"
|
6
|
+
s.require_paths = ['lib']
|
7
|
+
s.files = Dir["{lib/**/*.rb,README.md,test/**/*.rb,Rakefile,*.gemspec,script/*}"]
|
8
|
+
|
9
|
+
s.author = "Abril"
|
10
|
+
s.email = "lfcipriani@gmail.com"
|
11
|
+
s.homepage = "http://abril.com"
|
12
|
+
|
13
|
+
# s.add_dependency('dependency', '>= 1.0.0')
|
14
|
+
|
15
|
+
# s.add_development_dependency('cover_me')
|
16
|
+
# s.add_development_dependency('ruby-debug19')
|
17
|
+
end
|
data/lib/browsah.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__))
|
2
|
+
|
3
|
+
# Dependencies
|
4
|
+
require "rubygems"
|
5
|
+
require "bundler/setup"
|
6
|
+
# require other dependencies here...
|
7
|
+
|
8
|
+
# Gem requirements
|
9
|
+
# Your can require or autoload gem files here, see examples below
|
10
|
+
# require "gem_name/file"
|
11
|
+
# module GemName
|
12
|
+
# autoload :AClass , "migrator/a_class"
|
13
|
+
# autoload :AnotherClass, "migrator/another_class"
|
14
|
+
# end
|
15
|
+
|
16
|
+
module Browsah
|
17
|
+
|
18
|
+
end
|
19
|
+
|
data/script/console
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# File: script/console
|
3
|
+
irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
|
4
|
+
ENV["MIGRATOR_CALLER"] = "console"
|
5
|
+
libs = " -r #{File.dirname(__FILE__) + '/../lib/browsah.rb'} -r ruby-debug"
|
6
|
+
puts "Loading gem development environment..."
|
7
|
+
exec "#{irb} #{libs} --simple-prompt #{ARGV.join("")}"
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: browsah
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 0.0.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Abril
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-08-26 00:00:00 -03:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description:
|
23
|
+
email: lfcipriani@gmail.com
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files: []
|
29
|
+
|
30
|
+
files:
|
31
|
+
- lib/browsah/version.rb
|
32
|
+
- lib/browsah.rb
|
33
|
+
- README.md
|
34
|
+
- test/browsah/xxx_test.rb
|
35
|
+
- test/test_helper.rb
|
36
|
+
- Rakefile
|
37
|
+
- browsah.gemspec
|
38
|
+
- script/console
|
39
|
+
has_rdoc: true
|
40
|
+
homepage: http://abril.com
|
41
|
+
licenses: []
|
42
|
+
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options: []
|
45
|
+
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
hash: 3
|
54
|
+
segments:
|
55
|
+
- 0
|
56
|
+
version: "0"
|
57
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 3
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
version: "0"
|
66
|
+
requirements: []
|
67
|
+
|
68
|
+
rubyforge_project:
|
69
|
+
rubygems_version: 1.3.7
|
70
|
+
signing_key:
|
71
|
+
specification_version: 3
|
72
|
+
summary: it's a real browsah
|
73
|
+
test_files: []
|
74
|
+
|