cassandra-web 0.3.0 → 0.4.0

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
- MDIxN2VhZDIyOGQwMmQzM2M3ZjUyMjg0ZTMwNDU5MWZhZmM2ODljZg==
5
- data.tar.gz: !binary |-
6
- OTAxYjlmNWQ5ZDI2Y2FiZjUyMjdhMGExNzZkYzk4NTEzZTI5N2VhMw==
2
+ SHA1:
3
+ metadata.gz: 1f209526de365b2704af233260763234adf89ef0
4
+ data.tar.gz: 1b118c42d5eeba17ba16e53f860e779d37eaad64
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- Njc2ODUzMjc4YzE0NTczYmFmMDQ4MmNhZGRhZmMxZTFiNmNjNzdjZDE2OGQy
10
- OTI3ZTlmZTNiOTVjZTAxNWY5NmUwZjc0ZDU2MjI2YTg0ZWEwZmEzODg3YzUz
11
- MWY1ZGFiOTNkNDkxMTgxYmQxYWM4NTFiYTRhOGIxMzIxYzRhMWM=
12
- data.tar.gz: !binary |-
13
- Yjc2MGM5MmExMDNjMzY3ZmM4YWVkMTZjYzI0OTllZDFkNzkyZTRkMmQ5ZWQx
14
- NGI3YWE3ZWIxN2M3MjliMDIzZTk4MmM1NGVmMzZkZWJjNzliYTQyMzA2MzJm
15
- YTMwZjU4ZDc5ZGRiMjc5Mzc5ZTEwMGJmMDBjM2Q4ZjY1MGYwMDQ=
6
+ metadata.gz: 8514f3521fa4d23ae12cf860b3e6dd75f5c2014f7f4d0c9cd2f051c70da32e66de722318d4f09146affaea8f6e89e49bb268ace562a8e9100604d450c3fa8663
7
+ data.tar.gz: 2a1ce7aebc0f6fbb3684624d7c9195abdd9cbb39fecaac37c815cb2ee1d741b3e677337fd0d48957cc4f44877d2043864f300de8a1ef2a3ad5c52eeb30b231f6
data/README.md CHANGED
@@ -5,16 +5,28 @@ A web interface to Apache Cassandra with AngularJS and server-sent events.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- $ gem install cassandra-web
8
+ gem install cassandra-web
9
9
  ```
10
10
 
11
11
  ## Usage
12
12
 
13
+ Run `cassandra-web -h` for help.
14
+
15
+ ### Quick Start
16
+
13
17
  ```bash
14
- $ cassandra-web
18
+ cassandra-web
15
19
  ```
16
20
 
17
- Run `cassandra-web -h` for futher help.
21
+ ### Connect to a Cassandra Cluster requiring authentication
22
+
23
+ ```bash
24
+ cassandra-web --hosts '10.0.2.2' --port '9042' --username 'cassweb' --password 'myPassword'
25
+ ```
26
+
27
+
28
+
29
+
18
30
 
19
31
  ## How it works
20
32
 
@@ -40,13 +52,13 @@ The web server, Thin, used by `cassandra-web` is asynchronous and uses only a si
40
52
 
41
53
  Cassandra web is possible because of the following awesome technologies (in no particular order):
42
54
 
43
- * [Apache Cassandra](http://cassandra.apache.org/)
44
- * [DataStax Ruby Driver for Apache Cassandra](http://datastax.github.io/ruby-driver/)
45
- * [Sinatra](https://github.com/sinatra/sinatra)
46
- * [AngularJS](https://angularjs.org/)
47
- * [Twitter Bootstrap](http://getbootstrap.com/)
48
- * [Thin](http://code.macournoyer.com/thin/)
49
- * [Server Sent Events](http://www.w3.org/TR/2012/WD-eventsource-20120426/)
50
- * [PrismJS](http://prismjs.com/)
51
- * [CodeMirror](http://codemirror.net/)
52
- * and many others...
55
+ * [Apache Cassandra](http://cassandra.apache.org/)
56
+ * [DataStax Ruby Driver for Apache Cassandra](http://datastax.github.io/ruby-driver/)
57
+ * [Sinatra](https://github.com/sinatra/sinatra)
58
+ * [AngularJS](https://angularjs.org/)
59
+ * [Twitter Bootstrap](http://getbootstrap.com/)
60
+ * [Thin](http://code.macournoyer.com/thin/)
61
+ * [Server Sent Events](http://www.w3.org/TR/2012/WD-eventsource-20120426/)
62
+ * [PrismJS](http://prismjs.com/)
63
+ * [CodeMirror](http://codemirror.net/)
64
+ * and many others...
@@ -28,7 +28,7 @@
28
28
  </dl>
29
29
  </div>
30
30
  <div>
31
- <h2>Kespaces</h2>
31
+ <h2>Keyspaces</h2>
32
32
  <dl>
33
33
  <dt ng-repeat-start="keyspace in cluster.keyspaces">
34
34
  <a href="/{{keyspace.name}}">{{keyspace.name}}</a>
@@ -49,7 +49,8 @@ class CLI
49
49
 
50
50
  @options.each do |name, value|
51
51
  value = case name
52
- when :port, :username, :password # skip as is
52
+ when :port, :username, :password
53
+ value # return the value as is without modification
53
54
  when :hosts
54
55
  value.split(',').map!(&:strip)
55
56
  when :compression
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cassandra-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bulat Shakirzyanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-15 00:00:00.000000000 Z
11
+ date: 2017-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cassandra-driver
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.1'
19
+ version: '3.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.1'
26
+ version: '3.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thin
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rack-cors
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.2'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rack-parser
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.6'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.6'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sinatra
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '1.4'
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
82
  version: '1.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: lz4-ruby
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0.3'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ~>
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: '1.6'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ~>
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '1.6'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '10.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '10.0'
125
125
  description: Apache Cassandra web interface using Ruby, Event-machine, AngularJS,
@@ -171,19 +171,18 @@ require_paths:
171
171
  - lib
172
172
  required_ruby_version: !ruby/object:Gem::Requirement
173
173
  requirements:
174
- - - ! '>='
174
+ - - ">="
175
175
  - !ruby/object:Gem::Version
176
176
  version: 1.9.3
177
177
  required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ! '>='
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.4.2
184
+ rubygems_version: 2.5.1
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: A simple web ui for Apache Cassandra
188
188
  test_files: []
189
- has_rdoc: