00:03
supermarin has quit [Read error: Connection reset by peer]
00:04
supermarin has joined #opal
00:07
Liothen has joined #opal
00:10
GitHub53 has joined #opal
00:10
<
GitHub53 >
opal-rails/master 188e2a4 Elia Schito: Opal 0.6 is out!
00:10
<
GitHub53 >
opal-rails/master aea2468 Elia Schito: Add the #opal_tag helper
00:10
GitHub53 has left #opal [#opal]
00:25
GitHub35 has joined #opal
00:25
GitHub35 has left #opal [#opal]
00:25
<
GitHub35 >
opal-rails/master 6d25fde Elia Schito: Update to latest ruby 2.1...
00:28
GitHub166 has joined #opal
00:28
<
GitHub166 >
opal-rails/master 41c7d18 Elia Schito: Bump version...
00:28
GitHub166 has left #opal [#opal]
00:28
GitHub38 has joined #opal
00:28
GitHub38 has left #opal [#opal]
00:37
GitHub108 has joined #opal
00:37
<
GitHub108 >
opal/gh-pages 30a7701 Elia Schito: v0.6.0
00:37
GitHub108 has left #opal [#opal]
00:38
GitHub121 has joined #opal
00:38
<
GitHub121 >
opal/gh-pages 2830ef4 Elia Schito: v0.6.0
00:38
GitHub121 has left #opal [#opal]
00:39
GitHub82 has joined #opal
00:39
<
GitHub82 >
opal/gh-pages 2d6d052 Elia Schito: v0.6.0
00:39
GitHub82 has left #opal [#opal]
00:59
elia has quit [Quit: Computer has gone to sleep.]
01:21
meh` has quit [Ping timeout: 244 seconds]
01:27
ryanstout has quit [Quit: ryanstout]
01:40
e_dub has joined #opal
01:41
Steve445 has joined #opal
01:47
ryanstout has joined #opal
02:02
fkchang has quit [Ping timeout: 264 seconds]
02:02
Steve445 has quit [Quit: Steve445]
02:03
Kilo`byte has quit [Ping timeout: 240 seconds]
02:06
Kilo`byte has joined #opal
02:10
lacrosse_ has quit [Ping timeout: 240 seconds]
02:12
kludge` has quit [Ping timeout: 240 seconds]
02:12
lacrosse_ has joined #opal
02:13
kludge` has joined #opal
02:24
brixen_ has joined #opal
02:24
[o__o] has quit [Ping timeout: 265 seconds]
02:25
Liothen has quit [Ping timeout: 265 seconds]
02:25
brixen has quit [Ping timeout: 265 seconds]
02:25
oldfartdeveloper has quit [Ping timeout: 265 seconds]
02:33
edub has joined #opal
02:35
e_dub has quit [*.net *.split]
02:35
lacrosse_ has quit [*.net *.split]
03:06
kludge` has quit [Ping timeout: 244 seconds]
03:06
Kilo`byte has quit [Ping timeout: 244 seconds]
03:07
supermar_ has joined #opal
03:09
supermarin has quit [Ping timeout: 244 seconds]
03:10
Kilo`byte has joined #opal
03:24
supermar_ has quit [*.net *.split]
03:24
lectrick__ has quit [*.net *.split]
03:24
adambeynon has quit [*.net *.split]
03:24
Todd has quit [*.net *.split]
06:24
ryanstout has quit [Quit: ryanstout]
06:24
ryanstout has joined #opal
06:46
<
ryanstout >
any ideas on if this is fixable? I could take a shot, but it might take me a while to find my way around the lexer
07:52
Liothen has joined #opal
07:52
adambeynon has joined #opal
07:52
Todd has joined #opal
07:52
lacrosse_ has joined #opal
07:52
lectrick_ has joined #opal
07:52
oldfartdeveloper has joined #opal
07:52
kludge` has joined #opal
07:53
Liothen has quit [Changing host]
07:53
Liothen has joined #opal
07:55
[o__o] has joined #opal
07:56
antonishen has quit [Ping timeout: 245 seconds]
07:58
fkchang has joined #opal
08:00
antonishen has joined #opal
08:15
edub has quit [Ping timeout: 240 seconds]
08:24
e_dub has joined #opal
08:35
e_dub is now known as edub
08:59
elia has joined #opal
09:08
GitHub75 has joined #opal
09:08
GitHub75 has left #opal [#opal]
09:08
<
GitHub75 >
opal/master 5be5dd8 Elia Schito: Merge pull request #513 from Nami-Doc/patch-1...
09:08
<
GitHub75 >
opal/master 5f698a9 Nami-Doc: typos
09:12
dimon_ has joined #opal
09:18
fkchang has quit [Ping timeout: 240 seconds]
09:19
<
elia >
adambeynon, ping
09:24
<
adambeynon >
morning elia
09:25
<
elia >
released opal-rails
09:26
<
elia >
also experimented on the gh-pages branch of opal
09:26
<
elia >
the idea is to export the build dir to that branch, not unlikely to what middleman's rake publish does
09:27
<
elia >
still I'm not sure how much stuff we can push (in terms of bytes)
09:27
<
elia >
(adambeynon)
09:29
<
adambeynon >
elia: ahhh, thats nice actually. the file sizes aren't huge
09:30
<
adambeynon >
also, having them staticly hosted makes it easier to use them inside the /try page
09:30
<
adambeynon >
(r.e. the tweet from yesterday)
09:36
<
elia >
adambeynon, in preparation to real-requires an empty Kernel#require should be added, and calls should appear in js
09:37
<
elia >
I wasn't able to let the calls to require appear as regular method calls in the requires branch
09:40
<
adambeynon >
elia: I will have a look. the interception of require is very hacky right now. Going to try and make it feel more of a plugin
09:40
<
adambeynon >
as for handling the main file, or auto requiring it
09:40
<
adambeynon >
might get some luck looking at the requirejs plugin for sprockets
09:40
<
adambeynon >
or one of these newer es6 module transpilers that hook into sprockets
09:41
<
adambeynon >
they must be trying to do the same sort of thing for handling the main entry file
09:41
<
adambeynon >
as for rails, we could just recommend that application.js simply be the hook point
09:41
<
elia >
good call, I know almost nothing about es6 tho, my ref till now was sass
09:43
<
elia >
adambeynon, the current solution seems to detach a bit from sprockets and implement a custom importer/requirer plugged with sprockets paths and just telling sprockets what are the dependencies
09:43
dimon_ has quit [Ping timeout: 265 seconds]
09:43
<
elia >
#= depend_on foo
09:44
<
elia >
but having real method calls for require is powerful even without the "real requires" stuff, one could implement Kernel#require as he wishes
09:45
<
elia >
adambeynon, unrelated: any blockers for opalrb.org to go online now? (sill mentions opal-sprockets)
10:10
dimon_ has joined #opal
10:31
<
adambeynon >
elia: a few corrections and should be good to go
10:31
<
adambeynon >
just playing with the "try" page to see if I can detect any stdlib requires and pull them in from those static ones you pushed to github
10:32
<
adambeynon >
luckily there are not any stdlib that require other stdlib dependencies, so it should be as simple as looping over any known stdlib files and adding a script tag
10:32
kludge` has quit [Ping timeout: 240 seconds]
10:32
<
adambeynon >
and, use a promise to keep meh happy ^_-
10:34
<
adambeynon >
elia: not been able to do much opal directly in last 4 weeks or so, I have been really tied down getting a new app ready. it is in opal anyway, so there are lots of fixes/improvements/additions for opal-jquery and vienna
10:34
<
adambeynon >
will try and merge them today, so those two can be bumped
10:34
<
adambeynon >
also lots of opal-activesupport additions
10:35
<
elia >
dhh will be happy :D
10:37
kludge` has joined #opal
11:24
meh` has joined #opal
11:25
dimon_ has quit [Ping timeout: 264 seconds]
11:32
dimaursu16 has joined #opal
12:09
dimaursu16 has quit [Ping timeout: 264 seconds]
12:21
edub has quit [Ping timeout: 240 seconds]
12:27
e_dub has joined #opal
12:37
e_dub has quit [Read error: Connection reset by peer]
12:38
e_dub has joined #opal
12:51
elia has quit [Quit: Computer has gone to sleep.]
12:53
elia has joined #opal
12:54
Zackio has joined #opal
13:37
e_dub has quit [Ping timeout: 265 seconds]
13:53
e_dub has joined #opal
13:53
e_dub is now known as edub
13:55
edub has quit [Read error: Connection reset by peer]
14:02
e_dub has joined #opal
14:06
e_dub is now known as edub
14:59
Kilo`byte has quit [Read error: Operation timed out]
15:01
Kilo`byte has joined #opal
15:04
edub has quit [Quit: It's a hard knock life]
15:51
<
adambeynon >
hi Zackio
15:51
<
Zackio >
Hey adambeynon :)
15:51
<
adambeynon >
I havent used the sinatra-asset-pipeline before, but im guessing it adds a middleware instance of sprockets to the sinatra stack?
15:51
<
Zackio >
I beleive so.
15:51
<
Zackio >
I understand if support of 3rd party libraries is not given. :P
15:53
kludge` has quit [Disconnected by services]
15:53
kludge` has joined #opal
15:53
<
adambeynon >
in the config.ru file (in the linked repo), you are starting a custom Opal::Server instance
15:53
<
adambeynon >
I dont think you need to do that
15:54
<
adambeynon >
we should be able to hook into the sprockets instance provided by sinatra-asset-pipeline
15:54
<
Zackio >
Okay, removed.
15:55
<
adambeynon >
Zackio: what we do with rails is use the one provided by the rails stack
15:55
<
adambeynon >
and we just add all the custom opal load paths into that instance
15:55
<
adambeynon >
that is how we do it in rails
15:56
<
Zackio >
ReferenceError: Opal is not defined
15:56
<
adambeynon >
that sinatra asset gem must expose its Sprockets instance somewhere
15:56
<
adambeynon >
ohh, we are getting closer ;)
15:56
<
Zackio >
Indeed. :)
15:56
<
adambeynon >
I assume that is a javasript error?
15:56
<
adambeynon >
ok, so all you are missing is a call to include the runtime
15:57
<
adambeynon >
in your app.js file, add a "require 'opal'" to the file
15:57
<
adambeynon >
in opal apps using sprockets, even the opal runtime must be explicitly required
15:58
<
Zackio >
``Sprockets::FileNotFound''
15:59
<
Zackio >
(Where I put the require statement)
16:00
<
adambeynon >
so, we still need to add the opal load paths to the sprockets instance
16:00
<
adambeynon >
is the sprockets instance accessible?
16:00
<
adambeynon >
(I dont use sinatra much...)
16:01
<
Zackio >
In asset-pipeline?
16:02
<
adambeynon >
looks like its available through `app.sprockets`
16:03
<
adambeynon >
so, somewhere in an initializer/setup place, you need to add: `Opal.paths.each { |path| app.sprockets.append_path path }`
16:03
<
adambeynon >
Zackio: and if that works, I might add it as a tutorial on the website, as asset pipeline with sinatra seems a useful starting point
16:10
<
Zackio >
adambeynon: It works! :D
16:10
<
Zackio >
Thank you very much. :)
16:10
<
Zackio >
One problem, however, uglifier doesn't seem to work.
16:10
<
Zackio >
No biggy though. :P
16:12
fkchang has joined #opal
16:31
<
Zackio >
adambeynon: Hmm, actually, is there a way to uglify it? :P
16:54
e_dub has joined #opal
17:30
elia has quit [Ping timeout: 240 seconds]
17:45
DrShoggoth has joined #opal
17:53
dimaursu16 has joined #opal
18:00
supermarin has joined #opal
18:04
GitHub12 has joined #opal
18:04
GitHub12 has left #opal [#opal]
18:04
<
GitHub12 >
opal/master 8b5a84f Adam Beynon: Fix parsing of hash-arrows in hashes with symbol keys and no whitespace
18:09
travis-ci has joined #opal
18:09
<
travis-ci >
[travis-ci] opal/opal#1753 (master - 8b5a84f : Adam Beynon): The build passed.
18:09
travis-ci has left #opal [#opal]
18:14
travis-ci has joined #opal
18:14
<
travis-ci >
[travis-ci] opal/opal#1753 (master - 8b5a84f : Adam Beynon): The build passed.
18:14
travis-ci has left #opal [#opal]
18:19
<
meh` >
I'm not sure what's going on in that picture
18:28
GitHub6 has joined #opal
18:28
<
GitHub6 >
opalrb.org/gh-pages 17cf128 Adam Beynon: Site updated to 547b23f
18:28
GitHub6 has left #opal [#opal]
18:28
<
adambeynon >
meh`: ^^^ docs updated for 0.6.0
18:28
<
adambeynon >
going to add the link for browserstack
18:29
<
adambeynon >
do they have a badge? or just a link?
18:29
<
meh` >
I have no clue :D
18:29
<
adambeynon >
lol, I'll look round a bit
18:30
<
adambeynon >
meh`: also, I have added a new page for templates
18:30
<
adambeynon >
erb/haml
18:30
<
adambeynon >
if you want a section on paggio, I can add it
18:31
<
adambeynon >
alternative/dsl html templates
18:31
<
meh` >
I'll think about it
18:32
<
adambeynon >
a lot of the sections, like rspec, need to be split into writing tests for apps vs. writing tests for libs
19:26
chieft has joined #opal
19:37
elia has joined #opal
19:59
supermarin has quit [Remote host closed the connection]
20:07
supermarin has joined #opal
20:19
supermarin has quit [Remote host closed the connection]
20:20
supermarin has joined #opal
20:22
supermarin has quit [Read error: Connection reset by peer]
20:22
supermar_ has joined #opal
20:25
elia has quit [Quit: Computer has gone to sleep.]
20:34
supermar_ has quit [Remote host closed the connection]
20:34
supermarin has joined #opal
20:38
supermarin has quit [Ping timeout: 240 seconds]
20:41
elia has joined #opal
20:41
DouweM has joined #opal
21:07
chieft has quit [Ping timeout: 264 seconds]
21:33
elia has quit [Quit: Computer has gone to sleep.]
22:05
e_dub has quit [Quit: It's a hard knock life]
22:18
elia has joined #opal
22:24
DrShoggoth has quit [Quit: Leaving]
22:26
brixen_ is now known as brixen
22:32
DrShoggoth has joined #opal
22:41
DrShoggoth has quit [Quit: Leaving]
23:00
siruf has joined #opal
23:38
elia has quit [Quit: Computer has gone to sleep.]
23:51
DouweM has quit [Ping timeout: 264 seconds]
23:52
elia has joined #opal