rkh-monk 0.0.6 → 0.0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/LICENSE +1 -1
  2. data/bin/monk +5 -6
  3. data/lib/monk.rb +1 -3
  4. data/monk.gemspec +3 -3
  5. metadata +5 -2
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008 Michel Martens and Damian Janowski
1
+ Copyright (c) 2008 Michel Martens, Damian Janowski and Konstantin Haase
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal
data/bin/monk CHANGED
@@ -1,13 +1,12 @@
1
1
  #! /usr/bin/env ruby -rubygems
2
2
 
3
- require File.join(File.dirname(__FILE__), "..", "lib", "monk")
3
+ $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))
4
+ require "monk"
4
5
 
5
- # A way to extend Monk is to write tasks in a Thorfile in the project's root directory.
6
- # Monk loads the Thorfile if there is one, and all the tasks that are declared in the
6
+ # A way to extend Monk is to write tasks in a Monkfile in the project's root directory.
7
+ # Monk loads the Monkfile if there is one, and all the tasks that are declared in the
7
8
  # class Monk become available.
8
- if File.exists?("Thorfile")
9
- load("Thorfile")
10
- end
9
+ Dir.glob("{Thor,Monk}file") { |f| load f }
11
10
 
12
11
  # Start the monk tasks.
13
12
  Monk.start
data/lib/monk.rb CHANGED
@@ -1,7 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
2
 
3
- $LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))
4
-
5
3
  require "thor"
6
4
  require "yaml"
7
5
 
@@ -10,7 +8,7 @@ require "monk/skeleton"
10
8
  class Monk < Thor
11
9
  include Thor::Actions
12
10
 
13
- class_options[:skip].aliases.delete "-s"
11
+ class_options[:skip].aliases.delete "-s" if class_options.include? :skip
14
12
 
15
13
  def self.git_option(name, options = {})
16
14
  class_option name, options.merge(:group => :git)
data/monk.gemspec CHANGED
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "monk"
3
- s.version = "0.0.6"
3
+ s.version = "0.0.6.1"
4
4
  s.summary = "Monk, the glue framework"
5
5
  s.description = "Monk is a glue framework for web development. It means that instead of installing all the tools you need for your projects, you can rely on a git repository and a list of dependencies, and Monk will care of the rest. By default, it ships with a Sinatra application that includes Contest, Stories, Webrat, Ohm and some other niceties, along with a structure and helpful documentation to get your hands wet in no time."
6
- s.authors = ["Damian Janowski", "Michel Martens"]
7
- s.email = ["djanowski@dimaion.com", "michel@soveran.com"]
6
+ s.authors = ["Damian Janowski", "Michel Martens", "Konstantin Haase"]
7
+ s.email = ["djanowski@dimaion.com", "michel@soveran.com", "konstantin.mailinglists@googlemail.com"]
8
8
  s.homepage = "http://monkrb.com"
9
9
 
10
10
  s.rubyforge_project = "monk"
metadata CHANGED
@@ -1,11 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rkh-monk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damian Janowski
8
8
  - Michel Martens
9
+ - Konstantin Haase
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
@@ -37,6 +38,7 @@ description: Monk is a glue framework for web development. It means that instead
37
38
  email:
38
39
  - djanowski@dimaion.com
39
40
  - michel@soveran.com
41
+ - konstantin.mailinglists@googlemail.com
40
42
  executables:
41
43
  - monk
42
44
  extensions: []
@@ -57,6 +59,7 @@ files:
57
59
  - test/test_helper.rb
58
60
  has_rdoc: false
59
61
  homepage: http://monkrb.com
62
+ licenses:
60
63
  post_install_message:
61
64
  rdoc_options: []
62
65
 
@@ -77,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
80
  requirements:
78
81
  - git
79
82
  rubyforge_project: monk
80
- rubygems_version: 1.2.0
83
+ rubygems_version: 1.3.5
81
84
  signing_key:
82
85
  specification_version: 2
83
86
  summary: Monk, the glue framework