- Chore: As Cluster Cookbooks, I want to support MySQL
- Feature: As a Customer, I want to use Backup to logically dump a MySQL cluster
- Feature: As AWSM, I want a Azure location balancer
- Feature: As AWSM, I want to make the Instance location reference provider-agnostic
- Feature: As AWSM, I want to implement the Dracul API in a provider-agnostic way
- Feature: As Smithy, I want to present a provider's supported capabilities
- Feature: As Smithy, I want to expose instance access information
- Feature: [As Smithy, I want to authorize images between providers](https://www.pivotaltrac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pivotal' | |
client = Pivotal::Client.new | |
report_file = File.expand_path("~/pivotal-report.txt") | |
File.open(report_file, "w") do |fs| | |
current_iteration = client.projects.get(635517).iterations.current | |
fs.puts "Iteration ##{current_iteration.number}, #{current_iteration.start} - #{current_iteration.finish} : #{current_iteration.team_strength * 100.0}%" | |
current_iteration.stories.each do |story| | |
fs.puts([story.story_type.capitalize, story.name.inspect, story.url].join(", ")) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DataMapper::Model.descendants.each do |model| | |
puts "create_table :#{model.storage_names[:default]} do" | |
model.properties.each do |property| | |
options = property.options.slice(:length) | |
primitive = property.primitive === Class ? String : property.primitive | |
puts " column :#{property.name}, DataMapper::Property::#{primitive.to_s}#{"," + options.map{|k,v| "#{k}: #{v}"}.join(", ") unless options.empty?}" | |
end | |
puts "end" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a gem freeze module | |
# (couldn't find one [I liked], so wrote it) | |
# original is at http://gist.github.com/87639 | |
# | |
# usage example : | |
# http://tinyurl.com/ddzvyz | |
# http://tinyurl.com/cxukck | |
#-- |