chili_presentations 0.2.1 → 0.2.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.
@@ -1,3 +1,11 @@
1
+ === 0.2.2 / 2013-03-11
2
+
3
+ * 3 bug fixes:
4
+
5
+ * Allow svg files for asset requests
6
+ * Fixed typo in link permissions-check
7
+ * Updated some locale strings
8
+
1
9
  === 0.2.1 / 2012-10-22
2
10
 
3
11
  * 1 bug fix:
@@ -84,6 +84,7 @@ class PresentationsController < ApplicationController
84
84
  when /\.png$/ then "image/png"
85
85
  when /\.gif$/ then "image/gif"
86
86
  when /\.(jpeg|jpg)$/ then "image/jpeg"
87
+ when /\.svg$/ then "image/svg+xml"
87
88
  else "text/html"
88
89
  end
89
90
  end
@@ -21,8 +21,8 @@
21
21
  <%= link_to presentation.title, project_presentation_path(@project, presentation, :trailing_slash => true) %>
22
22
  <span class="manage-links">
23
23
  <%= link_to(l(:view_specific_presentation_label), project_presentation_path(@project, presentation, :trailing_slash => true), :class => 'icon icon-file presentation-show') if User.current.allowed_to?(:view_specific_presentation, nil, :global => true) %>
24
- <%= link_to(l(:download_presentation_label), instructions_project_presentation_path(@project, presentation), :class => 'icon icon-file application-zip presentation-show') if User.current.allowed_to?(:download_presentations, nil, :global => true) %>
25
- <%= link_to(l(:edit_presentation_label), edit_project_presentation_path(@project, presentation), :class => 'icon icon-edit presentation-edit') if User.current.allowed_to?(:modify_presentations, nil, :global => true) %>
24
+ <%= link_to(l(:download_presentation_label), instructions_project_presentation_path(@project, presentation), :class => 'icon icon-file application-zip presentation-show') if User.current.allowed_to?(:download_presentation, nil, :global => true) %>
25
+ <%= link_to(l(:edit_presentation_label), edit_project_presentation_path(@project, presentation), :class => 'icon icon-edit presentation-edit') if User.current.allowed_to?(:modify_presentation, nil, :global => true) %>
26
26
  <%= link_to(l(:delete_presentation_label), project_presentation_path(@project, presentation), :class => 'icon icon-del presentation-del', :confirm => l(:confirm_presentation_deletion), :method => :delete) if User.current.allowed_to?(:delete_presentation, nil, :global => true) %>
27
27
  </span>
28
28
  </h2>
@@ -7,10 +7,10 @@ en:
7
7
  permission_add_presentation: Add presentations
8
8
  default_presentation_title: (none provided)
9
9
  new_presentation_label: Add presentation
10
- delete_presentation_label: Delete this presentation
11
- edit_presentation_label: Edit this presentation
12
- download_presentation_label: Download presentation
13
- view_specific_presentation_label: View presentation
10
+ delete_presentation_label: Delete
11
+ edit_presentation_label: Edit
12
+ download_presentation_label: Download
13
+ view_specific_presentation_label: View
14
14
  return_to_presentations_list_label: Back to list of presentations
15
15
  confirm_presentation_deletion: Are you sure you want to delete this presentation?
16
16
  presentation_deleted_message: "Booyah! The requested presentation has been deleted."
@@ -7,10 +7,10 @@ permission_delete_presentation: Delete presentations
7
7
  permission_add_presentation: Add presentations
8
8
  default_presentation_title: (none provided)
9
9
  new_presentation_label: Add presentation
10
- delete_presentation_label: Delete this presentation
11
- edit_presentation_label: Edit this presentation
12
- download_presentation_label: Download presentation
13
- view_specific_presentation_label: View presentation
10
+ delete_presentation_label: Delete
11
+ edit_presentation_label: Edit
12
+ download_presentation_label: Download
13
+ view_specific_presentation_label: View
14
14
  return_to_presentations_list_label: Back to list of presentations
15
15
  confirm_presentation_deletion: Are you sure you want to delete this presentation?
16
16
  presentation_deleted_message: "Booyah! The requested presentation has been deleted."
@@ -1,4 +1,4 @@
1
1
  module ChiliPresentations
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,42 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chili_presentations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tom Kersten
9
9
  autorequire:
10
10
  bindir: bin
11
- cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURNRENDQWhpZ0F3SUJ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UVVGQUFPQ0FRRUFMd29Jbld1YkpYSllWSDJOClhu
31
- Q01UNFlseE5zUW9ZZERTeEVhZ05PbVpqSzJlS3RqdTBWOUdqWkFueVlCMnEy
32
- TExpbHZiTXlWdGcvNkFOMEkKWGhDanlZWlJSQ0FEeXZGR1Y0YUJWdjd5aktG
33
- UXJJeVh5OEpUMWlYeEhDMU4ybzFESmxaVWx0Q1lOb3pKQmhzTwpWTmJuU3Fl
34
- OFlZY2V6c3VRMi93OWlhdldYQ2Y5MVFQd25yZkhQWlRyRlBPdmVza0pjdG04
35
- SGluRjQxZkt3RzVCCmlVSHk4cVZXR0JDcERGWXo2S3orSnRpZ2FJQ2NtMkQ0
36
- L1dHTHNEVk9tZ0orZzR4b09pQ2U5WkVrZGE4SytsL0YKeVhXcUluUmxGSWxU
37
- dXdGVHhqMjZqYXVCb3NrQlBvejViZmtaRmphVlJoeVVuUm5Ha2E2Nmx2Y0RP
38
- R2ZrUlpXUQpOVkFESkE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2012-10-22 00:00:00.000000000 Z
11
+ cert_chain: []
12
+ date: 2013-03-11 00:00:00.000000000 Z
40
13
  dependencies:
41
14
  - !ruby/object:Gem::Dependency
42
15
  name: friendly_id
@@ -70,89 +43,111 @@ dependencies:
70
43
  - - '='
71
44
  - !ruby/object:Gem::Version
72
45
  version: 2.7.0
73
- - !ruby/object:Gem::Dependency
74
- name: rdoc
75
- requirement: !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ~>
79
- - !ruby/object:Gem::Version
80
- version: '3.10'
81
- type: :development
82
- prerelease: false
83
- version_requirements: !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- version: '3.10'
89
46
  - !ruby/object:Gem::Dependency
90
47
  name: hoe
91
48
  requirement: !ruby/object:Gem::Requirement
92
49
  none: false
93
50
  requirements:
94
- - - ~>
51
+ - - ! '>='
95
52
  - !ruby/object:Gem::Version
96
- version: '3.0'
53
+ version: 2.8.0
97
54
  type: :development
98
55
  prerelease: false
99
56
  version_requirements: !ruby/object:Gem::Requirement
100
57
  none: false
101
58
  requirements:
102
- - - ~>
59
+ - - ! '>='
103
60
  - !ruby/object:Gem::Version
104
- version: '3.0'
105
- description: ! 'ChiliProject/Redmine plugin which allows you to upload a zipped directory
106
-
107
- containing a "web-friendly" presentation (HTML/JS/CSS) and associate it
108
-
109
- with a project. The plugin will unzip it and filter viewing permissions
110
-
111
- according to your ''permissions'' settings.'
61
+ version: 2.8.0
62
+ description: !binary |-
63
+ Q2hpbGlQcm9qZWN0L1JlZG1pbmUgcGx1Z2luIHdoaWNoIGFsbG93cyB5b3Ug
64
+ dG8gdXBsb2FkIGEgemlwcGVkIGRpcmVjdG9yeQpjb250YWluaW5nIGEgIndl
65
+ Yi1mcmllbmRseSIgcHJlc2VudGF0aW9uIChIVE1ML0pTL0NTUykgYW5kIGFz
66
+ c29jaWF0ZSBpdAp3aXRoIGEgcHJvamVjdC4gVGhlIHBsdWdpbiB3aWxsIHVu
67
+ emlwIGl0IGFuZCBmaWx0ZXIgdmlld2luZyBwZXJtaXNzaW9ucwphY2NvcmRp
68
+ bmcgdG8geW91ciAncGVybWlzc2lvbnMnIHNldHRpbmdzLg==
112
69
  email:
113
70
  - tom@whitespur.com
114
71
  executables: []
115
72
  extensions: []
116
73
  extra_rdoc_files:
117
- - History.txt
118
- - Manifest.txt
74
+ - !binary |-
75
+ SGlzdG9yeS50eHQ=
76
+ - !binary |-
77
+ TWFuaWZlc3QudHh0
119
78
  - README.md
120
79
  - LICENSE
121
80
  files:
122
- - Gemfile
123
- - Gemfile.lock
124
- - History.txt
125
- - LICENSE
126
- - Manifest.txt
127
- - README.md
128
- - Rakefile
129
- - app/controllers/presentations_controller.rb
130
- - app/helpers/presentations_helper.rb
131
- - app/models/presentation.rb
132
- - app/models/presentation_observer.rb
133
- - app/views/presentations/_shared_form.html.erb
134
- - app/views/presentations/edit.html.erb
135
- - app/views/presentations/index.html.erb
136
- - app/views/presentations/instructions.html.erb
137
- - app/views/presentations/new.html.erb
138
- - assets/stylesheets/forms.css
139
- - assets/stylesheets/presentations.css
140
- - autotest/discover.rb
141
- - config/locales/en.yml
142
- - config/routes.rb
143
- - db/migrate/20120920025054_create_presentations.rb
144
- - db/migrate/20120920025554_create_slugs.rb
145
- - init.rb
146
- - lang/en.yml
147
- - lib/chili_presentations.rb
148
- - lib/chili_presentations/version.rb
149
- - lib/presentation_project_patch.rb
150
- - lib/presentation_user_patch.rb
151
- - lib/presentation_version_patch.rb
152
- - lib/tasks/chili_presentations_tasks.rb
153
- - lib/tasks/contributor_tasks.rb
154
- - rails/init.rb
155
- homepage: http://github.com/tomkersten/chili_presentations
81
+ - !binary |-
82
+ R2VtZmlsZQ==
83
+ - !binary |-
84
+ R2VtZmlsZS5sb2Nr
85
+ - !binary |-
86
+ SGlzdG9yeS50eHQ=
87
+ - !binary |-
88
+ TElDRU5TRQ==
89
+ - !binary |-
90
+ TWFuaWZlc3QudHh0
91
+ - !binary |-
92
+ UkVBRE1FLm1k
93
+ - !binary |-
94
+ UmFrZWZpbGU=
95
+ - !binary |-
96
+ YXBwL2NvbnRyb2xsZXJzL3ByZXNlbnRhdGlvbnNfY29udHJvbGxlci5yYg==
97
+ - !binary |-
98
+ YXBwL2hlbHBlcnMvcHJlc2VudGF0aW9uc19oZWxwZXIucmI=
99
+ - !binary |-
100
+ YXBwL21vZGVscy9wcmVzZW50YXRpb24ucmI=
101
+ - !binary |-
102
+ YXBwL21vZGVscy9wcmVzZW50YXRpb25fb2JzZXJ2ZXIucmI=
103
+ - !binary |-
104
+ YXBwL3ZpZXdzL3ByZXNlbnRhdGlvbnMvX3NoYXJlZF9mb3JtLmh0bWwuZXJi
105
+ - !binary |-
106
+ YXBwL3ZpZXdzL3ByZXNlbnRhdGlvbnMvZWRpdC5odG1sLmVyYg==
107
+ - !binary |-
108
+ YXBwL3ZpZXdzL3ByZXNlbnRhdGlvbnMvaW5kZXguaHRtbC5lcmI=
109
+ - !binary |-
110
+ YXBwL3ZpZXdzL3ByZXNlbnRhdGlvbnMvaW5zdHJ1Y3Rpb25zLmh0bWwuZXJi
111
+ - !binary |-
112
+ YXBwL3ZpZXdzL3ByZXNlbnRhdGlvbnMvbmV3Lmh0bWwuZXJi
113
+ - !binary |-
114
+ YXNzZXRzL3N0eWxlc2hlZXRzL2Zvcm1zLmNzcw==
115
+ - !binary |-
116
+ YXNzZXRzL3N0eWxlc2hlZXRzL3ByZXNlbnRhdGlvbnMuY3Nz
117
+ - !binary |-
118
+ YXV0b3Rlc3QvZGlzY292ZXIucmI=
119
+ - !binary |-
120
+ Y29uZmlnL2xvY2FsZXMvZW4ueW1s
121
+ - !binary |-
122
+ Y29uZmlnL3JvdXRlcy5yYg==
123
+ - !binary |-
124
+ ZGIvbWlncmF0ZS8yMDEyMDkyMDAyNTA1NF9jcmVhdGVfcHJlc2VudGF0aW9u
125
+ cy5yYg==
126
+ - !binary |-
127
+ ZGIvbWlncmF0ZS8yMDEyMDkyMDAyNTU1NF9jcmVhdGVfc2x1Z3MucmI=
128
+ - !binary |-
129
+ aW5pdC5yYg==
130
+ - !binary |-
131
+ bGFuZy9lbi55bWw=
132
+ - !binary |-
133
+ bGliL2NoaWxpX3ByZXNlbnRhdGlvbnMucmI=
134
+ - !binary |-
135
+ bGliL2NoaWxpX3ByZXNlbnRhdGlvbnMvdmVyc2lvbi5yYg==
136
+ - !binary |-
137
+ bGliL3ByZXNlbnRhdGlvbl9wcm9qZWN0X3BhdGNoLnJi
138
+ - !binary |-
139
+ bGliL3ByZXNlbnRhdGlvbl91c2VyX3BhdGNoLnJi
140
+ - !binary |-
141
+ bGliL3ByZXNlbnRhdGlvbl92ZXJzaW9uX3BhdGNoLnJi
142
+ - !binary |-
143
+ bGliL3Rhc2tzL2NoaWxpX3ByZXNlbnRhdGlvbnNfdGFza3MucmI=
144
+ - !binary |-
145
+ bGliL3Rhc2tzL2NvbnRyaWJ1dG9yX3Rhc2tzLnJi
146
+ - !binary |-
147
+ cmFpbHMvaW5pdC5yYg==
148
+ homepage: !binary |-
149
+ aHR0cDovL2dpdGh1Yi5jb20vdG9ta2Vyc3Rlbi9jaGlsaV9wcmVzZW50YXRp
150
+ b25z
156
151
  licenses: []
157
152
  post_install_message:
158
153
  rdoc_options:
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- t
2
- ��N�l��99�p�l�l�^�F�3UF9�ˉ���y@s�TÌP�/3�#�ϔ7���ȩ���b�BM"_X��).���HU��� ������XS!��V�?> ��T�4UU�F\�veRs����x�F�k��"Б�FӚ�R�=|�8� K��͹���-��<�������z��wW?�p,�N�]l\�k{�^٥�P2>�����z�T�]ܱ����V�y�Dkj���睕D��Î���Me�}��� ���|�