Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

Commit 081fec2

Browse files
committed
Updating to latest versions
1 parent cde9ee4 commit 081fec2

File tree

10 files changed

+878
-278
lines changed

10 files changed

+878
-278
lines changed

Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ gem 'sinatra'
55
gem 'sidekiq'
66
gem "sidekiq-cron"
77
gem 'sidekiq_monitor'
8-
gem 'redis'
8+
gem 'redis'
9+
gem 'sidekiq-limit_fetch'

Gemfile.lock

+40-83
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,46 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actionpack (4.2.4)
5-
actionview (= 4.2.4)
6-
activesupport (= 4.2.4)
4+
actionpack (4.2.6)
5+
actionview (= 4.2.6)
6+
activesupport (= 4.2.6)
77
rack (~> 1.6)
88
rack-test (~> 0.6.2)
99
rails-dom-testing (~> 1.0, >= 1.0.5)
1010
rails-html-sanitizer (~> 1.0, >= 1.0.2)
11-
actionview (4.2.4)
12-
activesupport (= 4.2.4)
11+
actionview (4.2.6)
12+
activesupport (= 4.2.6)
1313
builder (~> 3.1)
1414
erubis (~> 2.7.0)
1515
rails-dom-testing (~> 1.0, >= 1.0.5)
1616
rails-html-sanitizer (~> 1.0, >= 1.0.2)
17-
activesupport (4.2.4)
17+
activesupport (4.2.6)
1818
i18n (~> 0.7)
1919
json (~> 1.7, >= 1.7.7)
2020
minitest (~> 5.1)
2121
thread_safe (~> 0.3, >= 0.3.4)
2222
tzinfo (~> 1.1)
2323
builder (3.2.2)
24-
celluloid (0.17.1.2)
25-
bundler
26-
celluloid-essentials
27-
celluloid-extras
28-
celluloid-fsm
29-
celluloid-pool
30-
celluloid-supervision
31-
dotenv
32-
nenv
33-
rspec-logsplit (>= 0.1.2)
34-
timers (>= 4.1.1)
35-
celluloid-essentials (0.20.2.1)
36-
bundler
37-
dotenv
38-
nenv
39-
rspec-logsplit (>= 0.1.2)
40-
timers (>= 4.1.1)
41-
celluloid-extras (0.20.1)
42-
bundler
43-
dotenv
44-
nenv
45-
rspec-logsplit (>= 0.1.2)
46-
timers (>= 4.1.1)
47-
celluloid-fsm (0.20.1)
48-
bundler
49-
dotenv
50-
nenv
51-
rspec-logsplit (>= 0.1.2)
52-
timers (>= 4.1.1)
53-
celluloid-pool (0.20.1)
54-
bundler
55-
dotenv
56-
nenv
57-
rspec-logsplit (>= 0.1.2)
58-
timers (>= 4.1.1)
59-
celluloid-supervision (0.20.1.1)
60-
bundler
61-
dotenv
62-
nenv
63-
rspec-logsplit (>= 0.1.2)
64-
timers (>= 4.1.1)
24+
concurrent-ruby (1.0.2)
6525
connection_pool (2.2.0)
66-
dotenv (2.0.2)
6726
erubis (2.7.0)
68-
hitimes (1.2.3)
6927
i18n (0.7.0)
70-
jquery-datatables-rails (3.3.0)
28+
jquery-datatables-rails (3.4.0)
7129
actionpack (>= 3.1)
7230
jquery-rails
7331
railties (>= 3.1)
7432
sass-rails
75-
jquery-rails (4.0.5)
76-
rails-dom-testing (~> 1.0)
33+
jquery-rails (4.1.1)
34+
rails-dom-testing (>= 1, < 3)
7735
railties (>= 4.2.0)
7836
thor (>= 0.14, < 2.0)
7937
json (1.8.3)
8038
loofah (2.0.3)
8139
nokogiri (>= 1.5.9)
82-
mini_portile (0.6.2)
83-
minitest (5.8.1)
84-
nenv (0.2.0)
85-
nokogiri (1.6.6.2)
86-
mini_portile (~> 0.6.0)
40+
mini_portile2 (2.0.0)
41+
minitest (5.8.4)
42+
nokogiri (1.6.7.2)
43+
mini_portile2 (~> 2.0.0.rc2)
8744
rack (1.6.4)
8845
rack-protection (1.5.3)
8946
rack
@@ -96,59 +53,58 @@ GEM
9653
activesupport (>= 4.2.0.beta, < 5.0)
9754
nokogiri (~> 1.6.0)
9855
rails-deprecated_sanitizer (>= 1.0.1)
99-
rails-html-sanitizer (1.0.2)
56+
rails-html-sanitizer (1.0.3)
10057
loofah (~> 2.0)
101-
railties (4.2.4)
102-
actionpack (= 4.2.4)
103-
activesupport (= 4.2.4)
58+
railties (4.2.6)
59+
actionpack (= 4.2.6)
60+
activesupport (= 4.2.6)
10461
rake (>= 0.8.7)
10562
thor (>= 0.18.1, < 2.0)
106-
rake (10.4.2)
107-
redis (3.2.1)
63+
rake (11.1.2)
64+
redis (3.3.0)
10865
redis-namespace (1.5.2)
10966
redis (~> 3.0, >= 3.0.4)
110-
rspec-logsplit (0.1.3)
111-
rufus-scheduler (3.1.5)
112-
sass (3.4.18)
67+
rufus-scheduler (3.2.1)
68+
sass (3.4.22)
11369
sass-rails (5.0.4)
11470
railties (>= 4.0.0, < 5.0)
11571
sass (~> 3.1)
11672
sprockets (>= 2.8, < 4.0)
11773
sprockets-rails (>= 2.0, < 4.0)
11874
tilt (>= 1.1, < 3)
119-
sidekiq (3.5.0)
120-
celluloid (~> 0.17.0)
75+
sidekiq (4.1.2)
76+
concurrent-ruby (~> 1.0)
12177
connection_pool (~> 2.2, >= 2.2.0)
122-
json (~> 1.0)
12378
redis (~> 3.2, >= 3.2.1)
124-
redis-namespace (~> 1.5, >= 1.5.2)
125-
sidekiq-cron (0.3.1)
79+
sidekiq-cron (0.4.2)
80+
redis-namespace (>= 1.5.2)
12681
rufus-scheduler (>= 2.0.24)
127-
sidekiq (>= 2.17.3)
82+
sidekiq (>= 4.0.0)
83+
sidekiq-limit_fetch (3.1.0)
84+
sidekiq (>= 4)
12885
sidekiq_monitor (0.1.7)
12986
jquery-datatables-rails (>= 2.1.10.0.2)
13087
rails-datatables
13188
sidekiq (>= 2.2.1)
13289
slim
133-
sinatra (1.4.6)
134-
rack (~> 1.4)
90+
sinatra (1.4.7)
91+
rack (~> 1.5)
13592
rack-protection (~> 1.4)
13693
tilt (>= 1.3, < 3)
13794
slim (3.0.6)
13895
temple (~> 0.7.3)
13996
tilt (>= 1.3.3, < 2.1)
140-
sprockets (3.3.5)
97+
sprockets (3.6.0)
98+
concurrent-ruby (~> 1.0)
14199
rack (> 1, < 3)
142-
sprockets-rails (2.3.3)
143-
actionpack (>= 3.0)
144-
activesupport (>= 3.0)
145-
sprockets (>= 2.8, < 4.0)
100+
sprockets-rails (3.0.4)
101+
actionpack (>= 4.0)
102+
activesupport (>= 4.0)
103+
sprockets (>= 3.0.0)
146104
temple (0.7.6)
147105
thor (0.19.1)
148106
thread_safe (0.3.5)
149-
tilt (2.0.1)
150-
timers (4.1.1)
151-
hitimes
107+
tilt (2.0.2)
152108
tzinfo (1.2.2)
153109
thread_safe (~> 0.1)
154110

@@ -159,8 +115,9 @@ DEPENDENCIES
159115
redis
160116
sidekiq
161117
sidekiq-cron
118+
sidekiq-limit_fetch
162119
sidekiq_monitor
163120
sinatra
164121

165122
BUNDLED WITH
166-
1.10.6
123+
1.12.3

app/SymfonyRequirements.php

+8-2
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,12 @@ public function __construct()
446446
);
447447
}
448448

449+
$this->addRequirement(
450+
function_exists('iconv'),
451+
'iconv() must be available',
452+
'Install and enable the <strong>iconv</strong> extension.'
453+
);
454+
449455
$this->addRequirement(
450456
function_exists('json_encode'),
451457
'json_encode() must be available',
@@ -546,10 +552,10 @@ function_exists('simplexml_import_dom'),
546552
require_once __DIR__.'/../vendor/autoload.php';
547553

548554
try {
549-
$r = new \ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle');
555+
$r = new ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle');
550556

551557
$contents = file_get_contents(dirname($r->getFileName()).'/Resources/skeleton/app/SymfonyRequirements.php');
552-
} catch (\ReflectionException $e) {
558+
} catch (ReflectionException $e) {
553559
$contents = '';
554560
}
555561
$this->addRecommendation(

app/check.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
$symfonyRequirements = new SymfonyRequirements();
77
$iniPath = $symfonyRequirements->getPhpIniConfigPath();
88

9-
echo_title('Symfony2 Requirements Checker');
9+
echo_title('Symfony Requirements Checker');
1010

1111
echo '> PHP is using the following php.ini file:'.PHP_EOL;
1212
if ($iniPath) {
@@ -42,9 +42,9 @@
4242
}
4343

4444
if ($checkPassed) {
45-
echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects');
45+
echo_block('success', 'OK', 'Your system is ready to run Symfony projects');
4646
} else {
47-
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects');
47+
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony projects');
4848

4949
echo_title('Fix the following mandatory requirements', 'red');
5050

app/workers/do_nothing.php

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
do_nothing.php

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "damjan/symfony2.sidekiq.example.app",
2+
"name": "damjan/symfony2-sidekiq-example-app",
33
"license": "proprietary",
44
"type": "project",
55
"autoload": {
@@ -9,7 +9,7 @@
99
},
1010
"require": {
1111
"php": ">=5.3.9",
12-
"symfony/symfony": "2.7.*",
12+
"symfony/symfony": "2.8.5",
1313
"doctrine/orm": "^2.4.8",
1414
"doctrine/doctrine-bundle": "~1.4",
1515
"symfony/assetic-bundle": "~2.3",
@@ -18,7 +18,7 @@
1818
"sensio/distribution-bundle": "~4.0",
1919
"sensio/framework-extra-bundle": "^3.0.2",
2020
"incenteev/composer-parameter-handler": "~2.0",
21-
"spinx/sidekiq-job-php": "0.1.*"
21+
"spinx/sidekiq-job-php": "^0.1"
2222
},
2323
"require-dev": {
2424
"sensio/generator-bundle": "~2.3"

0 commit comments

Comments
 (0)