repo
string
commit
string
message
string
diff
string
simonwhitaker/goo-website
5709d9ddb08271162e5c354654e748e256494025
Changing blog design to black background
diff --git a/artwork/open-quote.opacity b/artwork/open-quote.opacity new file mode 100644 index 0000000..5c60091 Binary files /dev/null and b/artwork/open-quote.opacity differ diff --git a/src/content/blog/0002-subversion-rev.md b/src/content/blog/0002-subversion-rev.md index c3e6cd9..220d7a0 100644 --- a/src/content/b...
simonwhitaker/goo-website
135c847c8b71adcecf471b1a93c03fac7a12f1cd
Added Lucky Voice Karaoke to the portfolio
diff --git a/src/content/css/goo.css b/src/content/css/goo.css index 8b35814..0149fc7 100644 --- a/src/content/css/goo.css +++ b/src/content/css/goo.css @@ -1,400 +1,411 @@ @import url('base.css'); body { width: 840px; } /* Header ----------------------------------------*/ #header { position: rela...
simonwhitaker/goo-website
52cf560f65156d8ab93890e291794d401f13879f
New blog post
diff --git a/src/content/blog/0009-Xcode4-symbolication-problems.md b/src/content/blog/0009-Xcode4-symbolication-problems.md index cc6f83a..91c43cf 100644 --- a/src/content/blog/0009-Xcode4-symbolication-problems.md +++ b/src/content/blog/0009-Xcode4-symbolication-problems.md @@ -1,51 +1,51 @@ --- kind: article crea...
simonwhitaker/goo-website
223ec9d3c2b751b9603c3b8c914169bbeebeb0a4
Fix missing space at end of line
diff --git a/src/content/index.yaml b/src/content/index.yaml index 328cdf2..796d21b 100644 --- a/src/content/index.yaml +++ b/src/content/index.yaml @@ -1,86 +1,86 @@ title: "Fantastic Apps for iPhone, iPad and Android" description: "Goo Software Ltd is an independent UK-based software house specialising in developme...
simonwhitaker/goo-website
d1047ddf6eddc041502eac2f5de41d109e90467f
New blog post
diff --git a/src/content/blog/0009-Xcode4-symbolication-problems.md b/src/content/blog/0009-Xcode4-symbolication-problems.md new file mode 100644 index 0000000..cc6f83a --- /dev/null +++ b/src/content/blog/0009-Xcode4-symbolication-problems.md @@ -0,0 +1,51 @@ +--- +kind: article +created_at: 2011-03-30 +title: The sym...
simonwhitaker/goo-website
3150bf74afb5f1f9f6dad6dd97e6c25869cb0cb8
Add BBC Bitesize exam alert app
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..249e7ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +src/tmp/ +html +artwork/Goo product compositions/ diff --git a/README.markdown b/README.markdown new file mode 100644 index 0000000..c8e7bab --- /dev/null +++ b/README.markdown @@ ...
blazingcloud/pie
15f9b5c3b6f245f1771bbefc9956165eef6ea927
put back tests for places accessor, move book use case failures to pivotal tracker
diff --git a/lib/place.rb b/lib/place.rb index b4e0e0a..7410fd8 100644 --- a/lib/place.rb +++ b/lib/place.rb @@ -1,86 +1,87 @@ class Pie::Place - attr_reader :name, :description, :paths + attr_accessor :description + attr_reader :name, :paths def initialize(places, options) @paths = {} @places...
blazingcloud/pie
10e030f8f2a5821cbec2e16f6eb51f81346c1b1e
display real Ruby error also for 'NoMethodError'
diff --git a/lib/pie.rb b/lib/pie.rb index a605c3f..3cb2fea 100644 --- a/lib/pie.rb +++ b/lib/pie.rb @@ -1,86 +1,86 @@ module Pie attr_accessor :places def initialize @places = {} end def self.[](key) (@map ||= {})[key] end def self.[]=(key, value) (@map ||= {})[key] = value end...
blazingcloud/pie
f5d784bea7090659dae23f4061dfa1b03d771b14
better description for NoMethodError
diff --git a/lib/pie.rb b/lib/pie.rb index 69fbd6b..a605c3f 100644 --- a/lib/pie.rb +++ b/lib/pie.rb @@ -1,86 +1,86 @@ module Pie attr_accessor :places def initialize @places = {} end def self.[](key) (@map ||= {})[key] end def self.[]=(key, value) (@map ||= {})[key] = value end...
blazingcloud/pie
1378d2aad42438fe19189b33fee4f957dd7051d9
remove test file
diff --git a/lib/place.rb b/lib/place.rb index 16a3259..b4e0e0a 100644 --- a/lib/place.rb +++ b/lib/place.rb @@ -1,88 +1,86 @@ -#require_relative 'pie.rb' - class Pie::Place attr_reader :name, :description, :paths def initialize(places, options) @paths = {} @places = places extract_s...
blazingcloud/pie
f4d25c6d4c33fb365a48f26dc4f46ff9e393e9e1
refactor name validation to handle logical alternate cases
diff --git a/README.md b/README.md index 2d2df71..b0a4eab 100644 --- a/README.md +++ b/README.md @@ -1,64 +1,65 @@ # Pie A game development DSL, inspired by Yasuko Ohba's Ruby Kaigi talk and a late night conversation with @knowtheory, @wycats, @sarahmei and @ultrasaurus. Pie requires Ruby 1.9, because it is so ...
blazingcloud/pie
9fac480bf83826e96f2b29cc5b18b485fe852780
refactor name validation to handle logical alternate cases
diff --git a/lib/place.rb b/lib/place.rb index a6ef77a..16a3259 100644 --- a/lib/place.rb +++ b/lib/place.rb @@ -1,82 +1,88 @@ #require_relative 'pie.rb' class Pie::Place attr_reader :name, :description, :paths def initialize(places, options) @paths = {} @places = places extract_s...
blazingcloud/pie
3bab0ccbf8c78117f61fc6d3629ada11b2aa6f10
refactor place to validate name in name=
diff --git a/lib/place.rb b/lib/place.rb index 29d0fc3..a6ef77a 100644 --- a/lib/place.rb +++ b/lib/place.rb @@ -1,81 +1,82 @@ +#require_relative 'pie.rb' + class Pie::Place attr_reader :name, :description, :paths def initialize(places, options) @paths = {} @places = places - - ...
blazingcloud/pie
e78c3b90ee02a85b7ecccdcee8b71de75fffea9f
give better errors when naming places with ruby keywords, and other cases
diff --git a/lib/place.rb b/lib/place.rb index 1936060..29d0fc3 100644 --- a/lib/place.rb +++ b/lib/place.rb @@ -1,37 +1,81 @@ class Pie::Place attr_reader :name, :description, :paths def initialize(places, options) @paths = {} @places = places + + + extract_standard_options(op...
blazingcloud/pie
59357fdbd5b793747cfbbed513e6d232fe8c685b
report error when place name isn't recognized as a path arg
diff --git a/lib/place.rb b/lib/place.rb index 1bab2c1..1936060 100644 --- a/lib/place.rb +++ b/lib/place.rb @@ -1,34 +1,37 @@ class Pie::Place attr_reader :name, :description, :paths def initialize(places, options) @paths = {} @places = places extract_standard_options(options) extrac...
blazingcloud/pie
bbbcee0bce4ae6a3e81d683d3a8f51816c1c0343
games should not include places from other games
diff --git a/.bundle/config b/.bundle/config index 8ebbe30..2fbf0ff 100644 --- a/.bundle/config +++ b/.bundle/config @@ -1,2 +1 @@ ---- -BUNDLE_DISABLE_SHARED_GEMS: "1" +--- {} diff --git a/lib/pie.rb b/lib/pie.rb index ede413d..69fbd6b 100644 --- a/lib/pie.rb +++ b/lib/pie.rb @@ -1,93 +1,86 @@ module Pie - + attr...
blazingcloud/pie
c6d51376847e592887dd1643ef87506e06dc910a
added Matthew Bass as a contributor to the README, updated gem
diff --git a/README.md b/README.md index a9c60dc..5b4b0d7 100644 --- a/README.md +++ b/README.md @@ -1,52 +1,53 @@ # Pie A game development DSL, inspired by Yasuko Ohba's Ruby Kaigi talk and a late night conversation with @knowtheory, @wycats, @sarahmei and @ultrasaurus. Pie requires Ruby 1.9, because it is so ...
blazingcloud/pie
52264d418abd64f158187e3e9aa38e6aa200e879
visiting root url uses first place in list
diff --git a/.gitignore b/.gitignore index 11401d9..c6cdda9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .idea +.rvmrc *~ *.gem diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..3d4824d --- /dev/null +++ b/Rakefile @@ -0,0 +1,8 @@ +require 'rake' +require 'spec/version' +require 'spec/...
blazingcloud/pie
5dd4a3572e158f03788ebccea8ec7de19ef4f187
change instance eval to method_missing so it works in rhodes
diff --git a/lib/pie.rb b/lib/pie.rb index 6c14897..ede413d 100644 --- a/lib/pie.rb +++ b/lib/pie.rb @@ -1,87 +1,93 @@ module Pie def self.[](key) (@map ||= {})[key] end def self.[]=(key, value) (@map ||= {})[key] = value end def self.language=(language) @language = language en...
blazingcloud/pie
eae43036b56d952ce9c43db64d3d9265f81460de
fixup pie_server for setting data
diff --git a/lib/pie_server.rb b/lib/pie_server.rb index 5315f7b..9ea6afd 100644 --- a/lib/pie_server.rb +++ b/lib/pie_server.rb @@ -1,26 +1,30 @@ require 'sinatra/base' class Pie::WebApp < Sinatra::Base set :root, File.join(File.expand_path(File.dirname(__FILE__)), "..") get '/' do "hello" end ...
blazingcloud/pie
273fbcdf45ce5824c472f5831237a0658170c166
namespec WebApp inside Pie module
diff --git a/bin/pie b/bin/pie index b42a809..444dfcb 100755 --- a/bin/pie +++ b/bin/pie @@ -1,40 +1,40 @@ #!/usr/bin/env ruby if RUBY_VERSION < "1.9.0" puts "Error: pie requires Ruby 1.9, please use RVM." exit end if ARGV.size == 0 puts "Usage: pie myfile" exit end pie_file = ARGV.first pie_file...
blazingcloud/pie
f57a687f2c760817b49c539ec017f96c7c958b04
use Sinatra settings instead of global var -- whew
diff --git a/bin/pie b/bin/pie index cba0b4b..b42a809 100755 --- a/bin/pie +++ b/bin/pie @@ -1,38 +1,40 @@ #!/usr/bin/env ruby if RUBY_VERSION < "1.9.0" puts "Error: pie requires Ruby 1.9, please use RVM." exit end if ARGV.size == 0 puts "Usage: pie myfile" exit end pie_file = ARGV.first pie_file...
blazingcloud/pie
78cdea091d96662c490c001a5fb7c6418003e08e
this is totally hacky, but it works, ugh
diff --git a/bin/pie b/bin/pie index d33c722..cba0b4b 100755 --- a/bin/pie +++ b/bin/pie @@ -1,31 +1,38 @@ #!/usr/bin/env ruby if RUBY_VERSION < "1.9.0" puts "Error: pie requires Ruby 1.9, please use RVM." exit end if ARGV.size == 0 puts "Usage: pie myfile" exit end pie_file = ARGV.first pie_file...
blazingcloud/pie
7f9d186de96950cbf35c26a38e405ec489aeb14d
fixed scoping issues with running Pie from rack
diff --git a/lib/pie.rb b/lib/pie.rb index bf0543b..6c14897 100644 --- a/lib/pie.rb +++ b/lib/pie.rb @@ -1,78 +1,87 @@ module Pie def self.[](key) (@map ||= {})[key] end def self.[]=(key, value) (@map ||= {})[key] = value end def self.language=(language) @language = language en...
blazingcloud/pie
3295dc610d4f16aa4452637b4f917750db1c6f6b
add dead_end back in but make it just a direction with no opposite, remove DeadEnd class
diff --git a/lib/direction.rb b/lib/direction.rb index 23bacd9..1084ede 100644 --- a/lib/direction.rb +++ b/lib/direction.rb @@ -1,47 +1,58 @@ module Pie class Direction < String def opposite(opposite_name = nil) if opposite_name @opposite_name = opposite_name else @o...
blazingcloud/pie
9ca7bbd3f7299ad9eb7a21b651ba76c723b3a301
udpated gemspec
diff --git a/pie.gemspec b/pie.gemspec index a2dee35..9e5beda 100644 --- a/pie.gemspec +++ b/pie.gemspec @@ -1,11 +1,11 @@ spec = Gem::Specification.new do |s| s.name = 'pie' - s.authors = 'Sarah Allen, Sarah Mei' + s.authors = 'Sarah Allen, Sarah Mei, Rich Kilmer' s.homepage = 'http://github.com/blazingclou...
blazingcloud/pie
75dd64bb348ce19b5d867759b34fd12580b4fe71
simple strings for paths
diff --git a/lib/place.rb b/lib/place.rb index daf9f19..edc5f1e 100644 --- a/lib/place.rb +++ b/lib/place.rb @@ -1,47 +1,47 @@ class Pie::Place attr_reader :name, :description, :paths def initialize(options) @paths = {} extract_standard_options(options) extract_name_and_description(options...
blazingcloud/pie
dd0a4de3e7745a231d98480ee4060b462447cc80
git ignore gem file
diff --git a/.gitignore b/.gitignore index 485dee6..11401d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ .idea +*~ +*.gem
blazingcloud/pie
e54a80958349b90b35d0535dcfba8c2cca6d3164
changed port number to 31415
diff --git a/README b/README index ffc9eab..de7e110 100644 --- a/README +++ b/README @@ -1,49 +1,49 @@ # Pie A game development DSL, inspired by Yasuko Ohba's Ruby Kaigi talk and a late night conversation with @knowtheory, @wycats, @sarahmei and @ultrasaurus. Pie requires Ruby 1.9, because it is so cool. ## ...
blazingcloud/pie
9d28c666a25393423f8e7937ce9ec85406f5488a
added pie executable, version = 0.2
diff --git a/pie.gemspec b/pie.gemspec index c0f54d1..a2dee35 100644 --- a/pie.gemspec +++ b/pie.gemspec @@ -1,9 +1,11 @@ spec = Gem::Specification.new do |s| s.name = 'pie' s.authors = 'Sarah Allen, Sarah Mei' s.homepage = 'http://github.com/blazingcloud/pie' - s.version = '0.1.3' + s.version = '0.2' s...
blazingcloud/pie
9aba2b0637e9d7e165ccf851218ecaa4ce913cf2
changed file extension to .pie, updated README
diff --git a/README b/README index 393a3d5..ffc9eab 100644 --- a/README +++ b/README @@ -1,47 +1,49 @@ # Pie A game development DSL, inspired by Yasuko Ohba's Ruby Kaigi talk and a late night conversation with @knowtheory, @wycats, @sarahmei and @ultrasaurus. Pie requires Ruby 1.9, because it is so cool. ## ...
blazingcloud/pie
d41d4875435231bbcf17ddf138d0245ebcdb2ead
pie_app_spec passes but book.rb doesn't work still
diff --git a/book.rb b/book.rb index 3e9a089..5cec5a9 100644 --- a/book.rb +++ b/book.rb @@ -1,17 +1,11 @@ #encoding:UTF-8 -$LOAD_PATH << File.dirname(__FILE__) -require 'lib/pie' -make_pie do - create_places do - ship description:"大きな船" - building description:"ookina biru" - tower description:"ook...
blazingcloud/pie
4a2a71fb23357a0b06d84b44f2cbfa9e7706ba25
refactor for new api
diff --git a/book.rb b/book.rb index 3e9a089..3b54a6b 100644 --- a/book.rb +++ b/book.rb @@ -1,17 +1,13 @@ #encoding:UTF-8 -$LOAD_PATH << File.dirname(__FILE__) -require 'lib/pie' -make_pie do - create_places do - ship description:"大きな船" - building description:"ookina biru" - tower description:"ook...
blazingcloud/pie
829cce3cba03a92cc6a186067bc6013a29468477
change to new api
diff --git a/views/full_screen.erb b/views/full_screen.erb index 9412542..e38d3f0 100644 --- a/views/full_screen.erb +++ b/views/full_screen.erb @@ -1,63 +1,63 @@ <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> - <title><%= $current %></title> + <title...
blazingcloud/pie
e2ae32e2311a3f398b7d1959fa680195ba5093db
add basic language support. used in directions currently (for n/s/e/w). to use: language :japanese [note: default is :english]. see pie.rb for the localizable strings.
diff --git a/lib/direction.rb b/lib/direction.rb index 65d35a7..23bacd9 100644 --- a/lib/direction.rb +++ b/lib/direction.rb @@ -1,46 +1,47 @@ module Pie - + class Direction < String + def opposite(opposite_name = nil) if opposite_name @opposite_name = opposite_name else ...
blazingcloud/pie
4b159c598bfd1c323c4662b8e110e836aa8c4170
refactor direction to be a dead end if it has no opposite direction (removing the need for DeadEnd. new usage is: direction(up
diff --git a/lib/direction.rb b/lib/direction.rb index 8ccee0f..65d35a7 100644 --- a/lib/direction.rb +++ b/lib/direction.rb @@ -1,56 +1,46 @@ module Pie - class DeadEnd < String - def dead_end? - true - end - end - class Direction < String - def opposite(display_name = nil) - if display_na...
blazingcloud/pie
5edb731dce1347906ee6d44877d79c5556ece70d
added license and gem spec
diff --git a/MIT-LICENSE.txt b/MIT-LICENSE.txt new file mode 100644 index 0000000..832a7a5 --- /dev/null +++ b/MIT-LICENSE.txt @@ -0,0 +1,20 @@ +Copyright (c) 2010 Sarah Allen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Soft...
blazingcloud/pie
0398b09eb11204a6b7deba39d997c0b8ac2b8edd
gogaruco rafactor. rewrote all of pie and the specs and updated game.rb to reflect the new syntax
diff --git a/bin/pie b/bin/pie new file mode 100755 index 0000000..6367f6f --- /dev/null +++ b/bin/pie @@ -0,0 +1,31 @@ +#!/usr/bin/env ruby +if RUBY_VERSION < "1.9.0" + puts "Error: pie requires Ruby 1.9, please use RVM." + exit +end + +if ARGV.size == 0 + puts "Usage: pie myfile" + exit +end + +pie_file = ARGV.fi...
blazingcloud/pie
01671dd86a008e8a22a7123596135182178f5765
ok, now it is close to desired behavior
diff --git a/views/game_screen.erb b/views/game_screen.erb index bf35674..a5dd401 100644 --- a/views/game_screen.erb +++ b/views/game_screen.erb @@ -1,58 +1,67 @@ <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><%= $current %></title> <style...
blazingcloud/pie
df8a3c2318e1c39cbba8d2be841e61c0b42cd85a
progress on game screen with diff layout
diff --git a/views/full_screen.erb b/views/full_screen.erb new file mode 100644 index 0000000..9412542 --- /dev/null +++ b/views/full_screen.erb @@ -0,0 +1,63 @@ +<!DOCTYPE html> + +<html lang="en"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title><%= $current %></title> + <style ...
blazingcloud/pie
b53508209fc3e5fdc9b06fa70bec550d19313b31
a bit more natural Japanese
diff --git a/book.rb b/book.rb index 5283c03..3e9a089 100644 --- a/book.rb +++ b/book.rb @@ -1,17 +1,17 @@ #encoding:UTF-8 $LOAD_PATH << File.dirname(__FILE__) require 'lib/pie' make_pie do create_places do ship description:"大きな船" building description:"ookina biru" - tower description:"ook...
blazingcloud/pie
d414f2def24bf225dc3dce8cf8773f024fc8ceff
added some paths to spec, passing
diff --git a/game.rb b/game.rb index 2e24dcb..7503a4b 100644 --- a/game.rb +++ b/game.rb @@ -1,17 +1,23 @@ $LOAD_PATH << File.dirname(__FILE__) require 'lib/pie' make_pie do template :game_screen create_places do - park description:"You are in a park. You see trees to the north and a path to the east",...
blazingcloud/pie
02f89504a7a4e3cd7c719512ca71f9737cc9c829
track history of pie syntax
diff --git a/syntax_ideas.txt b/syntax_ideas.txt new file mode 100644 index 0000000..aa3f718 --- /dev/null +++ b/syntax_ideas.txt @@ -0,0 +1,88 @@ +# Draft 1 + +create_places do + cave description:"You are in a big cave", connects_to: { forest:"Go out"} + forest description:"The forest is very dark", connects_to: { cav...
blazingcloud/pie
0f4e16360ff3b86e9e3fdbb66a44b874d8a0f857
visual improvements to game template
diff --git a/views/game_screen.erb b/views/game_screen.erb index dc24b95..9412542 100644 --- a/views/game_screen.erb +++ b/views/game_screen.erb @@ -1,62 +1,63 @@ <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title><%= $current %></title> <style...
blazingcloud/pie
cef30cf78ab324b1093efa6992ece99c2f03ac68
places can now have links, see game.rb for example
diff --git a/book.rb b/book.rb index a026e35..5283c03 100644 --- a/book.rb +++ b/book.rb @@ -1,22 +1,17 @@ #encoding:UTF-8 $LOAD_PATH << File.dirname(__FILE__) require 'lib/pie' -def make_pie(&block) - $pie = Pie.new - $pie.instance_eval(&block) -end - make_pie do create_places do ship description:"大ã...
blazingcloud/pie
d52b789219fd49450d3667be03dc2b2ac7d36e95
some Japanese text:
diff --git a/book.rb b/book.rb index 952c6b0..a026e35 100644 --- a/book.rb +++ b/book.rb @@ -1,21 +1,22 @@ +#encoding:UTF-8 $LOAD_PATH << File.dirname(__FILE__) require 'lib/pie' def make_pie(&block) $pie = Pie.new $pie.instance_eval(&block) end make_pie do create_places do - ship description:"ooki...
blazingcloud/pie
e0c5136064a74512cfd101b5ee408e557891f821
better path handling for require
diff --git a/spec/pie_spec.rb b/spec/pie_spec.rb index 9210473..ef0d101 100644 --- a/spec/pie_spec.rb +++ b/spec/pie_spec.rb @@ -1,95 +1,95 @@ -require File.expand_path(File.dirname(__FILE__) + '/pie') +require File.join(File.expand_path(File.dirname(__FILE__)), "pie") describe "making pie" do describe "image dec...
blazingcloud/pie
613ab7e8265b6061e74ad3daefaf7d8d8fbe44d7
fixed book & added drop shadow
diff --git a/book.rb b/book.rb index 870145c..952c6b0 100644 --- a/book.rb +++ b/book.rb @@ -1,21 +1,21 @@ $LOAD_PATH << File.dirname(__FILE__) -require 'pie' +require 'lib/pie' def make_pie(&block) $pie = Pie.new $pie.instance_eval(&block) end make_pie do create_places do ship description:"ookina...
blazingcloud/pie
c2f9f758bdafc9fce94d65eded92aeda4924d19a
layout improvements
diff --git a/views/image_page.erb b/views/image_page.erb index 019e54e..7cc2c65 100644 --- a/views/image_page.erb +++ b/views/image_page.erb @@ -1,65 +1,56 @@ <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> - <title>Full Page Background Image, Techniqu...
blazingcloud/pie
4e92094aa9df22973a89263c44765007b711b109
Making a lib & spec directory
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/Gemfile b/Gemfile index 1a885bb..212d344 100644 --- a/Gemfile +++ b/Gemfile @@ -1,10 +1,11 @@ # A sample Gemfile source "http://rubygems.org" gem "sinatra" gem "sinatra...
blazingcloud/pie
4aef7bc06911cdc97ad4f964b3a1abb785f6b20b
size background to full screen
diff --git a/views/image_page.erb b/views/image_page.erb index 35cc795..019e54e 100644 --- a/views/image_page.erb +++ b/views/image_page.erb @@ -1,31 +1,65 @@ -<html> -<head> -<style type="text/css"> - .page { - width: 100%; - height: 100%; - margin-left: auto; - margin-right: auto; - } - - img { - ma...
blazingcloud/pie
ecf85b14627a4a356bd75eb7a19ace33357cb213
added spec for description and gem for auto-reload
diff --git a/Gemfile b/Gemfile index 5f3d19f..1a885bb 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,10 @@ # A sample Gemfile source "http://rubygems.org" gem "sinatra" +gem "sinatra-auto-reload" group :test do gem "capybara" gem "rack-test" end diff --git a/Gemfile.lock b/Gemfile.lock index 95c5db4..6efa...
blazingcloud/pie
687a656dedc045db990e930d63ef87fee37e884c
fixed app
diff --git a/pie.rb b/pie.rb index 4c5af1f..81c85a3 100644 --- a/pie.rb +++ b/pie.rb @@ -1,94 +1,94 @@ require 'sinatra/base' class Pie class WebApp < Sinatra::Base set :root, File.dirname(__FILE__) get '/' do "hello" end get '/:place_name' do name = params[:place_name] ...
blazingcloud/pie
cfec77085522187fbfc1c8726c2b07320c9d6929
simple test with rack
diff --git a/pie_app_spec.rb b/pie_app_spec.rb new file mode 100644 index 0000000..bd7a53e --- /dev/null +++ b/pie_app_spec.rb @@ -0,0 +1,34 @@ +$LOAD_PATH << File.dirname(__FILE__) +require 'pie' +require 'rack/test' + +describe "app created with pie" do + include Rack::Test::Methods + + def app + Pie::WebA...
blazingcloud/pie
2e2f5aaca6819e1cdcbe0fe62315e3082f26f8e8
adding .bundle
diff --git a/.bundle/config b/.bundle/config new file mode 100644 index 0000000..8ebbe30 --- /dev/null +++ b/.bundle/config @@ -0,0 +1,2 @@ +--- +BUNDLE_DISABLE_SHARED_GEMS: "1"
blazingcloud/pie
83c1738fc2dd13fbaa49d63ad859e3842a394b86
make pie auto-run again (except when running spec)
diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..5f3d19f --- /dev/null +++ b/Gemfile @@ -0,0 +1,9 @@ +# A sample Gemfile +source "http://rubygems.org" + +gem "sinatra" + +group :test do + gem "capybara" + gem "rack-test" +end diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 000000...
blazingcloud/pie
2a6a20f3a4ac30c89c9890cc28d747b96179cf0e
created after and before for accessing places, with specs
diff --git a/book.rb b/book.rb index a8a5c9b..870145c 100644 --- a/book.rb +++ b/book.rb @@ -1,21 +1,21 @@ $LOAD_PATH << File.dirname(__FILE__) require 'pie' def make_pie(&block) $pie = Pie.new $pie.instance_eval(&block) end make_pie do create_places do - ship description:"ookina funa" + ship de...
blazingcloud/pie
9d56bb84f1f954ab05e00320d9defa42180578d6
refactored spec a little
diff --git a/pie_spec.rb b/pie_spec.rb index 12171d9..c945bad 100644 --- a/pie_spec.rb +++ b/pie_spec.rb @@ -1,30 +1,30 @@ require File.expand_path(File.dirname(__FILE__) + '/pie') describe "making pie" do it "can declare an image" do make_pie do image ship:"http://foo.com/ship.png" end - $...
blazingcloud/pie
2e5de209d258660d11dc9c8ea6a915e78e079a31
spec passes
diff --git a/pie.rb b/pie.rb index 01e90f7..42abc53 100644 --- a/pie.rb +++ b/pie.rb @@ -1,71 +1,73 @@ require 'sinatra/base' class Pie class WebApp < Sinatra::Base set :root, File.dirname(__FILE__) get '/' do "hello" end get '/:place_name' do name = params[:place_name] ...
blazingcloud/pie
f3a537205f4f4bf29b3cdeb72527967e8e2c823f
add 1.9 requirement to README
diff --git a/README.md b/README.md index e4e873e..a98429a 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,18 @@ # Pie A game development DSL, inspired by Yasuko Ohba's Ruby Kaigi talk and a late night coversaton with @knowtheory. Created by Sarah Allen with a little help from Chad Fowler. This is very experim...
blazingcloud/pie
94e879dd295711c867388fd0b2f534ac15b50f23
a little cleanup
diff --git a/README.md b/README.md new file mode 100644 index 0000000..38c8b2e --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +h1. Pie + +A game development DSL, inspired by Yasuko Ohba's Ruby Kaigi talk and a late night coversaton with @knowtheory. Created by Sarah Allen with a little help from Chad Fowler. + +This is...
blazingcloud/pie
7fb9aac56b26afff9f6b51ede128ae8f1ec54453
OMG! It kinda works
diff --git a/pie2.rb b/pie2.rb index d2a50c9..01e90f7 100644 --- a/pie2.rb +++ b/pie2.rb @@ -1,46 +1,71 @@ require 'sinatra/base' class Pie class WebApp < Sinatra::Base + set :root, File.dirname(__FILE__) + + get '/' do + "hello" + end + + get '/:place_name' do + name = params[:place_name]...
blazingcloud/pie
6784876442c5a8c7506c31fff6ca626f821fd990
run Sinatra web app
diff --git a/pie2.rb b/pie2.rb index c8bec3c..d2a50c9 100644 --- a/pie2.rb +++ b/pie2.rb @@ -1,40 +1,46 @@ +require 'sinatra/base' + +class Pie + class WebApp < Sinatra::Base + end + + at_exit { puts "exit"; WebApp.run! } -class Pie attr_accessor :places class Places < Array def method_missing name, *a...
blazingcloud/pie
7869eaa87d2f3091246fa1161bf3e7a3991366ec
pie2 getting closer
diff --git a/app.rb b/app.rb new file mode 100644 index 0000000..d96ae76 --- /dev/null +++ b/app.rb @@ -0,0 +1 @@ +require 'sinatra_lib' diff --git a/book.rb b/book.rb new file mode 100644 index 0000000..b85c0da --- /dev/null +++ b/book.rb @@ -0,0 +1,27 @@ +$LOAD_PATH << File.dirname(__FILE__) +require 'pie' +require '...
tomelkin/calculator
b89582a49160524da6fc4fb87427400a0a15fde0
Add README file for display on GitHub homepage.
diff --git a/.idea/.rakeTasks b/.idea/.rakeTasks index fc74464..ab8539e 100644 --- a/.idea/.rakeTasks +++ b/.idea/.rakeTasks @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <Settings><!--This file was automatically generated by Ruby plugin. You are allowed to: 1. Remove rake task 2. Add existing rake task...
tomelkin/calculator
307bd8bee89b78f3f0d33548a8dc82b8a8ed8029
Adding modulus operator support. Works with numeric MQL queries, such as SUM, MIN, MAX, AVG, as well as Count(*). Refactored code and tests. Adding MIT license.
diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..6a1597f --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2008 ThoughtWorks, Inc. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associ...
tomelkin/calculator
2f753a35b1742f6bb8a40892c10514cf79654f9e
Throw exception if someone incorrectly enters an equation
diff --git a/lib/calculator.rb b/lib/calculator.rb index 6ce4783..ca5bcbe 100644 --- a/lib/calculator.rb +++ b/lib/calculator.rb @@ -1,33 +1,35 @@ class Calculator def initialize(parameters, project, current_user) @parameters = parameters @project = project @current_user = current_user end ...
redsolution/django-snapshot
45b890e6b17f9e69a0430c3054e606a3682619fd
Added setup and deploy files
diff --git a/DESCRIPTION b/DESCRIPTION new file mode 100644 index 0000000..e85e497 --- /dev/null +++ b/DESCRIPTION @@ -0,0 +1 @@ +Django backup and restore tool. Handle upload files and database \ No newline at end of file diff --git a/README b/README new file mode 120000 index 0000000..92cacd2 --- /dev/null +++ b/READ...
redsolution/django-snapshot
e75ceee3c765195942a277b6f04ec5eaf818a1bc
Fixed upload root dir
diff --git a/snapshot/models.py b/snapshot/models.py index 2994bfc..e7f0fd4 100644 --- a/snapshot/models.py +++ b/snapshot/models.py @@ -1,301 +1,302 @@ # -*- coding: utf-8 -*- from django.utils import simplejson from shutil import rmtree from snapshot import settings from subprocess import Popen, PIPE, call from...
redsolution/django-snapshot
b9048b418316c04f83e7ba88392f63c5dfe7f4af
Fixed order of snapshots, changed directory restoring
diff --git a/snapshot/management/commands/snap.py b/snapshot/management/commands/snap.py index cfe25e9..04bf19e 100644 --- a/snapshot/management/commands/snap.py +++ b/snapshot/management/commands/snap.py @@ -1,55 +1,55 @@ # -*- coding: utf-8 -*- from django.conf import settings from django.core.management.base impo...
redsolution/django-snapshot
9732112f5b7433103d385926e70917aa254c8a66
Add upload directory snapshot by default
diff --git a/snapshot/models.py b/snapshot/models.py index a425fd7..fc8fe2f 100644 --- a/snapshot/models.py +++ b/snapshot/models.py @@ -1,287 +1,297 @@ # -*- coding: utf-8 -*- from django.utils import simplejson from shutil import rmtree from snapshot import settings from subprocess import Popen, PIPE, call from...
redsolution/django-snapshot
4dde424e5e06819ea6b0fecb2a1398989fd511a0
Targets are in separate setting now
diff --git a/snapshot/models.py b/snapshot/models.py index b6072d2..a425fd7 100644 --- a/snapshot/models.py +++ b/snapshot/models.py @@ -1,285 +1,287 @@ # -*- coding: utf-8 -*- from django.utils import simplejson from shutil import rmtree from snapshot import settings from subprocess import Popen, PIPE, call +from...
redsolution/django-snapshot
f3bd0d31edbb395613b7e04591de6d419604e557
Catched some exceptions
diff --git a/snapshot/management/commands/snap.py b/snapshot/management/commands/snap.py index 1ad8516..cfe25e9 100644 --- a/snapshot/management/commands/snap.py +++ b/snapshot/management/commands/snap.py @@ -1,49 +1,55 @@ # -*- coding: utf-8 -*- from django.conf import settings from django.core.management.base impo...
redsolution/django-snapshot
42825033ff8d43cbdb0323bbb2c0fdb52b121464
Added snapshots folder auto-creation
diff --git a/snapshot/models.py b/snapshot/models.py index c47365c..b6072d2 100644 --- a/snapshot/models.py +++ b/snapshot/models.py @@ -1,280 +1,285 @@ # -*- coding: utf-8 -*- from django.utils import simplejson from shutil import rmtree from snapshot import settings from subprocess import Popen, PIPE, call impo...
redsolution/django-snapshot
d1e83059647f7846bc242aaebc2dc9b581b652b1
simple snapshots with tar and pg_dump
diff --git a/snapshot/management/commands/snap.py b/snapshot/management/commands/snap.py new file mode 100644 index 0000000..1ad8516 --- /dev/null +++ b/snapshot/management/commands/snap.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +from django.conf import settings +from django.core.management.base import BaseCommand, ...
dazuiba/fansof
3cf9bf959645186fa9261eb660057e1d508b2447
finished
diff --git a/lib/nanzhou.rb b/lib/nanzhou.rb index 084c46c..a02946d 100644 --- a/lib/nanzhou.rb +++ b/lib/nanzhou.rb @@ -1,160 +1,164 @@ #!/usr/bin/ruby require 'singleton' require 'cgi' require 'rubygems' require 'patron' require 'hpricot' require 'extensions/all' module ParseModule attr_reader :d...
dazuiba/fansof
ff885832e2453fa1ce113175002e83e9e0215691
finished
diff --git a/lib/c.html.data b/lib/c.html.data new file mode 100644 index 0000000..c8e2889 --- /dev/null +++ b/lib/c.html.data @@ -0,0 +1,509 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<hea...
dazuiba/fansof
fba9103ec2d2d4e04058952349ce833583d0fba6
data files
diff --git a/db/development.sqlite3 b/db/development.sqlite3 new file mode 100644 index 0000000..9d95d78 Binary files /dev/null and b/db/development.sqlite3 differ
dazuiba/fansof
374efd1d8a3d5eaa9e367083f456f6746de5b51e
remove community_engine
diff --git a/.eprj b/.eprj index a2d30b7..db31bf4 100755 --- a/.eprj +++ b/.eprj @@ -1,11 +1,28 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> + <key>filters</key> ...
eric1234/file_browser
a4c13e4dfba4c781902e90b355f284269bceecd2
Switch to jQuery
diff --git a/README.rdoc b/README.rdoc index e867801..c25a499 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,61 +1,68 @@ = DESCRIPTION A rails plugin that provides a basic file browser. The primary use case for this plugin is: * To manage a directory of files includes subdirectories * To integration with pro...
eric1234/file_browser
48767d9d328966f70625069d106ef2d1bba13c9f
Use preferred (and working) method of changing the precompiled assets.
diff --git a/file_browser.gemspec b/file_browser.gemspec index 5a6e480..3426dd2 100644 --- a/file_browser.gemspec +++ b/file_browser.gemspec @@ -1,20 +1,20 @@ Gem::Specification.new do |s| s.name = 'file_browser' - s.version = '0.1.5' + s.version = '0.2.0' s.homepage = 'http://wiki.github.com/eric1234/file_bro...
eric1234/file_browser
8908d50cb4568ebbbf6a0e4d3fe708fb0cc15100
Bump version
diff --git a/Gemfile.lock b/Gemfile.lock index 7d2bd77..82dab44 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,92 +1,91 @@ PATH remote: . specs: - file_browser (0.1.4) + file_browser (0.1.5) rails (> 3.1) GEM remote: http://rubygems.org/ specs: - actionmailer (3.2.9) - actionpac...
eric1234/file_browser
1095b945b04fc3ddb5cbf27dcd169db71460809c
Use get instead of match for Rails 4 compat.
diff --git a/config/routes.rb b/config/routes.rb index 58b7111..7b7d814 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,29 +1,29 @@ Rails.application.routes.draw do # For image preview and resize on serve if defined? Dragonfly app = Dragonfly[:file_browser].configure_with :imagemagick endp...
eric1234/file_browser
450a8c5ddedc63d3240457dc0c591ceac57cc60e
More updating for recent Rails
diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..e45e65f --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source :rubygems +gemspec diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..7d2bd77 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,92 @@ +PATH + remote: . + specs: + file_...
eric1234/file_browser
c3ae14ff7e53ac9621ec5d967b96ecac7c3a9704
More fixes for recent rails
diff --git a/config/routes.rb b/config/routes.rb index ca9e0ba..58b7111 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,29 +1,29 @@ Rails.application.routes.draw do # For image preview and resize on serve if defined? Dragonfly app = Dragonfly[:file_browser].configure_with :imagemagick endp...
eric1234/file_browser
1d58a6ba4577bc75d5e2a3a11ed4c068d3058eac
Bump version
diff --git a/file_browser.gemspec b/file_browser.gemspec index 8d007f1..70d1b45 100644 --- a/file_browser.gemspec +++ b/file_browser.gemspec @@ -1,20 +1,20 @@ Gem::Specification.new do |s| s.name = 'file_browser' - s.version = '0.1.0' + s.version = '0.1.1' s.homepage = 'http://wiki.github.com/eric1234/file_bro...
eric1234/file_browser
cea05433159e8b9c0ab3719d1dc78d8201e58e10
Compat with Ruby 1.9 and latest Rails
diff --git a/app/models/filesystem_storage.rb b/app/models/filesystem_storage.rb index ab7897e..0c601d3 100644 --- a/app/models/filesystem_storage.rb +++ b/app/models/filesystem_storage.rb @@ -1,75 +1,75 @@ # A storage for file on the local filesystem under a specific path. class FilesystemStorage # The root pat...
eric1234/file_browser
4a0671331648eed2eb557149d0037815143b60e3
Compatibility with Rails 3.1.
diff --git a/README b/README index 7248e53..e867801 100644 --- a/README +++ b/README @@ -1,61 +1,61 @@ = DESCRIPTION A rails plugin that provides a basic file browser. The primary use case for this plugin is: * To manage a directory of files includes subdirectories * To integration with products like CKEditor ...
eric1234/file_browser
d07ed41df9b7104c8b46f4e925ca694ba40c3ebe
Reize fix
diff --git a/app/helpers/uploaded_files_helper.rb b/app/helpers/uploaded_files_helper.rb index 3abd27b..87e9048 100644 --- a/app/helpers/uploaded_files_helper.rb +++ b/app/helpers/uploaded_files_helper.rb @@ -1,59 +1,59 @@ module UploadedFilesHelper def link_to_up(label='..', path=@path) return if path.to_s ...
eric1234/file_browser
c5da6f33d4d15d838b8f14abd061ee5f32b6a22c
Added start of support for resizing images on insert. Also preview images.
diff --git a/app/helpers/uploaded_files_helper.rb b/app/helpers/uploaded_files_helper.rb index fc594ad..3abd27b 100644 --- a/app/helpers/uploaded_files_helper.rb +++ b/app/helpers/uploaded_files_helper.rb @@ -1,40 +1,59 @@ module UploadedFilesHelper def link_to_up(label='..', path=@path) return if path.to_s ...
eric1234/file_browser
e41f7561eb4383762ea3eef2b5978cf44b160e1e
Rails 3 support. Rails 2.x support dropped.
diff --git a/README b/README index e3d1929..7248e53 100644 --- a/README +++ b/README @@ -1,63 +1,61 @@ = DESCRIPTION A rails plugin that provides a basic file browser. The primary use case for this plugin is: * To manage a directory of files includes subdirectories * To integration with products like CKEditor ...
eric1234/file_browser
f53aadb421967e6cba4b3e39a7a13e73131fa93d
Bump version.
diff --git a/file_browser.gemspec b/file_browser.gemspec index 15b5e86..50fdcee 100644 --- a/file_browser.gemspec +++ b/file_browser.gemspec @@ -1,20 +1,20 @@ Gem::Specification.new do |s| s.name = 'file_browser' - s.version = '0.0.1' + s.version = '0.0.2' s.homepage = 'http://wiki.github.com/eric1234/file_bro...
eric1234/file_browser
f1019bcc30f6f7604c32fc5d78c47019bfe6dfb7
Support a "select_only" interface apps that want less power.
diff --git a/app/views/uploaded_files/index.html.erb b/app/views/uploaded_files/index.html.erb index 718acb4..2b9544b 100644 --- a/app/views/uploaded_files/index.html.erb +++ b/app/views/uploaded_files/index.html.erb @@ -1,40 +1,42 @@ -<h1><%= @current_directory %></h1> - -<fieldset id="upload-forms"> - <legend>Add Ne...
eric1234/file_browser
c0c8862e11b4ce27e7b73b8d75980c6ebc3247f9
Select file to choose instead of select then button.
diff --git a/app/views/uploaded_files/index.html.erb b/app/views/uploaded_files/index.html.erb index 9541aa5..718acb4 100644 --- a/app/views/uploaded_files/index.html.erb +++ b/app/views/uploaded_files/index.html.erb @@ -1,47 +1,40 @@ <h1><%= @current_directory %></h1> <fieldset id="upload-forms"> <legend>Add Ne...
eric1234/file_browser
133dd24ddc04d9da534ee56c73e794a9254a0380
Getting closer to 3.0
diff --git a/Rakefile b/Rakefile index b654710..eab3c02 100644 --- a/Rakefile +++ b/Rakefile @@ -1,28 +1,28 @@ require 'fileutils' require 'rake/testtask' require 'rake/gempackagetask' desc 'Prepare testing by creating test app' task :test_app do - sh "rails -q -m test/test_app_template.rb test/test_app" unless...
eric1234/file_browser
c2757fe57b05f7b543d426f37e3f6579960a7187
Credit where credit is due
diff --git a/README b/README index a2fbb6b..e3d1929 100644 --- a/README +++ b/README @@ -1,62 +1,63 @@ -DESCRIPTION ------------ += DESCRIPTION A rails plugin that provides a basic file browser. The primary use case for this plugin is: * To manage a directory of files includes subdirectories * To integration wi...
eric1234/file_browser
08b476b01715afaaeaab6496cc5609ed3796301e
Allow publishing of gem.
diff --git a/Rakefile b/Rakefile index b6b1f19..b654710 100644 --- a/Rakefile +++ b/Rakefile @@ -1,23 +1,28 @@ require 'fileutils' require 'rake/testtask' require 'rake/gempackagetask' desc 'Prepare testing by creating test app' task :test_app do sh "rails -q -m test/test_app_template.rb test/test_app" unless...
eric1234/file_browser
647ac95e980aa81e5e1dcab7564727f45909824d
Firefox style happyness.
diff --git a/public/stylesheets/file_browser.css b/public/stylesheets/file_browser.css index 48aaaa0..2e7f06b 100644 --- a/public/stylesheets/file_browser.css +++ b/public/stylesheets/file_browser.css @@ -1,26 +1,26 @@ -#upload-forms {width: 25em; padding: 1em} -#upload-forms label {float: left; width: 8em; font-weight...
higepon/spon
5a9e071aa2ed3ad8f3c378df06ed1a8bd5409a69
move file-copy, make-directory, and make-symbolic-link from (spon compat) to (spon tools).
diff --git a/compat.ikarus.sls b/compat.ikarus.sls index a3539d1..84a03b8 100644 --- a/compat.ikarus.sls +++ b/compat.ikarus.sls @@ -1,46 +1,32 @@ (library (spon compat) (export implementation-name command - file-copy - make-directory - make-symbolic-link current-dir...
higepon/spon
5ee6e62bdf653a5a475c02c2fec0ae42e6d8f3e1
rename current-implementation-name to implementation-name.
diff --git a/compat.ikarus.sls b/compat.ikarus.sls index 50bfa24..a3539d1 100644 --- a/compat.ikarus.sls +++ b/compat.ikarus.sls @@ -1,46 +1,46 @@ (library (spon compat) - (export current-implementation-name + (export implementation-name command file-copy make-directory ma...