profile
viewpoint

Systho/apn_on_rails 2

Apple Push Notifications on Rails

Systho/c2dm-rails 2

c2dm sends push notifications to Android devices via google c2dm.

Systho/rails_apps_composer 1

A version of the RailsWizard gem with custom recipes for Rails starter apps.

Systho/aasm 0

AASM - State machines for Ruby classes

Systho/active_admin 0

The administration framework for Ruby on Rails applications.

Systho/ancestry 0

Organise ActiveRecord model into a tree structure

Systho/anycable_rails_demo 0

AnyCable Rails demo application and its different variations

Systho/apipie-rails 0

Rails API documentation tool

push eventSystho/rubymine-settings

Systho

commit sha 7d04f0b9d1fc9a8b93ea17306c1a70c941301bc1

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 days

push eventSystho/rubymine-settings

Systho

commit sha 206e8f3b557fab6ab43d5d6143fb68faa7daf589

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 37bacfe7c11ec3b5efb4e3eb9bfbe048066b881e

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 days

push eventSystho/rubymine-settings

Systho

commit sha cb4dc066c32bef14712917147d810d8cdd1fd954

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha e95f3dde31a76c2114147b53e99a0889bb38ee6d

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha ea8fe2c1e33ae8d6d60a1ade271c2567c082057b

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 3 days

push eventSystho/rubymine-settings

Systho

commit sha 1603c24da76e4f646e97cfa9a44c8c295bd2bfe0

RM-2020.2.1 <pve@pve-laptop Update usageView.xml

view details

Systho

commit sha 6914dbb2d0bbda5cae8d8b311a9ba811ed41303c

RM-2020.2.1 <pve@pve-laptop Update usageView.xml

view details

Systho

commit sha fe0c8fa37628e0e96201deada19137b38d38959e

RM-2020.2.1 <pve@pve-laptop Update usageView.xml

view details

Systho

commit sha 97ac6d5f6be54d3a91770161bf3364c417686fec

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 591da202ebc09dfe83e0c55eb4626173edfeeb5d

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 14 days

pull request commentanycable/anycable_rails_demo

Improve precompilation skip logic

I must admit that I do not know the internal of Sprockets and Webpacker enough to use the builtin stale check. Can you point me towards some references about these ?

I'll fix the rubocop offenses at the same time :)

Systho

comment created time in 22 days

push eventSystho/rubymine-settings

Systho

commit sha f2dd10ebfb3d0a299cfe4d8c9a933e8d8d626b24

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 5ce4583637f561439940aff51093108ba32b8486

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 44cb398e809d8f69db5900110d80f77a3a9b01e1

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 22 days

PR opened anycable/anycable_rails_demo

Improve precompilation skip logic

I did not know where to put this suggestions but considering your blog post references this file I'm making a PR here :)

This change is a more robust way of detecting if a system test has been selected because it will work with all the filtering techniques of rspec, not only the tag mechanism. It is negligeably slower than your previous mechanism but much more robust.

On my project, I'm also using this second check for onlyprecompiling if a change has happened. It is relying on gfind being available on macos system and therefore I cannot suggets it as a PR, but maybe you'll find this useful nonetheless :

    find_command = RUBY_PLATFORM =~ /darwin/ ? 'gfind' : 'find'
    rails_config = Rails.application.config
    find_latest_mtime = ->(paths) do
      paths_mtime_and_files = paths.map do |path|
        next nil unless Pathname(path).exist?
        latest_mtime_and_file = `#{find_command} '#{path}' -type f -printf '%T@\t%p\n' | sort -r -k1 | head -n1`
        latest_mtime_and_file
      end
      paths_mtime_and_files.compact.max
    end

    sprockets_paths = rails_config.assets.paths
    assets_paths = sprockets_paths + [ Webpacker.config.source_path ]
    latest_assets_mtime_and_file = find_latest_mtime.(assets_paths)

    public_path = rails_config.paths['public'].first
    compiled_asset_paths = [
      public_path + rails_config.assets.prefix,
      Webpacker.config.public_output_path.to_s,
    ]
    latest_compiled_assets_mtime_and_file = find_latest_mtime.(compiled_asset_paths)

...

...
    elsif latest_assets_mtime_and_file < latest_compiled_assets_mtime_and_file
      $stdout.puts "\n🚀   No need to recompile, latest assets are no more recent than latest compiled assets.\n"
      next
    else
...

I'm checking both sprockets and webpacker output directories because I'm running assets:precompile and not only webpacker:compile but feel free to adapt :)

+8 -2

0 comment

1 changed file

pr created time in 22 days

push eventSystho/anycable_rails_demo

Systho

commit sha 98e314d9f43c38f4b5cf2dc5678a5d8a0a834bfc

Improve precompilation skip logic I did not know where to put this suggestions but considering your blog post references this file I'm making a PR here :) This change is a more robust way of detecting if a system test has been selected because it will work with all the filtering techniques of rspec, not only the tag mechanism. It is negligeably slower than your previous mechanism but much more robust. On my project, I'm also using this second check for onlyprecompiling if a change has happened. It is relying on `gfind` being available on macos system and therefore I cannot suggets it as a PR, but maybe you'll find this useful nonetheless : ``` find_command = RUBY_PLATFORM =~ /darwin/ ? 'gfind' : 'find' rails_config = Rails.application.config find_latest_mtime = ->(paths) do paths_mtime_and_files = paths.map do |path| next nil unless Pathname(path).exist? latest_mtime_and_file = `#{find_command} '#{path}' -type f -printf '%T@\t%p\n' | sort -r -k1 | head -n1` latest_mtime_and_file end paths_mtime_and_files.compact.max end sprockets_paths = rails_config.assets.paths assets_paths = sprockets_paths + [ Webpacker.config.source_path ] latest_assets_mtime_and_file = find_latest_mtime.(assets_paths) public_path = rails_config.paths['public'].first compiled_asset_paths = [ public_path + rails_config.assets.prefix, Webpacker.config.public_output_path.to_s, ] latest_compiled_assets_mtime_and_file = find_latest_mtime.(compiled_asset_paths) ``` ... ``` ... elsif latest_assets_mtime_and_file < latest_compiled_assets_mtime_and_file $stdout.puts "\n🚀 No need to recompile, latest assets are no more recent than latest compiled assets.\n" next else ... ``` I'm checking both sprockets and webpacker output directories because I'm running `assets:precompile` and not only `webpacker:compile` but feel free to adapt :)

view details

push time in 22 days

fork Systho/anycable_rails_demo

AnyCable Rails demo application and its different variations

http://demo.anycable.io/

fork in 22 days

push eventSystho/rubymine-settings

Systho

commit sha 7ec0d1d2d0108f40b180121585b95dd84531b34d

RM-2020.2.1 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 23 days

push eventSystho/rubymine-settings

Systho

commit sha 5704e6844c789d2204cba6f86ab10858152c5af7

RM-2020.2 <pve@pve-laptop Update filetypes.xml

view details

push time in 24 days

push eventSystho/rubymine-settings

Systho

commit sha 6af65342e460120fcf84184e810aa4b948b06871

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 6e403a875f6d32b07ddc744c124d4659f6a8293b

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 3622e99e2dbdbe81ae53f8a78140103a1f44eea9

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in a month

push eventSystho/rubymine-settings

Systho

commit sha 0b505ae6c930e454238b3a8d60feec6d3f9dedb1

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha a65cd73c42157d3a0f1b311bdc2cc08736c3d1e2

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha c1a157d7694b66687012532425beec8cfd4edb2d

RM-2020.2 <pve@pve-laptop Update find.xml, applicationLibraries.xml

view details

Systho

commit sha 207a26611851c5c4515ec41ae800d88f65d3dc54

RM-2020.2 <pve@pve-laptop Update find.xml, applicationLibraries.xml

view details

Systho

commit sha 3cc9dc954e8c31c973232e557d61a12331603035

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 046a2b1adfa27b815d5d2e7c725f182e1d937507

RM-2020.2 <pve@pve-laptop Update find.xml

view details

Systho

commit sha 237a33356b72eb469559c8c9488667e774e6fa61

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha c724accd23e2390d4e0c7042bb4e27d44d7b89bd

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha b669e896106f6970077cba666635372ee1d2b12f

RM-2020.2 <pve@pve-laptop Update find.xml

view details

Systho

commit sha ba55525296c3d16ba6779b2725bc67ff21b185b7

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 17a02b19d2bfba0962c3c993433415496965c46c

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in a month

issue commentrubycdp/ferrum

How to handle or circumvent Ferrum::BrowserError "Could not compute content quads."?

@alexanderadam

Any chance you'd be willing to share your fix and/or your investigation about it ?

alexanderadam

comment created time in a month

push eventSystho/rubymine-settings

Systho

commit sha cf20f923d8d295cef76529032f62585c27ae6aa5

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in a month

push eventSystho/rubymine-settings

Systho

commit sha d5e6e34274e88a32877556cb217653c1769da87a

RM-2020.2 <pve@pve-laptop Update markdown.xml

view details

Systho

commit sha f2d619567c3ef66b0653f0b1c5c3628dc385d211

RM-2020.2 <pve@pve-laptop Create tasks.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha d96b81d5ff7a7922fc2cac8f8b47e0c2171c504e

RM-2020.2 <pve@pve-laptop Update filetypes.xml, applicationLibraries.xml, editor.xml, github.xml Delete workspace.xml

view details

Systho

commit sha f73cfbb8fa5ad5e29fab76848c21ea2a17aebc53

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 5c9fad8845c7d9d306a3876b4709053b13bbe7a2

RM-2020.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha dd610524fb1e9b2cc7982f427847069bef31fef7

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha e153ed22b67f0e6ebf1da362e14bf25e3f698871

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 15ecf8fc71b30cf31ab941b35dd157350ef5722f

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha 8bfab6c92b0ee2470b3f80bff6221c065d7362b4

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 2bab37edfc8cf018f6149b99a8e9192555e8e9e7

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 73c7d878790935f9b265cd3f28641b4680a1f5ed

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 67d26dda525881a5ec679d62c3f6adfdd302990b

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 54e0a8d02978ea2fcd723c9fbc92a14fa779cef6

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 4d29707eb2dc4e54e65e8c2abc9a62bfb3822aec

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha e2b81cab0b1cbaed4c7483eed6ba4f86a7fe1218

RM-2020.1.4 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha be6fa71eb984406c8779b3c577b49fc16d5a9501

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha 0203e41f87e861b79d7905d1d864154cf6da759a

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha 000baecf2a3c1aba2457152b28fa9ac9cd4370d0

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 33a4c303b591b2d1c0d88bdc7a5661873945d1b3

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha c088bc0f7557555327dcaf9d5d3d67d475598278

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha d5bdbbfafb1e8bf6e82ee6f5f57477280debba78

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha 89626106b6bc3a73440f4e7fa306cb42aedce491

RM-2020.1.3 <pve@pve-laptop Update find.xml

view details

Systho

commit sha 3ab16f71ae6765dc069d1e135a0c45ce710400f8

RM-2020.1.3 <pve@pve-laptop Update find.xml, filetypes.xml, applicationLibraries.xml

view details

Systho

commit sha 87c26cf8f687acff0cbbb67e65de3f86bf279c1e

RM-2020.1.3 <pve@pve-laptop Update find.xml

view details

Systho

commit sha 9ae5912f7931cfc52c374a3ac7306946262da8c5

RM-2020.1.3 <pve@pve-laptop Update find.xml

view details

Systho

commit sha a0655d1b7d6b1423854b79e0da35369b77c1cdc5

RM-2020.1.3 <pve@pve-laptop Update filetypes.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha 6c42de9ea85729795790997298ccd62fd5c14bfe

RM-2020.1.3 <pve@pve-laptop Update find.xml, applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha b344e84a5e39d03edbc1b8805614af9dd53b2e29

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha da26a6f127fb10b8d2c37da14838e55a609a2add

RM-2020.1.3 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha d26db57daa28921b7b889dc7db32a0d565cd8eb1

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha dddfd7d8db407641bae88bde07fda81ab8c70729

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha c9eb9efec568937214443a5743e2b99b259ede71

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 27cb764e21b92843ec1fca5bbc715fc39c16815b

RM-2020.1.2 <pve@pve-laptop Update find.xml

view details

push time in 2 months

push eventSystho/rubymine-settings

Systho

commit sha 92a15293ff9acf47ad379ad88a412b270e491736

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 3 months

push eventSystho/rubymine-settings

Systho

commit sha e916536525f38ff32cce0c35e990c22191ecc9f7

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha e8cdfbbc8b56da75f54c803485f24965e06d83d0

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 3 months

push eventSystho/rubymine-settings

Systho

commit sha b8630501360f28650b2155dfa83e0cceae0a6242

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 198c9d461bf7c1ee15620c0f099ea1b6e99de5fe

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 7d783cfa03102e1e18c28fe4456572abf5cc8410

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha e31680de5ba6a210a76423bb872b270d9208d4b6

RM-2020.1.2 <pve@pve-laptop Update find.xml

view details

Systho

commit sha 0abc7ad17b2c8255daafe32620b8fa0bb5a75df3

RM-2020.1.2 <pve@pve-laptop Update find.xml

view details

Systho

commit sha 16c2a7bff71c0e61fb3c840ff5b3b9356e49d2b2

RM-2020.1.2 <pve@pve-laptop Update find.xml

view details

Systho

commit sha 19864a8176a51e171eebbe883dfb37fdf2845171

RM-2020.1.2 <pve@pve-laptop Update find.xml

view details

push time in 3 months

push eventSystho/rubymine-settings

Systho

commit sha 23235965a02697ec7464474551f2b559ba69fb55

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha ecb0ac7cab2880a4e31650deb3afc1eb2a5cffc8

RM-2020.1.2 <pve@pve-laptop Update find.xml

view details

push time in 3 months

push eventSystho/rubymine-settings

Systho

commit sha a3dc319d24f6f809898ba036ac77bcb1b20e53a5

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 3 months

push eventSystho/rubymine-settings

Systho

commit sha 4d17041487c5b43c1f71c648730340a0660fcc4d

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 3 months

push eventSystho/rubymine-settings

Systho

commit sha 831a71841cc684e10e79589afd2e2c8ef4ca63a8

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha d221318797d01b909c18adc4f0ce58909633543c

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha f06ef5393494c2f4fa65dbc4512c73577adc2635

RM-2020.1.2 <pve@pve-laptop Update filetypes.xml

view details

Systho

commit sha 7766076afd9b13b2312e59d22d6df87f2ce763ff

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 3 months

push eventSystho/rubymine-settings

Systho

commit sha adde405ee1f3e63364c65909c06f41c39b00b8a5

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha ad7637ff179b5666126ed31a0648c6476ea762a4

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 7d4ea9277713f709297206147ead52fc997f74c3

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

Systho

commit sha 67d9b8ed1bf1ee49b85e9ddbb4ddaa1626df5410

RM-2020.1.2 <pve@pve-laptop Update applicationLibraries.xml

view details

push time in 3 months

more