learning 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in learning.gemspec
4
+ gemspec
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'learning'
4
+ Learning::Runner.new(ARGV).run
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "learning/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "learning"
7
+ s.version = Learning::VERSION
8
+ s.authors = ["Tomas D'Stefano"]
9
+ s.email = ["tomas_stefano@successoft.com"]
10
+ s.homepage = "https://github.com/tomas-stefano/learning"
11
+ s.summary = %q{Gem created in Rubycasts episode. Listing links from Ruby-BR community}
12
+ s.description = %q{Listing links from Ruby-BR community}
13
+
14
+ s.rubyforge_project = "learning"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+
21
+ # s.add_dependency 'active_support', '~> 3.0.0'
22
+ # s.add_development_dependency 'rspec', '~> 2.0'
23
+ end
@@ -0,0 +1,7 @@
1
+ require "learning/version"
2
+ require 'learning/runner'
3
+ require 'yaml'
4
+
5
+ module Learning
6
+ # Your code goes here...
7
+ end
@@ -0,0 +1,12 @@
1
+ learning:
2
+ rubycasts: http://rubycasts.com.br
3
+ rubyonda: http://rubyonda.com
4
+ rubyonbr: http://rubyonbr.org
5
+
6
+ # blogs:
7
+ # etc
8
+
9
+ # install_instruction
10
+ # rvm
11
+ # rbenv
12
+ # normal
@@ -0,0 +1,11 @@
1
+ module Learning
2
+ class Runner
3
+ def run
4
+ learning = YAML.load_file(File.join(File.dirname(__FILE__), 'learning.yml'))
5
+ learning['learning'].each do |name, link|
6
+ puts "#{name}:"
7
+ puts "\t#{link}"
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,3 @@
1
+ module Learning
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,55 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: learning
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Tomas D'Stefano
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-09-05 00:00:00.000000000Z
13
+ dependencies: []
14
+ description: Listing links from Ruby-BR community
15
+ email:
16
+ - tomas_stefano@successoft.com
17
+ executables:
18
+ - learning
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - .gitignore
23
+ - Gemfile
24
+ - Rakefile
25
+ - bin/learning
26
+ - learning.gemspec
27
+ - lib/learning.rb
28
+ - lib/learning/learning.yml
29
+ - lib/learning/runner.rb
30
+ - lib/learning/version.rb
31
+ homepage: https://github.com/tomas-stefano/learning
32
+ licenses: []
33
+ post_install_message:
34
+ rdoc_options: []
35
+ require_paths:
36
+ - lib
37
+ required_ruby_version: !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
40
+ - - ! '>='
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ required_rubygems_version: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ requirements: []
50
+ rubyforge_project: learning
51
+ rubygems_version: 1.8.5
52
+ signing_key:
53
+ specification_version: 3
54
+ summary: Gem created in Rubycasts episode. Listing links from Ruby-BR community
55
+ test_files: []