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
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 |
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
/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' |
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
#!/usr/bin/ruby | |
def sleep_sort(a) | |
threads = [] | |
a.each do |e| | |
threads << Thread.new do | |
sleep e | |
puts e | |
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
f = open('https://api.github.com/user', :http_basic_authentication => ['username', 'password']) | |
puts f.read |
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 'open-uri' | |
f = open('https://api.github.com/user', :http_basic_authentication => ['username', 'password']) | |
puts f.read |
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
+ fmvn | |
/usr/lib64/jvm/java | |
Jan 25, 2012 2:12:21 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn | |
WARNING: Error injecting: org.fedoraproject.maven.repository.internal.FedoraRepositorySystem | |
com.google.inject.ProvisionException: Guice provision errors: | |
1) Error injecting: public org.sonatype.aether.impl.internal.DefaultRepositorySystem org.sonatype.aether.impl.internal.DefaultRepositorySystem.setArtifactResolver(org.sonatype.aether.impl.ArtifactResolver) | |
at ClassRealm[plexus.core, parent: null] | |
while locating org.sonatype.aether.impl.internal.DefaultRepositorySystem | |
while locating org.fedoraproject.maven.repository.internal.FedoraRepositorySystem |
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
+ fmvn | |
/usr/lib64/jvm/java | |
Jan 25, 2012 2:14:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn | |
WARNING: Error injecting: org.fedoraproject.maven.repository.internal.FedoraRepositorySystem | |
com.google.inject.ProvisionException: Guice provision errors: | |
1) Error injecting: public org.sonatype.aether.impl.internal.DefaultRepositorySystem org.sonatype.aether.impl.internal.DefaultRepositorySystem.setArtifactResolver(org.sonatype.aether.impl.ArtifactResolver) | |
at ClassRealm[plexus.core, parent: null] | |
while locating org.sonatype.aether.impl.internal.DefaultRepositorySystem | |
while locating org.fedoraproject.maven.repository.internal.FedoraRepositorySystem |
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
def expand_keys(key, value) | |
if File.dirname(key) != "/" | |
return expand_keys(File.dirname(key), { File.basename(key) => value }) | |
else | |
return {File.dirname(key) => { File.basename(key) => value }} | |
end | |
end | |
data = { |
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
SELECT 1, | |
(SELECT 1 | |
FROM rhnServerFeaturesView SFV | |
WHERE SFV.server_id = S.id | |
AND SFV.label = 'ftr_system_grouping') AS selectable | |
FROM rhnServerInfo SI, | |
rhnServer S, | |
rhnActionErrataUpdate EA, | |
rhnServerAction SA, | |
rhnErrata E |
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
/.gradle | |
/.settings | |
/bin | |
/build | |
/.classpath | |
/.project |