lean_stamper 0.0.4 → 0.0.5
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.
- checksums.yaml +7 -0
- data/lean_stamper.gemspec +1 -1
- data/lib/userstamp.rb +3 -3
- metadata +8 -10
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 5d1b5cbc2c7f076620e92b6315eb7c64ca73a081
|
|
4
|
+
data.tar.gz: 643e3cbe566f0cb81fe6b1e063586cf6990e7c3f
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 519b1f4d453bf44a58d50ae06ebedf7b5f34417dbd5ef76127142779ed2213e009aee30f2a751b94d6e86c285b07995c00706c0d150b2d0d830e1fe367c30e21
|
|
7
|
+
data.tar.gz: 3d7b7f542f03c270959ae5373654ae1a8213dd504f0601f9c29a80dd2b54b2dbd2bcd217cb842941a8f229ab32da015b929418dbbfddde6338623558e5888c55
|
data/lean_stamper.gemspec
CHANGED
data/lib/userstamp.rb
CHANGED
|
@@ -14,8 +14,8 @@ module Ddb
|
|
|
14
14
|
module Userstamp
|
|
15
15
|
def self.included(base) # :nodoc:
|
|
16
16
|
base.send :include, InstanceMethods
|
|
17
|
-
base.
|
|
18
|
-
base.
|
|
17
|
+
base.before_action :set_stamper
|
|
18
|
+
base.after_action :reset_stamper
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
module InstanceMethods
|
|
@@ -45,4 +45,4 @@ module Ddb
|
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
ActionController::Base.send(:include, Ddb::Controller) if defined?(ActionController)
|
|
48
|
+
ActionController::Base.send(:include, Ddb::Controller) if defined?(ActionController)
|
metadata
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lean_stamper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.0.5
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- DeLynn Berry
|
|
@@ -10,7 +9,7 @@ authors:
|
|
|
10
9
|
autorequire:
|
|
11
10
|
bindir: bin
|
|
12
11
|
cert_chain: []
|
|
13
|
-
date:
|
|
12
|
+
date: 2017-05-05 00:00:00.000000000 Z
|
|
14
13
|
dependencies: []
|
|
15
14
|
description: A stripped down version of original userstamp plugin
|
|
16
15
|
email:
|
|
@@ -20,7 +19,7 @@ executables: []
|
|
|
20
19
|
extensions: []
|
|
21
20
|
extra_rdoc_files: []
|
|
22
21
|
files:
|
|
23
|
-
- .gitignore
|
|
22
|
+
- ".gitignore"
|
|
24
23
|
- CHANGELOG.md
|
|
25
24
|
- Gemfile
|
|
26
25
|
- LICENSE
|
|
@@ -35,27 +34,26 @@ files:
|
|
|
35
34
|
- lib/userstamp.rb
|
|
36
35
|
homepage: https://github.com/alphasights/lean_stamper
|
|
37
36
|
licenses: []
|
|
37
|
+
metadata: {}
|
|
38
38
|
post_install_message:
|
|
39
39
|
rdoc_options: []
|
|
40
40
|
require_paths:
|
|
41
41
|
- lib
|
|
42
42
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
|
-
none: false
|
|
44
43
|
requirements:
|
|
45
|
-
- -
|
|
44
|
+
- - ">="
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
46
|
version: '0'
|
|
48
47
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
48
|
requirements:
|
|
51
|
-
- -
|
|
49
|
+
- - ">="
|
|
52
50
|
- !ruby/object:Gem::Version
|
|
53
51
|
version: '0'
|
|
54
52
|
requirements: []
|
|
55
53
|
rubyforge_project:
|
|
56
|
-
rubygems_version:
|
|
54
|
+
rubygems_version: 2.5.1
|
|
57
55
|
signing_key:
|
|
58
|
-
specification_version:
|
|
56
|
+
specification_version: 4
|
|
59
57
|
summary: A stripped down version of original userstamp plugin. References the stamper
|
|
60
58
|
object itself, not the id. Only creator and updater.
|
|
61
59
|
test_files: []
|