View list.md
- https://pragprog.com/book/jrport2/manage-your-project-portfolio-second-edition
- http://www.sandimetz.com/99bottles
http://objectsonrails.com/(read)https://pragprog.com/book/d-jrlean/agile-and-lean-program-management#links(read)- https://leanpub.com/teamleader
- https://www.theeffectiveengineer.com/book
- https://www.amazon.com/Liftoff-Launching-Agile-Teams-Projects/dp/097792016X
- https://en.wikipedia.org/wiki/Critical_path_method
- https://www.amazon.fr/Uterus-Feature-Not-Bug-Overthrowing/dp/0062641816
https://leanpub.com/4rulesofsimpledesign/(read)
View ensure_teardown.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "minitest/autorun" | |
def raise_an_exception | |
raise "Raised!" | |
end | |
module Minitest | |
module Ensure | |
def ensure_to_call_after(name) | |
old_test_method = instance_method("test_#{name}") |
View pg_jsonb.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "hanami/model/coercer" | |
require "sequel" | |
require "sequel/extensions/pg_json" | |
class PGJsonB < Hanami::Model::Coercer | |
def self.dump(hash_map) | |
::Sequel.pg_jsonb(hash_map) | |
end | |
def self.load(jsonb) |
View docset_for_gem.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# rubygem is required | |
# yard is required: gem install yard | |
# doc_to_dash is required: gem install doc_to_dash | |
GEM_NAME_PREFIX=$1 | |
DOCSET_DIR=$2 | |
TMP_DIR=$(mktemp -d) |
View Rakefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP_ROOT=ENV["APP_ROOT"] || Dir.pwd | |
# avoid redefining constants in mruby Rakefile | |
mruby_root=File.expand_path(ENV["MRUBY_ROOT"] || "#{APP_ROOT}/mruby") | |
mruby_config=File.expand_path(ENV["MRUBY_CONFIG"] || "build_config.rb") | |
ENV['MRUBY_ROOT'] = mruby_root | |
ENV['MRUBY_CONFIG'] = mruby_config | |
Rake::Task[:mruby].invoke unless Dir.exist?(mruby_root) | |
Dir.chdir(mruby_root) | |
load "#{mruby_root}/Rakefile" |
View define_method_vs_module_eval.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'benchmark/lab' | |
def method_names(number) | |
number.times.map do | |
10.times.inject("") { |e| e << ('a'..'z').to_a.sample} | |
end | |
end | |
class DefineMethod | |
def self.def_methods(_methods) |
View README.md
Hi all,
It's the second year that me and Tyler are organizing the Ruby devroom at fosdem 2016. It focuses on Ruby internals and implementations. It's more about how Ruby is implemented than how it can be used. Last year we had great devs for MRI, Jruby, Rubinius, or Rubymotion. It would be wonderful to have a talk about mruby.
The CFP is open and ends on the 1st December.
Thanks for sharing it with other mruby contributors.
NewerOlder