bones 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,17 @@
1
- == 3.0.0 / 2009-10-
1
+ == 3.0.1 / 2009-10-08
2
+
3
+ * 2 bug fixes
4
+ - Fixing the ".git" exclude pattern
5
+ - Calling "git clone" when creating from a git repository
6
+ (as opposed to git-clone which is not available on all platforms)
7
+
8
+ == 3.0.0 / 2009-10-07
9
+
10
+ * 4 major enhancements
11
+ - Refactored to use a plugin system for rake tasks
12
+ - Now using the "loquacious" gem for helpful configuration
13
+ - Bones is now a required development dependency
14
+ - Interoperability with gemcutter.org
2
15
 
3
16
  == 2.5.1 / 2009-05-12
4
17
 
data/Rakefile CHANGED
@@ -35,5 +35,6 @@ Bones {
35
35
 
36
36
  gem.development_dependencies.clear
37
37
  depend_on 'rspec', :development => true
38
+ depend_on 'bones-git', :development => true
38
39
  depend_on 'bones-extras', :development => true
39
40
  }
@@ -26,7 +26,7 @@ FIXME (describe your package)
26
26
 
27
27
  (The MIT License)
28
28
 
29
- Copyright (c) 2008 FIXME (different license?)
29
+ Copyright (c) 2009 FIXME (different license?)
30
30
 
31
31
  Permission is hereby granted, free of charge, to any person obtaining
32
32
  a copy of this software and associated documentation files (the
data/default/Rakefile.bns CHANGED
@@ -9,6 +9,7 @@ ensure_in_path 'lib'
9
9
  require '<%= name %>'
10
10
 
11
11
  task :default => 'test:run'
12
+ task 'gem:release' => 'test:run'
12
13
 
13
14
  Bones {
14
15
  name '<%= name %>'
data/default/bin/NAME.bns CHANGED
@@ -5,4 +5,3 @@ require File.expand_path(
5
5
 
6
6
  # Put your code here
7
7
 
8
- # EOF
@@ -46,4 +46,3 @@ end # module <%= classname %>
46
46
 
47
47
  <%= classname %>.require_all_libs_relative_to(__FILE__)
48
48
 
49
- # EOF
@@ -4,4 +4,3 @@ require File.join(File.dirname(__FILE__), %w[spec_helper])
4
4
  describe <%= classname %> do
5
5
  end
6
6
 
7
- # EOF
@@ -13,4 +13,3 @@ Spec::Runner.configure do |config|
13
13
  # config.mock_with :rr
14
14
  end
15
15
 
16
- # EOF
data/lib/bones.rb CHANGED
@@ -13,7 +13,7 @@ module Bones
13
13
  extend LittlePlugger
14
14
 
15
15
  # :stopdoc:
16
- VERSION = '3.0.0'
16
+ VERSION = '3.0.1'
17
17
  PATH = File.expand_path(File.join(File.dirname(__FILE__), '..'))
18
18
  LIBPATH = File.expand_path(File.join(PATH, 'lib'))
19
19
  HOME = File.expand_path(ENV['HOME'] || ENV['USERPROFILE'])
@@ -78,7 +78,7 @@ class FileManager
78
78
  def _checkout( repotype )
79
79
  case repotype
80
80
  when :git
81
- Git.clone source, destination
81
+ system('git', 'clone', source, destination)
82
82
  FileUtils.rm_rf(File.join(destination, '.git'))
83
83
  when :svn
84
84
  system('svn', 'export', source, destination)
@@ -73,7 +73,7 @@ module Bones::Plugins::BonesPlugin
73
73
  only when creating a release announcement.
74
74
  __
75
75
 
76
- exclude %w(tmp$ bak$ ~$ CVS \.svn/ \.git/ ^pkg/), :desc => <<-__
76
+ exclude %w(tmp$ bak$ ~$ CVS \.svn/ ^\.git/ ^pkg/), :desc => <<-__
77
77
  A list of regular expression patterns that will be used to exclude
78
78
  certain files from the gem packaging process. Each pattern is given
79
79
  as a string, and they are all combined using the regular expression
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bones
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-07 00:00:00 -07:00
12
+ date: 2009-11-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.1.0
33
+ version: 1.1.1
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: loquacious
@@ -52,6 +52,16 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: 1.2.8
54
54
  version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: bones-git
57
+ type: :development
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.0.0
64
+ version:
55
65
  - !ruby/object:Gem::Dependency
56
66
  name: bones-extras
57
67
  type: :development
@@ -70,7 +80,7 @@ dependencies:
70
80
  requirements:
71
81
  - - ">="
72
82
  - !ruby/object:Gem::Version
73
- version: 3.0.0
83
+ version: 3.0.1
74
84
  version:
75
85
  description: |-
76
86
  Mr Bones is a handy tool that creates new Ruby projects from a code