tkn2 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +7 -7
 - data/bin/tkn2 +6 -0
 - data/lib/tkn2/version.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 32c4a8f02ca258129b7a9a39c3b2cd7ee688f1b8
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 69d7594edbee48f93cf139b4a323f70346850a3c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 8d3b4e0d6392dec7f9904c4a2a94e008afecfd91d4dde6986f73dcde7de256e36d358c69fadd7c45693207a6512515cf4656297e37dd4687b6186b3ac8e3c237
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 99c04d2fd144b40a15a1bded634b2b15b0f1eb6a6e77dbc35c9dc95f047e6a57c5094a0c20e84b2af51f6b89b26cb6eb304f6df84f253521cea66b36108e6abb
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -11,9 +11,9 @@ point. 
     | 
|
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            Main differences with tkn:
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
            * The commands are not available in the general namespace; you need to wrap the  
     | 
| 
      
 14 
     | 
    
         
            +
            * The commands are not available in the general namespace; you need to wrap the slides in a `Tkn2.deck` block
         
     | 
| 
       15 
15 
     | 
    
         
             
            * It's packed as a gem, and intended to use with bundler via a `Gemfile`. That may sound like overkill but, with tkn2
         
     | 
| 
       16 
     | 
    
         
            -
              evolving, it's nice to have each  
     | 
| 
      
 16 
     | 
    
         
            +
              evolving, it's nice to have each deck stored with a explicit reference to the verion of tkn2 it was written
         
     | 
| 
       17 
17 
     | 
    
         
             
              for (tkn solves this having the script vendored)
         
     | 
| 
       18 
18 
     | 
    
         
             
            * It uses [ncurses](http://www.gnu.org/software/ncurses/) instead of direct printing. This gets it some nice behaviour
         
     | 
| 
       19 
19 
     | 
    
         
             
              like autoredrawing when resizing windows or changing font size
         
     | 
| 
         @@ -35,14 +35,14 @@ This will create a directory called `my_slides/` which will contain your deck in 
     | 
|
| 
       35 
35 
     | 
    
         
             
            require 'tkn2'
         
     | 
| 
       36 
36 
     | 
    
         | 
| 
       37 
37 
     | 
    
         
             
            Tkn2.deck do
         
     | 
| 
       38 
     | 
    
         
            -
              # here  
     | 
| 
      
 38 
     | 
    
         
            +
              # here go your slides
         
     | 
| 
       39 
39 
     | 
    
         
             
            end
         
     | 
| 
       40 
40 
     | 
    
         
             
            ```
         
     | 
| 
       41 
41 
     | 
    
         | 
| 
       42 
     | 
    
         
            -
            To run the  
     | 
| 
      
 42 
     | 
    
         
            +
            To run the deck:
         
     | 
| 
       43 
43 
     | 
    
         | 
| 
       44 
44 
     | 
    
         
             
            ```
         
     | 
| 
       45 
     | 
    
         
            -
            $  
     | 
| 
      
 45 
     | 
    
         
            +
            $ tkn2 show ruby my_slides.rb
         
     | 
| 
       46 
46 
     | 
    
         
             
            ```
         
     | 
| 
       47 
47 
     | 
    
         | 
| 
       48 
48 
     | 
    
         
             
            ### Available commands
         
     | 
| 
         @@ -101,7 +101,7 @@ you want (read from the network, make calculations, etc.). 
     | 
|
| 
       101 
101 
     | 
    
         | 
| 
       102 
102 
     | 
    
         
             
            ### Keys
         
     | 
| 
       103 
103 
     | 
    
         | 
| 
       104 
     | 
    
         
            -
            These are the keys you can use to navigate the  
     | 
| 
      
 104 
     | 
    
         
            +
            These are the keys you can use to navigate the deck:
         
     | 
| 
       105 
105 
     | 
    
         | 
| 
       106 
106 
     | 
    
         
             
            * Down, Right, Enter, Space, Page Down, N: next slide
         
     | 
| 
       107 
107 
     | 
    
         
             
            * Up, Left, Backspace, Page Up, P: previous slide
         
     | 
| 
         @@ -117,7 +117,7 @@ That said: 
     | 
|
| 
       117 
117 
     | 
    
         | 
| 
       118 
118 
     | 
    
         
             
            * (Auto)reload [1]
         
     | 
| 
       119 
119 
     | 
    
         
             
            * Images [1]
         
     | 
| 
       120 
     | 
    
         
            -
            * Better control of *overflow* (currently the  
     | 
| 
      
 120 
     | 
    
         
            +
            * Better control of *overflow* (currently the deck crashes if the content doesn't fit in the screen). I'm
         
     | 
| 
       121 
121 
     | 
    
         
             
              playing with the idea of having *scroll*, something usually not present in graphical presentation software and that
         
     | 
| 
       122 
122 
     | 
    
         
             
              can be useful to present code without using a tiny font size
         
     | 
| 
       123 
123 
     | 
    
         
             
            * Colors and themes
         
     | 
    
        data/bin/tkn2
    CHANGED
    
    
    
        data/lib/tkn2/version.rb
    CHANGED