ellington 0.0.8 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,17 +1,2 @@
1
1
  source 'https://rubygems.org'
2
-
3
- gem "hero", "~> 0.1.7"
4
- gem "state_jacket", "~> 0.0.9"
5
- gem "ruby-graphviz", "~> 1.0.8", :require => "graphviz"
6
-
7
- group :development, :test do
8
- gem "yell"
9
- gem "awesome_print"
10
- gem "pry"
11
- #gem "pry-nav"
12
- gem "pry-stack_explorer"
13
- #gem "pry-rescue"
14
- gem "pry-exception_explorer"
15
- gem "micro_test"
16
- gem "micro_mock"
17
- end
2
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,10 +1,18 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ellington (0.1.0)
5
+ hero (~> 0.1.7)
6
+ ruby-graphviz (~> 1.0.8)
7
+ state_jacket (~> 0.0.7)
8
+
1
9
  GEM
2
10
  remote: https://rubygems.org/
3
11
  specs:
4
12
  awesome_print (1.1.0)
5
- binding_of_caller (0.6.9)
13
+ binding_of_caller (0.7.1)
6
14
  debug_inspector (>= 0.0.1)
7
- coderay (1.0.8)
15
+ coderay (1.0.9)
8
16
  debug_inspector (0.0.2)
9
17
  hero (0.1.7)
10
18
  method_source (0.8.1)
@@ -18,25 +26,25 @@ GEM
18
26
  slop (~> 3.4)
19
27
  pry-exception_explorer (0.2.3)
20
28
  pry-stack_explorer (>= 0.4.6)
21
- pry-stack_explorer (0.4.8)
22
- binding_of_caller (~> 0.6.8)
29
+ pry-stack_explorer (0.4.9)
30
+ binding_of_caller (>= 0.7)
23
31
  pry (~> 0.9.11)
32
+ rake (10.0.4)
24
33
  ruby-graphviz (1.0.8)
25
- slop (3.4.3)
34
+ slop (3.4.4)
26
35
  state_jacket (0.0.9)
27
- yell (1.2.3)
36
+ yell (1.3.0)
28
37
 
29
38
  PLATFORMS
30
39
  ruby
31
40
 
32
41
  DEPENDENCIES
33
42
  awesome_print
34
- hero (~> 0.1.7)
43
+ ellington!
35
44
  micro_mock
36
45
  micro_test
37
46
  pry
38
47
  pry-exception_explorer
39
48
  pry-stack_explorer
40
- ruby-graphviz (~> 1.0.8)
41
- state_jacket (~> 0.0.9)
49
+ rake
42
50
  yell
data/README.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Ellington
2
+
3
+ [![Build Status](https://travis-ci.org/hopsoft/ellington.png)](https://travis-ci.org/hopsoft/ellington)
4
+ [![Dependency Status](https://gemnasium.com/hopsoft/ellington.png)](https://gemnasium.com/hopsoft/ellington)
5
+
2
6
  Named after [Duke Ellington](http://www.dukeellington.com/) whose signature tune was ["Take the 'A' Train"](http://en.wikipedia.org/wiki/Take_the_%22A%22_Train).
3
7
  The song was written about [New York City's A train](http://en.wikipedia.org/wiki/A_%28New_York_City_Subway_service%29).
4
8
 
data/Rakefile CHANGED
@@ -1 +1,10 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ task :default => [:test]
4
+
5
+ task :test do
6
+ ENV["TEST"] = "1"
7
+ output = `bundle exec mt`
8
+ puts output
9
+ exit output.index(/tests\sfinished.*failed/).nil?
10
+ end
@@ -1,5 +1,6 @@
1
1
  require "forwardable"
2
2
  require "observer"
3
+ require_relative "has_targets"
3
4
 
4
5
  module Ellington
5
6
  class Line
@@ -1,6 +1,7 @@
1
1
  require "delegate"
2
2
  require "fileutils"
3
3
  require "observer"
4
+ require_relative "has_targets"
4
5
 
5
6
  module Ellington
6
7
  class Route < SimpleDelegator
@@ -1,3 +1,3 @@
1
1
  module Ellington
2
- VERSION = "0.0.8"
2
+ VERSION = "0.1.0"
3
3
  end
data/lib/ellington.rb CHANGED
@@ -1,6 +1,6 @@
1
- require "bundler"
2
- Bundler.require
3
- Bundler.require :development, :test if ENV["ELLINGTON_DEV"]
1
+ require "hero"
2
+ require "state_jacket"
3
+ require "graphviz"
4
4
 
5
5
  path = File.join(File.dirname(__FILE__), "ellington/**/*.rb")
6
6
  Dir[path].each { |file| require file }
data/test/example.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  require "logger"
2
2
  require_relative "../lib/ellington"
3
3
 
4
- require "yell"
5
- Ellington.logger = Yell.new do |logger|
6
- logger.adapter STDOUT, :level => [:info], :format => "%m"
7
- end
4
+ #require "yell"
5
+ #Ellington.logger = Yell.new do |logger|
6
+ # logger.adapter STDOUT, :level => [:info], :format => "%m"
7
+ #end
8
8
  #Ellington.logger = Logger.new($stdout)
9
9
 
10
10
  class NumberWithHistory
data/test/test_helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require "micro_test"
2
+ require "micro_mock"
1
3
  require "logger"
2
4
  require "delegate"
3
5
  require_relative "../lib/ellington"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ellington
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-09 00:00:00.000000000 Z
12
+ date: 2013-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hero
@@ -59,6 +59,134 @@ dependencies:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: 1.0.8
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: micro_test
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: micro_mock
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: yell
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: awesome_print
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: pry
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: pry-stack_explorer
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: pry-exception_explorer
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
62
190
  description: ! "\n A micro framework to ensure your projects are easy to manage,
63
191
  develop, & maintain.\n "
64
192
  email:
@@ -136,8 +264,8 @@ rubyforge_project:
136
264
  rubygems_version: 1.8.25
137
265
  signing_key:
138
266
  specification_version: 3
139
- summary: A micro framework to ensure your projects are easy to manage, develop, &
140
- maintain.
267
+ summary: An embeddable framework to ensure your projects are easy to manage, develop,
268
+ & maintain.
141
269
  test_files:
142
270
  - test/attendant_test.rb
143
271
  - test/conductor_test.rb