wfl_simple_activity 0.1.19 → 0.1.20
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c0f43a46449f47092082faf19b707e8dd164b3cebd93d16ff64e42ca5dee8359
|
|
4
|
+
data.tar.gz: fccd7bdbb3db2bc5fa43c11d924605c926830ebe46aa8e78c0ea924c9e15210d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d21e1e3d066d733b8563763d21432e5258c7585b9042466958251f5e50cf44f4bb9bae3dc18f5d66c4b1c6a800f7ff0ea38877130cd315a5902716186cabdf8c
|
|
7
|
+
data.tar.gz: 7e695cf6fc28c7ec7be33b885cb4a3cb222bfca623bc8afd950e73d54283e2b56a9d221d68955346d3b0f3790ef8ecc04e264807526d05456b464fffcd56416e
|
data/README.md
CHANGED
|
@@ -37,6 +37,12 @@ Or install it yourself as:
|
|
|
37
37
|
|
|
38
38
|
* 生成的migration文件中需自行migration版本指定对应的版本
|
|
39
39
|
|
|
40
|
+
* 例如:
|
|
41
|
+
```ruby
|
|
42
|
+
class CreateWflActivities < ActiveRecord::Migration[5.1]
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
40
46
|
* 如果需要记录current_user 或者 调用其他在controller中的方法,需要在 `application_controller.rb`中 `include PublicActivity::StoreController`
|
|
41
47
|
|
|
42
48
|
* 自行获取 controller 上下文:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wfl_simple_activity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- longhaoran
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: public_activity
|