auser-butterfly 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/butterfly.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{butterfly}
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Ari Lerner"]
9
- s.date = %q{2009-04-06}
9
+ s.date = %q{2009-04-07}
10
10
  s.default_executable = %q{flutter}
11
11
  s.description = %q{An HTTP mini server to query against modular adaptors}
12
12
  s.email = ["arilerner@mac.com"]
data/lib/butterfly.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
- %w(rubygems thin dslify rack/cache).each do |lib|
4
+ %w(rubygems thin).each do |lib|
5
5
  require lib
6
6
  end
7
7
 
@@ -15,7 +15,7 @@ LOADED_FILES = []
15
15
  module Butterfly
16
16
  include Reloadable
17
17
 
18
- VERSION = '0.0.3' unless Butterfly.const_defined?("VERSION")
18
+ VERSION = '0.0.4' unless Butterfly.const_defined?("VERSION")
19
19
 
20
20
  def self.register_adaptor *files
21
21
  files.each {|f| require_reloadable_files f }
@@ -54,6 +54,6 @@ module Butterfly
54
54
  end
55
55
  end
56
56
 
57
- %w(yaml_file json_file).each do |lib|
57
+ %w(yaml_file json_file favicon).each do |lib|
58
58
  require "#{File.dirname(__FILE__)}/adaptors/#{lib}_adaptor"
59
59
  end
@@ -37,7 +37,7 @@ module Butterfly
37
37
  @response.fail!
38
38
  "Boom"
39
39
  end
40
- @response.return!(body)
40
+ return @response.return!(body)
41
41
  end
42
42
 
43
43
  def get_adaptor(p=Default.adaptor)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auser-butterfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ari Lerner
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-06 00:00:00 -07:00
12
+ date: 2009-04-07 00:00:00 -07:00
13
13
  default_executable: flutter
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency