morlock 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Mavenlink, Inc.
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.markdown CHANGED
@@ -12,13 +12,13 @@ Morlock turns your memcached server into a distributed, conflict-eating machine.
12
12
  require 'morlock'
13
13
 
14
14
  mem_cache_client = MemCache.new("memcached.you.com")
15
- morlock = Morlock.new(mem_cache_client)
15
+ morlock = Morlock.new(mem_cache_client)
16
16
 
17
17
  If you prefer Dalli, use that instead:
18
18
 
19
19
  require 'dalli'
20
20
  dc = Dalli::Client.new('localhost:11211')
21
- morlock = Morlock.new(dc)
21
+ morlock = Morlock.new(dc)
22
22
 
23
23
  #### Rails
24
24
 
data/lib/morlock/rails.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require "morlock/version"
2
+ require 'morlock/base'
3
+
1
4
  class Morlock
2
5
  class MorlockRailtie < ::Rails::Railtie
3
6
  config.after_initialize do
@@ -1,3 +1,3 @@
1
1
  class Morlock
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morlock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70130999067400 !ruby/object:Gem::Requirement
16
+ requirement: &70321470471640 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70130999067400
24
+ version_requirements: *70321470471640
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rr
27
- requirement: &70130999066920 !ruby/object:Gem::Requirement
27
+ requirement: &70321470471160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70130999066920
35
+ version_requirements: *70321470471160
36
36
  description: ''
37
37
  email:
38
38
  - pair+andrew+chris@mavenlink.com
@@ -43,6 +43,7 @@ files:
43
43
  - .gitignore
44
44
  - .rvmrc
45
45
  - Gemfile
46
+ - LICENSE
46
47
  - README.markdown
47
48
  - Rakefile
48
49
  - lib/morlock.rb