Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: thunderboltlabs/flow
base: 819502aa2a
...
head fork: thunderboltlabs/flow
compare: 3c42ee6c5c
  • 2 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 23, 2012
Tammer Saleh docs 685bfbc
Commits on Apr 24, 2012
Tammer Saleh renamed shit 3c42ee6
View
2  .rspec
@@ -1 +1 @@
---colour
+--colour -r turnip/rspec
View
3  Gemfile
@@ -1,2 +1,5 @@
source "http://rubygems.org"
+
gemspec
+
+gem "turnip", git: "https://github.com/jnicklas/turnip.git"
View
11 Guardfile
@@ -1,18 +1,13 @@
-# A sample Guardfile
-# More info at https://github.com/guard/guard#readme
-
-guard 'rspec', :version => 2, :cli => File.read(".rspec") do
+guard 'rspec', version: 2, cli: File.read(".rspec").delete("\n") do
watch(%r{^spec/.+_spec\.rb$})
-
watch('spec/spec_helper.rb') { "spec" }
watch(".rspec") { "spec" }
watch(%r{^config/}) { "spec" }
watch(%r{^lib/}) { "spec" }
- watch("Guardfile") { "spec" }
watch("Gemfile.lock") { "spec" }
end
-guard 'bundler' do
+guard 'bundler', :cli => '--binstubs .bin' do
watch('Gemfile')
- watch(/^.+\\.gemspec/)
+ watch(/^.+\.gemspec/)
end
View
27 Readme.md
@@ -3,7 +3,7 @@
## Usage
``` bash
-> tbl start 1234 create widgets
+> flow start 1234 create widgets
# Starts the Pivotal Tracker story #1234
# Creates a remote tracking git branch named create_widgets_1234
# Checks out the branch
@@ -12,15 +12,32 @@
Now hack hack hack! ...and when you're done:
``` bash
-> tbl finish
+> flow finish
# Pulls master
# Rebases against master
# Pushes branch to github
# Merges branch to master
-# Runs rake
+# If there's a Rakefile...
+# Runs rake
# Pushes master to github
-# Marks story as finished
-# Deploys to staging
+# If there's an id in the branch name...
+# Marks story as finished
+# If there's a remote named staging...
+# Deploys to staging
+# Runs migrations
# Marks story as deployed
```
+# Authentication
+
+`flow` relies upon your `.gitconfig` file for both Github and Pivotal Tracker authentication:
+
+```
+[github]
+ user = tsaleh
+ token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+[pivotal]
+ api-token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+ full-name = Tammer Saleh
+```
+
View
3  spec/spec_helper.rb
@@ -2,10 +2,13 @@
require "bundler/setup"
require 'rspec'
+require 'turnip'
require 'fakeweb'
require "thunderboltlabs_flow.rb"
+Turnip.step_dirs = ['features']
+
FakeWeb.allow_net_connect = false
def create_dirs
View
10 thunderboltlabs_flow.gemspec
@@ -14,13 +14,17 @@ Gem::Specification.new do |s|
s.rubyforge_project = "thunderboltlabs_flow"
s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.test_files = `git ls-files -- spec/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- # specify any dependencies here; for example:
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "fakeweb"
- # s.add_runtime_dependency "rest-client"
+ s.add_development_dependency "guard"
+ s.add_development_dependency "guard-rspec"
+ s.add_development_dependency "guard-bundler"
+ s.add_development_dependency "yard"
+ s.add_development_dependency 'ruby_gntp'
+ s.add_development_dependency 'turnip'
end

No commit comments for this range

Something went wrong with that request. Please try again.