humongous 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjZlYTVjNzdhOGQ4OTllMjNjMGU5ZGI2YzhiNzk2N2NjNTRmM2NlZA==
5
- data.tar.gz: !binary |-
6
- NGUwYzk0NWNlYWEyYzY0NzNkMzFiYWU5Y2YyNDg4M2Q5MDhlYWVhZA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- MTAxOGQ0MjdmNzViMWRlOTI3NjA1YjhhOTIwODY5YzFmNmJiZGIzYzNlNWJh
10
- MjU5YjZjZTIyMDFmM2QxYzA5MmE0ZmE1NjY4MWI5OWYwODIxMjliOWE0Y2Yz
11
- NjI0NTQ2ZWUxNzQxMGY5ZGI0NzVkOWFiNjVmZGUyMmU0M2U2MGQ=
12
- data.tar.gz: !binary |-
13
- ZjcwMWQ0M2Q4YzY3NGViYjQ5YTU0OTVhMTRiYjUyNjk2OTZhZTM4NDkwYmJk
14
- MTg4ZTU1ZTMzNTI4YWU2M2Q3N2I2MmY5YmIzZTBmMTg3Zjg4NTEzMWU1MDk3
15
- MzA0OTYxNTg5Yjk4MDY4ZWIxMjRlZDY0MzhmN2Q0NDViMjhiYjM=
2
+ SHA1:
3
+ metadata.gz: 86cdb56ee13549a4165b264d87fc0bbd2b959b77
4
+ data.tar.gz: 784d7b5e5edb6885c60a507ef08fdb9cd2bc9d88
5
+ SHA512:
6
+ metadata.gz: 991ec178f1baf6c751c9f2a75076c71ca026b0b19bf61f212a02e52b8d9b9d6842aa477fcb8b1dd3ee6a38e75d4b6e2eeaf390536ed0c6931b9cb6e82d21e036
7
+ data.tar.gz: c0bcf6c81e1d01ff92fad06671575e275a52a904b83d538553763820e51fdc48ed5280692d75dc4df72bdd1bc9c875c9203ec516e56034b5deeb0c2b25abd364
data/README.markdown CHANGED
@@ -1,5 +1,18 @@
1
+ <a href='https://pledgie.com/campaigns/24601' style="float:right"><img alt='Click here to lend your support to: Humongous and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/24601.png?skin_name=chrome' border='0' ></a>
2
+ <div style="clear:both;"></div>
1
3
  # Humongous
2
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/humongous.png)](http://badge.fury.io/rb/humongous)
6
+
7
+ _ _
8
+ | | | |_ _ _ __ ___ ___ _ __ __ _ ___ _ _ ___
9
+ | |_| | | | | '_ ` _ \ / _ \| '_ \ / _` |/ _ \| | | / __|
10
+ | _ | |_| | | | | | | (_) | | | | (_| | (_) | |_| \__ \
11
+ |_| |_|\__,_|_| |_| |_|\___/|_| |_|\__, |\___/ \__,_|___/
12
+ |___/
13
+
14
+
15
+
3
16
  Humongous: A Ruby way to browse and maintain MongoDB instances, using HTML5.
4
17
 
5
18
  ## Installation
data/lib/humongous.rb CHANGED
@@ -17,11 +17,11 @@ module Humongous
17
17
  def self.version #:nodoc
18
18
  Humongous::VERSION
19
19
  end
20
-
20
+
21
21
  def self.description
22
22
  %Q{
23
23
  Humongous: A Ruby way to browse and maintain mongo instance. Using HTML5.
24
- This is beta version, So there is long way to go, but still you can enjoy its
24
+ This is beta version, So there is long way to go, but still you can enjoy its
25
25
  simplistic design.
26
26
  }
27
27
  end
@@ -30,6 +30,14 @@ module Humongous
30
30
  %Q{An standalone Mongo Browser for Ruby. Just run and forget.}
31
31
  end
32
32
 
33
+ def self.copyright
34
+ "Bagwan Pankaj 2012-2016"
35
+ end
36
+
37
+ def self.author
38
+ "Bagwan Pankaj"
39
+ end
40
+
33
41
  def self.run!
34
42
  puts "#################################################"
35
43
  puts "You are using Humongous(#{Humongous.version})"
@@ -39,4 +47,4 @@ module Humongous
39
47
  Application.run!
40
48
  end
41
49
 
42
- end
50
+ end
@@ -37,10 +37,10 @@ module Humongous
37
37
  halt 401, {'Content-Type' => 'text/javascript'}, { :errmsg => "Need to login", :ok => false }.to_json
38
38
  end
39
39
 
40
- error Mongo::InvalidNSName do
40
+ error Mongo::InvalidNSName do
41
41
  halt 502, headers, "Humongous is unable to find MongoDB instance. Make sure that MongoDB is running."
42
42
  end
43
-
43
+
44
44
  error Mongo::AuthenticationError do
45
45
  halt 502, headers, "Humongous is unable to find MongoDB instance. Make sure that MongoDB is running."
46
46
  end
@@ -1,3 +1,3 @@
1
1
  module Humongous
2
- VERSION = "1.0.0"
3
- end
2
+ VERSION = "1.0.2"
3
+ end
@@ -0,0 +1,32 @@
1
+ <div id="credits" style="display:none" class="modal hide fade">
2
+ <div class="modal-header">
3
+ <a href="#" class="close">x</a>
4
+ <h3>About Humongous</h3>
5
+ </div>
6
+ <div class="modal-body">
7
+ <div class="credits">
8
+ <h5>Author</h5>
9
+ <p><%= Humongous.author %></p>
10
+ </div>
11
+ <div class="credits">
12
+ <h5>Version</h5>
13
+ <p><%= Humongous.version %></p>
14
+ </div>
15
+ <div class="credits">
16
+ <h5>Summary</h5>
17
+ <p><%= Humongous.summary %></p>
18
+ </div>
19
+ <div class="credits">
20
+ <h5>Description</h5>
21
+ <p><%= Humongous.description %></p>
22
+ </div>
23
+ <div class="credits">
24
+ <h5>Credits</h5>
25
+ <ul>
26
+ <li>MongoHub: For simplistic UI navigation experience</li>
27
+ <li>Twitter Bootstrap: Making a non designer do the designing simple.</li>
28
+ </ul>
29
+ </div>
30
+ </div>
31
+ <div class="modal-footer"><span>&copy; <%= Humongous.copyright %></span></div>
32
+ </div>
@@ -0,0 +1,6 @@
1
+ <footer>
2
+ <p>&copy; <%= Humongous.copyright %></p>
3
+ <p>
4
+ <a href='https://pledgie.com/campaigns/24601'><img alt='Click here to lend your support to: Humongous and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/24601.png?skin_name=chrome' border='0' ></a>
5
+ </p>
6
+ </footer>
@@ -0,0 +1,32 @@
1
+ <div id="license" style="display:none" class="modal hide fade">
2
+ <div class="modal-header">
3
+ <a href="#" class="close">x</a>
4
+ <h3>Humongous License</h3>
5
+ </div>
6
+ <div class="modal-body">
7
+ <p>Copyright (c) <%= Humongous.copyright %></p>
8
+ <p>
9
+ Permission is hereby granted, free of charge, to any person obtaining
10
+ a copy of this software and associated documentation files (the
11
+ "Software"), to deal in the Software without restriction, including
12
+ without limitation the rights to use, copy, modify, merge, publish,
13
+ distribute, sublicense, and/or sell copies of the Software, and to
14
+ permit persons to whom the Software is furnished to do so, subject to
15
+ the following conditions:
16
+ </p>
17
+ <p>
18
+ The above copyright notice and this permission notice shall be
19
+ included in all copies or substantial portions of the Software.
20
+ </p>
21
+ <p>
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
+ </p>
30
+ </div>
31
+ <div class="modal-footer"><span>&copy; <%= Humongous.copyright %></span></div>
32
+ </div>
@@ -0,0 +1,51 @@
1
+ <div id="loader" style="display:none" class="modal">
2
+ <div class="modal-body">
3
+ <img src="/images/ajax-loader.gif"></img>
4
+ </div>
5
+ </div>
6
+ <div id="login_dialog" style="display:none" class="modal">
7
+ <div class="modal-header">
8
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
9
+ <!-- <a href="#" class="close">x</a> -->
10
+ <h3>Provide MongoDB Access Credentials</h3>
11
+ </div>
12
+ <div class="modal-body">
13
+ <form action="/" method="post">
14
+ <fieldset>
15
+ <div class="clearfix">
16
+ <label for="url">Host</label>
17
+ <div class="input">
18
+ <input type="text" placeholder="Host" value="localhost" name="url" size="30"></input>
19
+ </div>
20
+ </div>
21
+ <div class="clearfix">
22
+ <label for="port">Port</label>
23
+ <div class="input">
24
+ <input type="text" placeholder="Port" value="27017" name="port" size="30"></input>
25
+ </div>
26
+ </div>
27
+ <div class="clearfix">
28
+ <label for="auth_db">Database</label>
29
+ <div class="input">
30
+ <input type="text" placeholder="Database" name="auth[db]" size="30"></input>
31
+ </div>
32
+ </div>
33
+ <div class="clearfix">
34
+ <label for="auth_username">Username</label>
35
+ <div class="input">
36
+ <input type="text" placeholder="Username" name="auth[username]" size="30"></input>
37
+ </div>
38
+ </div>
39
+ <div class="clearfix">
40
+ <label for="auth_password">Password</label>
41
+ <div class="input">
42
+ <input type="password" placeholder="Password" name="auth[password]" size="30"></input>
43
+ </div>
44
+ </div>
45
+ </fieldset>
46
+ </form>
47
+ </div>
48
+ <div class="modal-footer">
49
+ <a href="#" class="btn primary">Login</a>
50
+ </div>
51
+ </div>
@@ -104,126 +104,14 @@
104
104
  </div>
105
105
  </div>
106
106
  </div>
107
- <div id="credits" style="display:none" class="modal hide fade">
108
- <div class="modal-header">
109
- <a href="#" class="close">x</a>
110
- <h3>About Humongous</h3>
111
- </div>
112
- <div class="modal-body">
113
- <div class="credits">
114
- <h5>Author</h5>
115
- <p>Bagwan Pankaj</p>
116
- </div>
117
- <div class="credits">
118
- <h5>Version</h5>
119
- <p><%= Humongous.version %></p>
120
- </div>
121
- <div class="credits">
122
- <h5>Summary</h5>
123
- <p><%= Humongous.summary %></p>
124
- </div>
125
- <div class="credits">
126
- <h5>Description</h5>
127
- <p><%= Humongous.description %></p>
128
- </div>
129
- <div class="credits">
130
- <h5>Credits</h5>
131
- <ul>
132
- <li>MongoHub: For simplistic UI navigation experience</li>
133
- <li>Twitter Bootstrap: Making a non designer do the designing simple.</li>
134
- </ul>
135
- </div>
136
- </div>
137
- <div class="modal-footer"><span>&copy; Bagwan Pankaj 2012-2014</span></div>
138
- </div>
107
+
108
+ <%= erb :_credits %>
139
109
 
140
- <div id="license" style="display:none" class="modal hide fade">
141
- <div class="modal-header">
142
- <a href="#" class="close">x</a>
143
- <h3>Humongous License</h3>
144
- </div>
145
- <div class="modal-body">
146
- <p>Copyright (c) 2012-2014 Bagwan Pankaj</p>
147
- <p>
148
- Permission is hereby granted, free of charge, to any person obtaining
149
- a copy of this software and associated documentation files (the
150
- "Software"), to deal in the Software without restriction, including
151
- without limitation the rights to use, copy, modify, merge, publish,
152
- distribute, sublicense, and/or sell copies of the Software, and to
153
- permit persons to whom the Software is furnished to do so, subject to
154
- the following conditions:
155
- </p>
156
- <p>
157
- The above copyright notice and this permission notice shall be
158
- included in all copies or substantial portions of the Software.
159
- </p>
160
- <p>
161
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
162
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
163
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
164
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
165
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
166
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
167
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
168
- </p>
169
- </div>
170
- <div class="modal-footer"><span>&copy; Bagwan Pankaj 2012-2014</span></div>
171
- </div>
172
- <div id="loader" style="display:none" class="modal">
173
- <div class="modal-body">
174
- <img src="/images/ajax-loader.gif"></img>
175
- </div>
176
- </div>
177
- <div id="login_dialog" style="display:none" class="modal">
178
- <div class="modal-header">
179
- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
180
- <!-- <a href="#" class="close">x</a> -->
181
- <h3>Provide MongoDB Access Credentials</h3>
182
- </div>
183
- <div class="modal-body">
184
- <form action="/" method="post">
185
- <fieldset>
186
- <div class="clearfix">
187
- <label for="url">Host</label>
188
- <div class="input">
189
- <input type="text" placeholder="Host" value="localhost" name="url" size="30"></input>
190
- </div>
191
- </div>
192
- <div class="clearfix">
193
- <label for="port">Port</label>
194
- <div class="input">
195
- <input type="text" placeholder="Port" value="27017" name="port" size="30"></input>
196
- </div>
197
- </div>
198
- <div class="clearfix">
199
- <label for="auth_db">Database</label>
200
- <div class="input">
201
- <input type="text" placeholder="Database" name="auth[db]" size="30"></input>
202
- </div>
203
- </div>
204
- <div class="clearfix">
205
- <label for="auth_username">Username</label>
206
- <div class="input">
207
- <input type="text" placeholder="Username" name="auth[username]" size="30"></input>
208
- </div>
209
- </div>
210
- <div class="clearfix">
211
- <label for="auth_password">Password</label>
212
- <div class="input">
213
- <input type="password" placeholder="Password" name="auth[password]" size="30"></input>
214
- </div>
215
- </div>
216
- </fieldset>
217
- </form>
218
- </div>
219
- <div class="modal-footer">
220
- <a href="#" class="btn primary">Login</a>
221
- </div>
222
- </div>
110
+ <%= erb :_license %>
111
+
112
+ <%= erb :_login_dialog %>
223
113
 
224
- <footer>
225
- <p>&copy; Bagwan Pankaj 2012-2014</p>
226
- </footer>
114
+ <%= erb :_footer %>
227
115
 
228
116
  </div> <!-- /container -->
229
117
  <% if @force_login %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: humongous
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bagwanpankaj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2012-02-20 00:00:00.000000000 Z
11
+ date: 2014-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vegas
@@ -72,16 +72,15 @@ dependencies:
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 1.6.5
75
+ version: 1.8.3
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 1.6.5
83
- description: ! 'Humongous: A Ruby way to browse and maintain mongo instance. Using
84
- HTML5.'
82
+ version: 1.8.3
83
+ description: 'Humongous: A Ruby way to browse and maintain mongo instance. Using HTML5.'
85
84
  email: bagwanpankaj@gmail.com
86
85
  executables:
87
86
  - humongous
@@ -91,14 +90,14 @@ extra_rdoc_files:
91
90
  - README.markdown
92
91
  files:
93
92
  - LICENSE.txt
93
+ - README.markdown
94
94
  - bin/humongous
95
95
  - lib/humongous.rb
96
- - lib/humongous/version.rb
97
- - lib/humongous/monkey_patch.rb
98
- - lib/humongous/helpers.rb
99
96
  - lib/humongous/application.rb
100
- - lib/humongous/public/images/favicon.ico
97
+ - lib/humongous/helpers.rb
98
+ - lib/humongous/monkey_patch.rb
101
99
  - lib/humongous/public/images/ajax-loader.gif
100
+ - lib/humongous/public/images/favicon.ico
102
101
  - lib/humongous/public/javascripts/application.js
103
102
  - lib/humongous/public/javascripts/bootstrap-modal.js
104
103
  - lib/humongous/public/javascripts/core.js
@@ -108,8 +107,12 @@ files:
108
107
  - lib/humongous/public/javascripts/storage.js
109
108
  - lib/humongous/public/styles/application.css
110
109
  - lib/humongous/public/styles/bootstrap.min.css
110
+ - lib/humongous/version.rb
111
+ - lib/humongous/views/_credits.erb
112
+ - lib/humongous/views/_footer.erb
113
+ - lib/humongous/views/_license.erb
114
+ - lib/humongous/views/_login_dialog.erb
111
115
  - lib/humongous/views/index.erb
112
- - README.markdown
113
116
  homepage: http://github.com/bagwanpankaj/humongous
114
117
  licenses:
115
118
  - MIT
@@ -120,18 +123,19 @@ require_paths:
120
123
  - lib
121
124
  required_ruby_version: !ruby/object:Gem::Requirement
122
125
  requirements:
123
- - - ! '>='
126
+ - - ">="
124
127
  - !ruby/object:Gem::Version
125
128
  version: 1.8.7
126
129
  required_rubygems_version: !ruby/object:Gem::Requirement
127
130
  requirements:
128
- - - ! '>'
131
+ - - ">"
129
132
  - !ruby/object:Gem::Version
130
133
  version: 1.3.1
131
134
  requirements: []
132
135
  rubyforge_project:
133
- rubygems_version: 2.0.5
136
+ rubygems_version: 2.4.5
134
137
  signing_key:
135
138
  specification_version: 3
136
- summary: ! 'Humongous: A Mongo Browser for Ruby'
139
+ summary: 'Humongous: A Mongo Browser for Ruby'
137
140
  test_files: []
141
+ has_rdoc: