bard 0.8.3 → 0.8.4

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
1
+ 0.8.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bard}
8
- s.version = "0.8.3"
8
+ s.version = "0.8.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Micah Geisel", "Nick Hogle"]
@@ -24,6 +24,7 @@ class Bard < Thor
24
24
 
25
25
  desc "create [PROJECT_NAME]", "create new project"
26
26
  def create(project_name)
27
+ check_dependencies
27
28
  template_path = File.expand_path(File.dirname(__FILE__) + "/bard/template.rb")
28
29
  command = "rails --template=#{template_path} #{project_name}"
29
30
  exec command
@@ -38,6 +39,7 @@ class Bard < Thor
38
39
 
39
40
  desc "data", "copy production database down to your local machine"
40
41
  def data
42
+ check_dependencies
41
43
  exec "cap data:pull"
42
44
  end
43
45
 
@@ -178,16 +178,11 @@ doc/spec/*
178
178
  db/data.*
179
179
  db/*.sqlite3
180
180
  config/database.yml
181
- config/deploy.rb
182
181
  converage/**/*
183
182
  public/stylesheets/*.css
184
183
  *[~]
185
184
  END
186
185
 
187
- git :init
188
- git :add => "."
189
- git :commit => "-m'initial commit.'"
190
-
191
186
  # Deployment and staging setup
192
187
  file "Capfile", <<-END
193
188
  Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
@@ -199,5 +194,10 @@ file "config/deploy.rb", <<-END
199
194
  set :application, "#{project_name}"
200
195
  END
201
196
 
197
+ git :init
198
+ git :add => "."
199
+ git :commit => "-m'initial commit.'"
200
+ git :checkout => "-b integration"
201
+
202
202
  git :remote => "add origin git@git.botandrose.com:#{project_name}.git"
203
203
  run "cap staging:bootstrap"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel