redmine-per_user_status 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/per_user_status/engine.rb +4 -0
- data/lib/per_user_status/redmine_plugin.rb +0 -16
- data/lib/per_user_status/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a4d9ded23a9c584e2b02d4782ddde974b742b48
|
4
|
+
data.tar.gz: d0f6f38afcec20cd8bb5651dba8a3bc337fa4adc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91cc3a155fcb6b5b283e42d7fd1a3da6e2b44f577d9aa258c39448c38ffc451a8b73f4d53345f4dbcb89332673c60f5b0b8561a72f7f01970b11e961481b6fd8
|
7
|
+
data.tar.gz: 4e0a9f275142bc7b007be7c808aa6bb15913f9034f75bd7ccea205a7b239952a3dfa140e960336efe263dbfa2a8bcea44b8744c1a44c0678e69e3217e6a849bb
|
data/README.md
CHANGED
@@ -7,18 +7,10 @@ module PerUserStatus
|
|
7
7
|
|
8
8
|
def initialize
|
9
9
|
register!
|
10
|
-
patch_migration_directory!
|
11
10
|
boot!
|
12
11
|
mirror_assets!
|
13
12
|
end
|
14
13
|
|
15
|
-
# As this plugin is realized as a gem Redmine won't detect the
|
16
|
-
# migration automatically.
|
17
|
-
# @return [String] Absolute path to "db/migrate"
|
18
|
-
def self.migration_directory
|
19
|
-
File.expand_path("../../../db/migrate", __FILE__)
|
20
|
-
end
|
21
|
-
|
22
14
|
private
|
23
15
|
|
24
16
|
def register!
|
@@ -38,14 +30,6 @@ module PerUserStatus
|
|
38
30
|
Patches.apply!
|
39
31
|
end
|
40
32
|
|
41
|
-
def patch_migration_directory!
|
42
|
-
@plugin.instance_eval do
|
43
|
-
def migration_directory
|
44
|
-
::PerUserStatus::RedminePlugin.migration_directory
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
33
|
def mirror_assets!
|
50
34
|
@plugin.mirror_assets
|
51
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine-per_user_status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Thiel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
129
|
rubyforge_project:
|
130
|
-
rubygems_version: 2.
|
130
|
+
rubygems_version: 2.4.6
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: Allows users to set a custom status which will be displayed next to their
|