memcached-manager 0.0.0
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.
- data/.rspec +2 -0
- data/.travis.yml +19 -0
- data/Gemfile +24 -0
- data/Gemfile.lock +133 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +72 -0
- data/Rakefile +57 -0
- data/VERSION +1 -0
- data/config.ru +8 -0
- data/features/api/create_memcached_key.feature +6 -0
- data/features/api/delete_memcached_key.feature +6 -0
- data/features/api/list_memcached_keys.feature +6 -0
- data/features/api/set_memcached_info.feature +5 -0
- data/features/api/show_memcached_key.feature +10 -0
- data/features/api/show_memcached_stats.feature +5 -0
- data/features/api/update_memcached_key.feature +7 -0
- data/features/step_definitions/api/create_memcached_key.rb +21 -0
- data/features/step_definitions/api/delete_memcached_key.rb +7 -0
- data/features/step_definitions/api/list_memcached_keys.rb +16 -0
- data/features/step_definitions/api/show_memcached_key.rb +18 -0
- data/features/step_definitions/api/show_memcached_stats.rb +3 -0
- data/features/step_definitions/api/update_memcached_key.rb +18 -0
- data/features/step_definitions/set_memcached_info.rb +25 -0
- data/features/step_definitions/webapp/create_memcached_key.rb +10 -0
- data/features/step_definitions/webapp/delete_memcached_key.rb +16 -0
- data/features/step_definitions/webapp/edit_memcached_key.rb +3 -0
- data/features/step_definitions/webapp/list_memcached_keys.rb +4 -0
- data/features/step_definitions/webapp/show_memcached_key.rb +4 -0
- data/features/step_definitions/webapp/show_memcached_stats.rb +5 -0
- data/features/support/env.rb +27 -0
- data/features/support/hooks.rb +3 -0
- data/features/webapp/create_memcached_key.feature +9 -0
- data/features/webapp/delete_memcached_key.feature +8 -0
- data/features/webapp/edit_memcached_key.feature +9 -0
- data/features/webapp/list_memcached_keys.feature +8 -0
- data/features/webapp/show_memcached_key.feature +7 -0
- data/features/webapp/show_memcached_stats.feature +6 -0
- data/lib/api.rb +85 -0
- data/lib/extensions/api_response.rb +15 -0
- data/lib/extensions/errors.rb +19 -0
- data/lib/extensions/memcached_connection.rb +15 -0
- data/lib/extensions/memcached_inspector.rb +49 -0
- data/lib/extensions/memcached_settings.rb +18 -0
- data/lib/extensions.rb +14 -0
- data/lib/public/images/glyphicons-halflings-white.png +0 -0
- data/lib/public/images/glyphicons-halflings.png +0 -0
- data/lib/public/javascripts/angular/controllers.js +86 -0
- data/lib/public/javascripts/angular/routes.js +66 -0
- data/lib/public/javascripts/angular/services/notification.js +16 -0
- data/lib/public/javascripts/angular/services/resources.js +20 -0
- data/lib/public/javascripts/angular/services/response.js +10 -0
- data/lib/public/javascripts/angular-resource.min.js +10 -0
- data/lib/public/javascripts/angular-ui-states.min.js +7 -0
- data/lib/public/javascripts/angular.min.js +161 -0
- data/lib/public/javascripts/application.js +18 -0
- data/lib/public/javascripts/jquery-1.9.1.min.js +5 -0
- data/lib/public/javascripts/noty/jquery.noty.js +547 -0
- data/lib/public/javascripts/noty/layouts/top.js +34 -0
- data/lib/public/javascripts/noty/themes/default.js +156 -0
- data/lib/public/javascripts/noty_config.js +25 -0
- data/lib/public/stylesheets/app.css +50 -0
- data/lib/public/stylesheets/base.css +269 -0
- data/lib/public/stylesheets/icons.css +492 -0
- data/lib/public/stylesheets/layout.css +58 -0
- data/lib/public/stylesheets/skeleton.css +242 -0
- data/lib/public/templates/edit.html.erb +6 -0
- data/lib/public/templates/keys.html.erb +36 -0
- data/lib/public/templates/new.html.erb +6 -0
- data/lib/public/templates/show.html.erb +2 -0
- data/lib/public/templates/stats.html.erb +8 -0
- data/lib/views/index.erb +13 -0
- data/lib/views/layout.erb +52 -0
- data/lib/webapp.rb +14 -0
- data/memcached-manager.gemspec +145 -0
- data/spec/javascripts/angular/controllers/list_keys_controller_spec.js +26 -0
- data/spec/javascripts/angular/services/notification_spec.js +45 -0
- data/spec/javascripts/angular/services/resource_spec.js +41 -0
- data/spec/javascripts/angular/services/response_spec.js +26 -0
- data/spec/javascripts/helpers/SpecHelper.js +2 -0
- data/spec/javascripts/helpers/angular-mocks.js +1962 -0
- data/spec/javascripts/support/jasmine.yml +96 -0
- data/spec/javascripts/support/jasmine_helper.rb +11 -0
- data/spec/lib/extensions/api_response_spec.rb +28 -0
- data/spec/lib/extensions/error_spec.rb +23 -0
- data/spec/lib/extensions/memcached_connection_spec.rb +25 -0
- data/spec/lib/extensions/memcached_inspector_spec.rb +41 -0
- data/spec/lib/extensions/memcached_settings_spec.rb +53 -0
- data/spec/spec_helper.rb +41 -0
- metadata +252 -0
@@ -0,0 +1,96 @@
|
|
1
|
+
# src_files
|
2
|
+
#
|
3
|
+
# Return an array of filepaths relative to src_dir to include before jasmine specs.
|
4
|
+
# Default: []
|
5
|
+
#
|
6
|
+
# EXAMPLE:
|
7
|
+
#
|
8
|
+
# src_files:
|
9
|
+
# - lib/source1.js
|
10
|
+
# - lib/source2.js
|
11
|
+
# - dist/**/*.js
|
12
|
+
#
|
13
|
+
src_files:
|
14
|
+
- lib/public/javascripts/jquery-1.9.1.min.js
|
15
|
+
- lib/public/javascripts/noty/jquery.noty.js
|
16
|
+
- lib/public/javascripts/noty_config.js
|
17
|
+
- lib/public/javascripts/angular.min.js
|
18
|
+
- lib/public/javascripts/angular-ui-states.min.js
|
19
|
+
- lib/public/javascripts/angular-resource.min.js
|
20
|
+
- lib/public/javascripts/application.js
|
21
|
+
- lib/public/javascripts/**/*.js
|
22
|
+
|
23
|
+
# stylesheets
|
24
|
+
#
|
25
|
+
# Return an array of stylesheet filepaths relative to src_dir to include before jasmine specs.
|
26
|
+
# Default: []
|
27
|
+
#
|
28
|
+
# EXAMPLE:
|
29
|
+
#
|
30
|
+
# stylesheets:
|
31
|
+
# - css/style.css
|
32
|
+
# - stylesheets/*.css
|
33
|
+
#
|
34
|
+
stylesheets:
|
35
|
+
- lib/public/stylesheets/**/*.css
|
36
|
+
|
37
|
+
# helpers
|
38
|
+
#
|
39
|
+
# Return an array of filepaths relative to spec_dir to include before jasmine specs.
|
40
|
+
# Default: ["helpers/**/*.js"]
|
41
|
+
#
|
42
|
+
# EXAMPLE:
|
43
|
+
#
|
44
|
+
# helpers:
|
45
|
+
# - helpers/**/*.js
|
46
|
+
#
|
47
|
+
helpers:
|
48
|
+
- 'helpers/**/*.js'
|
49
|
+
# spec_files
|
50
|
+
#
|
51
|
+
# Return an array of filepaths relative to spec_dir to include.
|
52
|
+
# Default: ["**/*[sS]pec.js"]
|
53
|
+
#
|
54
|
+
# EXAMPLE:
|
55
|
+
#
|
56
|
+
# spec_files:
|
57
|
+
# - **/*[sS]pec.js
|
58
|
+
#
|
59
|
+
spec_files:
|
60
|
+
- '**/*[sS]pec.js'
|
61
|
+
|
62
|
+
# src_dir
|
63
|
+
#
|
64
|
+
# Source directory path. Your src_files must be returned relative to this path. Will use root if left blank.
|
65
|
+
# Default: project root
|
66
|
+
#
|
67
|
+
# EXAMPLE:
|
68
|
+
#
|
69
|
+
# src_dir: public
|
70
|
+
#
|
71
|
+
src_dir:
|
72
|
+
|
73
|
+
# spec_dir
|
74
|
+
#
|
75
|
+
# Spec directory path. Your spec_files must be returned relative to this path.
|
76
|
+
# Default: spec/javascripts
|
77
|
+
#
|
78
|
+
# EXAMPLE:
|
79
|
+
#
|
80
|
+
# spec_dir: spec/javascripts
|
81
|
+
#
|
82
|
+
spec_dir:
|
83
|
+
|
84
|
+
# spec_helper
|
85
|
+
#
|
86
|
+
# Ruby file that Jasmine server will require before starting.
|
87
|
+
# Returned relative to your root path
|
88
|
+
# Default spec/support/jasmine_helper.rb
|
89
|
+
#
|
90
|
+
# EXAMPLE:
|
91
|
+
#
|
92
|
+
# spec_helper: spec/support/jasmine_helper.rb
|
93
|
+
#
|
94
|
+
spec_helper: spec/support/jasmine_helper.rb
|
95
|
+
|
96
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
#Use this file to set/override Jasmine configuration options
|
2
|
+
#You can remove it if you don't need it.
|
3
|
+
#This file is loaded *after* jasmine.yml is interpreted.
|
4
|
+
#
|
5
|
+
#Example: using a different boot file.
|
6
|
+
#Jasmine.configure do |config|
|
7
|
+
# config.boot_dir = '/absolute/path/to/boot_dir'
|
8
|
+
# config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] }
|
9
|
+
#end
|
10
|
+
#
|
11
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
# For some reason, I can't use let or subject when I'm doing this class new extend
|
4
|
+
# thing and call methods from it, so instead I'm just calling it manually
|
5
|
+
|
6
|
+
describe Sinatra::APIResponse do
|
7
|
+
context "#api_response" do
|
8
|
+
it "should have a block given" do
|
9
|
+
lambda { Class.new.extend(Sinatra::APIResponse).api_response }.should raise_error('No block given')
|
10
|
+
end
|
11
|
+
|
12
|
+
context 'error' do
|
13
|
+
it "should respond with the errors" do
|
14
|
+
klass = Class.new.extend(Sinatra::APIResponse)
|
15
|
+
klass.stubs(:errors).returns([{foo: 'bar'}])
|
16
|
+
klass.api_response {{yeah: 'yeahs'}}.should =~ /errors.*foo.*bar/
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
context 'no error' do
|
21
|
+
it "should respond with what's inside the block" do
|
22
|
+
klass = Class.new.extend(Sinatra::APIResponse)
|
23
|
+
klass.stubs(:errors).returns([])
|
24
|
+
klass.api_response { {foo: 'bar'} }.should =~ /foo.*bar/
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Sinatra::Errors do
|
4
|
+
subject(:klass) { Class.new.extend(Sinatra::Errors) }
|
5
|
+
before(:each) { subject.setup_errors }
|
6
|
+
|
7
|
+
context "#setup_errors" do
|
8
|
+
it { should have_instance_variable(:errors).with([]) }
|
9
|
+
end
|
10
|
+
|
11
|
+
context "#try" do
|
12
|
+
before(:each) do
|
13
|
+
subject.try { raise 'your hands' }
|
14
|
+
end
|
15
|
+
|
16
|
+
it { should have_instance_variable(:errors).with(['your hands']) }
|
17
|
+
end
|
18
|
+
|
19
|
+
context "#errors" do
|
20
|
+
it { should respond_to(:errors) }
|
21
|
+
it { should have_instance_variable(:errors) }
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Sinatra::MemcachedConnection do
|
4
|
+
let(:klass) { Class.new.extend(Sinatra::MemcachedConnection) }
|
5
|
+
|
6
|
+
context "#setup_memcached" do
|
7
|
+
before(:each) { klass.setup_memcached 'localhost', '1337' }
|
8
|
+
it { klass.should have_instance_variable(:memcached) }
|
9
|
+
end
|
10
|
+
|
11
|
+
context "#close_memcached" do
|
12
|
+
before(:each) { klass.setup_memcached 'localhost', '1337' }
|
13
|
+
|
14
|
+
# There isn't an Dalli api that tells if the connection is closed
|
15
|
+
it { klass.respond_to? :close_memcached }
|
16
|
+
end
|
17
|
+
|
18
|
+
context "#memcached_connection" do
|
19
|
+
before(:each) { klass.setup_memcached 'localhost', '1337' }
|
20
|
+
|
21
|
+
it "should be the instance variable of memcached" do
|
22
|
+
klass.instance_variable_get(:"@memcached").should be klass.memcached_connection
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Sinatra::MemcachedInspector do
|
4
|
+
let(:host) { 'localhost' }
|
5
|
+
let(:port) { '11211' }
|
6
|
+
let(:memcached_connection) { Dalli::Client.new("#{host}:#{port}") }
|
7
|
+
let(:klass) { Class.new.extend(Sinatra::MemcachedInspector) }
|
8
|
+
|
9
|
+
context "#memcached_inspect" do
|
10
|
+
context 'undefined key' do
|
11
|
+
before(:each) do
|
12
|
+
memcached_connection.set('hello', 'world')
|
13
|
+
memcached_connection.set('question', "Who's John Galt?")
|
14
|
+
@response = klass.memcached_inspect host: host, port: port
|
15
|
+
end
|
16
|
+
|
17
|
+
it { @response.should be_an_instance_of Array }
|
18
|
+
it { @response.size.should == 2 }
|
19
|
+
it { @response.first.keys.should include :key }
|
20
|
+
it { @response.first.keys.should include :bytes }
|
21
|
+
it { @response.first.keys.should include :expired }
|
22
|
+
it { @response.first[:key].should == 'hello' }
|
23
|
+
it { @response.first[:expired].should == true }
|
24
|
+
end
|
25
|
+
|
26
|
+
context 'defined key' do
|
27
|
+
before(:each) do
|
28
|
+
memcached_connection.set('hello', 'world')
|
29
|
+
memcached_connection.set('question', "Who's John Galt?")
|
30
|
+
@response = klass.memcached_inspect host: host, port: port, key: 'hello'
|
31
|
+
end
|
32
|
+
|
33
|
+
it { @response.should_not be_an_instance_of Array }
|
34
|
+
it { @response.should include :key }
|
35
|
+
it { @response.should include :bytes }
|
36
|
+
it { @response.should include :expired }
|
37
|
+
it { @response[:key].should == 'hello' }
|
38
|
+
it { @response[:expired].should == true }
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Sinatra::MemcachedSettings do
|
4
|
+
let(:configured_session) { { 'host' => 'i.am', 'port' => '1337' } }
|
5
|
+
let(:empty_session) { {} }
|
6
|
+
let(:klass) { Class.new.extend(Sinatra::MemcachedSettings) }
|
7
|
+
|
8
|
+
context '#memcached_host' do
|
9
|
+
it "host exists" do
|
10
|
+
klass.memcached_host(configured_session).should eql 'i.am'
|
11
|
+
end
|
12
|
+
|
13
|
+
it "host doesn't exist" do
|
14
|
+
klass.memcached_host(empty_session).should eql 'localhost'
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
context '#memcached_port' do
|
19
|
+
it "port exists" do
|
20
|
+
klass.memcached_port(configured_session).should eql '1337'
|
21
|
+
end
|
22
|
+
|
23
|
+
it "port doesn't exist" do
|
24
|
+
klass.memcached_port(empty_session).should eql '11211'
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
context '-#configured?' do
|
29
|
+
context 'host is filled' do
|
30
|
+
let(:configured_host) { {'host' => 'i.am'} }
|
31
|
+
|
32
|
+
it "should be configured" do
|
33
|
+
klass.send(:configured?, configured_host, 'host').should be true
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should not be configured" do
|
37
|
+
klass.send(:configured?, configured_host, 'port').should be false
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
context 'port is filled' do
|
42
|
+
let(:configured_port) { {'port' => '1337'} }
|
43
|
+
|
44
|
+
it "should be configured" do
|
45
|
+
klass.send(:configured?, configured_port, 'port').should be true
|
46
|
+
end
|
47
|
+
|
48
|
+
it "should not be configured" do
|
49
|
+
klass.send(:configured?, configured_port, 'host').should be false
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
require 'mocha/api'
|
3
|
+
|
4
|
+
Dir.glob("lib/**/*.rb").each do |file|
|
5
|
+
require_relative "../#{file}"
|
6
|
+
end
|
7
|
+
|
8
|
+
RSpec::Matchers.define :have_instance_variable do |instance_variable|
|
9
|
+
chain :with do |value|
|
10
|
+
@value = value
|
11
|
+
end
|
12
|
+
|
13
|
+
match do |object|
|
14
|
+
@error = :presence if !object.instance_variables.include?(:"@#{instance_variable}")
|
15
|
+
@error = :equality if (object.instance_variable_get("@#{instance_variable}") != @value) && !@value.nil?
|
16
|
+
|
17
|
+
@error.nil?
|
18
|
+
end
|
19
|
+
|
20
|
+
failure_message_for_should do |object|
|
21
|
+
if @error == :presence
|
22
|
+
"#{object} should have @#{instance_variable} instance variable"
|
23
|
+
else
|
24
|
+
"Instance variable @#{instance_variable} of #{object.class} should be #{@value.inspect} not #{object.inspect}"
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
description do
|
29
|
+
if @value.nil?
|
30
|
+
"have instance variable @#{instance_variable}"
|
31
|
+
else
|
32
|
+
"have instance variable @#{instance_variable} with #{@value.inspect}"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
RSpec.configure do |config|
|
38
|
+
config.mock_framework = :mocha
|
39
|
+
config.color_enabled = true
|
40
|
+
config.formatter = 'documentation'
|
41
|
+
end
|
metadata
ADDED
@@ -0,0 +1,252 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: memcached-manager
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Thiago Fernandes Massa
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-10-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: sinatra
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sinatra-contrib
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: dalli
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: poltergeist
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
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: jeweler
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 1.8.8
|
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: 1.8.8
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: jasmine
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - '='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 1.3.2
|
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: 1.3.2
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: cucumber
|
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
|
+
description: A sinatra memcached-manager that allows you to view status, flush/view
|
127
|
+
keys and so on. Also easily pluggable to a Rails app.
|
128
|
+
email: thiagown@gmail.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files:
|
132
|
+
- LICENSE.txt
|
133
|
+
- README.rdoc
|
134
|
+
files:
|
135
|
+
- .rspec
|
136
|
+
- .travis.yml
|
137
|
+
- Gemfile
|
138
|
+
- Gemfile.lock
|
139
|
+
- LICENSE.txt
|
140
|
+
- README.rdoc
|
141
|
+
- Rakefile
|
142
|
+
- VERSION
|
143
|
+
- config.ru
|
144
|
+
- features/api/create_memcached_key.feature
|
145
|
+
- features/api/delete_memcached_key.feature
|
146
|
+
- features/api/list_memcached_keys.feature
|
147
|
+
- features/api/set_memcached_info.feature
|
148
|
+
- features/api/show_memcached_key.feature
|
149
|
+
- features/api/show_memcached_stats.feature
|
150
|
+
- features/api/update_memcached_key.feature
|
151
|
+
- features/step_definitions/api/create_memcached_key.rb
|
152
|
+
- features/step_definitions/api/delete_memcached_key.rb
|
153
|
+
- features/step_definitions/api/list_memcached_keys.rb
|
154
|
+
- features/step_definitions/api/show_memcached_key.rb
|
155
|
+
- features/step_definitions/api/show_memcached_stats.rb
|
156
|
+
- features/step_definitions/api/update_memcached_key.rb
|
157
|
+
- features/step_definitions/set_memcached_info.rb
|
158
|
+
- features/step_definitions/webapp/create_memcached_key.rb
|
159
|
+
- features/step_definitions/webapp/delete_memcached_key.rb
|
160
|
+
- features/step_definitions/webapp/edit_memcached_key.rb
|
161
|
+
- features/step_definitions/webapp/list_memcached_keys.rb
|
162
|
+
- features/step_definitions/webapp/show_memcached_key.rb
|
163
|
+
- features/step_definitions/webapp/show_memcached_stats.rb
|
164
|
+
- features/support/env.rb
|
165
|
+
- features/support/hooks.rb
|
166
|
+
- features/webapp/create_memcached_key.feature
|
167
|
+
- features/webapp/delete_memcached_key.feature
|
168
|
+
- features/webapp/edit_memcached_key.feature
|
169
|
+
- features/webapp/list_memcached_keys.feature
|
170
|
+
- features/webapp/show_memcached_key.feature
|
171
|
+
- features/webapp/show_memcached_stats.feature
|
172
|
+
- lib/api.rb
|
173
|
+
- lib/extensions.rb
|
174
|
+
- lib/extensions/api_response.rb
|
175
|
+
- lib/extensions/errors.rb
|
176
|
+
- lib/extensions/memcached_connection.rb
|
177
|
+
- lib/extensions/memcached_inspector.rb
|
178
|
+
- lib/extensions/memcached_settings.rb
|
179
|
+
- lib/public/images/glyphicons-halflings-white.png
|
180
|
+
- lib/public/images/glyphicons-halflings.png
|
181
|
+
- lib/public/javascripts/angular-resource.min.js
|
182
|
+
- lib/public/javascripts/angular-ui-states.min.js
|
183
|
+
- lib/public/javascripts/angular.min.js
|
184
|
+
- lib/public/javascripts/angular/controllers.js
|
185
|
+
- lib/public/javascripts/angular/routes.js
|
186
|
+
- lib/public/javascripts/angular/services/notification.js
|
187
|
+
- lib/public/javascripts/angular/services/resources.js
|
188
|
+
- lib/public/javascripts/angular/services/response.js
|
189
|
+
- lib/public/javascripts/application.js
|
190
|
+
- lib/public/javascripts/jquery-1.9.1.min.js
|
191
|
+
- lib/public/javascripts/noty/jquery.noty.js
|
192
|
+
- lib/public/javascripts/noty/layouts/top.js
|
193
|
+
- lib/public/javascripts/noty/themes/default.js
|
194
|
+
- lib/public/javascripts/noty_config.js
|
195
|
+
- lib/public/stylesheets/app.css
|
196
|
+
- lib/public/stylesheets/base.css
|
197
|
+
- lib/public/stylesheets/icons.css
|
198
|
+
- lib/public/stylesheets/layout.css
|
199
|
+
- lib/public/stylesheets/skeleton.css
|
200
|
+
- lib/public/templates/edit.html.erb
|
201
|
+
- lib/public/templates/keys.html.erb
|
202
|
+
- lib/public/templates/new.html.erb
|
203
|
+
- lib/public/templates/show.html.erb
|
204
|
+
- lib/public/templates/stats.html.erb
|
205
|
+
- lib/views/index.erb
|
206
|
+
- lib/views/layout.erb
|
207
|
+
- lib/webapp.rb
|
208
|
+
- memcached-manager.gemspec
|
209
|
+
- spec/javascripts/angular/controllers/list_keys_controller_spec.js
|
210
|
+
- spec/javascripts/angular/services/notification_spec.js
|
211
|
+
- spec/javascripts/angular/services/resource_spec.js
|
212
|
+
- spec/javascripts/angular/services/response_spec.js
|
213
|
+
- spec/javascripts/helpers/SpecHelper.js
|
214
|
+
- spec/javascripts/helpers/angular-mocks.js
|
215
|
+
- spec/javascripts/support/jasmine.yml
|
216
|
+
- spec/javascripts/support/jasmine_helper.rb
|
217
|
+
- spec/lib/extensions/api_response_spec.rb
|
218
|
+
- spec/lib/extensions/error_spec.rb
|
219
|
+
- spec/lib/extensions/memcached_connection_spec.rb
|
220
|
+
- spec/lib/extensions/memcached_inspector_spec.rb
|
221
|
+
- spec/lib/extensions/memcached_settings_spec.rb
|
222
|
+
- spec/spec_helper.rb
|
223
|
+
homepage: http://github.com/thiagofm/memcached-manager
|
224
|
+
licenses:
|
225
|
+
- MIT
|
226
|
+
post_install_message:
|
227
|
+
rdoc_options: []
|
228
|
+
require_paths:
|
229
|
+
- lib
|
230
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
231
|
+
none: false
|
232
|
+
requirements:
|
233
|
+
- - ! '>='
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '0'
|
236
|
+
segments:
|
237
|
+
- 0
|
238
|
+
hash: -1814064576478498657
|
239
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
240
|
+
none: false
|
241
|
+
requirements:
|
242
|
+
- - ! '>='
|
243
|
+
- !ruby/object:Gem::Version
|
244
|
+
version: '0'
|
245
|
+
requirements: []
|
246
|
+
rubyforge_project:
|
247
|
+
rubygems_version: 1.8.23
|
248
|
+
signing_key:
|
249
|
+
specification_version: 3
|
250
|
+
summary: A sinatra memcached-manager that allows you to view status, flush/view keys
|
251
|
+
and so on. Also easily pluggable to a Rails app.
|
252
|
+
test_files: []
|