pageflow-external-links 0.4.0 → 1.0.0

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
  SHA1:
3
- metadata.gz: 023d909bf7419da1fd81b165c77b72cbfa12bae5
4
- data.tar.gz: 7c0b0d54824113a7b30d2b614500d3f33da6d227
3
+ metadata.gz: 1e0bc1c4fdb39bcd64fc6a2883ffc849f43a1917
4
+ data.tar.gz: 2a6e7b92e59ed94e903f16acd66138858444cb30
5
5
  SHA512:
6
- metadata.gz: 508dea1ffc1e582d515f2f676cc0fb3b10a1b91335e90f5b46ec663c5a04d35f487298988c61a16204874ac8cd1118e5d7b228d90833e66f6a00fa6d5a3560c3
7
- data.tar.gz: e78fe338dfa5d1d21f10a0fc3fab1e99b76c25a8129f168005422a0cf4ccfad8fde94ca945b3f186c884b4c0eff96837da9d20f1c9670234da700aa1446e7b31
6
+ metadata.gz: 4583bab56b46e989ea194ee8b4834acc5c0c3f4414587cbb206e2a6d7a7112b069f3b43c6b4d56512dcd4e226d7506d1016131b5aaec9f595e3e99347a120591
7
+ data.tar.gz: ac8555e3d817050d2aea19aa8ff0e4a01fc6b3b45515a512db8bb9be72c8a203d6bba9837c2f8109754ea5afc07fb0fec8ece0335c563f88748b4d3de3f34f1f
data/.travis.yml CHANGED
@@ -6,6 +6,9 @@ gemfile: Gemfile.ci
6
6
  sudo: false
7
7
  cache: bundler
8
8
 
9
+ env:
10
+ - PUBLISH_THEME_DOC=true
11
+
9
12
  before_install:
10
13
  - nvm install stable
11
14
 
data/CHANGELOG.md CHANGED
@@ -1,85 +1,39 @@
1
1
  # CHANGELOG
2
2
 
3
- ### Version 0.4.0
3
+ ### Version 1.0.0
4
4
 
5
- 2016-06-09
5
+ 2017-08-11
6
6
 
7
- [Compare changes](https://github.com/codevise/pageflow-external-links/compare/v0.3.0...v0.4.0)
7
+ [Compare changes](https://github.com/codevise/pageflow-external-links/compare/0-4-stable...v1.0.0)
8
8
 
9
9
  ##### Breaking Changes
10
10
 
11
- - There is now a configurable default theme.
12
- ([#24](https://github.com/codevise/pageflow-external-links/pull/24),
13
- [#21](https://github.com/codevise/pageflow-external-links/pull/21),
14
- [#20](https://github.com/codevise/pageflow-external-links/pull/20),
15
- [#25](https://github.com/codevise/pageflow-external-links/pull/25))
11
+ - Page type registration is performed by plugin call now.
12
+ ([#34](https://github.com/codevise/pageflow-external-links/pull/34))
16
13
 
17
- If you only use `pageflow/themes/default.scss` in your application,
18
- simply add the following line:
14
+ Ensure you register the plugin in your Pageflow initializer:
19
15
 
20
- @import "pageflow/external_links/themes/default";
16
+ config.plugin(Pageflow::ExternalLinks.plugin)
21
17
 
22
- See the link in the readme, for a complete list of theme settings.
18
+ Remove manual registration of page type:
23
19
 
24
- In case you created a custom theme for this page type, add the
25
- following line to the top of your theme stylesheet:
20
+ # Delete the following line
21
+ config.page_types.register(Pageflow::ExternalLinks.page_type)
26
22
 
27
- @import "pageflow/external_links/themes/legacy";
23
+ - Require pageflow 12
24
+ ([#33](https://github.com/codevise/pageflow-external-links/pull/33))
28
25
 
29
- This ensures that all styles that have been moved to the new default
30
- theme from `pageflow/external_links.scss` are still present inside
31
- the custom theme.
26
+ ##### Minor Changes
32
27
 
33
- ##### Other Changes
28
+ - Do not underline scroll arrows in ie
29
+ ([#32](https://github.com/codevise/pageflow-external-links/pull/32))
30
+ - Allow to use background video
31
+ ([#31](https://github.com/codevise/pageflow-external-links/pull/31))
32
+ - Mention legacy theme in readme
33
+ ([#28](https://github.com/codevise/pageflow-external-links/pull/28))
34
+ - Use the current syntax for registering
35
+ ([#26](https://github.com/codevise/pageflow-external-links/pull/26))
34
36
 
35
- - Flexible height for link boxes
36
- ([#18](https://github.com/codevise/pageflow-external-links/pull/18))
37
- - Disable links inside link description
38
- ([#23](https://github.com/codevise/pageflow-external-links/pull/23))
39
- - Use translations from `pageflow-public-i18n` gem.
40
- ([#16](https://github.com/codevise/pageflow-external-links/pull/16),
41
- [#19](https://github.com/codevise/pageflow-external-links/pull/19))
42
- - Publish sassdoc to github pages via travis.
43
- ([#22](https://github.com/codevise/pageflow-external-links/pull/22))
44
- - Add .idea entry to .gitignore
45
- ([#17](https://github.com/codevise/pageflow-external-links/pull/17))
46
-
47
- ### 0.3.0
48
-
49
- 2015-10-23
50
-
51
- - Site reference input and site selection api.
52
- ([#15](https://github.com/codevise/pageflow-external-links/pull/15))
53
-
54
- ### 0.2.0
55
-
56
- 2015-02-03
57
-
58
- - Localization for `en` and `de`.
59
- ([#10](https://github.com/codevise/pageflow-external-links/pull/10),
60
- [#12](https://github.com/codevise/pageflow-external-links/pull/12))
61
- - Display message when trying to open links in same tab from the editor.
62
- ([#7](https://github.com/codevise/pageflow-external-links/pull/7))
63
- - Use text column to allow for long URLs.
64
- ([#8](https://github.com/codevise/pageflow-external-links/pull/8))
65
- - Prevent nested links from breaking the layout.
66
- ([#11](https://github.com/codevise/pageflow-external-links/pull/11))
67
- - Add inline help for site thumbnail.
68
- ([#5](https://github.com/codevise/pageflow-external-links/pull/5))
69
- - Add editor help entry for sites.
70
- ([#13](https://github.com/codevise/pageflow-external-links/pull/13))
71
- - Add `page_type` factory method.
72
- ([#4](https://github.com/codevise/pageflow-external-links/pull/4))
73
- - Fix name of javascript assets directory.
74
- ([#3](https://github.com/codevise/pageflow-external-links/pull/3))
75
-
76
- ### 0.1.0
77
-
78
- - Use public Pageflow helper to render thumbnails.
79
- ([#2](https://github.com/codevise/pageflow-external-links/pull/2))
80
- - README typo fixes.
81
- ([#1](https://github.com/codevise/pageflow-external-links/pull/1))
82
-
83
- ### 0.0.1
84
-
85
- - Initial release
37
+ See
38
+ [0-4-stable branch](https://github.com/codevise/pageflow-external-links/blob/0-4-stable/CHANGELOG.md)
39
+ for previous changes.
data/Gemfile CHANGED
@@ -2,9 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in chart.gemspec
4
4
  gemspec
5
-
6
- # Rails 4 compat
7
- gem 'activeadmin', :git => 'https://github.com/codevise/active_admin.git', :branch => 'rails4'
8
- gem 'ransack'
9
- gem 'inherited_resources', '1.4.1'
10
- gem 'formtastic', '2.3.0.rc2'
data/README.md CHANGED
@@ -15,7 +15,7 @@ Add this line to your application's `Gemfile`:
15
15
  Register the page type inside the configure block in `config/initializers/pageflow.rb`
16
16
 
17
17
  Pageflow.configure do |config|
18
- config.register_page_type(Pageflow::ExternalLinks::PageType.new)
18
+ config.plugin(Pageflow::ExternalLinks.plugin)
19
19
  end
20
20
 
21
21
  Include javascripts and stylesheets:
@@ -26,19 +26,26 @@ Include javascripts and stylesheets:
26
26
  # app/assets/javascripts/pageflow/editor.js
27
27
  //= require pageflow/external_links/editor
28
28
 
29
- # app/assets/stylesheets/pageflow/application.css.scss
29
+ # app/assets/stylesheets/pageflow/application.scss
30
30
  @import "pageflow/external_links";
31
31
 
32
- # app/assets/stylesheets/pageflow/editor.css.scss
32
+ # app/assets/stylesheets/pageflow/editor.scss
33
33
  @import "pageflow/external_links/editor";
34
34
 
35
- # app/assets/stylesheets/pageflow/themes/default.css.scss
35
+ If you are using Sass < 3.4, import the legacy theme:
36
+
37
+ # app/assets/stylesheets/pageflow/themes/default.scss
38
+ @import "pageflow/external_links/themes/legacy";
39
+
40
+ With Sass 3.4 or newer, you can use the default theme:
41
+
42
+ # app/assets/stylesheets/pageflow/themes/default.scss
36
43
  @import "pageflow/external_links/themes/default";
37
44
 
38
45
  Mount the routes in `config/routes.rb`:
39
46
 
40
47
  authenticated do
41
- mount Pageflow::ExternalLinks::Engine, :at => '/external_links'
48
+ mount Pageflow::ExternalLinks::Engine, at: '/external_links'
42
49
  end
43
50
 
44
51
  Install dependencies:
@@ -58,9 +65,9 @@ Restart the application server.
58
65
  ## Troubleshooting
59
66
 
60
67
  If you run into problems while installing the page type, please also refer to the
61
- [Troubleshooting](https://github.com/codevise/pageflow/wiki/Troubleshooting) wiki
62
- page in the [Pageflow repository](https://github.com/codevise/pageflow). If that
63
- doesn't help, consider
68
+ [Troubleshooting](https://github.com/codevise/pageflow/wiki/Troubleshooting) wiki
69
+ page in the [Pageflow repository](https://github.com/codevise/pageflow). If that
70
+ doesn't help, consider
64
71
  [filing an issue](https://github.com/codevise/pageflow-external-links/issues).
65
72
 
66
73
  ## Contributing Locales
@@ -5,10 +5,10 @@ pageflow.ConfigurationEditorView.register('external_links', {
5
5
  });
6
6
 
7
7
  this.tab('files', function() {
8
- this.input('background_image_id', pageflow.FileInputView, {collection: pageflow.imageFiles});
8
+ this.group('background');
9
9
  this.input('thumbnail_image_id', pageflow.FileInputView, {
10
10
  collection: pageflow.imageFiles,
11
- imagePositioning: false
11
+ positioning: false
12
12
  });
13
13
  });
14
14
 
@@ -35,7 +35,7 @@ pageflow.externalLinks.EditSiteView = Backbone.Marionette.Layout.extend({
35
35
  pageId: options.page && options.page.id,
36
36
  returnTo: options.returnTo
37
37
  },
38
- imagePositioning: false
38
+ positioning: false
39
39
  });
40
40
  this.input('title', pageflow.TextInputView, {
41
41
  required: true
@@ -69,4 +69,4 @@ pageflow.externalLinks.EditSiteView = Backbone.Marionette.Layout.extend({
69
69
  pageflow.editor.navigate('/external_links/sites' + query, {trigger: true});
70
70
  }
71
71
  }
72
- });
72
+ });
@@ -1,6 +1,6 @@
1
1
  /*global IScroll*/
2
2
 
3
- pageflow.pageType.register('external_links', _.extend({
3
+ pageflow.react.registerPageTypeWithDefaultBackground('external_links', {
4
4
  prepareNextPageTimeout: 0,
5
5
 
6
6
  enhance: function(pageElement, configuration) {
@@ -107,10 +107,6 @@ pageflow.pageType.register('external_links', _.extend({
107
107
  prepare: function(pageElement, configuration) {
108
108
  },
109
109
 
110
- preload: function(pageElement, configuration) {
111
- return pageflow.preload.backgroundImage(pageElement.find('.background_image'));
112
- },
113
-
114
110
  activating: function(pageElement, configuration) {
115
111
  this.linkScroller.refresh();
116
112
  this.linkScroller.checkDisable();
@@ -132,8 +128,6 @@ pageflow.pageType.register('external_links', _.extend({
132
128
  pageElement.find('h2 .subtitle').text(configuration.get('subtitle') || '');
133
129
  pageElement.find('.contentText p').html(configuration.get('text') || '');
134
130
 
135
- this.updateCommonPageCssClasses(pageElement, configuration);
136
-
137
131
  pageElement.find('.shadow').css({
138
132
  opacity: configuration.get('gradient_opacity') / 100
139
133
  });
@@ -144,15 +138,10 @@ pageflow.pageType.register('external_links', _.extend({
144
138
 
145
139
  embeddedEditorViews: function() {
146
140
  return {
147
- '.background_image': {
148
- view: pageflow.BackgroundImageEmbeddedView,
149
- options: {propertyName: 'background_image_id'}
150
- },
151
-
152
141
  '.ext-links': {
153
142
  view: pageflow.externalLinks.ListEmbeddedView,
154
143
  options: {propertyName: 'linked_external_site_perma_ids'}
155
144
  }
156
145
  };
157
146
  }
158
- }, pageflow.commonPageCssClasses));
147
+ });
@@ -31,6 +31,7 @@
31
31
  width: 80px;
32
32
  height: 80px;
33
33
  pointer-events: all;
34
+ text-decoration: none;
34
35
 
35
36
  &:before {
36
37
  content: "\f105";
@@ -1,7 +1,7 @@
1
1
  <div class="blackLayer"></div>
2
2
  <div class="content_and_background external-links-page">
3
3
  <div class="backgroundArea">
4
- <%= background_image_div(configuration, 'background_image') %>
4
+ <%= page_background_asset(configuration) %>
5
5
  <%= shadow_div :opacity => configuration['gradient_opacity'] %>
6
6
  </div>
7
7
 
@@ -41,50 +41,29 @@ de:
41
41
  views:
42
42
  edit_site:
43
43
  back: Zurück
44
- confirm_destroy: ! 'Externen Verweis wirklich löschen?
44
+ confirm_destroy: |-
45
+ Externen Verweis wirklich löschen?
45
46
 
46
-
47
- Alle Benutzungen dieses Verweises auf Seiten werden ebenfalls entfernt. Dieser Schritt kann nicht rückgängig gemacht werden.'
47
+ Alle Benutzungen dieses Verweises auf Seiten werden ebenfalls entfernt. Dieser Schritt kann nicht rückgängig gemacht werden.
48
48
  site_item_reference_view:
49
- unknown: (Unbenannt)
49
+ unknown: "(Unbenannt)"
50
50
  site_item_view:
51
- unknown: (Unbenannt)
51
+ unknown: "(Unbenannt)"
52
52
  help_entries:
53
53
  page_type:
54
54
  menu_item: Externe Verweise
55
- text: ! '# Externe Verweise
56
-
57
-
58
- Sammlung von Verweisen zu Webseiten ausserhalb des Pageflows
59
-
60
-
61
- Zu dem üblichen Hintergrund-Bild können hier Verweise auf externe Webseiten
62
-
63
- eingebunden werden, die sich bei Klick in einem neuen Browserfenster öffnen. Pro
64
-
65
- Verweis kann jeweils ein Bild, ein Titel und eine Beschreibung verwendet werden.
66
-
67
- Achtung: Mit jedem Verweis auf eine externe Webseite riskierst Du, dass User
68
-
69
- möglicherweise aus Deinem Pageflow aussteigen bzw. von dem neu geöffneten Fenster
70
-
71
- nicht zurückkehren. Erfahrungsgemäß empfiehlt sich daher die Verwendung solcher Links
72
-
73
- eher im hinteren Teil Deines Pageflows.
74
-
75
-
76
- Typische Anwendungsbeispiele: Vertiefungen, Quellen, Twitter- und Facebook-Feeds, Backlinks zur Homepage'
55
+ text: "# Externe Verweise\n\n*Sammlung von Verweisen zu Webseiten ausserhalb des Pageflows*\n \nZu dem üblichen Hintergrund-Bild/Video können hier Verweise auf externe Webseiten\neingebunden werden, die sich bei Klick in einem neuen Browserfenster öffnen. Pro\nVerweis kann jeweils ein Bild, ein Titel und eine Beschreibung verwendet werden.\nAchtung: Mit jedem Verweis auf eine externe Webseite riskierst Du, dass User\nmöglicherweise aus Deinem Pageflow aussteigen bzw. von dem neu geöffneten Fenster\nnicht zurückkehren. Erfahrungsgemäß empfiehlt sich daher die Verwendung solcher Links\neher im hinteren Teil Deines Pageflows.\n\nTypische Anwendungsbeispiele: Vertiefungen, Quellen, Twitter- und Facebook-Feeds, Backlinks zur Homepage"
77
56
  sites:
78
57
  menu_item: Externe Verweise verwalten
79
- text: ! "# Externe Verweise verwalten\n\nMit „Externe Verweise“ verwaltest Du Links auf Webseiten, die Du in eine Reportage einbinden möchtest. Hierzu kannst Du sowohl Bilder als „Teaser“, als auch Infotext zur Beschreibung des Verweises benutzen.\n\nDiese Verweise werden vom Seitentyp „Externe Verweise“ verwendet.\nDer Verwendung externer Links bietet sich beispielsweise an, um bestimmte Themen weiter zu vertiefen. \n\nBeachte bitte, dass diese Links eher zum Ende eines Pageflows eingesetzt werden sollten, da sie die Möglichkeit eines vorzeitigen Ausstieges aus der Reportage anbieten."
58
+ text: "# Externe Verweise verwalten\n\nMit „Externe Verweise“ verwaltest Du Links auf Webseiten, die Du in eine Reportage einbinden möchtest. Hierzu kannst Du sowohl Bilder als „Teaser“, als auch Infotext zur Beschreibung des Verweises benutzen.\n\nDiese Verweise werden vom Seitentyp „Externe Verweise“ verwendet.\nDer Verwendung externer Links bietet sich beispielsweise an, um bestimmte Themen weiter zu vertiefen. \n\nBeachte bitte, dass diese Links eher zum Ende eines Pageflows eingesetzt werden sollten, da sie die Möglichkeit eines vorzeitigen Ausstieges aus der Reportage anbieten."
80
59
  manage_sites: Externe Verweise verwalten
81
60
  page_type_category_name: Verweise
82
61
  page_type_description: Sammlung von Verweisen zu Webseiten außerhalb des Pageflows
83
62
  page_type_help_entry:
84
- title: ! 'Externe Verweise Seitentyp: Inhalte optisch ansprechend abrunden'
63
+ title: 'Externe Verweise Seitentyp: Inhalte optisch ansprechend abrunden'
85
64
  page_type_name: Externe-Verweise
86
65
  ui:
87
66
  inline_help:
88
67
  pageflow/external_links/site:
89
- description: ! 'Empfohlene Textlänge: bis zu 220 Zeichen'
90
- thumbnail: ! 'Empfohlenes Seitenverhältnis: 16:9'
68
+ description: 'Empfohlene Textlänge: bis zu 220 Zeichen'
69
+ thumbnail: 'Empfohlenes Seitenverhältnis: 16:9'
@@ -41,47 +41,29 @@ en:
41
41
  views:
42
42
  edit_site:
43
43
  back: Back
44
- confirm_destroy: ! 'Are you sure you want to delete this site?
44
+ confirm_destroy: |-
45
+ Are you sure you want to delete this site?
45
46
 
46
-
47
- All usages of this site on external link pages will also be removed. This action cannot be undone.'
47
+ All usages of this site on external link pages will also be removed. This action cannot be undone.
48
48
  site_item_reference_view:
49
- unknown: (New site)
49
+ unknown: "(New site)"
50
50
  site_item_view:
51
- unknown: (New site)
51
+ unknown: "(New site)"
52
52
  help_entries:
53
53
  page_type:
54
54
  menu_item: External Links
55
- text: ! '# External Links
56
-
57
-
58
- Collection of References to Websites outside of Pageflow
59
-
60
-
61
- Besides a standard background-image you can embedlinks to external websites, which open in a new window. For each link you can add a title, description and picture. Note: With each link you risk losing the users to the other websites Empirically it is advisable to use external references in the end of the Pageflow.
62
-
63
-
64
- Examples of application: Consolidation, Resources, Twitter and Facebook feeds, links to own homepage'
55
+ text: "# External Links\n\n*Collection of References to Websites outside of Pageflow*\n \nBesides a standard background-image/video you can embedlinks to external websites, which open in a new window. For each link you can add a title, description and picture. Note: With each link you risk losing the users to the other websites Empirically it is advisable to use external references in the end of the Pageflow.\n\nExamples of application: Consolidation, Resources, Twitter and Facebook feeds, links to own homepage"
65
56
  sites:
66
57
  menu_item: Manging External Sites
67
- text: ! '# Manging External Sites
68
-
69
-
70
- With „external sites“ you manage links to external websites, which you want to integrate into your Pageflow. You can choose photos as a teaser and write a description for the links.
71
-
72
-
73
- The references are used for the page-type „External Links“. External links allow you to explore a topic in more depth.
74
-
75
-
76
- Please note, that these links should rather be placed at the end of a Pageflow, because they offer a premature exit from the Pageflow. '
58
+ text: "# Manging External Sites\n\nWith „external sites“ you manage links to external websites, which you want to integrate into your Pageflow. You can choose photos as a teaser and write a description for the links.\n\nThe references are used for the page-type „External Links“. External links allow you to explore a topic in more depth.\n\nPlease note, that these links should rather be placed at the end of a Pageflow, because they offer a premature exit from the Pageflow. "
77
59
  manage_sites: Manage external sites
78
60
  page_type_category_name: Links
79
61
  page_type_description: Allows linking to external websites with a thumbnail and description text.
80
62
  page_type_help_entry:
81
- title: ! 'External Links: Round off your story with further readings'
63
+ title: 'External Links: Round off your story with further readings'
82
64
  page_type_name: External Links
83
65
  ui:
84
66
  inline_help:
85
67
  pageflow/external_links/site:
86
- description: ! 'Suggested text length: 220 chars'
87
- thumbnail: ! 'Suggested aspect ratio: 16:9'
68
+ description: 'Suggested text length: 220 chars'
69
+ thumbnail: 'Suggested aspect ratio: 16:9'
@@ -2,6 +2,7 @@ module Pageflow
2
2
  module ExternalLinks
3
3
  class Plugin < Pageflow::Plugin
4
4
  def configure(config)
5
+ config.page_types.register(ExternalLinks.page_type)
5
6
  config.help_entries.register('pageflow.external_links.help_entries.sites', priority: 49)
6
7
  end
7
8
  end
@@ -1,5 +1,5 @@
1
1
  module Pageflow
2
2
  module ExternalLinks
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '1.0.0'.freeze
4
4
  end
5
5
  end
@@ -4,31 +4,26 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'pageflow/external_links/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "pageflow-external-links"
7
+ spec.name = 'pageflow-external-links'
8
8
  spec.version = Pageflow::ExternalLinks::VERSION
9
- spec.authors = ["Tim Fischbach"]
10
- spec.email = ["tfischbach@codevise.de"]
11
- spec.summary = "Pageflow Page Type for links to external sites"
12
- spec.homepage = "https://github.com/codevise/pageflow-external-links"
13
- spec.license = "MIT"
9
+ spec.authors = ['Codevise Solutions Ltd']
10
+ spec.email = ['info@codevise.de']
11
+ spec.summary = 'Pageflow Page Type for links to external sites'
12
+ spec.homepage = 'https://github.com/codevise/pageflow-external-links'
13
+ spec.license = 'MIT'
14
14
 
15
15
  spec.files = `git ls-files`.split($/)
16
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
16
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
- spec.require_paths = ["lib"]
17
+ spec.require_paths = ['lib']
19
18
 
20
- spec.add_runtime_dependency 'pageflow', '~> 0.10'
19
+ spec.required_ruby_version = '~> 2.1'
21
20
 
22
- # Using translations from rails locales in javascript code.
23
- spec.add_runtime_dependency 'i18n-js'
21
+ spec.add_runtime_dependency 'pageflow', '~> 12.x'
24
22
  spec.add_runtime_dependency 'pageflow-public-i18n', '~> 1.0'
25
23
 
26
- spec.add_development_dependency "bundler"
27
- spec.add_development_dependency "rake"
28
- spec.add_development_dependency "rspec-rails", "~> 2.0"
29
- spec.add_development_dependency 'factory_girl_rails'
30
- spec.add_development_dependency "sqlite3"
24
+ spec.add_development_dependency 'bundler', '~> 1.0'
25
+ spec.add_development_dependency 'rake', '~> 12.0'
31
26
 
32
27
  # Semantic versioning rake tasks
33
- spec.add_development_dependency 'semmy', '~> 0.2'
28
+ spec.add_development_dependency 'semmy', '~> 1.0'
34
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pageflow-external-links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - Tim Fischbach
7
+ - Codevise Solutions Ltd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-09 00:00:00.000000000 Z
11
+ date: 2017-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pageflow
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.10'
19
+ version: 12.x
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.10'
27
- - !ruby/object:Gem::Dependency
28
- name: i18n-js
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 12.x
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: pageflow-public-i18n
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -56,89 +42,47 @@ dependencies:
56
42
  name: bundler
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ">="
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: '1.0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ">="
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: '1.0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rspec-rails
85
57
  requirement: !ruby/object:Gem::Requirement
86
58
  requirements:
87
59
  - - "~>"
88
60
  - !ruby/object:Gem::Version
89
- version: '2.0'
61
+ version: '12.0'
90
62
  type: :development
91
63
  prerelease: false
92
64
  version_requirements: !ruby/object:Gem::Requirement
93
65
  requirements:
94
66
  - - "~>"
95
67
  - !ruby/object:Gem::Version
96
- version: '2.0'
97
- - !ruby/object:Gem::Dependency
98
- name: factory_girl_rails
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: sqlite3
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
68
+ version: '12.0'
125
69
  - !ruby/object:Gem::Dependency
126
70
  name: semmy
127
71
  requirement: !ruby/object:Gem::Requirement
128
72
  requirements:
129
73
  - - "~>"
130
74
  - !ruby/object:Gem::Version
131
- version: '0.2'
75
+ version: '1.0'
132
76
  type: :development
133
77
  prerelease: false
134
78
  version_requirements: !ruby/object:Gem::Requirement
135
79
  requirements:
136
80
  - - "~>"
137
81
  - !ruby/object:Gem::Version
138
- version: '0.2'
82
+ version: '1.0'
139
83
  description:
140
84
  email:
141
- - tfischbach@codevise.de
85
+ - info@codevise.de
142
86
  executables: []
143
87
  extensions: []
144
88
  extra_rdoc_files: []
@@ -190,11 +134,11 @@ files:
190
134
  - app/assets/javascripts/pageflow/external_links/editor/views/site_selection_view.js
191
135
  - app/assets/javascripts/pageflow/external_links/editor/views/sites_view.js
192
136
  - app/assets/javascripts/pageflow/external_links/page_type.js
193
- - app/assets/stylesheets/pageflow/external_links.css.scss
194
- - app/assets/stylesheets/pageflow/external_links/editor.css.scss
195
- - app/assets/stylesheets/pageflow/external_links/editor/embedded.css.scss
196
- - app/assets/stylesheets/pageflow/external_links/editor/external_sites.css.scss
197
- - app/assets/stylesheets/pageflow/external_links/editor/site_selection.css.scss
137
+ - app/assets/stylesheets/pageflow/external_links.scss
138
+ - app/assets/stylesheets/pageflow/external_links/editor.scss
139
+ - app/assets/stylesheets/pageflow/external_links/editor/embedded.scss
140
+ - app/assets/stylesheets/pageflow/external_links/editor/external_sites.scss
141
+ - app/assets/stylesheets/pageflow/external_links/editor/site_selection.scss
198
142
  - app/assets/stylesheets/pageflow/external_links/themes/default.scss
199
143
  - app/assets/stylesheets/pageflow/external_links/themes/legacy.scss
200
144
  - app/controllers/pageflow/external_links/sites_controller.rb
@@ -224,9 +168,9 @@ require_paths:
224
168
  - lib
225
169
  required_ruby_version: !ruby/object:Gem::Requirement
226
170
  requirements:
227
- - - ">="
171
+ - - "~>"
228
172
  - !ruby/object:Gem::Version
229
- version: '0'
173
+ version: '2.1'
230
174
  required_rubygems_version: !ruby/object:Gem::Requirement
231
175
  requirements:
232
176
  - - ">="
@@ -234,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
178
  version: '0'
235
179
  requirements: []
236
180
  rubyforge_project:
237
- rubygems_version: 2.2.5
181
+ rubygems_version: 2.6.8
238
182
  signing_key:
239
183
  specification_version: 4
240
184
  summary: Pageflow Page Type for links to external sites