mongo3 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. data/HISTORY +6 -1
  2. data/README.rdoc +2 -0
  3. data/Rakefile +0 -1
  4. data/data/populate +4 -4
  5. data/lib/controllers/collections.rb +42 -8
  6. data/lib/controllers/databases.rb +11 -1
  7. data/lib/controllers/explore.rb +49 -12
  8. data/lib/helpers/collection_helper.rb +18 -0
  9. data/lib/helpers/crumb_helper.rb +4 -4
  10. data/lib/helpers/database_helper.rb +17 -0
  11. data/lib/helpers/explore_helper.rb +30 -0
  12. data/lib/helpers/flash_helper.rb +7 -0
  13. data/lib/helpers/main_helper.rb +12 -30
  14. data/lib/helpers/paths_helper.rb +40 -0
  15. data/lib/mongo3.rb +1 -1
  16. data/lib/mongo3/connection.rb +95 -34
  17. data/lib/mongo3/node.rb +43 -28
  18. data/lib/public/images/edit.png +0 -0
  19. data/lib/public/images/selected_bg.png +0 -0
  20. data/lib/public/stylesheets/mongo3.css +87 -76
  21. data/lib/views/collections/_index_form.erb +35 -0
  22. data/lib/views/collections/_index_rows.erb +54 -0
  23. data/lib/views/collections/_indexes.erb +3 -0
  24. data/lib/views/collections/_results.erb +1 -2
  25. data/lib/views/collections/_rows.erb +26 -22
  26. data/lib/views/collections/_search_form.erb +2 -3
  27. data/lib/views/collections/list.erb +18 -6
  28. data/lib/views/collections/update.js.erb +2 -0
  29. data/lib/views/collections/update_indexes.js.erb +3 -0
  30. data/lib/views/databases/_results.erb +30 -26
  31. data/lib/views/databases/list.erb +7 -3
  32. data/lib/views/explore/_node_info.erb +131 -0
  33. data/lib/views/explore/center_js.erb +1 -0
  34. data/lib/views/explore/explore.erb +11 -80
  35. data/lib/views/explore/more_data_js.erb +1 -0
  36. data/lib/views/explore/update.js.erb +5 -0
  37. data/lib/views/explore/update_crumb_js.erb +2 -1
  38. data/lib/views/layout.erb +2 -2
  39. data/lib/views/shared/flash.js.erb +9 -7
  40. data/spec/landscape.yml +3 -0
  41. data/spec/mongo3/connection_spec.rb +146 -0
  42. data/spec/mongo3/node_spec.rb +26 -8
  43. data/spec/spec_helper.rb +4 -1
  44. data/tasks/rdoc.rake +2 -2
  45. metadata +23 -2
@@ -1,3 +1,4 @@
1
1
  $('div#crumbs').html( "<%=escape_javascript(partial(:'explore/crumbs'))%>" );
2
+ $('div#info').html( "<%=escape_javascript(partial(:'explore/node_info'))%>" );
2
3
 
3
4
  center( '<%=@node_id%>' );
@@ -2,22 +2,25 @@
2
2
  <%= partial :'explore/crumbs' %>
3
3
  </div>
4
4
 
5
- <div id="landscape"></div>
5
+ <div id="landscape" class="borders"></div>
6
6
 
7
- <div id="right">
7
+ <div id="right" class="borders">
8
8
  <div id="info"></div>
9
9
  <span id="log"></span>
10
10
  </div>
11
11
 
12
- <div id="details" class="overlay">
12
+ <div id="details" class="borders overlay">
13
13
  <div id="wrap"></div>
14
14
  </div>
15
15
 
16
16
  <script>
17
+ function remove_node( node_id ) {
18
+ ht.op.removeNode( node_id, { type: 'fade:seq', duration: 1000, transition: Trans.Quart.easeOut } );
19
+ }
20
+
17
21
  function center( node_id ) {
18
22
  ht.onClick( node_id, {
19
- Move: { enable: true, offsetX: 30, offsetY: 5 },
20
- onComplete: function() { update_info( node_id ); } });
23
+ Move: { enable: true, offsetX: 30, offsetY: 5 } });
21
24
  }
22
25
 
23
26
  function morphit( id, json ) {
@@ -26,8 +29,7 @@
26
29
  type: 'fade:con',
27
30
  delay: 10,
28
31
  hideLabels: false,
29
- transition: Trans.Quart.easeOut,
30
- onComplete: function() { update_info(id); }
32
+ transition: Trans.Quart.easeOut
31
33
  });
32
34
  Log.write( "plotting..." );
33
35
  }
@@ -111,7 +113,6 @@
111
113
  ht.onClick( node.id, {
112
114
  Move: { enable: true, offsetX: 30, offsetY: 5 },
113
115
  onComplete: function() {
114
- update_info( node.id );
115
116
  $.ajax( {
116
117
  dataType: 'script',
117
118
  type: 'GET',
@@ -164,83 +165,13 @@
164
165
  },
165
166
 
166
167
  onAfterCompute: function() {
167
- Log.write("loaded");
168
+ Log.write("done");
168
169
  } });
169
170
 
170
171
  ht.loadJSON( eval( <%=@root.to_json%> ) );
171
172
  ht.controller.onAfterCompute();
172
173
  ht.refresh();
173
-
174
- if( '<%=@center%>'.length )
175
- update_info( '<%=@center%>' );
176
- else
177
- update_info( 'home' );
178
- }
179
174
 
180
- function update_info(node_id)
181
- {
182
- var node = null;
183
- if( node_id )
184
- node = Graph.Util.getNode(ht.graph, node_id);
185
- else
186
- node = Graph.Util.getClosestNodeToOrigin(ht.graph, "pos");
187
-
188
- var html = "";
189
- var depth = node.data.path_ids.split( '|' ).length
190
- var legends = ['', 'environments', 'databases', 'collections']
191
-
192
- var children = [];
193
- var children_hash = {};
194
- Graph.Util.eachAdjacency( node, function(adj) {
195
- child = adj.nodeTo;
196
- if( parent ) {
197
- if( child.name != parent.name ) {
198
- children_hash[child.name] = child;
199
- children.push( child.name );
200
- }
201
- }
202
- else {
203
- children_hash[child.name] = child;
204
- children.push( child.name );
205
- }
206
- });
207
- children = children.sort();
208
-
209
- html += "<span class=\"what\">" + legends[depth] + "(" + children.length + ")</span>";
210
- html += "<p style='padding:5px 10px;text-align:left;color:#c1c1c1'>";
211
-
212
- var buff = "<ul style='font-size:0.4em'>";
213
- for( var i in children ) {
214
- var node = children_hash[children[i]];
215
- buff += "<li>";
216
- buff += make_link( node );
217
- buff += "</li>";
218
- }
219
- html += "</ul>" + buff;
220
- html += "</p>";
221
- $('div#info').html( html );
222
-
223
- $('a.info[rel]').overlay(
224
- { top: '15%',
225
- expose: '#1c1c1c',
226
- onBeforeLoad: function() {
227
- var wrap = this.getContent().find( 'div#wrap' );
228
- wrap.load( this.getTrigger().attr( 'href' ) );
229
- }
230
- });
231
- }
232
-
233
- function make_link( node )
234
- {
235
- return "<a rel=\"div#details\" class=\"info\" href=\"/explore/show/" + node.data.path_ids + "/" + node.data.path_names + "\">" + node.name + "</a>";
236
- }
237
-
238
- function refresh_data( url, path, name )
239
- {
240
- $.ajax( {
241
- dataType: 'script',
242
- type: 'GET',
243
- url: url + "/" + path + "/" + name
244
- });
175
+ $('div#info').html( "<%=escape_javascript( partial( :'explore/node_info' ) )%>" )
245
176
  }
246
177
  </script>
@@ -1,3 +1,4 @@
1
1
  $('div#crumbs').html( "<%=escape_javascript(partial(:'explore/crumbs'))%>" );
2
+ $('div#info').html( "<%=escape_javascript(partial(:'explore/node_info'))%>" );
2
3
 
3
4
  morphit( '<%=@node_id%>', '<%=escape_javascript( @sub_tree.to_json )%>' );
@@ -0,0 +1,5 @@
1
+ <%= erb :'shared/flash.js', :layout => false %>
2
+
3
+ // $('div#info').html( "<=escape_javascript(partial(:'explore/node_info'))%>" );
4
+
5
+ remove_node( '<%=@node_id%>' );
@@ -1 +1,2 @@
1
- $('div#crumbs').html( "<%=escape_javascript(partial(:'explore/crumbs'))%>" );
1
+ $('div#crumbs').html( "<%=escape_javascript(partial(:'explore/crumbs'))%>" );
2
+ $('div#info').html( "<%=escape_javascript(partial(:'explore/node_info'))%>" );
data/lib/views/layout.erb CHANGED
@@ -16,12 +16,12 @@
16
16
  <body id="body">
17
17
  <div id="overall">
18
18
  <div id="logo">
19
- <a href="/explore">
19
+ <a href="/explore" style="float:left">
20
20
  <img src='/images/mongo3.png' style="border:none"/>
21
21
  </a>
22
+ <div class="flash">Hello World</div>
22
23
  </div>
23
24
  <div id="main">
24
- <div class="flash"></div>
25
25
  <%= yield %>
26
26
  </div>
27
27
  </div>
@@ -1,8 +1,10 @@
1
- $('div.flash').html( "<%=escape_javascript(partial(:'shared/flash'))%>" );
2
- $('div.flash').show();
3
- <% if @flash[:error] %>
4
- $('div.flash').attr( 'class', 'flash flash_error' );
5
- <% else %>
1
+ <% if @flash %>
2
+ $('div.flash').html( "<%=escape_javascript(partial(:'shared/flash'))%>" );
3
+ $('div.flash').show();
4
+ <% if @flash[:error] %>
5
+ $('div.flash').attr( 'class', 'flash flash_error' );
6
+ <% else %>
6
7
  $('div.flash').attr( 'class', 'flash flash_info' );
7
- <% end %>
8
- $('div.flash').fadeOut( 3000 );
8
+ <% end %>
9
+ $('div.flash').fadeOut( 3000 );
10
+ <% end %>
@@ -0,0 +1,3 @@
1
+ test:
2
+ host: localhost
3
+ port: 27017
@@ -0,0 +1,146 @@
1
+ require File.join(File.dirname(__FILE__), %w[.. spec_helper])
2
+ require 'ostruct'
3
+ require 'mongo'
4
+
5
+ describe Mongo3::Connection do
6
+
7
+ before( :all ) do
8
+ @con = Mongo::Connection.new( 'localhost', 27017 )
9
+ @db = @con.db( 'mongo3_test_db', :strict => true )
10
+ @mongo3 = Mongo3::Connection.new( File.join(File.dirname(__FILE__), %w[.. landscape.yml]) )
11
+ end
12
+
13
+ before( :each ) do
14
+ unless @db.collection_names.include? 'test1_cltn'
15
+ @cltn1 = @db.create_collection('test1_cltn')
16
+ else
17
+ @cltn1 = @db['test1_cltn']
18
+ end
19
+ unless @db.collection_names.include? 'test2_cltn'
20
+ @cltn2 = @db.create_collection('test2_cltn')
21
+ else
22
+ @cltn2 = @db['test2_cltn']
23
+ end
24
+
25
+ @cltn1.remove
26
+ 10.times do |i|
27
+ @cltn1.insert( {:name => "test_#{i}", :value => i } )
28
+ end
29
+ @cltn2.remove
30
+ 10.times do |i|
31
+ @cltn2.insert( {:name => "test_#{i}", :value => i } )
32
+ end
33
+ end
34
+
35
+ it "should clear out a cltn correctly" do
36
+ @mongo3.clear_cltn( "home|test|mongo3_test_db|test1_cltn" )
37
+ @db['test1_cltn'].count.should == 0
38
+ end
39
+
40
+ it "should delete a row correctly" do
41
+ obj = @cltn1.find_one()
42
+ @mongo3.delete_row( "home|test|mongo3_test_db|test1_cltn", obj['_id'].to_s )
43
+ @db['test1_cltn'].count.should == 9
44
+ end
45
+
46
+ it "should drop a cltn correctly" do
47
+ @mongo3.drop_cltn( "home|test|mongo3_test_db|test1_cltn" )
48
+ lambda { @db['test1_cltn'] }.should raise_error( /Collection test1_cltn/ )
49
+ end
50
+
51
+ it "should drop a db correctly" do
52
+ @mongo3.drop_db( "home|test|mongo3_test_db" )
53
+ @con.database_names.include?( 'mongo3_test_db' ).should == false
54
+ @db = @con.db( 'mongo3_test_db', :strict => true )
55
+ end
56
+
57
+ it "should load a landscape file correctly" do
58
+ test = @mongo3.landscape['test']
59
+
60
+ test.should_not be_nil
61
+ test['host'].should == 'localhost'
62
+ test['port'].should == 27017
63
+ end
64
+
65
+ it "should build a tree correctly" do
66
+ root = @mongo3.build_tree
67
+
68
+ root.name.should == 'home'
69
+ root.oid.should == 'home'
70
+ root.data[:path_names].should == 'home'
71
+
72
+ children = root.children
73
+ children.should have(1).item
74
+ children.first.name.should == 'test'
75
+ children.first.oid.should == 'test'
76
+ children.first.children.should be_empty
77
+ end
78
+
79
+ describe "#show" do
80
+ it "should pull env info correctly" do
81
+ info = @mongo3.show( "home|test" )
82
+ info.size.should == 6
83
+ info[:title].should == "test"
84
+ info[:databases].size.should > 1
85
+ end
86
+
87
+ it "should pull db info correctly" do
88
+ info = @mongo3.show( "home|test|mongo3_test_db" )
89
+ info.size.should == 7
90
+ info[:collections].size.should == 4
91
+ info[:title].should == "mongo3_test_db"
92
+ end
93
+
94
+ it "should pull cltn info correctly" do
95
+ info = @mongo3.show( "home|test|mongo3_test_db|test1_cltn" )
96
+ info.size.should == 4
97
+ info[:size].should == 10
98
+ info[:title].should == "test1_cltn"
99
+ end
100
+ end
101
+
102
+ describe "#build_sub_tree" do
103
+ it "should build a adjacencies from db correctly" do
104
+ adjs = @mongo3.build_sub_tree( 100, "home|test" ).to_adjacencies
105
+ adjs.should_not be_empty
106
+ adjs.size.should > 1
107
+ adjs.first[:name].should == 'test'
108
+ adjs.first[:id].should == 100
109
+ end
110
+
111
+ it "should build a adjacencies from cltn correctly" do
112
+ adjs = @mongo3.build_sub_tree( 200, "home|test|mongo3_test_db" ).to_adjacencies
113
+ adjs.size.should == 4
114
+ adjs.first[:name].should == 'mongo3_test_db'
115
+ adjs.first[:id].should == 200
116
+ adjs.first[:adjacencies].should have(3).items
117
+ end
118
+
119
+ it "should build a partial tree correctly" do
120
+ root = @mongo3.build_partial_tree( "home|test|mongo3_test_db" )
121
+ root.find( "test_2" ).children.should have(3).items
122
+ end
123
+ end
124
+
125
+ describe "paginate db" do
126
+ it "should paginate a db correctly" do
127
+ rows = @mongo3.paginate_db( "home|test|mongo3_test_db" )
128
+ rows.size.should == 3
129
+ rows.total_entries.should == 3
130
+ end
131
+ end
132
+
133
+ describe "paginate cltn" do
134
+ it "should paginate a cltn correctly" do
135
+ rows = @mongo3.paginate_cltn( "home|test|mongo3_test_db|test1_cltn" )
136
+ rows.size.should == 10
137
+ rows.total_entries.should == 10
138
+ end
139
+
140
+ it "should paginate db with q correctly" do
141
+ rows = @mongo3.paginate_cltn( "home|test|mongo3_test_db|test1_cltn", [{:value =>{'$gt' => 5 }}, []] )
142
+ rows.size.should == 4
143
+ rows.total_entries.should == 4
144
+ end
145
+ end
146
+ end
@@ -35,6 +35,14 @@ describe Mongo3::Node do
35
35
  end
36
36
  end
37
37
 
38
+ it "should make a new node correctly" do
39
+ node = Mongo3::Node.make_node( "blee" )
40
+ node.name.should == "blee"
41
+ node.oid.should == "blee"
42
+ node.data[:path_ids].should == "blee"
43
+ node.data[:path_names].should == "blee"
44
+ end
45
+
38
46
  it "should create a node correctly" do
39
47
  @root.oid.should == 0
40
48
  @root.name.should == "root"
@@ -66,19 +74,29 @@ describe Mongo3::Node do
66
74
  end
67
75
 
68
76
  it "should set the path correctly" do
69
- @cltns.first.data[:path].should == "root|env_0|db_0|cltn_0"
70
- @dbs.last.data[:path].should == "root|env_1|db_3"
71
- @envs.first.data[:path].should == "root|env_0"
72
- @root.data[:path].should be_nil
77
+ @cltns.first.data[:path_names].should == "root|env_0|db_0|cltn_0"
78
+ @dbs.last.data[:path_names].should == "root|env_1|db_3"
79
+ @envs.first.data[:path_names].should == "root|env_0"
80
+ @root.data[:path_names].should be_nil
73
81
  end
74
82
 
75
83
  it "should dump to json correctly" do
76
- @cltns.first.to_json.should == "{\"name\":\"cltn_0\",\"id\":102,\"children\":[],\"data\":{\"path\":\"root|env_0|db_0|cltn_0\"}}"
77
- @dbs.first.to_json.should == "{\"name\":\"db_0\",\"id\":102,\"children\":[{\"name\":\"cltn_0\",\"id\":102,\"children\":[],\"data\":{\"path\":\"root|env_0|db_0|cltn_0\"}},{\"name\":\"cltn_1\",\"id\":103,\"children\":[],\"data\":{\"path\":\"root|env_0|db_0|cltn_1\"}},{\"name\":\"cltn_2\",\"id\":104,\"children\":[],\"data\":{\"path\":\"root|env_0|db_0|cltn_2\"}},{\"name\":\"cltn_3\",\"id\":105,\"children\":[],\"data\":{\"path\":\"root|env_0|db_0|cltn_3\"}}],\"data\":{\"path\":\"root|env_0|db_0\"}}"
84
+ @cltns.first.to_json.should_not be_empty
85
+ @dbs.first.to_json.should_not be_empty
78
86
  end
79
87
 
80
88
  it "should dump adjacencies correctly" do
81
- @cltns.first.to_adjacencies.should == [{:adjacencies=>[], :name=>"cltn_0", :data=>{:path=>"root|env_0|db_0|cltn_0"}, :id=>102}]
82
- @dbs.first.to_adjacencies.should == [{:name=>"db_0", :adjacencies=>[102, 103, 104, 105], :data=>{:path=>"root|env_0|db_0"}, :id=>102}, {:name=>"cltn_0", :adjacencies=>[], :data=>{:path=>"root|env_0|db_0|cltn_0"}, :id=>102}, {:name=>"cltn_1", :adjacencies=>[], :data=>{:path=>"root|env_0|db_0|cltn_1"}, :id=>103}, {:name=>"cltn_2", :adjacencies=>[], :data=>{:path=>"root|env_0|db_0|cltn_2"}, :id=>104}, {:name=>"cltn_3", :adjacencies=>[], :data=>{:path=>"root|env_0|db_0|cltn_3"}, :id=>105}]
89
+ item = @cltns.first.to_adjacencies
90
+ item.should have(1).item
91
+ item.first[:name].should == "cltn_0"
92
+ item.first[:id].should == 102
93
+
94
+ item = @dbs.first.to_adjacencies
95
+ item.should have(5).item
96
+ item.first[:name].should == 'db_0'
97
+ item.last[:name].should == 'cltn_3'
98
+
99
+ # @dbs.first.to_adjacencies.should ==
100
+ # [{:adjacencies=>[102, 103, 104, 105], :name=>"db_0", :id=>102, :data=>{:path_ids=>"0|100|102", :path_names=>"root|env_0|db_0"}}, {:adjacencies=>[], :name=>"cltn_0", :id=>102, :data=>{:path_ids=>"0|100|102|102", :path_names=>"root|env_0|db_0|cltn_0"}}, {:adjacencies=>[], :name=>"cltn_1", :id=>103, :data=>{:path_ids=>"0|100|102|103", :path_names=>"root|env_0|db_0|cltn_1"}}, {:adjacencies=>[], :name=>"cltn_2", :id=>104, :data=>{:path_ids=>"0|100|102|104", :path_names=>"root|env_0|db_0|cltn_2"}}, {:adjacencies=>[], :name=>"cltn_3", :id=>105, :data=>{:path_ids=>"0|100|102|105", :path_names=>"root|env_0|db_0|cltn_3"}}]
83
101
  end
84
102
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  require 'rubygems'
2
2
  require 'rack'
3
- # require 'rack/test'
3
+ require 'rack/test'
4
+ require 'mongo'
5
+ gem 'agnostic-will_paginate'
6
+ require 'will_paginate/collection'
4
7
 
5
8
  require File.join(File.dirname(__FILE__), %w[.. lib mongo3])
6
9
 
data/tasks/rdoc.rake CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'rake/rdoctask'
2
- require 'darkfish-rdoc'
2
+ # require 'darkfish-rdoc'
3
3
 
4
4
  namespace :doc do
5
5
 
@@ -28,7 +28,7 @@ namespace :doc do
28
28
  rd.options << "-t #{title}"
29
29
  rd.options << "-SHN"
30
30
  rd.options << "-f"
31
- rd.options << "darkfish"
31
+ # rd.options << "darkfish"
32
32
  rd.options.concat(rdoc.opts)
33
33
  end
34
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernand Galiana
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-12-27 00:00:00 -07:00
12
+ date: 2009-12-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -60,6 +60,9 @@ extensions: []
60
60
 
61
61
  extra_rdoc_files:
62
62
  - lib/views/collections/_fields_form.erb
63
+ - lib/views/collections/_index_form.erb
64
+ - lib/views/collections/_index_rows.erb
65
+ - lib/views/collections/_indexes.erb
63
66
  - lib/views/collections/_results.erb
64
67
  - lib/views/collections/_rows.erb
65
68
  - lib/views/collections/_search_form.erb
@@ -67,6 +70,7 @@ extra_rdoc_files:
67
70
  - lib/views/collections/list.erb
68
71
  - lib/views/collections/results.js.erb
69
72
  - lib/views/collections/update.js.erb
73
+ - lib/views/collections/update_indexes.js.erb
70
74
  - lib/views/databases/_results.erb
71
75
  - lib/views/databases/list.erb
72
76
  - lib/views/databases/results.js.erb
@@ -74,9 +78,11 @@ extra_rdoc_files:
74
78
  - lib/views/explore/_dump_array.erb
75
79
  - lib/views/explore/_dump_hash.erb
76
80
  - lib/views/explore/_info.erb
81
+ - lib/views/explore/_node_info.erb
77
82
  - lib/views/explore/center_js.erb
78
83
  - lib/views/explore/explore.erb
79
84
  - lib/views/explore/more_data_js.erb
85
+ - lib/views/explore/update.js.erb
80
86
  - lib/views/explore/update_crumb_js.erb
81
87
  - lib/views/landscape.erb
82
88
  - lib/views/layout.erb
@@ -97,8 +103,11 @@ files:
97
103
  - lib/controllers/explore.rb
98
104
  - lib/helpers/collection_helper.rb
99
105
  - lib/helpers/crumb_helper.rb
106
+ - lib/helpers/database_helper.rb
107
+ - lib/helpers/explore_helper.rb
100
108
  - lib/helpers/flash_helper.rb
101
109
  - lib/helpers/main_helper.rb
110
+ - lib/helpers/paths_helper.rb
102
111
  - lib/main.rb
103
112
  - lib/mongo3.rb
104
113
  - lib/mongo3/connection.rb
@@ -120,6 +129,8 @@ files:
120
129
  - lib/public/images/delete.png
121
130
  - lib/public/images/delete_big.png
122
131
  - lib/public/images/delete_big.psd
132
+ - lib/public/images/edit.png
133
+ - lib/public/images/edit.psd
123
134
  - lib/public/images/header.png
124
135
  - lib/public/images/header.psd
125
136
  - lib/public/images/li_select.png
@@ -146,6 +157,8 @@ files:
146
157
  - lib/public/images/monkey_1.jpg
147
158
  - lib/public/images/monkey_10.jpg
148
159
  - lib/public/images/search.png
160
+ - lib/public/images/selected_bg.png
161
+ - lib/public/images/selected_bg.psd
149
162
  - lib/public/images/tooltip/black.png
150
163
  - lib/public/images/tooltip/black_arrow.png
151
164
  - lib/public/images/tooltip/black_arrow_big.png
@@ -207,6 +220,9 @@ files:
207
220
  - lib/public/stylesheets/mongo3.css
208
221
  - lib/utils.rb
209
222
  - lib/views/collections/_fields_form.erb
223
+ - lib/views/collections/_index_form.erb
224
+ - lib/views/collections/_index_rows.erb
225
+ - lib/views/collections/_indexes.erb
210
226
  - lib/views/collections/_results.erb
211
227
  - lib/views/collections/_rows.erb
212
228
  - lib/views/collections/_search_form.erb
@@ -214,6 +230,7 @@ files:
214
230
  - lib/views/collections/list.erb
215
231
  - lib/views/collections/results.js.erb
216
232
  - lib/views/collections/update.js.erb
233
+ - lib/views/collections/update_indexes.js.erb
217
234
  - lib/views/databases/_results.erb
218
235
  - lib/views/databases/list.erb
219
236
  - lib/views/databases/results.js.erb
@@ -221,14 +238,18 @@ files:
221
238
  - lib/views/explore/_dump_array.erb
222
239
  - lib/views/explore/_dump_hash.erb
223
240
  - lib/views/explore/_info.erb
241
+ - lib/views/explore/_node_info.erb
224
242
  - lib/views/explore/center_js.erb
225
243
  - lib/views/explore/explore.erb
226
244
  - lib/views/explore/more_data_js.erb
245
+ - lib/views/explore/update.js.erb
227
246
  - lib/views/explore/update_crumb_js.erb
228
247
  - lib/views/landscape.erb
229
248
  - lib/views/layout.erb
230
249
  - lib/views/shared/_flash.erb
231
250
  - lib/views/shared/flash.js.erb
251
+ - spec/landscape.yml
252
+ - spec/mongo3/connection_spec.rb
232
253
  - spec/mongo3/node_spec.rb
233
254
  - spec/spec_helper.rb
234
255
  - tasks/bones.rake