-
Notifications
You must be signed in to change notification settings - Fork 126
/
pageflow.gemspec
221 lines (154 loc) · 6.72 KB
/
pageflow.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'pageflow/version'
require File.expand_path('lib/pageflow/rails_version', File.dirname(__FILE__))
Gem::Specification.new do |s|
s.name = 'pageflow'
s.version = Pageflow::VERSION
s.authors = ['Codevise Solutions Ltd']
s.email = ['[email protected]']
s.homepage = 'https://pageflow.io'
s.summary = 'Multimedia story telling for the web.'
s.license = 'MIT'
s.files = Dir['{,entry_types/*/}' \
'{admins,app,config,db,lib,vendor,spec/factories,spec/fixtures}/**/*',
'package/{config/**/*,vendor/**/*.js,editor.js,frontend.js,ui.js,' \
'testHelpers.js,package.json}',
'entry_types/scrolled/package/' \
'{config/**/*,contentElements-frontend.{js,css},frontend-server.js,' \
'contentElements/*.{css,js},' \
'widgets/*.{css,js},' \
'values/*,testHelpers.js,' \
'contentElements-editor.js,frontend/*.{js,css},editor.js,package.json}',
'MIT-LICENSE', 'Rakefile', 'README.md', 'CHANGELOG.md']
s.require_paths = ['lib', 'entry_types/paged/lib', 'entry_types/scrolled/lib']
s.add_dependency 'rails', '~> 7.1.2'
# Framework for admin interface
s.add_dependency 'activeadmin', '~> 3.0'
# Searchable select boxes for filters and forms
s.add_dependency 'activeadmin-searchable_select', '~> 1.0'
# User authentication
#
# Pageflow::UserMixin depends on Devise internals. We therefore use
# a conservative version constraint.
s.add_dependency 'devise', '~> 4.9.3'
# Faster JSON backend
s.add_dependency 'yajl-ruby', '~> 1.2'
# Authorization
s.add_dependency 'cancancan', '~> 3.5'
# State machines for active record
s.add_dependency 'state_machines-activerecord', '~> 0.9.0'
# Trigger resque jobs with a state machine
s.add_dependency 'state_machine_job', '~> 3.0'
# File attachments
s.add_dependency 'kt-paperclip', '~> 7.2'
# Image processing
s.add_dependency 'ruby-vips', '~> 2.2'
# MySQL/Postgres advisory locks
s.add_dependency 'with_advisory_lock', '~> 4.6'
# zencoder
s.add_dependency 'zencoder', '~> 2.5'
# Amazon AWS
s.add_dependency 'aws-sdk-s3', '~> 1.0'
# Markdown parser
s.add_dependency 'kramdown', ['>= 1.5', '< 3']
# Convert srt files to vtt
s.add_dependency 'webvtt-ruby', '~> 0.4.0'
# Decode strings with HTML entities
s.add_dependency 'htmlentities', '~> 4.3'
# Use jquery as the JavaScript library
s.add_dependency 'jquery-rails', '~> 4.3'
# Advanced ui widgets for the editor.
#
# WARNING: This gem has compatibility issues with sass-rails. See
# pageflow/jquery_ui.scss for details and update instructions.
s.add_dependency 'jquery-ui-rails', '5.0.5'
# Split screen functionality for editor sidebar
s.add_dependency 'jquery-layout-rails', '~> 0.1.0'
# Editor file upload helper
s.add_dependency 'jquery-fileupload-rails', '0.4.1'
# Color picker
s.add_dependency 'jquery-minicolors-rails', '~> 2.2'
s.add_dependency 'backbone-rails', '~> 1.0.0'
# Further helpers and conventions on top of Backbone
s.add_dependency 'marionette-rails', '~> 1.1.0'
# React.js assets and server side rendering helpers
s.add_dependency 'react-rails', '~> 2.6.0'
# Templating engine used to render jst tempaltes.
s.add_dependency 'ejs', '~> 1.1'
# Scss compiler
s.add_dependency 'sass', '~> 3.4'
# Sprockets 4 does not support procs in config.assets.precompile
# which we currently depend on in pageflow/engine.rb
s.add_dependency 'sprockets', '< 4'
# Using translations from rails locales in javascript code.
s.add_dependency 'i18n-js', '~> 2.1'
s.add_dependency 'bourbon', '~> 3.1.8'
# Pretty URLs
s.add_dependency 'friendly_id', '~> 5.2'
# Build JSON APIs with ease.
s.add_dependency 'jbuilder', '>= 1.5', '< 3.0'
# Browser language detection
s.add_dependency 'http_accept_language', '~> 2.0'
# Shared translations
s.add_dependency 'pageflow-public-i18n', '~> 1.28'
# Password encryption
s.add_dependency 'bcrypt', '~> 3.1.7'
# Files archiver for entry export
s.add_dependency 'rubyzip', '~> 1.2'
# string encryptor/decryptor
s.add_dependency 'symmetric-encryption', '~> 4.3.1'
# Used for Webpack build in host application
s.add_development_dependency 'shakapacker', '~> 7.0'
# Used by the dummy rails application
s.add_development_dependency 'mysql2', '~> 0.5.2'
# Resque as default Active Job backend
s.add_development_dependency 'resque', ['>= 1.25', '< 3']
s.add_development_dependency 'resque-scheduler', '~> 4.10'
s.add_development_dependency 'ar_after_transaction', '~> 0.10.0'
s.add_development_dependency 'redis', '~> 3.0'
s.add_development_dependency 'redis-namespace', '~> 1.5'
# Faster scss compilation
s.add_development_dependency 'sassc-rails', '~> 2.1'
# Testing framework
s.add_development_dependency 'rspec-rails', '~> 6.0'
# Matchers like "to have(3).items"
s.add_development_dependency 'rspec-collection_matchers', '~> 1.1'
# Provides include_json matcher
s.add_development_dependency 'rspec-json_expectations', '~> 2.2'
# Use assigns in controller specs
s.add_development_dependency 'rails-controller-testing', '~> 1.0'
# Detect N+1 queries
s.add_development_dependency 'prosopite', '~> 1.4'
# Browser like integration testing
s.add_development_dependency 'capybara', '~> 3.9'
# Server for Capybara
s.add_development_dependency 'puma', '~> 6.0'
# Chrome Headless browser testing
s.add_development_dependency 'selenium-webdriver', '~> 4.15'
# View abstraction fro integration testing
s.add_development_dependency 'domino', '~> 0.7.0'
# Fixture replacement
s.add_development_dependency 'factory_bot_rails', '~> 4.8'
# Matchers for Pundit policies
s.add_development_dependency 'pundit-matchers', '~> 1.0'
# Clean database in integration tests
s.add_development_dependency 'database_cleaner-active_record', '~> 2.1'
# Freeze time in tests
s.add_development_dependency 'timecop', '~> 0.7.1'
# Colorized console output
s.add_development_dependency 'colorize', '~> 0.7.5'
# Stub HTTP requests in tests
s.add_development_dependency 'webmock', '~> 3.4'
# Semantic versioning rake tasks
s.add_development_dependency 'semmy', '~> 1.1'
# A gem that makes it easy to write specs for your Rails 3 Generators.
s.add_development_dependency 'ammeter', '~> 1.1'
# Ruby code linter
s.add_development_dependency 'rubocop', '~> 1.60'
# Scss code linter
s.add_development_dependency 'scss_lint', '~> 0.60.0'
s.add_development_dependency 'scss_lint_reporter_checkstyle', '~> 0.2.0'
# For oauth authentication
s.add_development_dependency 'omniauth', '~> 1.9'
end