view · edit · sidebar · attach · print · history

20160830-migrate-and-prepare-release-davaz-com

<< 20160831-urgent-debug-sandoz-xmlconv-bbmb-ch | Index | 20160829-migrate-davaz-com >>


Summary

  • Fix live editor

Commits / Patches / Pull Requests, Scripts

Index


Improve feature tests

After POST request by ajax, test browser hangs up.
Then I've renamed these tests wich include POST request as `test_xxx`.

Current test suite:

% bundle exec foreman run rake test
Run options: --seed 41615

# Running:

********

Fabulous run in 12.686040s, 0.6306 runs/s, 3.4684 assertions/s.

8 runs, 44 assertions, 0 failures, 0 errors, 0 skips

The following tests must be run by each test case method...

  • test/feature/test_drawings.rb
  • test/feature/test_guestbook.rb
  • test/feature/test_movies.rb
  • test/feature/test_new_art_object.rb
  • test/feature/test_shop.rb
% bundle exec foreman run ruby -I.:test test/features/test_movies.rb -n /test_xxxxxxxx$/

Commis:

Deploy ruby-231

  • Create ywesee/davaz.com repository
  • Setup travis CI

Install gems on production

The production server has a problem for resolving of dns (or network issue).
We cannot use bundler (bundle install fails for many gems).

% sudo ping -c 3 rubygems.org

We have to install all dependencies of gems by hand.
Then I'v created gem install script.

And for other applications on production server.
This script must use same version if gem is in current gem env.

This is application dependencies:

% HACK=no bundle install --without development,test --path .bundle/gems
...
% HACK=no bundle list
Gems included by the bundle:
  * bundler (1.12.5)
  * childprocess (0.5.9)
  * commonwatir (4.0.0)
  * dbd-pg (0.3.9)
  * dbi (0.4.5)
  * deprecated (2.0.1)
  * ffi (1.9.14)
  * ftools (0.0.0)
  * hpricot (0.8.6)
  * htmlgrid (1.1.3)
  * mail (2.6.4)
  * mime-types (3.1)
  * mime-types-data (3.2016.0521)
  * minitest (5.9.0)
  * mysql2 (0.4.4)
  * needle (1.3.0)
  * odba (1.1.2)
  * pg (0.18.4)
  * rack (2.0.1)
  * rake (11.2.2)
  * rclconf (1.0.0)
  * rmagick (2.15.4)
  * rubyzip (1.2.0)
  * sbsm (1.3.0)
  * selenium-webdriver (2.53.4)
  * watir (5.0.0)
  * watir-webdriver (0.9.3)
  * websocket (1.2.3)
  * ydbd-pg (0.5.3)
  * ydbi (0.5.3)
  * yus (1.0.1)

This is gem list on production:

*** LOCAL GEMS ***

bbmb (2.1.0, 2.0.9, 2.0.8, 2.0.7, 2.0.5)
bigdecimal (1.2.8)
bundler (1.12.5)
color (1.8)
deprecated (2.0.1)
did_you_mean (1.0.0)
highline (1.7.8)
hpricot (0.8.6)
htmlgrid (1.1.1)
httpclient (2.8.0)
io-console (0.4.5)
json (1.8.3)
mail (2.6.4)
mime-types (3.1)
mime-types-data (3.2016.0521)
minitest (5.8.3)
needle (1.3.0)
net-telnet (0.1.1)
odba (1.1.2)
pg (0.17.0)
power_assert (0.2.6)
psych (2.0.17)
rack (2.0.1)
rake (10.4.2)
rclconf (1.0.0)
rdoc (4.2.1)
rmail (1.1.2)
rrba (1.0.0)
sandoz.bbmb.ch (1.0.0)
sbsm (1.2.9, 1.2.8)
soap (1.0.2)
soap4r (1.5.8)
syck (1.1.0)
test-unit (3.1.5)
transaction-simple (1.4.0.2)
xmlconv (1.0.9, 1.0.8, 1.0.7)
ydbd-pg (0.5.3)
ydbi (0.5.3)
ydim (1.0.3)
ypdf-writer (1.3.3)
yus (1.0.4)

This is install script using gem command.

Attach:davaz-com-gem-install-20160830.sh.txt

Fix header of gallery result table

Table header is broken.

Then I've fixed it. (CSS_ID of HtmlGrid)

Commits:

view · edit · sidebar · attach · print · history
Page last modified on August 30, 2016, at 05:31 PM