From fd0e3839ff5dd4b15e513daba0fa9651d75d1a06 Mon Sep 17 00:00:00 2001 From: Alessandro Lepore Date: Sun, 27 Jan 2013 00:48:41 +0100 Subject: [PATCH 1/3] better locomotive match --- share/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/apps.json b/share/apps.json index 4ad4503d2..75de541a5 100644 --- a/share/apps.json +++ b/share/apps.json @@ -989,7 +989,7 @@ }, "Locomotive": { "cats": [ 1 ], - "html": "\/sites\/[a-zA-Z0-9]{24}\/theme\/stylesheets\/", + "html": "<.*\/sites\/[a-zA-Z0-9]{24}\/theme\/stylesheets\/.*>", "implies": [ "Ruby", "Ruby on Rails", "MongoDB" ] }, "Lotus Domino": { From 8afd3ad6dc2bbeffc0d9a5c66b521d60bcfb4efd Mon Sep 17 00:00:00 2001 From: Alessandro Lepore Date: Sun, 27 Jan 2013 01:10:51 +0100 Subject: [PATCH 2/3] adds Spree Commerce --- share/apps.json | 8 ++++++++ share/images/icons/Spree.png | Bin 0 -> 554 bytes 2 files changed, 8 insertions(+) create mode 100644 share/images/icons/Spree.png diff --git a/share/apps.json b/share/apps.json index 75de541a5..e0a9f1b70 100644 --- a/share/apps.json +++ b/share/apps.json @@ -1626,6 +1626,14 @@ "meta": { "generator": "(^|\\s)SPIP(\\s([\\d\\.]+(\\s\\[\\d+\\])?))?\\;version:\\3" }, "headers": { "X-Spip-Cache": ".*" } }, + "Spree": { + "cats": [ 6 ], + "html": "<.*\/spree\/products\/[0-9]+\/.*>", + "html": "", + "html": "<.*Powered by.+spree.*>;confidence:50", + "html": "<.*href=\"\/t\/.*>;confidence:50", + "implies": [ "Ruby", "Ruby on Rails"] + }, "SQL Buddy": { "cats": [ 3 ], "html": "(SQL Buddy|<[^>]+onclick=\\\"sideMainClick\\(\\\"home\\.php)" diff --git a/share/images/icons/Spree.png b/share/images/icons/Spree.png new file mode 100644 index 0000000000000000000000000000000000000000..88b593baf9636fee9c06e2d4bdff018a61c15852 GIT binary patch literal 554 zcmV+_0@eMAP)|5BfBN=D^5orh zrPB{2KLxShetxV*v;jAs9}k+mH|*=OlU0X61}r>Qbbj^ef|Ga+SakexQsL^W)2lYz z>3sa|gVL_6y$gGH2LA8a8T5bF!N|AwUf;D?bmCFcs+Dt#J7w|3 zrB{G1AAOkafBgn0;j<54TJ5@eJ&I@-?7uN>%Hdl}n}7WJ$^+s* zcyr!m)A{ Date: Sun, 27 Jan 2013 10:14:49 +0100 Subject: [PATCH 3/3] spree cleanup --- share/apps.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/share/apps.json b/share/apps.json index 71756e235..b43790a42 100644 --- a/share/apps.json +++ b/share/apps.json @@ -1639,10 +1639,8 @@ }, "Spree": { "cats": [ 6 ], - "html": "<.*\/spree\/products\/[0-9]+\/.*>", - "html": "", - "html": "<.*Powered by.+spree.*>;confidence:50", - "html": "<.*href=\"\/t\/.*>;confidence:50", + "html": "<.+\/spree\/products\/[0-9]+\/.+>", + "html": "<.+href=.\/assets\/store\/all\-[a-zA-Z0-9]{32}\.css.+>", "implies": [ "Ruby", "Ruby on Rails"] }, "SQL Buddy": {