decidim-dev 0.12.2 → 0.13.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27b08d8afa9a226dce094774b4376e9b44297c2bdfecbe63e137508036bc8d37
4
- data.tar.gz: 5db7739e550b5fc70ddcb51d535ccf63ee4f26a311db27e91711aad8b5bcfb92
3
+ metadata.gz: 3fc95f92918e214d4bf5d312b0332cd5402c7affbcf4e438b7174bc7cd78437a
4
+ data.tar.gz: 1c474a365cad20b7f78894f27d570620f6381a35db22603efb5bf652932fc73f
5
5
  SHA512:
6
- metadata.gz: 4dc593b43b60bac8613c575ba7aace9d3c42f1b56d378705e9886bb1c0c892eb4076063ae9d072bbfc890c61563e73bad442f97dc8f32e2cbb7b3816976b0a19
7
- data.tar.gz: 7297dcfaa2dee8ad3491f85caa1a06020108a32ef12086f05d189f4b888599b7f7b4447d23960491c062b0e076b9fcffc670a42714d286dc5c426c4d8d567ea7
6
+ metadata.gz: b68daf8d1ffacde28c6d2bb693743d1ddb03759ab088cc24d72b608a6c2c6ec99ed6fcb817a859f8dccac8f61d2c138c9daf9f34f5926d25df196ff26f426c8c
7
+ data.tar.gz: 6f90e22d7e807f2a607e36863c9433d43ea22d82459a4e8312d6aaa9f428133a3a28a1f05084249b9c0247013cc1fcfa3a094cfff6319610c2b1b31d49471bad
@@ -15,7 +15,7 @@ fr:
15
15
  pages:
16
16
  home:
17
17
  statistics:
18
- bar: Machin
18
+ bar: Seuil
19
19
  dummies_count_high: Référence de test haute
20
20
  dummies_count_medium: Référence de test moyenne
21
21
  foo: Truc
@@ -47,6 +47,7 @@ module Decidim
47
47
  include Followable
48
48
  include Traceable
49
49
  include Publicable
50
+ include Decidim::DataPortability
50
51
  include Searchable
51
52
 
52
53
  searchable_fields(
@@ -62,6 +63,14 @@ module Decidim
62
63
  def reported_content_url
63
64
  ResourceLocatorPresenter.new(self).url
64
65
  end
66
+
67
+ def self.user_collection(user)
68
+ where(decidim_author_id: user.id)
69
+ end
70
+
71
+ def self.export_serializer
72
+ DummySerializer
73
+ end
65
74
  end
66
75
  end
67
76
  end
@@ -130,6 +139,7 @@ RSpec.configure do |config|
130
139
  t.float :latitude
131
140
  t.float :longitude
132
141
  t.datetime :published_at
142
+ t.integer :coauthorships_count, null: false, default: 0
133
143
 
134
144
  t.references :decidim_component, index: false
135
145
  t.references :decidim_author, index: false
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "factory_bot_rails"
4
+
3
5
  RSpec.configure do |config|
4
6
  config.include FactoryBot::Syntax::Methods
5
7
  end
@@ -3,19 +3,19 @@
3
3
  require "rails-controller-testing"
4
4
  require "rspec/rails"
5
5
  require "rspec/cells"
6
- require "factory_bot_rails"
7
6
  require "byebug"
8
7
  require "rectify/rspec"
9
8
  require "wisper/rspec/stub_wisper_publisher"
10
9
  require "db-query-matchers"
11
10
  require "action_view/helpers/sanitize_helper"
12
- require_relative "factories"
13
- require_relative "screenshot_helper_ext"
14
11
 
15
12
  # Requires supporting files with custom matchers and macros, etc,
16
13
  # in ./rspec_support/ and its subdirectories.
17
14
  Dir["#{__dir__}/rspec_support/**/*.rb"].each { |f| require f }
18
15
 
16
+ require_relative "factories"
17
+ require_relative "screenshot_helper_ext"
18
+
19
19
  RSpec.configure do |config|
20
20
  config.color = true
21
21
  config.fail_fast = ENV["FAIL_FAST"] == "true"
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-dev version.
5
5
  module Dev
6
6
  def self.version
7
- "0.12.2"
7
+ "0.13.0.pre1"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.13.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-07-11 00:00:00.000000000 Z
13
+ date: 2018-06-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capybara
@@ -30,16 +30,16 @@ dependencies:
30
30
  name: decidim
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '='
33
+ - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: 0.12.2
35
+ version: 0.13.a
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '='
40
+ - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: 0.12.2
42
+ version: 0.13.a
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: factory_bot_rails
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -406,9 +406,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
406
406
  version: '2.3'
407
407
  required_rubygems_version: !ruby/object:Gem::Requirement
408
408
  requirements:
409
- - - ">="
409
+ - - ">"
410
410
  - !ruby/object:Gem::Version
411
- version: '0'
411
+ version: 1.3.1
412
412
  requirements: []
413
413
  rubyforge_project:
414
414
  rubygems_version: 2.7.6