kematzy-tasks 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -297,8 +297,7 @@ Create a NEW Sass page and include it in the _pages.sass file for loading.
297
297
  * Add tests for it. This is important so I don't break it in a
298
298
  future version unintentionally.
299
299
  * Commit, do not mess with rakefile, version, or history.
300
- (if you want to have your own version, that is fine but
301
- bump version in a commit by itself I can ignore when I pull)
300
+ * (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
302
301
  * Send me a pull request. Bonus points for topic branches.
303
302
 
304
303
  == Copyright
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{kematzy-tasks}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["kematzy"]
12
- s.date = %q{2010-02-22}
12
+ s.date = %q{2010-03-15}
13
13
  s.description = %q{All those helpful little Rake tasks in one single location for use in any site}
14
14
  s.email = %q{kematzy@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  s.homepage = %q{http://github.com/kematzy/kematzy-tasks}
38
38
  s.rdoc_options = ["--charset=UTF-8"]
39
39
  s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.5}
40
+ s.rubygems_version = %q{1.3.6}
41
41
  s.summary = %q{A helpful collection of Rake tasks for improved workflows}
42
42
  s.test_files = [
43
43
  "spec/kematzy/tasks_spec.rb",
data/lib/kematzy/tasks.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  module Kematzy
4
4
 
5
5
  module Tasks
6
- VERSION = '0.1.0'
6
+ VERSION = '0.1.1'
7
7
  def self.version
8
8
  "Kematzy::Tasks v#{VERSION}"
9
9
  end
@@ -1,3 +1,4 @@
1
+ require "kematzy/tasks"
1
2
 
2
3
  namespace :db do
3
4
 
@@ -5,11 +5,12 @@ namespace :symlink do
5
5
  task :shared, [:dirs] do |t, args|
6
6
  unless args.dirs
7
7
  msg = %Q[\nERROR:\n\n You must define the :dirs variable like this:\n]
8
- msg << %Q[ rake symlink:shared dirs=assets, downloads, images, photos, movies, system, uploads,... \n\n]
8
+ msg << %Q[ rake symlink:shared dirs="assets, downloads, images, photos, movies, system, uploads,..." \n\n]
9
9
  puts msg
10
10
  else
11
- PROJECT_ROOT = File.dirname(File.expand_path(__FILE__))
12
- dirs.each do |dir|
11
+ PROJECT_ROOT = File.expand_path(Dir.pwd)
12
+ args.dirs.split(',').each do |dir|
13
+ dir = dir.strip
13
14
  `ln -s #{File.join(File.dirname(PROJECT_ROOT), 'shared', dir)} #{File.join(PROJECT_ROOT, 'public', dir)}`
14
15
  puts "symlinked '../shared/#{dir}' => 'current/public/#{dir}'"
15
16
  end
@@ -17,16 +18,3 @@ namespace :symlink do
17
18
  end
18
19
 
19
20
  end #/ namespace symlink
20
- #
21
- # namespace :symlink do
22
- #
23
- # desc "Symlink shared directories to current/public"
24
- # task :shared do
25
- # PROJECT_ROOT = File.dirname(File.expand_path(__FILE__))
26
- # %w(assets downloads images photos movies system uploads).each do |dir|
27
- # `ln -s #{File.join(File.dirname(PROJECT_ROOT), 'shared', dir)} #{File.join(PROJECT_ROOT, 'public', dir)}`
28
- # puts "symlinked '../shared/#{dir}' => 'current/public/#{dir}'"
29
- # end
30
- # end
31
- #
32
- # end #/ namespace symlink
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kematzy-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 1
9
+ version: 0.1.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - kematzy
@@ -9,29 +14,35 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-02-22 00:00:00 +08:00
17
+ date: 2010-03-15 00:00:00 +08:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rake
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 8
30
+ - 7
23
31
  version: 0.8.7
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: rspec
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
33
43
  version: "0"
34
- version:
44
+ type: :development
45
+ version_requirements: *id002
35
46
  description: All those helpful little Rake tasks in one single location for use in any site
36
47
  email: kematzy@gmail.com
37
48
  executables: []
@@ -71,18 +82,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
71
82
  requirements:
72
83
  - - ">="
73
84
  - !ruby/object:Gem::Version
85
+ segments:
86
+ - 0
74
87
  version: "0"
75
- version:
76
88
  required_rubygems_version: !ruby/object:Gem::Requirement
77
89
  requirements:
78
90
  - - ">="
79
91
  - !ruby/object:Gem::Version
92
+ segments:
93
+ - 0
80
94
  version: "0"
81
- version:
82
95
  requirements: []
83
96
 
84
97
  rubyforge_project:
85
- rubygems_version: 1.3.5
98
+ rubygems_version: 1.3.6
86
99
  signing_key:
87
100
  specification_version: 3
88
101
  summary: A helpful collection of Rake tasks for improved workflows