active_explorer 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.standalone_migrations +6 -0
- data/.travis.yml +4 -0
- data/Appraisals +27 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/Guardfile +27 -0
- data/LICENSE.txt +21 -0
- data/README.md +230 -0
- data/Rakefile +7 -0
- data/active_explorer.gemspec +38 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/gemfiles/activerecord_3_0.gemfile +7 -0
- data/gemfiles/activerecord_3_0.gemfile.lock +111 -0
- data/gemfiles/activerecord_3_1.gemfile +7 -0
- data/gemfiles/activerecord_3_1.gemfile.lock +113 -0
- data/gemfiles/activerecord_3_2.gemfile +7 -0
- data/gemfiles/activerecord_3_2.gemfile.lock +113 -0
- data/gemfiles/activerecord_4_0.gemfile +7 -0
- data/gemfiles/activerecord_4_0.gemfile.lock +119 -0
- data/gemfiles/activerecord_4_1.gemfile +7 -0
- data/gemfiles/activerecord_4_1.gemfile.lock +118 -0
- data/gemfiles/activerecord_4_2.gemfile +7 -0
- data/gemfiles/activerecord_4_2.gemfile.lock +118 -0
- data/gemfiles/activerecord_5_0.gemfile +7 -0
- data/gemfiles/activerecord_5_0.gemfile.lock +115 -0
- data/lib/active_explorer/version.rb +3 -0
- data/lib/active_explorer.rb +58 -0
- data/lib/config.rb +8 -0
- data/lib/exploration.rb +233 -0
- data/lib/painter.rb +101 -0
- data/lib/writer.rb +48 -0
- metadata +284 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 06742c7c307e540ef325ad2ac528671d59d9a297
|
4
|
+
data.tar.gz: db6d67d3a4820510613db45a503474583e1edfa2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5e57990c0112436d90669f9800e0c81ad2ef155503856d01413c1683b1264db99a975e744a9d57b61d21dae9f1aa0ef2bb29cd0369ec1a5a6991e4c783e73e2f
|
7
|
+
data.tar.gz: aebfa88db865056d5cb26cf1a44dee67924dea329d6f2457f8e909af7afe23e661801eefc4d1906d678e34bfbadb481afd115c9aa741d493a703e88b78589069
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
active-explorer
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.3.0
|
data/.travis.yml
ADDED
data/Appraisals
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
appraise "activerecord-3-0" do
|
2
|
+
gem "activerecord", "~> 3.0.20"
|
3
|
+
end
|
4
|
+
|
5
|
+
appraise "activerecord-3-1" do
|
6
|
+
gem "activerecord", "~> 3.1.12"
|
7
|
+
end
|
8
|
+
|
9
|
+
appraise "activerecord-3-2" do
|
10
|
+
gem "activerecord", "~> 3.2.22.2"
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise "activerecord-4-0" do
|
14
|
+
gem "activerecord", "~> 4.0.13"
|
15
|
+
end
|
16
|
+
|
17
|
+
appraise "activerecord-4-1" do
|
18
|
+
gem "activerecord", "~> 4.1.15"
|
19
|
+
end
|
20
|
+
|
21
|
+
appraise "activerecord-4-2" do
|
22
|
+
gem "activerecord", "~> 4.2.6"
|
23
|
+
end
|
24
|
+
|
25
|
+
appraise "activerecord-5-0" do
|
26
|
+
gem "activerecord", "~> 5.0.0.rc1"
|
27
|
+
end
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/Guardfile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
# Note: The cmd option is now required due to the increasing number of ways
|
4
|
+
# rspec may be run, below are examples of the most common uses.
|
5
|
+
# * bundler: 'bundle exec rspec'
|
6
|
+
# * bundler binstubs: 'bin/rspec'
|
7
|
+
# * spring: 'bin/rspec' (This will use spring if running and you have
|
8
|
+
# installed the spring binstubs per the docs)
|
9
|
+
# * zeus: 'zeus rspec' (requires the server to be started separately)
|
10
|
+
# * 'just' rspec: 'rspec'
|
11
|
+
|
12
|
+
guard :rspec, cmd: "bundle exec rspec" do
|
13
|
+
require "guard/rspec/dsl"
|
14
|
+
dsl = Guard::RSpec::Dsl.new(self)
|
15
|
+
|
16
|
+
# Feel free to open issues for suggestions and improvements
|
17
|
+
|
18
|
+
# RSpec files
|
19
|
+
rspec = dsl.rspec
|
20
|
+
watch(rspec.spec_helper) { rspec.spec_dir }
|
21
|
+
watch(rspec.spec_support) { rspec.spec_dir }
|
22
|
+
watch(rspec.spec_files)
|
23
|
+
|
24
|
+
# Ruby files
|
25
|
+
ruby = dsl.ruby
|
26
|
+
dsl.watch_spec_files_for(ruby.lib_files)
|
27
|
+
end
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2015 Marek Ulicny (xulicny@gmail.com), Rascasone (www.rascasone.com)
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,230 @@
|
|
1
|
+
# Active Explorer
|
2
|
+
|
3
|
+
Active Explorer is a Ruby gem for visualization of run-time data and associations represented by Active Record.
|
4
|
+
|
5
|
+
**NOTE: Only Active Record 4.2.x is currently supported. More versions comming next week. Come back soon ;)**
|
6
|
+
|
7
|
+
**NOTE: This is pre-alpha version. Many things might change.**
|
8
|
+
|
9
|
+
How the gem works? It simply looks for `has_many`, `has_one` and `belongs_to` associations
|
10
|
+
and traverse through them to associated objects. Then it does the same with them until it explores all the surroundings.
|
11
|
+
It then prints nice graph represantation to image file (or simple output to console).
|
12
|
+
|
13
|
+
One picture is worth a thousand words:
|
14
|
+
|
15
|
+
TODO: Add that picture ;)
|
16
|
+
|
17
|
+
## Installation
|
18
|
+
|
19
|
+
Add this line to your application's Gemfile:
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
gem 'active_explorer'
|
23
|
+
```
|
24
|
+
|
25
|
+
And then execute:
|
26
|
+
|
27
|
+
```
|
28
|
+
$ bundle
|
29
|
+
```
|
30
|
+
|
31
|
+
Or install it yourself as:
|
32
|
+
|
33
|
+
```
|
34
|
+
$ gem install active_explorer
|
35
|
+
```
|
36
|
+
|
37
|
+
## Usage
|
38
|
+
|
39
|
+
In Rails, place this code into `application.rb`:
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require "active_explorer"
|
43
|
+
```
|
44
|
+
|
45
|
+
Call:
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
ex my_object # Prints output to console
|
49
|
+
exf my_object # Prints output as a graph to image file
|
50
|
+
```
|
51
|
+
|
52
|
+
Note: `ex` is abbreviation for `explore` and `exf` for `explore_to_file` methods.
|
53
|
+
|
54
|
+
See [Examples](#Examples) (or test cases) for more examples.
|
55
|
+
|
56
|
+
## Configuration
|
57
|
+
|
58
|
+
### Parameters
|
59
|
+
|
60
|
+
Only `exf` has:
|
61
|
+
|
62
|
+
```ruby
|
63
|
+
file_name = nil # When not specified, gem will create file composed of "object class" and "object id", e.g. "book_12.png"
|
64
|
+
```
|
65
|
+
|
66
|
+
Both `ex` and `exf` have:
|
67
|
+
|
68
|
+
```ruby
|
69
|
+
class_filter: nil, # Allowed or ignored classes
|
70
|
+
attribute_filter: nil, # Attributes to be displayed (per class setting)
|
71
|
+
attribute_limit: nil, # First "n" attributes to be displayed
|
72
|
+
association_filter: nil, # Which direction to explore (parents, children, all)?
|
73
|
+
depth: 5 # Recursion depth at which to stop
|
74
|
+
```
|
75
|
+
|
76
|
+
Example:
|
77
|
+
|
78
|
+
```ruby
|
79
|
+
ex Author.first, class_filter: [:books, :reviews],
|
80
|
+
attribute_filter: { books: [:id, :title], reviews: [:id, :text] },
|
81
|
+
association_filter: [:has_many],
|
82
|
+
attribute_limit: 5,
|
83
|
+
depth: 10
|
84
|
+
```
|
85
|
+
|
86
|
+
Important: Use **plural form** of your classes.
|
87
|
+
|
88
|
+
See [Examples](#Examples) (or test cases) see exact usage.
|
89
|
+
|
90
|
+
Check [Global Configuration](#Global) to easily set this filter once for all future calls.
|
91
|
+
|
92
|
+
### Global Configuration
|
93
|
+
|
94
|
+
Place this to initializer. E.g. `initializers/active_explorer.rb`:
|
95
|
+
|
96
|
+
```ruby
|
97
|
+
ActiveExplorer::Config.class_filter = {ignore: [:reviews]}
|
98
|
+
ActiveExplorer::Config.attribute_limit = 5
|
99
|
+
ActiveExplorer::Config.depth = 10
|
100
|
+
```
|
101
|
+
|
102
|
+
This configuration will be applied for every call of `ex` or `exf` as if respective parameters were added to the call.
|
103
|
+
|
104
|
+
## Examples
|
105
|
+
|
106
|
+
All examples assume following data and associations:
|
107
|
+
|
108
|
+
```ruby
|
109
|
+
Author(1) {:first_name=>"Perer", :last_name=>"Brett"}
|
110
|
+
-> has Book(1) {:author_id=>1, :title=>"The Warded Man", :year=>2008}
|
111
|
+
-> has Review(1) {:stars=>5, :text=>"Very nice book. Life changing experience.", :book_id=>1}
|
112
|
+
-> has Book(2) {:author_id=>1, :title=>"The Desert Spear", :year=>2010}
|
113
|
+
```
|
114
|
+
|
115
|
+
### Output to Console
|
116
|
+
|
117
|
+
Use `ex` to print text output to Console.
|
118
|
+
|
119
|
+
```ruby
|
120
|
+
ex Book.first
|
121
|
+
```
|
122
|
+
|
123
|
+
Use this in code or in IRB / Rails Console.
|
124
|
+
|
125
|
+
### Output to Image
|
126
|
+
|
127
|
+
Use `exf` to print output as a nice graph to image file. Following command generates file `book_1.png` (for Book with id: 1).
|
128
|
+
|
129
|
+
```ruby
|
130
|
+
exf Book.first
|
131
|
+
```
|
132
|
+
|
133
|
+
Use this in code or in IRB / Rails Console.
|
134
|
+
|
135
|
+
### Class Filter
|
136
|
+
|
137
|
+
#### Show
|
138
|
+
|
139
|
+
Show only classes that you want.
|
140
|
+
|
141
|
+
```ruby
|
142
|
+
ex Author.first, class_filter: [:books]
|
143
|
+
```
|
144
|
+
|
145
|
+
This will only display Author (as a root) and objects of Book class. Processing stops with Book classes and does not go further to parents or children.
|
146
|
+
|
147
|
+
Alternative notation using `show` parameter.
|
148
|
+
|
149
|
+
```ruby
|
150
|
+
ex Author.first, class_filter: { show: [:books] }
|
151
|
+
```
|
152
|
+
|
153
|
+
#### Ignore
|
154
|
+
|
155
|
+
```ruby
|
156
|
+
ex Author.first, class_filter: { ignore: [:reviews] }
|
157
|
+
```
|
158
|
+
|
159
|
+
### Attribute Filter
|
160
|
+
|
161
|
+
For any class you can specify list of attributes that will be displayed.
|
162
|
+
|
163
|
+
```ruby
|
164
|
+
ex Author.first, attribute_filter: { books: [:id, :title], reviews: [:id] }
|
165
|
+
```
|
166
|
+
|
167
|
+
### Attribute Limit
|
168
|
+
|
169
|
+
Set limit to show just first couple of attributes. This is useful when your classes contain many attributes and final output gets too big (especially image output). When you do not need all attributes to be displayed, this is fastest way to make output much nicer.
|
170
|
+
|
171
|
+
```ruby
|
172
|
+
ex Author.first, attribute_limit: 3
|
173
|
+
```
|
174
|
+
|
175
|
+
### Association Filter
|
176
|
+
|
177
|
+
By default, the gem follows two ways:
|
178
|
+
|
179
|
+
- finds objects associated by `belongs_to` and continues to look only for `belongs_to` associations of these objects (recursively for all subobjects)
|
180
|
+
- finds objects associated by `has_many` / `has_one` and continues to look only for `has_many` / `has_one` associations of these objects (recursively for all subobjects)
|
181
|
+
|
182
|
+
You can change the default configuration by specifying array containing some of possible values: `:has_many`, `:has_one`, `:belongs_to`, `:all`.
|
183
|
+
|
184
|
+
Value `:all` means that for each explored object the exploration continues in both `has_xxx` and `belongs_to` directions.
|
185
|
+
|
186
|
+
```ruby
|
187
|
+
ex Book.first, association_filter: [:has_many]
|
188
|
+
```
|
189
|
+
|
190
|
+
This will explore only the "down" way (through children) of Book object.
|
191
|
+
|
192
|
+
## Development
|
193
|
+
|
194
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rspec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
195
|
+
|
196
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
197
|
+
|
198
|
+
### Migrations
|
199
|
+
|
200
|
+
For testing purposes I use [Standalone Migrations](https://github.com/thuss/standalone-migrations)
|
201
|
+
|
202
|
+
Generate new migration:
|
203
|
+
|
204
|
+
```
|
205
|
+
$ rake db:new_migration name=foo_bar_migration
|
206
|
+
```
|
207
|
+
|
208
|
+
Create database as usually:
|
209
|
+
|
210
|
+
```
|
211
|
+
$ rake db:create db:migrate RAILS_ENV=test
|
212
|
+
```
|
213
|
+
|
214
|
+
## TODO
|
215
|
+
|
216
|
+
- Bug hunt.
|
217
|
+
- Support all versions of Active Record >= 3.0.x
|
218
|
+
- Export to yuml.me graphing website.
|
219
|
+
- Interactive graph.
|
220
|
+
- Rubymine plugin ;)
|
221
|
+
|
222
|
+
## Contributing
|
223
|
+
|
224
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/active-explorer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
225
|
+
|
226
|
+
|
227
|
+
## License
|
228
|
+
|
229
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
230
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'active_explorer/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "active_explorer"
|
8
|
+
spec.version = ActiveExplorer::VERSION
|
9
|
+
spec.authors = ["Marek Ulicny"]
|
10
|
+
spec.email = ["xulicny@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = "Visualization of data and associations represented by Active Record."
|
13
|
+
spec.description = "Visualization of data and associations represented by Active Record."
|
14
|
+
spec.homepage = 'https://github.com/rascasone/active_explorer'
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "bin"
|
19
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_dependency 'ruby-graphviz'
|
24
|
+
spec.add_dependency 'activerecord', '~> 4.2.0' # TODO: Support older versions as well.
|
25
|
+
|
26
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
+
spec.add_development_dependency 'rspec' , '>=3.0.0'
|
29
|
+
spec.add_development_dependency "rspec-nc"
|
30
|
+
spec.add_development_dependency "guard"
|
31
|
+
spec.add_development_dependency "guard-rspec"
|
32
|
+
spec.add_development_dependency 'ruby-graphviz', '~> 1.2', '>= 1.2.2'
|
33
|
+
spec.add_development_dependency 'mysql'
|
34
|
+
spec.add_development_dependency 'standalone_migrations'
|
35
|
+
spec.add_development_dependency 'awesome_print'
|
36
|
+
spec.add_development_dependency 'factory_girl'
|
37
|
+
spec.add_development_dependency 'appraisal'
|
38
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "active_explorer"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
active_explorer (0.0.6)
|
5
|
+
activerecord
|
6
|
+
ruby-graphviz
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (3.0.20)
|
12
|
+
activesupport (= 3.0.20)
|
13
|
+
builder (~> 2.1.2)
|
14
|
+
i18n (~> 0.5.0)
|
15
|
+
activerecord (3.0.20)
|
16
|
+
activemodel (= 3.0.20)
|
17
|
+
activesupport (= 3.0.20)
|
18
|
+
arel (~> 2.0.10)
|
19
|
+
tzinfo (~> 0.3.23)
|
20
|
+
activesupport (3.0.20)
|
21
|
+
appraisal (2.1.0)
|
22
|
+
bundler
|
23
|
+
rake
|
24
|
+
thor (>= 0.14.0)
|
25
|
+
arel (2.0.10)
|
26
|
+
awesome_print (1.7.0)
|
27
|
+
builder (2.1.2)
|
28
|
+
coderay (1.1.1)
|
29
|
+
diff-lcs (1.2.5)
|
30
|
+
factory_girl (4.7.0)
|
31
|
+
activesupport (>= 3.0.0)
|
32
|
+
ffi (1.9.10)
|
33
|
+
formatador (0.2.5)
|
34
|
+
guard (2.14.0)
|
35
|
+
formatador (>= 0.2.4)
|
36
|
+
listen (>= 2.7, < 4.0)
|
37
|
+
lumberjack (~> 1.0)
|
38
|
+
nenv (~> 0.1)
|
39
|
+
notiffany (~> 0.0)
|
40
|
+
pry (>= 0.9.12)
|
41
|
+
shellany (~> 0.0)
|
42
|
+
thor (>= 0.18.1)
|
43
|
+
guard-compat (1.2.1)
|
44
|
+
guard-rspec (4.7.2)
|
45
|
+
guard (~> 2.1)
|
46
|
+
guard-compat (~> 1.1)
|
47
|
+
rspec (>= 2.99.0, < 4.0)
|
48
|
+
i18n (0.5.4)
|
49
|
+
listen (3.1.5)
|
50
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
51
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
52
|
+
ruby_dep (~> 1.2)
|
53
|
+
lumberjack (1.0.10)
|
54
|
+
method_source (0.8.2)
|
55
|
+
mysql (2.9.1)
|
56
|
+
nenv (0.3.0)
|
57
|
+
notiffany (0.1.0)
|
58
|
+
nenv (~> 0.1)
|
59
|
+
shellany (~> 0.0)
|
60
|
+
pry (0.10.3)
|
61
|
+
coderay (~> 1.1.0)
|
62
|
+
method_source (~> 0.8.1)
|
63
|
+
slop (~> 3.4)
|
64
|
+
rake (10.5.0)
|
65
|
+
rb-fsevent (0.9.7)
|
66
|
+
rb-inotify (0.9.7)
|
67
|
+
ffi (>= 0.5.0)
|
68
|
+
rspec (3.4.0)
|
69
|
+
rspec-core (~> 3.4.0)
|
70
|
+
rspec-expectations (~> 3.4.0)
|
71
|
+
rspec-mocks (~> 3.4.0)
|
72
|
+
rspec-core (3.4.4)
|
73
|
+
rspec-support (~> 3.4.0)
|
74
|
+
rspec-expectations (3.4.0)
|
75
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
+
rspec-support (~> 3.4.0)
|
77
|
+
rspec-mocks (3.4.1)
|
78
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
79
|
+
rspec-support (~> 3.4.0)
|
80
|
+
rspec-nc (0.3.0)
|
81
|
+
rspec (>= 3)
|
82
|
+
terminal-notifier (>= 1.4)
|
83
|
+
rspec-support (3.4.1)
|
84
|
+
ruby-graphviz (1.2.2)
|
85
|
+
ruby_dep (1.3.1)
|
86
|
+
shellany (0.0.1)
|
87
|
+
slop (3.6.0)
|
88
|
+
terminal-notifier (1.6.3)
|
89
|
+
thor (0.19.1)
|
90
|
+
tzinfo (0.3.49)
|
91
|
+
|
92
|
+
PLATFORMS
|
93
|
+
ruby
|
94
|
+
|
95
|
+
DEPENDENCIES
|
96
|
+
active_explorer!
|
97
|
+
activerecord (~> 3.0.20)
|
98
|
+
appraisal
|
99
|
+
awesome_print
|
100
|
+
bundler (~> 1.10)
|
101
|
+
factory_girl
|
102
|
+
guard
|
103
|
+
guard-rspec
|
104
|
+
mysql
|
105
|
+
rake (~> 10.0)
|
106
|
+
rspec (>= 3.0.0)
|
107
|
+
rspec-nc
|
108
|
+
ruby-graphviz (~> 1.2, >= 1.2.2)
|
109
|
+
|
110
|
+
BUNDLED WITH
|
111
|
+
1.11.2
|
@@ -0,0 +1,113 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../
|
3
|
+
specs:
|
4
|
+
active_explorer (0.0.6)
|
5
|
+
activerecord
|
6
|
+
ruby-graphviz
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (3.1.12)
|
12
|
+
activesupport (= 3.1.12)
|
13
|
+
builder (~> 3.0.0)
|
14
|
+
i18n (~> 0.6)
|
15
|
+
activerecord (3.1.12)
|
16
|
+
activemodel (= 3.1.12)
|
17
|
+
activesupport (= 3.1.12)
|
18
|
+
arel (~> 2.2.3)
|
19
|
+
tzinfo (~> 0.3.29)
|
20
|
+
activesupport (3.1.12)
|
21
|
+
multi_json (~> 1.0)
|
22
|
+
appraisal (2.1.0)
|
23
|
+
bundler
|
24
|
+
rake
|
25
|
+
thor (>= 0.14.0)
|
26
|
+
arel (2.2.3)
|
27
|
+
awesome_print (1.7.0)
|
28
|
+
builder (3.0.4)
|
29
|
+
coderay (1.1.1)
|
30
|
+
diff-lcs (1.2.5)
|
31
|
+
factory_girl (4.7.0)
|
32
|
+
activesupport (>= 3.0.0)
|
33
|
+
ffi (1.9.10)
|
34
|
+
formatador (0.2.5)
|
35
|
+
guard (2.14.0)
|
36
|
+
formatador (>= 0.2.4)
|
37
|
+
listen (>= 2.7, < 4.0)
|
38
|
+
lumberjack (~> 1.0)
|
39
|
+
nenv (~> 0.1)
|
40
|
+
notiffany (~> 0.0)
|
41
|
+
pry (>= 0.9.12)
|
42
|
+
shellany (~> 0.0)
|
43
|
+
thor (>= 0.18.1)
|
44
|
+
guard-compat (1.2.1)
|
45
|
+
guard-rspec (4.7.2)
|
46
|
+
guard (~> 2.1)
|
47
|
+
guard-compat (~> 1.1)
|
48
|
+
rspec (>= 2.99.0, < 4.0)
|
49
|
+
i18n (0.7.0)
|
50
|
+
listen (3.1.5)
|
51
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
52
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
53
|
+
ruby_dep (~> 1.2)
|
54
|
+
lumberjack (1.0.10)
|
55
|
+
method_source (0.8.2)
|
56
|
+
multi_json (1.12.1)
|
57
|
+
mysql (2.9.1)
|
58
|
+
nenv (0.3.0)
|
59
|
+
notiffany (0.1.0)
|
60
|
+
nenv (~> 0.1)
|
61
|
+
shellany (~> 0.0)
|
62
|
+
pry (0.10.3)
|
63
|
+
coderay (~> 1.1.0)
|
64
|
+
method_source (~> 0.8.1)
|
65
|
+
slop (~> 3.4)
|
66
|
+
rake (10.5.0)
|
67
|
+
rb-fsevent (0.9.7)
|
68
|
+
rb-inotify (0.9.7)
|
69
|
+
ffi (>= 0.5.0)
|
70
|
+
rspec (3.4.0)
|
71
|
+
rspec-core (~> 3.4.0)
|
72
|
+
rspec-expectations (~> 3.4.0)
|
73
|
+
rspec-mocks (~> 3.4.0)
|
74
|
+
rspec-core (3.4.4)
|
75
|
+
rspec-support (~> 3.4.0)
|
76
|
+
rspec-expectations (3.4.0)
|
77
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
78
|
+
rspec-support (~> 3.4.0)
|
79
|
+
rspec-mocks (3.4.1)
|
80
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
81
|
+
rspec-support (~> 3.4.0)
|
82
|
+
rspec-nc (0.3.0)
|
83
|
+
rspec (>= 3)
|
84
|
+
terminal-notifier (>= 1.4)
|
85
|
+
rspec-support (3.4.1)
|
86
|
+
ruby-graphviz (1.2.2)
|
87
|
+
ruby_dep (1.3.1)
|
88
|
+
shellany (0.0.1)
|
89
|
+
slop (3.6.0)
|
90
|
+
terminal-notifier (1.6.3)
|
91
|
+
thor (0.19.1)
|
92
|
+
tzinfo (0.3.49)
|
93
|
+
|
94
|
+
PLATFORMS
|
95
|
+
ruby
|
96
|
+
|
97
|
+
DEPENDENCIES
|
98
|
+
active_explorer!
|
99
|
+
activerecord (~> 3.1.12)
|
100
|
+
appraisal
|
101
|
+
awesome_print
|
102
|
+
bundler (~> 1.10)
|
103
|
+
factory_girl
|
104
|
+
guard
|
105
|
+
guard-rspec
|
106
|
+
mysql
|
107
|
+
rake (~> 10.0)
|
108
|
+
rspec (>= 3.0.0)
|
109
|
+
rspec-nc
|
110
|
+
ruby-graphviz (~> 1.2, >= 1.2.2)
|
111
|
+
|
112
|
+
BUNDLED WITH
|
113
|
+
1.11.2
|