decidim-core 0.11.1 → 0.11.2

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.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ class RenameMissingFeaturesToComponents < ActiveRecord::Migration[5.1]
4
+ class Notification < ApplicationRecord
5
+ self.table_name = :decidim_notifications
6
+ end
7
+
8
+ def up
9
+ # rubocop:disable Rails/SkipsModelValidations
10
+ Notification.where(decidim_resource_type: "Decidim::Feature").update_all(decidim_resource_type: "Decidim::Component")
11
+ Notification.where(event_class: "Decidim::FeaturePublishedEvent").update_all(event_class: "Decidim::ComponentPublishedEvent")
12
+ Notification.where(event_name: "decidim.events.features.feature_published").update_all(event_name: "decidim.events.components.component_published")
13
+ # rubocop:enable Rails/SkipsModelValidations
14
+ end
15
+ end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-core version.
5
5
  module Core
6
6
  def self.version
7
- "0.11.1"
7
+ "0.11.2"
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-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
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-05-14 00:00:00.000000000 Z
13
+ date: 2018-06-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: active_link_to
@@ -588,28 +588,28 @@ dependencies:
588
588
  requirements:
589
589
  - - '='
590
590
  - !ruby/object:Gem::Version
591
- version: 0.11.1
591
+ version: 0.11.2
592
592
  type: :runtime
593
593
  prerelease: false
594
594
  version_requirements: !ruby/object:Gem::Requirement
595
595
  requirements:
596
596
  - - '='
597
597
  - !ruby/object:Gem::Version
598
- version: 0.11.1
598
+ version: 0.11.2
599
599
  - !ruby/object:Gem::Dependency
600
600
  name: decidim-dev
601
601
  requirement: !ruby/object:Gem::Requirement
602
602
  requirements:
603
603
  - - '='
604
604
  - !ruby/object:Gem::Version
605
- version: 0.11.1
605
+ version: 0.11.2
606
606
  type: :development
607
607
  prerelease: false
608
608
  version_requirements: !ruby/object:Gem::Requirement
609
609
  requirements:
610
610
  - - '='
611
611
  - !ruby/object:Gem::Version
612
- version: 0.11.1
612
+ version: 0.11.2
613
613
  description: Adds core features so other engines can hook into the framework.
614
614
  email:
615
615
  - josepjaume@gmail.com
@@ -1227,6 +1227,7 @@ files:
1227
1227
  - db/migrate/20180308113207_doorkeeper_models.rb
1228
1228
  - db/migrate/20180314085339_rename_maximum_votes_per_proposal_to_threshold_per_proposal.rb
1229
1229
  - db/migrate/20180323102631_change_event_name_and_class_to_rename_to_publish_proposal_event.rb
1230
+ - db/migrate/20180613080638_rename_missing_features_to_components.rb
1230
1231
  - db/seeds.rb
1231
1232
  - db/seeds/homepage_image.jpg
1232
1233
  - lib/decidim/abilities.rb
@@ -1396,7 +1397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1396
1397
  version: '0'
1397
1398
  requirements: []
1398
1399
  rubyforge_project:
1399
- rubygems_version: 2.7.3
1400
+ rubygems_version: 2.7.6
1400
1401
  signing_key:
1401
1402
  specification_version: 4
1402
1403
  summary: The core of the Decidim framework.