Skip to content

Instantly share code, notes, and snippets.

View dmacvicar's full-sized avatar

Duncan Mac-Vicar P. dmacvicar

View GitHub Profile
/space/rvm/gems/ruby-1.8.7-p334/gems/postly-0.2.2/lib/../lib/postly/connection.rb:45:in `singularized_class_name': undefined method `singularize' for "posts":String (NoMethodError)
from /space/rvm/gems/ruby-1.8.7-p334/gems/postly-0.2.2/lib/../lib/postly/connection.rb:40:in `posts'
diff --git a/spec/fixture_spec.rb b/spec/fixture_spec.rb
index 638e652..a571693 100644
--- a/spec/fixture_spec.rb
+++ b/spec/fixture_spec.rb
@@ -163,4 +163,39 @@ describe "IniParse" do
IniParse.parse(@fixture).to_ini.should == @fixture
end
end
+
+ describe 'oscrc.ini fixture' do
CC st.c
CC emitter.c
CC implicit.c
CC syck.c
CC bytecode.c
LDSHARED syck.so
/home/duncan/.rvm/rubies/ruby-1.8.7-p302/bin/ruby -S rake -r /space/git/rubinius/rakelib/ext_helper.rb -r /space/git/rubinius/rakelib/dependency_grapher.rb build:rbx
(in /space/git/rubinius/lib/ext/melbourne)
Building Melbourne for Rubinius
LDSHARED rbx/melbourne.so
From a76eba0bf3be09ac92ff949e695ed95c915bd33a Mon Sep 17 00:00:00 2001
From: Duncan Mac-Vicar P <[email protected]>
Date: Mon, 23 Aug 2010 23:49:46 +0200
Subject: [PATCH 1/3] implement rb_hash in the C API
---
vm/capi/hash.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/vm/capi/hash.cpp b/vm/capi/hash.cpp
bin/mspec ci --background --agent
rubinius 1.0.1 (1.8.7 6e7c8e82 2010-06-03 JI) [x86_64-unknown-linux-gnu]
.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Name: google-talkplugin
Version: 1.4.1.0
Release: 0
Summary: Google Talk Plugin
Group: Productivity/Networking/Web/Browsers
License: Proprietary
%ifarch x86_64
Source0: google-talkplugin_current_amd64.deb
%define archsuffix 64
%else
# to install the gems:
# gem install icalendar
# or
# Add devel:languages:ruby:extensions
# zypper in rubygem-icalendar
require 'rubygems'
require 'icalendar'
require 'open-uri'
require 'date'
- llvm needs to be found and used if installed in /usr, /usr/local or configurable prefix.
(for example, if installed using packages, llvm binaries will be in /usr/bin and headers in /usr/include)
this is valid for all external libraries.
- make install needs to support DESTDIR. If prefix is set to /opt/rubinius at configure/build time, and make install is called with DESTDIR=/some/root, it should end installed in /some/root/opt/rubinius, this is used by packaging tools to find out which files belong to the package
- snapshots needs to be tagged with a sequencial release number. Even better if foo-x.x.tar.bz2 tarballs are offered from such milestones. That makes easier to build packages (no need to update a git checkout, and makes the package upgradeable)
- need to honor CFLAGS and CXXFLAGS passed from the environment. Distribution pass some standard platform compile flags.
# Ruby class to access collectd daemon through the UNIX socket
# plugin.
#
# Requires collectd to be configured with the unixsock plugin, like so:
#
# LoadPlugin unixsock
# <Plugin unixsock>
# SocketFile "/var/run/collectd-unixsock"
# SocketPerms "0775"
# </Plugin>
#
# Requires collectd to be configured with the unixsock plugin, like so:
#
# LoadPlugin unixsock
# <Plugin unixsock>
# SocketFile "/var/run/collectd-unixsock"
# SocketPerms "0775"
# </Plugin>
#
# Copyright (C) 2008 Clay Loveless <[email protected]>