memcached-manager 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  gem "sinatra"
4
4
  gem "sinatra-contrib"
5
5
  gem "dalli"
6
+ gem "vegas"
6
7
 
7
8
  group :development do
8
9
  gem "jeweler", "~> 1.8.8"
data/Gemfile.lock CHANGED
@@ -110,6 +110,8 @@ GEM
110
110
  sinatra (~> 1.4.0)
111
111
  tilt (~> 1.3)
112
112
  tilt (1.4.1)
113
+ vegas (0.1.11)
114
+ rack (>= 1.0.0)
113
115
  websocket (1.0.7)
114
116
  websocket-driver (0.3.0)
115
117
  xpath (2.0.0)
@@ -131,3 +133,4 @@ DEPENDENCIES
131
133
  rspec
132
134
  sinatra
133
135
  sinatra-contrib
136
+ vegas
data/README.rdoc CHANGED
@@ -24,7 +24,7 @@ Todo.
24
24
 
25
25
  * Develop frontend & artwork (in progress)
26
26
  * Favicon
27
- * Generate GEM
27
+ * Add memcached host & port configs hooked to the binary
28
28
 
29
29
 
30
30
  == Should be done in the future
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.1.0
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ begin
4
+ require 'vegas'
5
+ rescue LoadError
6
+ require 'rubygems'
7
+ require 'vegas'
8
+ end
9
+
10
+ require_relative './../lib/webapp'
11
+ require_relative './../lib/api'
12
+
13
+ options = Vegas::WINDOWS ? {:foreground => true} : {}
14
+ Vegas::Runner.new(Rack::URLMap.new({ "/api" => MemcachedManager::API.new, "/" => MemcachedManager::Webapp.new }), 'memcached-manager', options) do |runner, opts, app|
15
+ end
@@ -5,13 +5,14 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "memcached-manager"
8
- s.version = "0.0.1"
8
+ s.version = "0.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Thiago Fernandes Massa"]
12
12
  s.date = "2013-10-17"
13
13
  s.description = "A sinatra memcached-manager that allows you to view status, flush/view keys and so on. Also easily pluggable to a Rails app."
14
14
  s.email = "thiagown@gmail.com"
15
+ s.executables = ["memcached-manager"]
15
16
  s.extra_rdoc_files = [
16
17
  "LICENSE.txt",
17
18
  "README.rdoc"
@@ -25,6 +26,7 @@ Gem::Specification.new do |s|
25
26
  "README.rdoc",
26
27
  "Rakefile",
27
28
  "VERSION",
29
+ "bin/memcached-manager",
28
30
  "config.ru",
29
31
  "features/api/create_memcached_key.feature",
30
32
  "features/api/delete_memcached_key.feature",
@@ -119,6 +121,7 @@ Gem::Specification.new do |s|
119
121
  s.add_runtime_dependency(%q<sinatra>, [">= 0"])
120
122
  s.add_runtime_dependency(%q<sinatra-contrib>, [">= 0"])
121
123
  s.add_runtime_dependency(%q<dalli>, [">= 0"])
124
+ s.add_runtime_dependency(%q<vegas>, [">= 0"])
122
125
  s.add_development_dependency(%q<jeweler>, ["~> 1.8.8"])
123
126
  s.add_development_dependency(%q<jasmine>, ["= 1.3.2"])
124
127
  s.add_development_dependency(%q<cucumber>, [">= 0"])
@@ -126,6 +129,7 @@ Gem::Specification.new do |s|
126
129
  s.add_dependency(%q<sinatra>, [">= 0"])
127
130
  s.add_dependency(%q<sinatra-contrib>, [">= 0"])
128
131
  s.add_dependency(%q<dalli>, [">= 0"])
132
+ s.add_dependency(%q<vegas>, [">= 0"])
129
133
  s.add_dependency(%q<jeweler>, ["~> 1.8.8"])
130
134
  s.add_dependency(%q<jasmine>, ["= 1.3.2"])
131
135
  s.add_dependency(%q<cucumber>, [">= 0"])
@@ -134,6 +138,7 @@ Gem::Specification.new do |s|
134
138
  s.add_dependency(%q<sinatra>, [">= 0"])
135
139
  s.add_dependency(%q<sinatra-contrib>, [">= 0"])
136
140
  s.add_dependency(%q<dalli>, [">= 0"])
141
+ s.add_dependency(%q<vegas>, [">= 0"])
137
142
  s.add_dependency(%q<jeweler>, ["~> 1.8.8"])
138
143
  s.add_dependency(%q<jasmine>, ["= 1.3.2"])
139
144
  s.add_dependency(%q<cucumber>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memcached-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: vegas
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'
62
78
  - !ruby/object:Gem::Dependency
63
79
  name: jeweler
64
80
  requirement: !ruby/object:Gem::Requirement
@@ -110,7 +126,8 @@ dependencies:
110
126
  description: A sinatra memcached-manager that allows you to view status, flush/view
111
127
  keys and so on. Also easily pluggable to a Rails app.
112
128
  email: thiagown@gmail.com
113
- executables: []
129
+ executables:
130
+ - memcached-manager
114
131
  extensions: []
115
132
  extra_rdoc_files:
116
133
  - LICENSE.txt
@@ -124,6 +141,7 @@ files:
124
141
  - README.rdoc
125
142
  - Rakefile
126
143
  - VERSION
144
+ - bin/memcached-manager
127
145
  - config.ru
128
146
  - features/api/create_memcached_key.feature
129
147
  - features/api/delete_memcached_key.feature
@@ -219,7 +237,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
237
  version: '0'
220
238
  segments:
221
239
  - 0
222
- hash: -2396676989804410349
240
+ hash: -2515935121514076028
223
241
  required_rubygems_version: !ruby/object:Gem::Requirement
224
242
  none: false
225
243
  requirements: