one_password 0.0.1 → 0.0.2
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 +32 -2
 - data/lib/one_password/version.rb +1 -1
 - data/one_password.gemspec +2 -2
 - metadata +8 -8
 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,6 +1,21 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # OnePassword
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
             
     | 
| 
      
 3 
     | 
    
         
            +
            Decryptor for 1Password Agile Keychain.
         
     | 
| 
      
 4 
     | 
    
         
            +
            It could decrypt passwords, stored in keychain, using your master password and PBKDF2-based encryption keys, stored in
         
     | 
| 
      
 5 
     | 
    
         
            +
            Agile Keychain.
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ## Links
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            ### Released
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            * [RubyGem](https://rubygems.org/gems/one_password)
         
     | 
| 
      
 12 
     | 
    
         
            +
            * [Documentation](http://rubydoc.info/gems/one_password/frames)
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            ### WIP
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            * [Github](https://github.com/alsemyonov/one_password)
         
     | 
| 
      
 17 
     | 
    
         
            +
            * [](https://travis-ci.org/alsemyonov/one_password)
         
     | 
| 
      
 18 
     | 
    
         
            +
            * [Documentation](http://rubydoc.info/github/alsemyonov/one_password/frames)
         
     | 
| 
       4 
19 
     | 
    
         | 
| 
       5 
20 
     | 
    
         
             
            ## Installation
         
     | 
| 
       6 
21 
     | 
    
         | 
| 
         @@ -18,7 +33,22 @@ Or install it yourself as: 
     | 
|
| 
       18 
33 
     | 
    
         | 
| 
       19 
34 
     | 
    
         
             
            ## Usage
         
     | 
| 
       20 
35 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
      
 36 
     | 
    
         
            +
            ```ruby
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            keychain = OnePassword::Keychain.new('~/Dropbox/1Password.agilekeychain')
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
      
 40 
     | 
    
         
            +
            keychain.password = '1Password'
         
     | 
| 
      
 41 
     | 
    
         
            +
             
     | 
| 
      
 42 
     | 
    
         
            +
            keychain.all.first[1].login_username
         
     | 
| 
      
 43 
     | 
    
         
            +
            keychain.all.first[1].login_password
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
            ```
         
     | 
| 
      
 46 
     | 
    
         
            +
             
     | 
| 
      
 47 
     | 
    
         
            +
            ## TODO
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            * Different types of items
         
     | 
| 
      
 50 
     | 
    
         
            +
            * Encrypting and storing new passwords
         
     | 
| 
      
 51 
     | 
    
         
            +
            * Simple sinatr interface for showing and modifying keychain
         
     | 
| 
       22 
52 
     | 
    
         | 
| 
       23 
53 
     | 
    
         
             
            ## Contributing
         
     | 
| 
       24 
54 
     | 
    
         | 
    
        data/lib/one_password/version.rb
    CHANGED
    
    
    
        data/one_password.gemspec
    CHANGED
    
    | 
         @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       10 
10 
     | 
    
         
             
              spec.email         = %w(al@semyonov.us)
         
     | 
| 
       11 
11 
     | 
    
         
             
              spec.description   = %q{File to operate with 1Password's Agile Keychain}
         
     | 
| 
       12 
12 
     | 
    
         
             
              spec.summary       = %q{1Password Agile Keychain support for Ruby}
         
     | 
| 
       13 
     | 
    
         
            -
              spec.homepage      = ''
         
     | 
| 
      
 13 
     | 
    
         
            +
              spec.homepage      = 'https://github.com/alsemyonov/one_password'
         
     | 
| 
       14 
14 
     | 
    
         
             
              spec.license       = 'MIT'
         
     | 
| 
       15 
15 
     | 
    
         | 
| 
       16 
16 
     | 
    
         
             
              spec.files         = `git ls-files`.split($/)
         
     | 
| 
         @@ -20,7 +20,7 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
              spec.add_runtime_dependency 'activesupport'
         
     | 
| 
       22 
22 
     | 
    
         
             
              spec.add_runtime_dependency 'pbkdf2'
         
     | 
| 
       23 
     | 
    
         
            -
              spec.add_development_dependency 'bundler' 
     | 
| 
      
 23 
     | 
    
         
            +
              spec.add_development_dependency 'bundler'
         
     | 
| 
       24 
24 
     | 
    
         
             
              spec.add_development_dependency 'rake'
         
     | 
| 
       25 
25 
     | 
    
         
             
              spec.add_development_dependency 'rspec'
         
     | 
| 
       26 
26 
     | 
    
         
             
              spec.add_development_dependency 'yard'
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -2,7 +2,7 @@ 
     | 
|
| 
       2 
2 
     | 
    
         
             
            name: one_password
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
4 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       5 
     | 
    
         
            -
              version: 0.0. 
     | 
| 
      
 5 
     | 
    
         
            +
              version: 0.0.2
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Alexander Semyonov
         
     | 
| 
         @@ -48,15 +48,15 @@ dependencies: 
     | 
|
| 
       48 
48 
     | 
    
         
             
              name: bundler
         
     | 
| 
       49 
49 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       50 
50 
     | 
    
         
             
                requirements:
         
     | 
| 
       51 
     | 
    
         
            -
                - -  
     | 
| 
      
 51 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
       52 
52 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       53 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 53 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
       54 
54 
     | 
    
         
             
                none: false
         
     | 
| 
       55 
55 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       56 
56 
     | 
    
         
             
                requirements:
         
     | 
| 
       57 
     | 
    
         
            -
                - -  
     | 
| 
      
 57 
     | 
    
         
            +
                - - ! '>='
         
     | 
| 
       58 
58 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       59 
     | 
    
         
            -
                    version: ' 
     | 
| 
      
 59 
     | 
    
         
            +
                    version: '0'
         
     | 
| 
       60 
60 
     | 
    
         
             
                none: false
         
     | 
| 
       61 
61 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       62 
62 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
         @@ -232,7 +232,7 @@ files: 
     | 
|
| 
       232 
232 
     | 
    
         
             
            - spec/fixtures/config.ru
         
     | 
| 
       233 
233 
     | 
    
         
             
            - spec/one_password/keychain_spec.rb
         
     | 
| 
       234 
234 
     | 
    
         
             
            - spec/spec_helper.rb
         
     | 
| 
       235 
     | 
    
         
            -
            homepage:  
     | 
| 
      
 235 
     | 
    
         
            +
            homepage: https://github.com/alsemyonov/one_password
         
     | 
| 
       236 
236 
     | 
    
         
             
            licenses:
         
     | 
| 
       237 
237 
     | 
    
         
             
            - MIT
         
     | 
| 
       238 
238 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
         @@ -243,7 +243,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       243 
243 
     | 
    
         
             
              requirements:
         
     | 
| 
       244 
244 
     | 
    
         
             
              - - ! '>='
         
     | 
| 
       245 
245 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       246 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 246 
     | 
    
         
            +
                  hash: 2047096680573717478
         
     | 
| 
       247 
247 
     | 
    
         
             
                  segments:
         
     | 
| 
       248 
248 
     | 
    
         
             
                  - 0
         
     | 
| 
       249 
249 
     | 
    
         
             
                  version: '0'
         
     | 
| 
         @@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       252 
252 
     | 
    
         
             
              requirements:
         
     | 
| 
       253 
253 
     | 
    
         
             
              - - ! '>='
         
     | 
| 
       254 
254 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       255 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 255 
     | 
    
         
            +
                  hash: 2047096680573717478
         
     | 
| 
       256 
256 
     | 
    
         
             
                  segments:
         
     | 
| 
       257 
257 
     | 
    
         
             
                  - 0
         
     | 
| 
       258 
258 
     | 
    
         
             
                  version: '0'
         
     |