irbtab 0.0.5 → 0.0.6
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.
- data/README.md +51 -0
 - data/irbtab.gemspec +2 -2
 - data/lib/irbtab.rb +1 -1
 - metadata +63 -49
 - data/README +0 -38
 
    
        data/README.md
    ADDED
    
    | 
         @@ -0,0 +1,51 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ###DESCRIPTION
         
     | 
| 
      
 2 
     | 
    
         
            +
              irbtab allows you to copy and paste from ruby arrays in irb/rails console to a spreadsheet (tab delimited) and visa versa.
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
              it works on osx, linux and possibly windows.
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            ###SYNOPSIS
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            * install the gem
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            ```
         
     | 
| 
      
 11 
     | 
    
         
            +
            gem install irbtab
         
     | 
| 
      
 12 
     | 
    
         
            +
            ```
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            * in your ~/.irbrc add
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            ```
         
     | 
| 
      
 18 
     | 
    
         
            +
            require 'rubygems' unless defined?(Gem)
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            require 'irbtab' 
         
     | 
| 
      
 21 
     | 
    
         
            +
            ```
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
             
         
     | 
| 
      
 24 
     | 
    
         
            +
            * now in irb you could do
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
            ``` 
         
     | 
| 
      
 27 
     | 
    
         
            +
            irbt [['a', 'two dimentional'],['array', 'for your spreadsheet']]
         
     | 
| 
      
 28 
     | 
    
         
            +
            ```
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            and the array is in your clipboard ready to paste into a spreadsheet.
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            * if you've copied something from a spreadsheet you can simply do
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
            ```
         
     | 
| 
      
 35 
     | 
    
         
            +
            irbt
         
     | 
| 
      
 36 
     | 
    
         
            +
            ```
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            to paste it into an ruby array in irb
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
            ###NOTES
         
     | 
| 
      
 41 
     | 
    
         
            +
              - you can use the commands 'copy' and 'paste' if you love carpal tunnel
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
              - windows past support is via
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
                http://www.c3scripts.com/tutorials/msdos/paste.html#exe
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            ###LICENSE 
         
     | 
| 
      
 48 
     | 
    
         
            +
              MIT License
         
     | 
| 
      
 49 
     | 
    
         
            +
             
     | 
| 
      
 50 
     | 
    
         
            +
            ###CREDITS
         
     | 
| 
      
 51 
     | 
    
         
            +
              Based on irbcp by Ara T. Howard
         
     | 
    
        data/irbtab.gemspec
    CHANGED
    
    | 
         @@ -2,12 +2,12 @@ 
     | 
|
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            Gem::Specification::new do |spec|
         
     | 
| 
       4 
4 
     | 
    
         
             
              spec.name = "irbtab"
         
     | 
| 
       5 
     | 
    
         
            -
              spec.version = "0.0. 
     | 
| 
      
 5 
     | 
    
         
            +
              spec.version = "0.0.6"
         
     | 
| 
       6 
6 
     | 
    
         
             
              spec.platform = Gem::Platform::RUBY
         
     | 
| 
       7 
7 
     | 
    
         
             
              spec.summary = "copy and paste from spreadsheet to ruby arrays in irb"
         
     | 
| 
       8 
8 
     | 
    
         
             
              spec.description = "description: easy copy and paste between a spreadsheet and ruby arrays in irb or rails console. Based on irbcp by Ara T. Howard"
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
              spec.files =["README", "Rakefile", "irbtab.gemspec", "lib", "lib/irbtab.rb"]
         
     | 
| 
      
 10 
     | 
    
         
            +
              spec.files =["README.md", "Rakefile", "irbtab.gemspec", "lib", "lib/irbtab.rb"]
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
              spec.executables = []
         
     | 
| 
       13 
13 
     | 
    
         | 
    
        data/lib/irbtab.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,83 +1,97 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            --- !ruby/object:Gem::Specification
         
     | 
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: irbtab
         
     | 
| 
       3 
     | 
    
         
            -
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
               
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 19
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
      
 6 
     | 
    
         
            +
              segments: 
         
     | 
| 
      
 7 
     | 
    
         
            +
              - 0
         
     | 
| 
      
 8 
     | 
    
         
            +
              - 0
         
     | 
| 
      
 9 
     | 
    
         
            +
              - 6
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.0.6
         
     | 
| 
       6 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
     | 
    
         
            -
            authors:
         
     | 
| 
      
 12 
     | 
    
         
            +
            authors: 
         
     | 
| 
       8 
13 
     | 
    
         
             
            - Mark Suppes
         
     | 
| 
       9 
14 
     | 
    
         
             
            - Ara T. Howard
         
     | 
| 
       10 
15 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       11 
16 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       12 
17 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            date: 2013-02-26 00:00:00 Z
         
     | 
| 
      
 20 
     | 
    
         
            +
            dependencies: 
         
     | 
| 
      
 21 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       16 
22 
     | 
    
         
             
              name: systemu
         
     | 
| 
       17 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       18 
     | 
    
         
            -
                none: false
         
     | 
| 
       19 
     | 
    
         
            -
                requirements:
         
     | 
| 
       20 
     | 
    
         
            -
                - - ! '>='
         
     | 
| 
       21 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
       23 
     | 
    
         
            -
              type: :runtime
         
     | 
| 
       24 
23 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
     | 
    
         
            -
               
     | 
| 
       26 
     | 
    
         
            -
                none: false
         
     | 
| 
       27 
     | 
    
         
            -
                requirements:
         
     | 
| 
       28 
     | 
    
         
            -
                - - ! '>='
         
     | 
| 
       29 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       30 
     | 
    
         
            -
                    version: '0'
         
     | 
| 
       31 
     | 
    
         
            -
            - !ruby/object:Gem::Dependency
         
     | 
| 
       32 
     | 
    
         
            -
              name: fastercsv
         
     | 
| 
       33 
     | 
    
         
            -
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
      
 24 
     | 
    
         
            +
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
       34 
25 
     | 
    
         
             
                none: false
         
     | 
| 
       35 
     | 
    
         
            -
                requirements:
         
     | 
| 
       36 
     | 
    
         
            -
                - -  
     | 
| 
       37 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       38 
     | 
    
         
            -
                     
     | 
| 
      
 26 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 27 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 28 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 29 
     | 
    
         
            +
                    hash: 3
         
     | 
| 
      
 30 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 31 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 32 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
       39 
33 
     | 
    
         
             
              type: :runtime
         
     | 
| 
      
 34 
     | 
    
         
            +
              version_requirements: *id001
         
     | 
| 
      
 35 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 36 
     | 
    
         
            +
              name: fastercsv
         
     | 
| 
       40 
37 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       41 
     | 
    
         
            -
               
     | 
| 
      
 38 
     | 
    
         
            +
              requirement: &id002 !ruby/object:Gem::Requirement 
         
     | 
| 
       42 
39 
     | 
    
         
             
                none: false
         
     | 
| 
       43 
     | 
    
         
            -
                requirements:
         
     | 
| 
       44 
     | 
    
         
            -
                - -  
     | 
| 
       45 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       46 
     | 
    
         
            -
                     
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
             
     | 
| 
      
 40 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 41 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 42 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 43 
     | 
    
         
            +
                    hash: 3
         
     | 
| 
      
 44 
     | 
    
         
            +
                    segments: 
         
     | 
| 
      
 45 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 46 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
      
 47 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 48 
     | 
    
         
            +
              version_requirements: *id002
         
     | 
| 
      
 49 
     | 
    
         
            +
            description: "description: easy copy and paste between a spreadsheet and ruby arrays in irb or rails console. Based on irbcp by Ara T. Howard"
         
     | 
| 
       49 
50 
     | 
    
         
             
            email: famulus.fusion@gmail.com
         
     | 
| 
       50 
51 
     | 
    
         
             
            executables: []
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
       51 
53 
     | 
    
         
             
            extensions: []
         
     | 
| 
      
 54 
     | 
    
         
            +
             
     | 
| 
       52 
55 
     | 
    
         
             
            extra_rdoc_files: []
         
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
      
 56 
     | 
    
         
            +
             
     | 
| 
      
 57 
     | 
    
         
            +
            files: 
         
     | 
| 
      
 58 
     | 
    
         
            +
            - README.md
         
     | 
| 
       55 
59 
     | 
    
         
             
            - Rakefile
         
     | 
| 
       56 
60 
     | 
    
         
             
            - irbtab.gemspec
         
     | 
| 
       57 
61 
     | 
    
         
             
            - lib/irbtab.rb
         
     | 
| 
       58 
62 
     | 
    
         
             
            homepage: https://github.com/famulus/irbcp
         
     | 
| 
       59 
     | 
    
         
            -
            licenses:
         
     | 
| 
      
 63 
     | 
    
         
            +
            licenses: 
         
     | 
| 
       60 
64 
     | 
    
         
             
            - MIT
         
     | 
| 
       61 
65 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       62 
66 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       63 
     | 
    
         
            -
             
     | 
| 
      
 67 
     | 
    
         
            +
             
     | 
| 
      
 68 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
       64 
69 
     | 
    
         
             
            - lib
         
     | 
| 
       65 
     | 
    
         
            -
            required_ruby_version: !ruby/object:Gem::Requirement
         
     | 
| 
      
 70 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
       66 
71 
     | 
    
         
             
              none: false
         
     | 
| 
       67 
     | 
    
         
            -
              requirements:
         
     | 
| 
       68 
     | 
    
         
            -
              - -  
     | 
| 
       69 
     | 
    
         
            -
                - !ruby/object:Gem::Version
         
     | 
| 
       70 
     | 
    
         
            -
                   
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
      
 72 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 73 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 74 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 75 
     | 
    
         
            +
                  hash: 3
         
     | 
| 
      
 76 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 77 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 78 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 79 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
       72 
80 
     | 
    
         
             
              none: false
         
     | 
| 
       73 
     | 
    
         
            -
              requirements:
         
     | 
| 
       74 
     | 
    
         
            -
              - -  
     | 
| 
       75 
     | 
    
         
            -
                - !ruby/object:Gem::Version
         
     | 
| 
       76 
     | 
    
         
            -
                   
     | 
| 
      
 81 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 82 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 83 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 84 
     | 
    
         
            +
                  hash: 3
         
     | 
| 
      
 85 
     | 
    
         
            +
                  segments: 
         
     | 
| 
      
 86 
     | 
    
         
            +
                  - 0
         
     | 
| 
      
 87 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
       77 
88 
     | 
    
         
             
            requirements: []
         
     | 
| 
      
 89 
     | 
    
         
            +
             
     | 
| 
       78 
90 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       79 
     | 
    
         
            -
            rubygems_version: 1.8. 
     | 
| 
      
 91 
     | 
    
         
            +
            rubygems_version: 1.8.10
         
     | 
| 
       80 
92 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       81 
93 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       82 
94 
     | 
    
         
             
            summary: copy and paste from spreadsheet to ruby arrays in irb
         
     | 
| 
       83 
95 
     | 
    
         
             
            test_files: []
         
     | 
| 
      
 96 
     | 
    
         
            +
             
     | 
| 
      
 97 
     | 
    
         
            +
            has_rdoc: 
         
     | 
    
        data/README
    DELETED
    
    | 
         @@ -1,38 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            NAME
         
     | 
| 
       2 
     | 
    
         
            -
              irbtab
         
     | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
       4 
     | 
    
         
            -
            DESCRIPTION
         
     | 
| 
       5 
     | 
    
         
            -
              irbtab allows you to copy and paste from irb arrays to a spreadsheet (tab delimited)
         
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
              it works on osx, linux and possibly windows.
         
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
            SYNOPSIS
         
     | 
| 
       10 
     | 
    
         
            -
              0) install the gem
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
                gem install irbtab
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
              1) in your .irbrc do
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
                require 'rubygems' unless defined?(Gem)
         
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
                require 'irbtab'
         
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
              2) now in irb you could do
         
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
                irbt [['a', 'two dimentional'],['array', 'for your spreadsheet']]
         
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
              3) if you've copied something from a spreadsheet you can simply do
         
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
                irbt
         
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
                to paste it into an ruby array in irb
         
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
            NOTES
         
     | 
| 
       31 
     | 
    
         
            -
              - you can use the commands 'copy' and 'paste' if you love carpal tunnel
         
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
              - windows past support is via
         
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
                http://www.c3scripts.com/tutorials/msdos/paste.html#exe
         
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
            LICENSE 
         
     | 
| 
       38 
     | 
    
         
            -
              MIT License
         
     |