foundationstone 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/sidekiq.rb +1 -1
- data/config/routes.rb +1 -1
- data/lib/foundationstone/version.rb +1 -1
- data/test/dummy/log/test.log +109 -0
- data/test/dummy/tmp/cache/assets/test/sass/4e027e2ac3c671895640693424e1de0ee4e49722/dummy.css.sassc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/ca2a69ccdf73e5da0a284061230e0463f00cf860/application.css.sassc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/50c1885539f61359c48af74fcae1df31 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6c3e053393afe303432ca73f1b41490b +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c5880aca76ccbb51f9388362e8afc1e6 +0 -0
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 515bb02224323620be6c4bbfdea72588cbcb0ac3
|
4
|
+
data.tar.gz: c818148e478b151b88291c67dee6dcf9a7c0775f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8e9c2797c8fc323f35aeba379876e833007733beb60be3903366914a91110429d8568c5be204b2c99414222c7f41ddbf53836ee9cea620fadc07a6cd3f947a0
|
7
|
+
data.tar.gz: dd6692c7be4dfebac533b03cce8b9ae31e356e6df9b765a0c6aed79468bc2448d90097e57005b531e5ce070f3245048f28ab03be80a80b8597b53d0bb3627af8
|
@@ -1,7 +1,7 @@
|
|
1
1
|
if defined? Sidekiq
|
2
2
|
Sidekiq::Web.use(Rack::Auth::Basic) do |user, password|
|
3
3
|
[user, password] == [Foundationstone::Config.sidekiq_login, Foundationstone::Config.sidekiq_pass]
|
4
|
-
end
|
4
|
+
end if defined?(Sidekiq::Web)
|
5
5
|
|
6
6
|
Sidekiq.configure_server do |config|
|
7
7
|
config.redis = { url: 'redis://localhost:6379/0', namespace: "project:#{Foundationstone::Config.unique_name.parameterize}" }
|
data/config/routes.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Foundationstone::Engine.routes.draw do
|
2
2
|
scope '(:locale)', locale: Regexp.new(I18n.available_locales.join('|')) do
|
3
|
-
mount Sidekiq::Web => '/sidekiq' if defined? Sidekiq
|
3
|
+
mount Sidekiq::Web => '/sidekiq' if defined? Sidekiq::Web
|
4
4
|
mount Ckeditor::Engine => '/ckeditor' if defined? Ckeditor
|
5
5
|
mount RailsAdmin::Engine => '/admin', as: 'rails_admin' if defined? RailsAdmin
|
6
6
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -3881,3 +3881,112 @@ Processing by WelcomeController#index as HTML
|
|
3881
3881
|
Rendered /Users/jirikolarik/Documents/Ruby/engines/foundationstone/app/views/layouts/_layout.html.haml (6.5ms)
|
3882
3882
|
Completed 200 OK in 29ms (Views: 29.1ms | ActiveRecord: 0.0ms)
|
3883
3883
|
[1m[35m (0.1ms)[0m rollback transaction
|
3884
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3885
|
+
------------------------------------------------------------------
|
3886
|
+
Foundationstone::ApplicationHelper: test_0001_should generate icon
|
3887
|
+
------------------------------------------------------------------
|
3888
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3890
|
+
-----------------------------------------------------------------------
|
3891
|
+
Foundationstone::ApplicationHelper: test_0002_should generate glyphicon
|
3892
|
+
-----------------------------------------------------------------------
|
3893
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3895
|
+
--------------------------------------------------------------------------
|
3896
|
+
Foundationstone::ApplicationHelper: test_0003_should generate icon in span
|
3897
|
+
--------------------------------------------------------------------------
|
3898
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3899
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3900
|
+
---------------------------------------------------------------------------
|
3901
|
+
Foundationstone::ApplicationHelper: test_0004_should work with shorter name
|
3902
|
+
---------------------------------------------------------------------------
|
3903
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3905
|
+
------------------------------------------------------------------------------
|
3906
|
+
Foundationstone::ApplicationHelper: test_0005_should generate icon before text
|
3907
|
+
------------------------------------------------------------------------------
|
3908
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3910
|
+
---------------------------------------------------------------------------
|
3911
|
+
Foundationstone::ApplicationHelper: test_0006_should work with shorter name
|
3912
|
+
---------------------------------------------------------------------------
|
3913
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3915
|
+
---------------------------------------------------------------------------
|
3916
|
+
Foundationstone::ApplicationHelper: test_0007_should work with shorter name
|
3917
|
+
---------------------------------------------------------------------------
|
3918
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3919
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3920
|
+
--------------------------------------------------------------------------------
|
3921
|
+
Foundationstone::ApplicationHelper: test_0008_should extract text from html tags
|
3922
|
+
--------------------------------------------------------------------------------
|
3923
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3925
|
+
--------------------------------------------------------------------------------
|
3926
|
+
Foundationstone::ApplicationHelper: test_0009_should generate true of false icon
|
3927
|
+
--------------------------------------------------------------------------------
|
3928
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3930
|
+
--------------------------------------------------------------------------
|
3931
|
+
Foundationstone::ApplicationHelper: test_0010_should generate current date
|
3932
|
+
--------------------------------------------------------------------------
|
3933
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3935
|
+
-----------------------------------------------------------------------------
|
3936
|
+
Foundationstone::ApplicationHelper: test_0011_should generate bootstrap flash
|
3937
|
+
-----------------------------------------------------------------------------
|
3938
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3940
|
+
---------------------------------------------------------------------
|
3941
|
+
Foundationstone::ApplicationHelper: test_0012_shouldn't show anything
|
3942
|
+
---------------------------------------------------------------------
|
3943
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3945
|
+
-------------------------------------------------------------------------------
|
3946
|
+
Foundationstone::ApplicationHelper: test_0013_should show google analytics code
|
3947
|
+
-------------------------------------------------------------------------------
|
3948
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3949
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3950
|
+
---------------------------------------------------------------------
|
3951
|
+
Foundationstone::ApplicationHelper: test_0014_should return divisible
|
3952
|
+
---------------------------------------------------------------------
|
3953
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3955
|
+
---------------------------------------------------------------------
|
3956
|
+
Foundationstone::ApplicationHelper: test_0015_should return divisible
|
3957
|
+
---------------------------------------------------------------------
|
3958
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3959
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3960
|
+
-------------------------------
|
3961
|
+
FoundationstoneTest: test_truth
|
3962
|
+
-------------------------------
|
3963
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3965
|
+
-------------------------------------------------------
|
3966
|
+
Rails Admin Feature: test_0001_must access to dashboard
|
3967
|
+
-------------------------------------------------------
|
3968
|
+
Started GET "/foundationstone/admin/" for 127.0.0.1 at 2014-03-25 22:16:13 +0100
|
3969
|
+
Processing by RailsAdmin::MainController#dashboard as HTML
|
3970
|
+
Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.1/gems/rails_admin-0.6.1/app/views/layouts/rails_admin/_secondary_navigation.html.haml (3.1ms)
|
3971
|
+
Completed 200 OK in 92ms (Views: 81.9ms | ActiveRecord: 0.0ms)
|
3972
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3973
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3974
|
+
-----------------------------------------------------------------
|
3975
|
+
Rails Admin Feature: test_0002_must access to localized dashboard
|
3976
|
+
-----------------------------------------------------------------
|
3977
|
+
Started GET "/foundationstone/cs/admin/" for 127.0.0.1 at 2014-03-25 22:16:14 +0100
|
3978
|
+
Processing by RailsAdmin::MainController#dashboard as HTML
|
3979
|
+
Parameters: {"locale"=>"cs"}
|
3980
|
+
Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.1/gems/rails_admin-0.6.1/app/views/layouts/rails_admin/_secondary_navigation.html.haml (2.8ms)
|
3981
|
+
Completed 200 OK in 28ms (Views: 27.3ms | ActiveRecord: 0.0ms)
|
3982
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3983
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3984
|
+
--------------------------------------------
|
3985
|
+
WelcomeControllerTest: test_should_get_index
|
3986
|
+
--------------------------------------------
|
3987
|
+
Processing by WelcomeController#index as HTML
|
3988
|
+
Rendered /Users/jirikolarik/Documents/Ruby/engines/foundationstone/app/views/layouts/_header.html.haml (0.8ms)
|
3989
|
+
Rendered /Users/jirikolarik/Documents/Ruby/engines/foundationstone/app/views/layouts/_footer.html.haml (0.7ms)
|
3990
|
+
Rendered /Users/jirikolarik/Documents/Ruby/engines/foundationstone/app/views/layouts/_layout.html.haml (6.7ms)
|
3991
|
+
Completed 200 OK in 2358ms (Views: 2357.3ms | ActiveRecord: 0.0ms)
|
3992
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
data/test/dummy/tmp/cache/assets/test/sass/4e027e2ac3c671895640693424e1de0ee4e49722/dummy.css.sassc
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foundationstone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jiri Kolarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.0.0
|
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:
|
26
|
+
version: 4.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails-i18n
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: route_translator
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: tuberack
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -550,6 +550,7 @@ files:
|
|
550
550
|
- test/dummy/tmp/cache/assets/test/sass/00c4efb48bdfb2221873a7edb37b2b8050be5827/theming.scssc
|
551
551
|
- test/dummy/tmp/cache/assets/test/sass/00c4efb48bdfb2221873a7edb37b2b8050be5827/variables.scssc
|
552
552
|
- test/dummy/tmp/cache/assets/test/sass/129e745337218e68bb50753c4332120eb914c8bc/bootstrap.scssc
|
553
|
+
- test/dummy/tmp/cache/assets/test/sass/4e027e2ac3c671895640693424e1de0ee4e49722/dummy.css.sassc
|
553
554
|
- test/dummy/tmp/cache/assets/test/sass/5bad8bf80d8585675f8fe6c22f1f8b1bdf5fce5f/dummy.css.sassc
|
554
555
|
- test/dummy/tmp/cache/assets/test/sass/767f0a9682d52bf1534012c292092fdb00795b65/jquery.colorpicker.scssc
|
555
556
|
- test/dummy/tmp/cache/assets/test/sass/767f0a9682d52bf1534012c292092fdb00795b65/jquery.ui.timepicker.scssc
|
@@ -1226,6 +1227,7 @@ test_files:
|
|
1226
1227
|
- test/dummy/tmp/cache/assets/test/sass/00c4efb48bdfb2221873a7edb37b2b8050be5827/theming.scssc
|
1227
1228
|
- test/dummy/tmp/cache/assets/test/sass/00c4efb48bdfb2221873a7edb37b2b8050be5827/variables.scssc
|
1228
1229
|
- test/dummy/tmp/cache/assets/test/sass/129e745337218e68bb50753c4332120eb914c8bc/bootstrap.scssc
|
1230
|
+
- test/dummy/tmp/cache/assets/test/sass/4e027e2ac3c671895640693424e1de0ee4e49722/dummy.css.sassc
|
1229
1231
|
- test/dummy/tmp/cache/assets/test/sass/5bad8bf80d8585675f8fe6c22f1f8b1bdf5fce5f/dummy.css.sassc
|
1230
1232
|
- test/dummy/tmp/cache/assets/test/sass/767f0a9682d52bf1534012c292092fdb00795b65/jquery.colorpicker.scssc
|
1231
1233
|
- test/dummy/tmp/cache/assets/test/sass/767f0a9682d52bf1534012c292092fdb00795b65/jquery.ui.timepicker.scssc
|