repo string | commit string | message string | diff string |
|---|---|---|---|
vanicat/xmms-gtk-rater | 0f11fd4a4e4c271ddfe92979f124887c1dfa1f28 | Adding some headline | diff --git a/xmms-gtk-rater.org b/xmms-gtk-rater.org
index e61ecbe..6c8d16f 100644
--- a/xmms-gtk-rater.org
+++ b/xmms-gtk-rater.org
@@ -1,817 +1,835 @@
#+TITLE: Xmms Gtk Rater
#+AUTHOR: Rémi Vanicat <vanicat@debian.org>
Copyright: (c) 2010 Rémi Vanicat
* About
This is a small gtk client for xmms2 that wil... |
vanicat/xmms-gtk-rater | 4eb47b17373769e0a0ea821838ab04553aeeef37 | Organizing the SongList | diff --git a/xmms-gtk-rater b/xmms-gtk-rater
index 2a2860e..4773bae 100644
--- a/xmms-gtk-rater
+++ b/xmms-gtk-rater
@@ -1,649 +1,649 @@
#!/usr/bin/env ruby
# [[id:febdc89b-bfbc-4782-bf53-8b19ff298cf4][block-2]]
# Copyright (c) 2010 Rémi Vanicat
#
# Permission is hereby granted, free of charge, to any person... |
vanicat/xmms-gtk-rater | d05c188acc67ab716dbe2539b31ea37ad1295b03 | Uniformizing usage of @xi in the songs list | diff --git a/xmms-gtk-rater b/xmms-gtk-rater
index 5020030..2a2860e 100644
--- a/xmms-gtk-rater
+++ b/xmms-gtk-rater
@@ -1,649 +1,649 @@
#!/usr/bin/env ruby
# [[id:febdc89b-bfbc-4782-bf53-8b19ff298cf4][block-2]]
# Copyright (c) 2010 Rémi Vanicat
#
# Permission is hereby granted, free of charge, to any person... |
vanicat/xmms-gtk-rater | 0ac1af07afb54ccec59dac8813cfeac2d799bd11 | More logical organization of the XmmsInteract class | diff --git a/xmms-gtk-rater b/xmms-gtk-rater
index dc81d77..5020030 100644
--- a/xmms-gtk-rater
+++ b/xmms-gtk-rater
@@ -1,643 +1,649 @@
#!/usr/bin/env ruby
# [[id:febdc89b-bfbc-4782-bf53-8b19ff298cf4][block-2]]
# Copyright (c) 2010 Rémi Vanicat
#
# Permission is hereby granted, free of charge, to any person... |
vanicat/xmms-gtk-rater | bd569779acb21d801be91a91f6d21b05caec6940 | Org-moding the code | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater
old mode 100755
new mode 100644
similarity index 98%
rename from xmms-gtk-rater.rb
rename to xmms-gtk-rater
index e9c2bae..dc81d77
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater
@@ -1,638 +1,643 @@
#!/usr/bin/env ruby
-# Copyright (c) 2010 Rémi Vanicat
+# [[id:febdc89b-... |
vanicat/xmms-gtk-rater | e53f64dd3c8396fcef1ff7e72a986f541f401f7f | Try to reconnect immediately, then wait for retrying | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 7fff4ff..e9c2bae 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,633 +1,638 @@
#!/usr/bin/env ruby
# Copyright (c) 2010 Rémi Vanicat
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associat... |
vanicat/xmms-gtk-rater | 2f645bea215f64df31c5007e118f821ba303fbd8 | Fixing typo | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index cae712a..7fff4ff 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,633 +1,633 @@
#!/usr/bin/env ruby
# Copyright (c) 2010 Rémi Vanicat
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associat... |
vanicat/xmms-gtk-rater | cfe147532a9b812c8d7c169a7aabe75f6a02ffe8 | github do not understood description, so we try something else. | diff --git a/README.org b/README.org
index c0fc438..5503eab 100644
--- a/README.org
+++ b/README.org
@@ -1,91 +1,104 @@
#+Title: the Xmms Gtk Rater Client
#+Author: Rémi Vanicat <vanicat@debian.org>
* What is this ?
This is a small gtk client for xmms2 that will allow you to easily rate your song as you are play... |
vanicat/xmms-gtk-rater | 5794f877df12a6930191fa104609cdae97bd3627 | Added the generated html and pdf README | diff --git a/README.html b/README.html
new file mode 100644
index 0000000..ee6cd96
--- /dev/null
+++ b/README.html
@@ -0,0 +1,309 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http:/... |
vanicat/xmms-gtk-rater | c4b6798a5670f2745a6cc0456d09373ffa34645b | Somme amelioration of the README.org | diff --git a/README.org b/README.org
index 1faef81..c0fc438 100644
--- a/README.org
+++ b/README.org
@@ -1,100 +1,91 @@
#+Title: the Xmms Gtk Rater Client
+#+Author: Rémi Vanicat <vanicat@debian.org>
-* Apropos
+* What is this ?
This is a small gtk client for xmms2 that will allow you to easily rate your song as y... |
vanicat/xmms-gtk-rater | 77f56b58bd7d7dd5d701dc48323f84fa70a4b999 | Added a README | diff --git a/README.org b/README.org
new file mode 100644
index 0000000..1faef81
--- /dev/null
+++ b/README.org
@@ -0,0 +1,100 @@
+#+Title: the Xmms Gtk Rater Client
+
+* Apropos
+This is a small gtk client for xmms2 that will allow you to easily rate your song as you are playing them
+
+** Copying
+ This license app... |
vanicat/xmms-gtk-rater | 67d61bae63584a453fae95f026be3f88dfd87ece | Added a licence | diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..385dc77
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,21 @@
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, inclu... |
vanicat/xmms-gtk-rater | 26b0ce1b0febddf3d7830a1def0cb111d44df530 | Indentation correction | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 80806a1..3996cf6 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -84,527 +84,527 @@ class XmmsInteract
res = connect!
if res
@views.each do |view|
view.on_server_reconnect!
end
false
... |
vanicat/xmms-gtk-rater | 00b217a5a88c485d6119249c8777bccdedee6435 | Removing unneeded duplicate code | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 244d149..80806a1 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,616 +1,610 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 9933a568c1ac93c010b0a7df41e5045ece959e0b | Deactivate the interfaces when the server has been disconnected | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 5a6cb10..244d149 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,577 +1,616 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | c97f41d0383408a833d3fed5de0ae74d6abd2535 | Removing an unneeded attr_reader | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index e208b67..5a6cb10 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,543 +1,541 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | cd50f482dc1b80ceaf5395de5edb9fa3f28ed975 | Reconnect when the connexion is lost | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 07e1220..e208b67 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,582 +1,579 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 6053a9c60b423d106aeefa07fc5443d762563367 | A new method in XmmsInteract to look for the current id. | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 66cc707..07e1220 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,576 +1,582 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 75a49699921e47004368771c49bf262b2e385b7e | Make XmmsInteract handle that rating=0 is no rating | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index c11cd54..66cc707 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,588 +1,576 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 5e727eb9f25d118e127170a802306d5033d5e3df | When id is known, it's XmmsInteract role to change the rating | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index d5a6431..c11cd54 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,589 +1,588 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 77f3b4536ff57fc7b46d097cc226bfef557062aa | use song_info and not the Xmms::Client method | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index b331b30..d5a6431 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,567 +1,567 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 90d927b03de59ab115680811004e5384474811ad | Removed no unneeded add_song from SongList | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 13da002..b331b30 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,595 +1,589 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | dcf62d530534b296f77e5d87889a32d21cda9e19 | Put query for colls in XmmsInteract | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 2e6d7fd..13da002 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,568 +1,595 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 7ef6153b547f83001ba0b8f55f6face087379f12 | For add_song: make XmmsInteract look for the infos | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 288ac3b..2e6d7fd 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,562 +1,568 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | b8ff92b64c9aac3b2246224327d3e768d19bb31b | Rafactorisation of the way song are added and updated | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 9f7e367..288ac3b 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,564 +1,562 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 97150bddd34588d9e33fa742cd862e6391506bac | Looking for medialib change from XmmsInteract | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 8f1bcd1..9f7e367 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,547 +1,564 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 3a7c4befed4a51dcd8ec96bb3150e8f3a92e8261 | Renamed variables | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 3f25023..8f1bcd1 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,547 +1,547 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 2320ee042895e4201c23781601b2d2cebcedb605 | Some duplicate code for getting information from infos | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index d62836b..3f25023 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,540 +1,547 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 8d20d318fff6777e8e99bc068603700458f89002 | Created a class for user interaction | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 0fe23d1..d62836b 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,535 +1,540 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 7df128bbd48a1eefb9dc96fc019ecffe6584d546 | Renamed XmmsInteract to SongList | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index d0444c4..0fe23d1 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,534 +1,535 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 14028cfdde6eb40d1f1ecf72c240d8e95b5af0fa | Do not run get_path twice in the left button event handler | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index aa0c5cf..d0444c4 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,534 +1,534 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 216a944a671f271dd3a2ef8f452aa8ba1fff2e94 | Add sorting to collection view. | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 1970025..aa0c5cf 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,509 +1,534 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 50859e498e5bb9cb02c2a52dd9aaf7842109a1d1 | We don't need to show the id. | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 6c12c77..1970025 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,514 +1,509 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 4d05df1514b4b4c7df6305c31aeef79dac2d0992 | Do not Let the column not be automatically resized . | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index afb4683..6c12c77 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,511 +1,514 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | b54bdf7f6cf3d568a668bcc05702e3c943f08aa5 | It's GtkRater, not Rater. | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 9602369..afb4683 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,511 +1,511 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 553eb887f4f336e7df1e0b37a56a863f622895ba | Handle when result is nil in collection reading | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 3bc1006..9602369 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,509 +1,511 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 55632a2a3982388350fe291033c2d94fd198a40c | Some time we have path and not iter. | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index c054fad..3bc1006 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,504 +1,509 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 4fe4e17182fa35bd49d0c61bc04bcc8c57a350a4 | Going to multi selection | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 6c54136..c054fad 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,487 +1,504 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 015aefa45cc5294d264a78b61a725afee9c856b3 | Rating from any xmms2 pattern. | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 299b83b..6c54136 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,441 +1,487 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | 73f83c5f0490f6327761a80b459b6df384fe4c18 | When a new song is inserted first, do not scroll down. | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
index 6440d39..299b83b 100755
--- a/xmms-gtk-rater.rb
+++ b/xmms-gtk-rater.rb
@@ -1,427 +1,441 @@
#!/usr/bin/env ruby
require 'xmmsclient'
require 'xmmsclient_glib'
require 'glib2'
require 'gtk2'
module Xmms
class Collection
# :call-seq:
# Colle... |
vanicat/xmms-gtk-rater | db6add58ede6c6daeed39a223afb95a9160322e3 | Add a menu to remove the rating | diff --git a/xmms-gtk-rater.rb b/xmms-gtk-rater.rb
new file mode 100755
index 0000000..6440d39
--- /dev/null
+++ b/xmms-gtk-rater.rb
@@ -0,0 +1,427 @@
+#!/usr/bin/env ruby
+
+require 'xmmsclient'
+require 'xmmsclient_glib'
+require 'glib2'
+require 'gtk2'
+
+module Xmms
+ class Collection
+ # :call-seq:
+ # Col... |
NickStupich/KimSite | d520f02de28364e7a358b3196bd17ea06b3dadd3 | added the giant 360 image stuff | diff --git a/app.yaml b/app.yaml
index 199cbac..74a4f43 100644
--- a/app.yaml
+++ b/app.yaml
@@ -1,22 +1,25 @@
-application: kimsite
+application: kimsitetest
version: 1
runtime: python
api_version: 1
handlers:
- url: /(.*\.(gif|png|jpg))
static_files: static/\1
upload: static/(.*\.(gif|png|jpg... |
hayeah/transwink | 8888d9cac68f16b4557a3793be8f89632b778683 | also searches stop id | diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index bed262d..c94f311 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -1,16 +1,19 @@
class SearchController < ApplicationController
# /stops/search/006
def search
memo = ... |
hayeah/transwink | e2f097cfd3a923eee698e6926af11860e7195ea9 | adding search action | diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
new file mode 100644
index 0000000..bed262d
--- /dev/null
+++ b/app/controllers/search_controller.rb
@@ -0,0 +1,16 @@
+class SearchController < ApplicationController
+ # /stops/search/006
+ def search
+ memo = []
+ memo += ... |
hayeah/transwink | 04f0bad2ee8d9173fcf6feb7acca7fe4695ad65a | fastercsv is only for 1.8 | diff --git a/Gemfile b/Gemfile
index ede6665..3a5681a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,40 +1,40 @@
source 'http://rubygems.org'
gem 'rails', '3.0.0'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql'
gem 'devise'
gem 'haml'
gem 'httparty'
ge... |
hayeah/transwink | 88dda7196d22a44ffe627e167ec8325bc0a5e353 | split the time | diff --git a/app/models/stop.rb b/app/models/stop.rb
index 92c167e..703f003 100644
--- a/app/models/stop.rb
+++ b/app/models/stop.rb
@@ -1,7 +1,11 @@
class Stop < ActiveRecord::Base
belongs_to :route
# stop_id,stop_code,stop_name,stop_desc,stop_lat,stop_lon,zone_id,stop_url,location_type,parent_station
def to... |
hayeah/transwink | 6ec98ecbc391139d452c6affe58e2713d6000b75 | add mor info | diff --git a/app/models/route.rb b/app/models/route.rb
index a74f664..54b2f1d 100644
--- a/app/models/route.rb
+++ b/app/models/route.rb
@@ -1,44 +1,58 @@
require 'translink'
class Route < ActiveRecord::Base
has_many :stops
def self.populate(n=nil)
api = Translink.new
Route.transaction do
Route... |
hayeah/transwink | 8358251643bfb47156c7425a5a3f89f3536fd9a8 | also get north and south bound routes | diff --git a/Rakefile b/Rakefile
index febefed..1dde0f7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,13 +1,14 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/applicatio... |
hayeah/transwink | c0999bc8905d29d3713df1c02dfc2b3792c4e699 | route id massage | diff --git a/app/controllers/routes_controller.rb b/app/controllers/routes_controller.rb
index b4311be..e97bff1 100644
--- a/app/controllers/routes_controller.rb
+++ b/app/controllers/routes_controller.rb
@@ -1,10 +1,15 @@
class RoutesController < ApplicationController
def show
- route = Route.where(:uid => para... |
hayeah/transwink | 3ee41b20b778a4bb144c0389ddb11f94f920efc2 | different route format | diff --git a/app/controllers/stops_controller.rb b/app/controllers/stops_controller.rb
index 1a010af..47d3bcd 100644
--- a/app/controllers/stops_controller.rb
+++ b/app/controllers/stops_controller.rb
@@ -1,66 +1,70 @@
class StopsController < ApplicationController
def show
stops = Stop.where(:uid => params["id... |
hayeah/transwink | 577abd3bdeb6f6c897a5c241bedba3f8782b07dc | new indexes | diff --git a/app/controllers/stops_controller.rb b/app/controllers/stops_controller.rb
index 010969f..1a010af 100644
--- a/app/controllers/stops_controller.rb
+++ b/app/controllers/stops_controller.rb
@@ -1,66 +1,66 @@
class StopsController < ApplicationController
def show
stops = Stop.where(:uid => params["id... |
hayeah/transwink | 2518ac41c65f0e17761692bad9fcb958e418bfd7 | nearby stops | diff --git a/app/controllers/stops_controller.rb b/app/controllers/stops_controller.rb
index b374f13..010969f 100644
--- a/app/controllers/stops_controller.rb
+++ b/app/controllers/stops_controller.rb
@@ -1,16 +1,66 @@
class StopsController < ApplicationController
def show
stops = Stop.where(:uid => params["id... |
hayeah/transwink | 0147653301083d66820fed68b6a7789117d8e977 | no limit | diff --git a/app/models/route.rb b/app/models/route.rb
index 632fad9..567539a 100644
--- a/app/models/route.rb
+++ b/app/models/route.rb
@@ -1,41 +1,41 @@
require 'translink'
class Route < ActiveRecord::Base
has_many :stops
def self.populate
api = Translink.new
Route.transaction do
Route.delete... |
hayeah/transwink | b8dad39b5a1bdf7af0ac81d9f9681f5d7d15d33c | production db config | diff --git a/config/database.yml b/config/database.yml
index 4cbeac9..a5bf2af 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -1,3 +1,7 @@
development:
adapter: mysql
database: twink_d
+
+production:
+ adapter: mysql
+ database: twink_p
|
rubyunworks/clio | 9f240a4e756b281f8366d9d8a3e9ce2dfb13f8c4 | added ANSI options to help.to_s | diff --git a/demo/example.rb b/demo/example.rb
index e060edf..63589ca 100644
--- a/demo/example.rb
+++ b/demo/example.rb
@@ -1,48 +1,51 @@
# = Examples
#
# This is the example on the website.
require 'clio/usage'
require 'clio/string'
use = Clio::Usage.new
use['document', 'generate docs']['--output=PATH -o... |
rubyunworks/clio | bdf70dfe1c6410e917dd0bae9881bebf62b3fcbb | renamed QuickCLI to Base | diff --git a/lib/clio/base.rb b/lib/clio/base.rb
index 3af1cb1..aba815e 100644
--- a/lib/clio/base.rb
+++ b/lib/clio/base.rb
@@ -1,276 +1,276 @@
module Clio
- # = QuickCLI
+ # = Base
#
- # class MyCLI < Clio::QuickCLI
+ # class MyCLI < Clio::Base
#
# # Global flag option.
# def debug?
... |
rubyunworks/clio | dd4f2dd70cd2e57c962d7f3d0e59f5ea7781c2ad | simplified website | diff --git a/doc/index.html b/doc/index.html
index 95e4db7..1228b5f 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -1,218 +1,226 @@
<html>
<head>
<title>CLIO</title>
<link REL="SHORTCUT ICON" HREF="assets/images/icon.gif"/>
+ <script type="text/javascript" src="assets/scripts/jquery.js"></script>
+
<... |
rubyunworks/clio | 2cd587455e1274247f3f5456c5d158746d30f0e2 | added curses fallback for screen_width method | diff --git a/lib/clio/consoleutils.rb b/lib/clio/consoleutils.rb
index be3fffa..29222ad 100644
--- a/lib/clio/consoleutils.rb
+++ b/lib/clio/consoleutils.rb
@@ -1,144 +1,154 @@
module Clio
# = ConsoleUtils
#
# ConsoleUtils provides methods that are
# generally useful in the context of
# creating conso... |
rubyunworks/clio | 675b248660cff50998153e4cd9e69f7d5e826fcb | renamed help to desc and improved help output | diff --git a/demo/example.rb b/demo/example.rb
index e77b8c5..e060edf 100644
--- a/demo/example.rb
+++ b/demo/example.rb
@@ -1,47 +1,48 @@
# = Examples
#
# This is the example on the website.
require 'clio/usage'
require 'clio/string'
use = Clio::Usage.new
-use['document']['--output=PATH -o']
+use['document... |
rubyunworks/clio | b70f879ca051ea622b2ea560dc9ffa97bc0b787b | converted Usage to a delagating class | diff --git a/lib/clio/usage.rb b/lib/clio/usage.rb
index 84297b9..c12e0ae 100644
--- a/lib/clio/usage.rb
+++ b/lib/clio/usage.rb
@@ -1,247 +1,307 @@
-require 'clio/usage/command'
+require 'clio/usage/subcommand'
require 'clio/usage/parser'
module Clio
# = Usage
#
# Uasge provides a verstile but easy to u... |
rubyunworks/clio | 05aae07a87c0b87ae552193d6fb24e3f8df88ce8 | started work on better help output | diff --git a/lib/clio/usage/help.rb b/lib/clio/usage/help.rb
new file mode 100644
index 0000000..f3c38b6
--- /dev/null
+++ b/lib/clio/usage/help.rb
@@ -0,0 +1,34 @@
+module Clio
+
+ module Usage
+
+ class Help
+
+ #
+ def initialize(usage)
+ @usage = usage
+ end
+
+ #
+ def text=(txt... |
rubyunworks/clio | 2f53694e0ff389c28d3f5ec6d84e3d287b158cf5 | added functionality for highlevel parsing | diff --git a/lib/clio/usage.rb b/lib/clio/usage.rb
index 9038b96..84297b9 100644
--- a/lib/clio/usage.rb
+++ b/lib/clio/usage.rb
@@ -1,186 +1,247 @@
require 'clio/usage/command'
require 'clio/usage/parser'
module Clio
# = Usage
#
# Uasge provides a verstile but easy to use system of describing
# a co... |
rubyunworks/clio | e2fe237afdb97acb8f856b7707c9443bdb7de7fb | work on website | diff --git a/doc/index.html b/doc/index.html
index 336ab09..95e4db7 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -1,163 +1,218 @@
<html>
<head>
<title>CLIO</title>
<link REL="SHORTCUT ICON" HREF="assets/images/icon.gif"/>
<!-- shjs highligter -->
<script type="text/javascript" src="http://tigerop... |
rubyunworks/clio | 4ce9c4ebaf733160c598214e12b62ddb0442e6f1 | simplified usage design | diff --git a/demo/example.rb b/demo/example.rb
index f15c956..e77b8c5 100644
--- a/demo/example.rb
+++ b/demo/example.rb
@@ -1,34 +1,47 @@
# = Examples
#
# This is the example on the website.
- require 'clio/commandline'
- require 'clio/string'
+require 'clio/usage'
+require 'clio/string'
- cli = Clio::Comman... |
rubyunworks/clio | 8819d36a328d7d9500fd794f1d804d58e359f04f | added errors method | diff --git a/lib/clio/commandline.rb b/lib/clio/commandline.rb
index ebf0c2e..6fbc302 100644
--- a/lib/clio/commandline.rb
+++ b/lib/clio/commandline.rb
@@ -1,593 +1,599 @@
require 'clio/usage'
#require 'shellwords'
module Clio
# = Commandline
#
# Clio's Commandline class is a very versitile command lin... |
rubyunworks/clio | ecf1f6d7232749fac89ddd940389dbec3116eb70 | removed method notation | diff --git a/lib/clio/commandline.rb b/lib/clio/commandline.rb
index b7c7c2a..ebf0c2e 100644
--- a/lib/clio/commandline.rb
+++ b/lib/clio/commandline.rb
@@ -1,588 +1,593 @@
require 'clio/usage'
#require 'shellwords'
module Clio
# = Commandline
#
# Clio's Commandline class is a very versitile command lin... |
rubyunworks/clio | 0104126d7d91fa465e7f9ab1903deff0f2aed6c7 | improved spec headers | diff --git a/spec/integration/01_usage/01_define.rd b/spec/integration/01_usage/01_define.rd
index 7a35794..f44b1de 100644
--- a/spec/integration/01_usage/01_define.rd
+++ b/spec/integration/01_usage/01_define.rd
@@ -1,112 +1,112 @@
= Clio::Usage
-== Create a Usage object.
+== Create a Usage Object
Require usage ... |
rubyunworks/clio | 35044fbd40a2b18dedce4eb2e7411fec3d6d5f7d | commandline.rb, improved documentation | diff --git a/lib/clio/commandline.rb b/lib/clio/commandline.rb
index d95a62e..b7c7c2a 100644
--- a/lib/clio/commandline.rb
+++ b/lib/clio/commandline.rb
@@ -1,562 +1,588 @@
require 'clio/usage'
#require 'shellwords'
module Clio
# = Commandline
#
# Clio's Commandline class is a very versitile command lin... |
rubyunworks/clio | fabb84971a1f59b0a428cf258043b723fe811497 | made auto/passive parsing an option of Commandline rather than a subclass | diff --git a/lib/clio/autoline.rb b/lib/clio/autoline.rb
deleted file mode 100644
index 81a5ed4..0000000
--- a/lib/clio/autoline.rb
+++ /dev/null
@@ -1,93 +0,0 @@
-require 'clio/commandline'
-
-module Clio
-
- # = AutoCommandline
- #
- # Clio's AutoCommandline is a subclass of Commandline.
- # It can be used lazily... |
rubyunworks/clio | 9e0c23a3457ea46a64768d3f13162b6ae412a08d | AutoCommandline needed better privatizing of super methods | diff --git a/lib/clio/autoline.rb b/lib/clio/autoline.rb
index 07d7648..81a5ed4 100644
--- a/lib/clio/autoline.rb
+++ b/lib/clio/autoline.rb
@@ -1,93 +1,93 @@
require 'clio/commandline'
module Clio
# = AutoCommandline
#
# Clio's AutoCommandline is a subclass of Commandline.
# It can be used lazily, wh... |
rubyunworks/clio | 9b6809029af59857379bb18c50400a8e0522765f | argv needed to be passes to parse method | diff --git a/lib/clio/usage/command.rb b/lib/clio/usage/command.rb
index eef553b..7950daa 100644
--- a/lib/clio/usage/command.rb
+++ b/lib/clio/usage/command.rb
@@ -1,130 +1,132 @@
require 'clio/usage/subcommand'
module Clio
module Usage #:nodoc:
# = Command
#
# This is the toplevel "main" com... |
rubyunworks/clio | f6d4bda761b4a80037f8aa9683bcd5ee3f7d0c54 | fixed quickcli integration spec | diff --git a/spec/integration/quickcli.rd b/spec/integration/quickcli.rd
index 4cd9923..0e957a2 100644
--- a/spec/integration/quickcli.rd
+++ b/spec/integration/quickcli.rd
@@ -1,108 +1,114 @@
Require QuickCLI class.
require 'clio/quickcli'
Setup an example CLI subclass.
class MyCLI < Clio::QuickCLI
... |
rubyunworks/clio | bf3dd6b0896145fc98ead7a7fed93bc685e4f4f5 | string.rb, updated docs a little | diff --git a/lib/clio/string.rb b/lib/clio/string.rb
index fd07cd9..893ce6d 100644
--- a/lib/clio/string.rb
+++ b/lib/clio/string.rb
@@ -1,243 +1,251 @@
require 'clio/ansicode'
require 'clio/layout/split'
-require 'clio/facets/string'
+#require 'clio/facets/string'
module Clio
+ # Create a new Clio String objec... |
rubyunworks/clio | b422c67b13d9babb9fd9081d832ad5224799dc9c | improved #ask method | diff --git a/demo/consoleutils.rb b/demo/consoleutils.rb
new file mode 100644
index 0000000..3c2936c
--- /dev/null
+++ b/demo/consoleutils.rb
@@ -0,0 +1,6 @@
+require 'clio/consoleutils'
+
+ask("How now?") do |a|
+ raise AnswerRetry unless a == 'q'
+end
+
diff --git a/lib/clio/consoleutils.rb b/lib/clio/consoleutils.r... |
rubyunworks/clio | 5373e512e3180a639807fa0245848f4807788f6b | removed require of errors.rb | diff --git a/lib/clio/quickcli.rb b/lib/clio/quickcli.rb
index a94d4e3..a325677 100644
--- a/lib/clio/quickcli.rb
+++ b/lib/clio/quickcli.rb
@@ -1,311 +1,309 @@
-require 'clio/errors'
-
module Clio
# = Command
#
# Command is Clio's low-level command option parser solution.
# Despite being low-level, it i... |
rubyunworks/clio | 6897e05dc17649531b6c6ffd0d41b1bb1e10a46b | added quickcli.rd integration spec | diff --git a/spec/integration/quickcli.rd b/spec/integration/quickcli.rd
new file mode 100644
index 0000000..4cd9923
--- /dev/null
+++ b/spec/integration/quickcli.rd
@@ -0,0 +1,108 @@
+Require QuickCLI class.
+
+ require 'clio/quickcli'
+
+Setup an example CLI subclass.
+
+ class MyCLI < Clio::QuickCLI
+
+ attr :r... |
rubyunworks/clio | fe6795f3b08f2c6d07beb1a2594d627c55c86e1c | removed method privacy loop | diff --git a/lib/clio/commandline.rb b/lib/clio/commandline.rb
index 8f395ce..4b8b9bf 100644
--- a/lib/clio/commandline.rb
+++ b/lib/clio/commandline.rb
@@ -1,520 +1,515 @@
require 'clio/usage'
#require 'shellwords'
module Clio
# = Commandline
#
# Clio's Commandline class is a very versitile command lin... |
rubyunworks/clio | a5656d625909fec5b77d49b3237dd5a379463d98 | remove commented code | diff --git a/lib/clio/autoline.rb b/lib/clio/autoline.rb
index c4d16c0..07d7648 100644
--- a/lib/clio/autoline.rb
+++ b/lib/clio/autoline.rb
@@ -1,345 +1,93 @@
require 'clio/commandline'
-#require 'shellwords'
module Clio
# = AutoCommandline
#
# Clio's AutoCommandline is a subclass of Commandline.
# I... |
rubyunworks/clio | 7e3e1adb4c57410ba9ef4ca0597ddbb74d38b11e | errors.rb, fixed typo | diff --git a/lib/clio/errors.rb b/lib/clio/errors.rb
index 69f09fe..dafce17 100644
--- a/lib/clio/errors.rb
+++ b/lib/clio/errors.rb
@@ -1,16 +1,16 @@
module Clio
class NoOptionError < ::NoMethodError # ArgumentError ?
def initialize(name, *arg)
super("unknown option -- #{name}", name, *args)
end... |
rubyunworks/clio | f2333cb0e04340dc051826a11f65a884d648e5f3 | improved error handling | diff --git a/lib/clio/quickcli.rb b/lib/clio/quickcli.rb
index 5104d96..a94d4e3 100644
--- a/lib/clio/quickcli.rb
+++ b/lib/clio/quickcli.rb
@@ -1,277 +1,311 @@
require 'clio/errors'
module Clio
# = Command
#
# Command is Clio's low-level command option parser solution.
# Despite being low-level, it i... |
rubyunworks/clio | 803f2ccfaca0e1a6b8544d79fd2eb36d81346c27 | separated automatic usage to it's own class | diff --git a/doc/assets/images/swirl.jpg b/doc/assets/images/swirl.jpg
new file mode 100644
index 0000000..88b46ad
Binary files /dev/null and b/doc/assets/images/swirl.jpg differ
diff --git a/lib/clio/autoline.rb b/lib/clio/autoline.rb
new file mode 100644
index 0000000..c4d16c0
--- /dev/null
+++ b/lib/clio/autoline.rb... |
rubyunworks/clio | a0881d3d6d0e8673cf87f9c6955ec1961350df8c | tab completion now sorts colon commands specially | diff --git a/lib/clio/usage/subcommand.rb b/lib/clio/usage/subcommand.rb
index 91d8f59..ce9c535 100644
--- a/lib/clio/usage/subcommand.rb
+++ b/lib/clio/usage/subcommand.rb
@@ -1,482 +1,485 @@
require 'clio/usage/option'
require 'clio/usage/argument'
module Clio
module Usage #:nodoc:
# = Commandline Us... |
rubyunworks/clio | 49cc57b179b6cf0ef52545c414dacca20edfb596 | added bold to webpage example | diff --git a/doc/index.html b/doc/index.html
index 33e8379..336ab09 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -1,119 +1,163 @@
<html>
<head>
<title>CLIO</title>
- <LINK REL="SHORTCUT ICON" HREF="assets/images/icon.gif"/>
+ <link REL="SHORTCUT ICON" HREF="assets/images/icon.gif"/>
+
+ <!-- shjs highlig... |
rubyunworks/clio | d897b78ac6582a6644a2f31b099d534070679f35 | added quickcli | diff --git a/lib/clio/commandable.rb b/lib/clio/commandable.rb
deleted file mode 100644
index 7ad3eee..0000000
--- a/lib/clio/commandable.rb
+++ /dev/null
@@ -1,197 +0,0 @@
-require 'clio/errors'
-
-module Clio
-
- # = Commandable Mixin
- #
- # The Commandable mixin is a very quick and and easy
- # way to make almo... |
rubyunworks/clio | 093ffecc330a7bfc064aff6f7843e444417c807e | renamed Terminal to ConsoleUtils | diff --git a/lib/clio/consoleutils.rb b/lib/clio/consoleutils.rb
index 6a16680..d224953 100644
--- a/lib/clio/consoleutils.rb
+++ b/lib/clio/consoleutils.rb
@@ -1,101 +1,101 @@
module Clio
- # = Termninal
+ # = ConsoleUtils
#
# ConsoleUtils provides methods that are
# generally useful in the context of
... |
rubyunworks/clio | df9b9fcaa1b068730a4fb521cd5c9b6f23d490f7 | string.rb, use array instead of hash for marks | diff --git a/demo/example.rb b/demo/example.rb
new file mode 100644
index 0000000..f15c956
--- /dev/null
+++ b/demo/example.rb
@@ -0,0 +1,34 @@
+# = Examples
+#
+# This is the example on the website.
+
+ require 'clio/commandline'
+ require 'clio/string'
+
+ cli = Clio::Commandline.new
+
+ cli.usage.document('--out... |
rubyunworks/clio | e31f77221a3dbe247e0afaa70fedec0a64c3cb2c | renamed to_s_help to help_text | diff --git a/lib/clio/commandline.rb b/lib/clio/commandline.rb
index 1a9e76c..7a9c543 100644
--- a/lib/clio/commandline.rb
+++ b/lib/clio/commandline.rb
@@ -1,467 +1,469 @@
require 'clio/usage'
#require 'shellwords'
module Clio
# = Commandline
#
# Clio's Commandline class is a very versitile command lin... |
rubyunworks/clio | dae6c75aae7d45c668d939470b4987fc77f7a419 | imporved Clio::String unit specification | diff --git a/doc/assets/styles/spec.css b/doc/assets/styles/spec.css
index 33a48f4..7a55e64 100644
--- a/doc/assets/styles/spec.css
+++ b/doc/assets/styles/spec.css
@@ -1,6 +1,6 @@
-@import "http://tigerops.org/assets/libs/shjs/css/sh_emacs.css";
+@import url("http://tigerops.org/assets/libs/shjs/css/sh_emacs.css");
... |
rubyunworks/clio | 5555f5dfb623ca502ae39a88d6d0a8bc24b8bb8b | prep for v0.3.0 release | diff --git a/CHANGES b/CHANGES
index ee28606..ef617c2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,66 +1,84 @@
+== 0.3.0 / 2008-11-19
+
+* 5 Other Enhancements
+
+ * improved usage specs (#2e805f40a05afcccdf59bad087b759d1fda60354)
+ * string.rb, fixed gsub (#f7449ced8d9757aefb8dedb04e65821fd174a31d)
+ * renamed Us... |
rubyunworks/clio | 0a820c7c44db3d1a6e7b1950152fabdaae006381 | remove QED from end of specs | diff --git a/spec/commandline/autousage.rd b/spec/commandline/autousage.rd
index 9250762..d7d5eea 100644
--- a/spec/commandline/autousage.rd
+++ b/spec/commandline/autousage.rd
@@ -1,56 +1,54 @@
= Method Missing "Auto" Usage
Require Commandline library.
require 'clio/commandline'
$0 = 'test'
Handles ... |
rubyunworks/clio | 42ccad02a7f5a68461e70c4ef775a8751facbddb | renamed Usage::Main to Usage::Command and Usage::Command to Usage::Subcommand | diff --git a/lib/clio/commandline.rb b/lib/clio/commandline.rb
index d40c8ab..1a9e76c 100644
--- a/lib/clio/commandline.rb
+++ b/lib/clio/commandline.rb
@@ -1,474 +1,467 @@
-require 'clio/facets/kernel' # for deep_copy
require 'clio/usage'
#require 'shellwords'
module Clio
# = Commandline
#
# Clio's Com... |
rubyunworks/clio | f7449ced8d9757aefb8dedb04e65821fd174a31d | string.rb, fixed gsub | diff --git a/lib/clio/string.rb b/lib/clio/string.rb
index 9eba082..1c23b17 100644
--- a/lib/clio/string.rb
+++ b/lib/clio/string.rb
@@ -1,154 +1,213 @@
require 'clio/ansicode'
require 'clio/layout/split'
require 'clio/facets/string'
module Clio
def self.string(str)
String.new(str)
end
# Clio St... |
rubyunworks/clio | 2e805f40a05afcccdf59bad087b759d1fda60354 | improved usage specs | diff --git a/spec/usage/define.rd b/spec/usage/define.rd
index f2a7e96..8af602b 100644
--- a/spec/usage/define.rd
+++ b/spec/usage/define.rd
@@ -1,44 +1,112 @@
-= Usage Definition
+= Clio::Usage
-Require commandline library.
+== Create a Usage object.
+
+Require usage library.
require 'clio/usage'
+
+Fake a comm... |
rubyunworks/clio | 1fc846f54b304da8956fecc84d9287641a5da052 | added doc/spec to .gitignore | diff --git a/.gitignore b/.gitignore
index ceb87a5..e48b932 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
.cache
doc/rdoc
doc/ri
doc/log
+doc/spec
|
rubyunworks/clio | 16e6b765fd606f5c09d43b52f6d0104aa55fc56f | added some website assets | diff --git a/doc/assets/scripts/jquery.js b/doc/assets/scripts/jquery.js
new file mode 100644
index 0000000..82b98e1
--- /dev/null
+++ b/doc/assets/scripts/jquery.js
@@ -0,0 +1,32 @@
+/*
+ * jQuery 1.2.6 - New Wave Javascript
+ *
+ * Copyright (c) 2008 John Resig (jquery.com)
+ * Dual licensed under the MIT (MIT-LICENS... |
rubyunworks/clio | 8176e5cee31f2a8fa73e0f151f504a40f0a9a21a | support for argument added splat option | diff --git a/lib/clio/usage/command.rb b/lib/clio/usage/command.rb
index 619fdc2..0022194 100644
--- a/lib/clio/usage/command.rb
+++ b/lib/clio/usage/command.rb
@@ -1,428 +1,440 @@
require 'clio/usage/option'
require 'clio/usage/argument'
module Clio
module Usage #:nodoc:
# = Commandline Usage Command
... |
rubyunworks/clio | 4d37a8906945c223100cc0d617a8ecbe9f25b863 | argument.rb, added splat option | diff --git a/lib/clio/usage/argument.rb b/lib/clio/usage/argument.rb
index b9dd104..7b2fb34 100644
--- a/lib/clio/usage/argument.rb
+++ b/lib/clio/usage/argument.rb
@@ -1,74 +1,84 @@
module Clio
module Usage #:nodoc:
# = Usage Argument
#
class Argument
#attr :parent
attr :name
... |
rubyunworks/clio | 471a0b1480207324ecf17ffe2943dac29fedba7e | avoid class with Clio::String and use ::String where needed | diff --git a/lib/clio/usage/parser.rb b/lib/clio/usage/parser.rb
index 41df2a4..17ef805 100644
--- a/lib/clio/usage/parser.rb
+++ b/lib/clio/usage/parser.rb
@@ -1,184 +1,184 @@
require 'shellwords'
require 'clio/usage/signature'
require 'clio/usage/interface'
module Clio
module Usage #:nodoc:
# = Pars... |
rubyunworks/clio | 4a519dd76be6e66454424edbe9eb790c786fc582 | clio/string.rb, fixed require | diff --git a/lib/clio/string.rb b/lib/clio/string.rb
index 1796426..9eba082 100644
--- a/lib/clio/string.rb
+++ b/lib/clio/string.rb
@@ -1,153 +1,154 @@
require 'clio/ansicode'
require 'clio/layout/split'
+require 'clio/facets/string'
module Clio
def self.string(str)
String.new(str)
end
# Clio St... |
rubyunworks/clio | 2f649c515407eadd4c32076d4bb4360d765da8e4 | copied needed facets methods | diff --git a/lib/clio/facets/kernel.rb b/lib/clio/facets/kernel.rb
new file mode 100644
index 0000000..8d50113
--- /dev/null
+++ b/lib/clio/facets/kernel.rb
@@ -0,0 +1,13 @@
+module Kernel
+
+ # Anything that can be marshaled can be copied in totality.
+ # This is also commonly called a deep_copy.
+ #
+ # "ABC".c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.