ddfreyne changed the topic of #nanoc to: 3.7.3 (August 31th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
tom[] has joined #nanoc
tom[] has quit [Ping timeout: 260 seconds]
jugglinmike has quit [Quit: Leaving.]
tom[] has joined #nanoc
VitamineD has quit [Read error: Connection reset by peer]
VitamineD has joined #nanoc
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 252 seconds]
alerante has joined #nanoc
alerante has quit [Ping timeout: 260 seconds]
<travis-ci> [travis-ci] nanoc/nanoc/release-3.7.x a442c7a Denis Defreyne: The build was broken.
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pkunc has joined #nanoc
<travis-ci> [travis-ci] nanoc/nanoc/master 7f2b9b1 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/release-3.7.x d7a9b7e Denis Defreyne: The build was fixed.
<travis-ci> [travis-ci] nanoc/nanoc/rm-rf-instead-of-remove-entry-secure ff596cd Denis Defreyne: The build failed.
alerante has joined #nanoc
alerante has quit [Ping timeout: 255 seconds]
<travis-ci> [travis-ci] nanoc/nanoc/rm-rf-instead-of-remove-entry-secure aeb7115 Denis Defreyne: The build was fixed.
pkunc has quit [Quit: Leaving.]
<guardian> ddfreyne: https://github.com/nanoc/nanoc/pull/474 TOCTTOU link is broken
<ddfreyne> guardian: Fixed
francois2 has quit [Excess Flood]
francois2 has joined #nanoc
<guardian> ddfreyne: glad you like the configurable commands dir
<guardian> ddfreyne: with this, my "nanoc factory" is going to be complete I think
<ddfreyne> Nice :)
<ddfreyne> OK, I need some :+1:s!
<guardian> I'm sorry, can't review right now, I'm at work while being on holidays since yesterday night
<ddfreyne> Oh yikes :(
<guardian> finished by own tasks but I offered help to others, so I'm finishing this as well :)
<guardian> it's ok in 4 hours I'll be in a swimming pool
<travis-ci> [travis-ci] nanoc/nanoc/better-style 7385ceb Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/master 892adb9 Denis Defreyne: The build passed.
number-six has quit [Ping timeout: 260 seconds]
<travis-ci> [travis-ci] nanoc/nanoc/master 893d67a Denis Defreyne: The build passed.
number-six has joined #nanoc
alerante has joined #nanoc
pkunc has joined #nanoc
<bobbens> I'm trying to get width/heights of images I'm compiling and thus actively resizing and stuff
<bobbens> since you can't get the compiled content of binary items, how would you get this? the problem is they're not being compiled before the markdown
<bobbens> so if I try to access the output directly, it's not created yet. Is it possible to force the images to be compiled and routed first?
<ddfreyne> bobbens: You can access the input filename, and do something with that.
<ddfreyne> That should do the trick for you
<bobbens> well the thing is you want to access the compiled one
<bobbens> because the input file is like 500x300, but it'll be compiled so that maybe it's 100x60
<bobbens> and you want to ge the 100x60 value, not 500x300
alerante has quit [Remote host closed the connection]
alerante has joined #nanoc
alerante has quit [Ping timeout: 276 seconds]
pkunc has quit [Quit: Leaving.]
jugglinmike has joined #nanoc
alerante has joined #nanoc
ldk has quit [Ping timeout: 252 seconds]
jugglinmike has quit [*.net *.split]
jugglinmike has joined #nanoc
ldk has joined #nanoc
pkunc has joined #nanoc
<guardian> bobbens: you might find one of my helpers interesting: http://pastebin.com/ZgYkHgqx -- it's meant to be called with erb filtering, like in the middle of a markdown document you write <%= image('foo', { :align => :right }) %> and it's going to find an image named "foo.xxx" what ever ".xxx" is (could be e.g. ".png" or ".jpg")
<guardian> bobbens: the helper assumes there are 3 reps for an image: :teaser, :default, :original
<guardian> bobbens: :teaser and :default are resized images, :original is the original unscaled image
<guardian> bobbens: :teaser is typically a 128x128 or 256x256 thumbnail, while :default corresponds to an image resized to match site layout's contraints
<guardian> bobbens: and line 27 and 28 of that helper use rmagick to get the dimensions of the image
<bobbens> if I read it right, you're using raw_path?
<bobbens> how does that work if it's not compiled yet?
<bobbens> I mean the reps are generated with imagemagick right?
ics has joined #nanoc
ics has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pkunc has quit [Quit: Leaving.]
jugglinmike has quit [Quit: Leaving.]