redmine_crm 0.0.41 → 0.0.42

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,11 +3,12 @@
3
3
  # Only use spaces to indent your .yml configuration.
4
4
  # -----
5
5
  # You can specify a custom docker image from Docker Hub as your build environment.
6
- image: ruby:2.3.0
7
6
 
8
7
  pipelines:
9
8
  default:
10
9
  - step:
10
+ name: New ruby
11
+ image: ruby:2.4.1
11
12
  script:
12
13
  - bundle install
13
14
  - bundle exec rake test DB=sqlite
@@ -16,6 +17,14 @@ pipelines:
16
17
  services:
17
18
  - mysql
18
19
  - postgres
20
+ - step:
21
+ name: Old ruby
22
+ image: ruby:1.9.3
23
+ script:
24
+ - bundle install
25
+ - bundle exec rake test DB=mysql
26
+ services:
27
+ - mysql
19
28
 
20
29
  definitions:
21
30
  services:
@@ -4,6 +4,17 @@ Redmine crm gem - general functions for plugins (tags, vote, viewing, currency)
4
4
  Copyright (C) 2011-2018 RedmineUP
5
5
  https://www.redmineup.com/
6
6
 
7
+ == 2018-10-24 v0.0.42
8
+
9
+ * Hotfix for ruby 1.9.3 hashes support
10
+ * Added ci image for ruby 1.9.3
11
+
12
+ == 2018-10-23 v0.0.41
13
+
14
+ * New fields for IssueDrop: tags, checklists, story_points, color, day_in_state
15
+ * New Liquid filters for managing colors: darken_color, lighten_color, contrasting_text_color, hex_color, convert_to_brightness_value
16
+ * Fixes for Drops to use nil delegates
17
+
7
18
  == 2018-09-28 v0.0.40
8
19
 
9
20
  * acts_as_draftable adopted for Redmine projects
@@ -132,7 +132,7 @@ module RedmineCrm
132
132
  end
133
133
 
134
134
  def checklists
135
- @issue.respond_to?(:checklists) && @issue.checklists.map{|item| {"id_done": item.is_done, "subject": item.subject}}
135
+ @issue.respond_to?(:checklists) && @issue.checklists.map{|item| {"id_done" => item.is_done, "subject" => item.subject}}
136
136
  end
137
137
 
138
138
  def custom_field_values
@@ -1,3 +1,3 @@
1
1
  module RedmineCrm
2
- VERSION = '0.0.41'
2
+ VERSION = '0.0.42'
3
3
  end
@@ -14,7 +14,7 @@ class ActiveSupport::TestCase #:nodoc:
14
14
 
15
15
  self.fixture_path = File.dirname(__FILE__) + '/fixtures/'
16
16
 
17
- self.use_transactional_tests = true
17
+ self.use_transactional_tests = true if RUBY_VERSION > '1.9.3'
18
18
  self.use_instantiated_fixtures = false
19
19
  set_fixture_class :tags => RedmineCrm::ActsAsTaggable::Tag
20
20
  set_fixture_class :taggings => RedmineCrm::ActsAsTaggable::Tagging
metadata CHANGED
@@ -1,83 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redmine_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.41
4
+ version: 0.0.42
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - RedmineUP
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2018-10-23 00:00:00.000000000 Z
12
+ date: 2018-10-24 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rails
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: liquid
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "<"
35
+ - - <
32
36
  - !ruby/object:Gem::Version
33
37
  version: 2.6.4
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "<"
43
+ - - <
39
44
  - !ruby/object:Gem::Version
40
45
  version: 2.6.4
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: sqlite3
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: mysql2
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
69
  version: 0.4.0
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
77
  version: 0.4.0
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: pg
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - ">="
83
+ - - ! '>='
74
84
  - !ruby/object:Gem::Version
75
85
  version: '0'
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - ">="
91
+ - - ! '>='
81
92
  - !ruby/object:Gem::Version
82
93
  version: '0'
83
94
  description: Common libraries for RedmineUP plugins (www.redmineup.com) for Redmine.
@@ -88,7 +99,7 @@ executables: []
88
99
  extensions: []
89
100
  extra_rdoc_files: []
90
101
  files:
91
- - ".gitignore"
102
+ - .gitignore
92
103
  - Gemfile
93
104
  - README.md
94
105
  - Rakefile
@@ -180,26 +191,27 @@ files:
180
191
  homepage: ''
181
192
  licenses:
182
193
  - GPL2
183
- metadata: {}
184
194
  post_install_message:
185
195
  rdoc_options: []
186
196
  require_paths:
187
197
  - lib
188
198
  required_ruby_version: !ruby/object:Gem::Requirement
199
+ none: false
189
200
  requirements:
190
- - - ">="
201
+ - - ! '>='
191
202
  - !ruby/object:Gem::Version
192
203
  version: '0'
193
204
  required_rubygems_version: !ruby/object:Gem::Requirement
205
+ none: false
194
206
  requirements:
195
- - - ">="
207
+ - - ! '>='
196
208
  - !ruby/object:Gem::Version
197
209
  version: '0'
198
210
  requirements: []
199
211
  rubyforge_project:
200
- rubygems_version: 2.4.5.2
212
+ rubygems_version: 1.8.23.2
201
213
  signing_key:
202
- specification_version: 4
214
+ specification_version: 3
203
215
  summary: Common libraries for RedmineUP plugins for Redmine
204
216
  test_files:
205
217
  - test/acts_as_draftable/draft_test.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 937d5d243e43f7d09a1d11db2a8fb5b7201484dc
4
- data.tar.gz: fc0ed270797f455ebaddbc14f6ea74d1d56eb43f
5
- SHA512:
6
- metadata.gz: 77fc48be16fbba575c32f035af43aa4d0ec3e595f29b30364b62c3565dc4c600f5d809b839c62a779a5cb2cfa577f496205ebb2bb3d49bbc4ee06f4b72dd6c45
7
- data.tar.gz: f45297ba257bd057cb6ad5073998fcd58bf3f99048a364b6d78967846d03c9d04d47af85407209b3df976168c706dc20fa2b8bd8c6146e679dfaf82154a54b62