buildar 1.0.0.1 → 1.0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.1
1
+ 1.0.0.5
data/lib/buildar.rb CHANGED
@@ -52,9 +52,8 @@ class Buildar
52
52
  }.join('.')
53
53
  end
54
54
 
55
- attr_accessor :root, :version_filename, :manifest_filename,
55
+ attr_accessor :root, :name, :version_filename, :manifest_filename,
56
56
  :use_git, :publish, :use_manifest_file
57
- attr_reader :name
58
57
 
59
58
  def initialize(root = nil, name = nil)
60
59
  @root = root ? File.expand_path(root) : Dir.pwd
@@ -81,9 +80,8 @@ class Buildar
81
80
  # s.has_rdoc = true
82
81
  # s.test_files = ['FIX']
83
82
 
84
- s.add_development_dependency "minitest", [">= 0"]
85
83
  s.add_development_dependency "rake", [">= 0"]
86
- s.add_development_dependency "buildar", ["> 0.4"]
84
+ s.add_development_dependency "buildar", ["~> 1.0"]
87
85
  end
88
86
  # Make sure things tracked elsewhere stay updated
89
87
  @gemspec.name = @name
data/lib/buildar/tasks.rb CHANGED
@@ -21,7 +21,7 @@ task :release_major => [:bump_major, :release]
21
21
  #
22
22
  task :message do
23
23
  unless ENV['message']
24
- print "Enter a one-line message:\n> "
24
+ print "This task requires a message:\n> "
25
25
  ENV['message'] = $stdin.gets.chomp
26
26
  end
27
27
  end
data/rakefile.rb CHANGED
@@ -2,10 +2,6 @@ require 'buildar/tasks'
2
2
  require 'rake/testtask'
3
3
 
4
4
  Buildar.conf(__FILE__) do |b|
5
- b.version_filename = 'VERSION'
6
- b.manifest_filename = 'MANIFEST.txt'
7
- b.use_git = true
8
- b.publish[:rubygems] = true
9
5
  b.gemspec.name = 'buildar'
10
6
  b.gemspec.summary = 'Buildar crept inside your rakefile and scratched some tasks'
11
7
  b.gemspec.description = 'Buildar helps automate the release process with versioning, building, packaging, and publishing. Optional git integration'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.1
4
+ version: 1.0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,8 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-06 00:00:00.000000000 Z
12
+ date: 2013-07-07 00:00:00.000000000 Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: minitest
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :development
23
- prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
14
  - !ruby/object:Gem::Dependency
31
15
  name: rake
32
16
  requirement: !ruby/object:Gem::Requirement
@@ -48,17 +32,17 @@ dependencies:
48
32
  requirement: !ruby/object:Gem::Requirement
49
33
  none: false
50
34
  requirements:
51
- - - ! '>'
35
+ - - ~>
52
36
  - !ruby/object:Gem::Version
53
- version: '0.4'
37
+ version: '1.0'
54
38
  type: :development
55
39
  prerelease: false
56
40
  version_requirements: !ruby/object:Gem::Requirement
57
41
  none: false
58
42
  requirements:
59
- - - ! '>'
43
+ - - ~>
60
44
  - !ruby/object:Gem::Version
61
- version: '0.4'
45
+ version: '1.0'
62
46
  description: Buildar helps automate the release process with versioning, building,
63
47
  packaging, and publishing. Optional git integration
64
48
  email: FIX@FIX.COM