breadboard 1.0.0.alpha.3 → 1.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/VERSION +1 -1
  3. data/lib/breadboard/breadboard.rb +0 -61
  4. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ v1.0.0.beta.1
2
+ Cleaning up comments; ready for public consumption
3
+
1
4
  v1.0.0.alpha.3
2
5
  Bug fix: define @connection
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.alpha.3
1
+ 1.0.0.beta.1
@@ -28,64 +28,3 @@ module Breadboard
28
28
  Config.reset
29
29
  end
30
30
  end
31
-
32
- #
33
- #
34
- # class Breadboard
35
- # attr_reader :config
36
- #
37
- # class EnvironmentUnknownError < StandardError; end
38
- #
39
- # def initialize(config_yml)
40
- # @config = YAML.load config_yml
41
- # end
42
- #
43
- # def environment
44
- # begin
45
- # RAILS_ENV
46
- # rescue
47
- # raise EnvironmentUnknownError, "RAILS_ENV environment unknown"
48
- # end
49
- # end
50
- #
51
- # def service_for(klass)
52
- # serv = nil
53
- # while serv.nil? && klass != ActiveResource::Base do
54
- # table = klass.to_s.tableize.singularize
55
- # serv = (@config[table][environment] rescue nil) ||
56
- # (@config[table]['all'] rescue nil) ||
57
- # nil
58
- # klass = klass.superclass
59
- # end
60
- # serv ||
61
- # (@config['default'][environment] rescue nil) ||
62
- # (@config['default']['all'] rescue nil) ||
63
- # ''
64
- # end
65
- # end
66
- # #
67
- # # class ActiveResource::Base
68
- # # class << self
69
- # # def site_with_breadboard
70
- # # if defined?(BREAD_BOARD)
71
- # # unless @site
72
- # # self.site = BREAD_BOARD.service_for(self)
73
- # # end
74
- # # @site
75
- # # else
76
- # # self.site_without_breadboard
77
- # # end
78
- # # end
79
- # #
80
- # # alias_method_chain :site, :breadboard
81
- # #
82
- # # def connection_with_breadboard(refresh = false)
83
- # # # setting @connection = nil would trigger Connection.new(site...
84
- # # # @connection is set to nil when calling self.site = 'url' as well
85
- # # @connection = nil
86
- # # connection_without_breadboard
87
- # # end
88
- # #
89
- # # alias_method_chain :connection, :breadboard
90
- # # end
91
- # # end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breadboard
3
3
  version: !ruby/object:Gem::Version
4
- hash: -3702664326
4
+ hash: 62196353
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
- - alpha
11
- - 3
12
- version: 1.0.0.alpha.3
10
+ - beta
11
+ - 1
12
+ version: 1.0.0.beta.1
13
13
  platform: ruby
14
14
  authors:
15
15
  - Matt Parker