├── .gitignore ├── .rspec ├── .rubocop_todo.yml ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console ├── ever2boost └── setup ├── docs ├── api_error.md ├── development.md ├── emergency.md └── images │ ├── img1.png │ ├── img2.png │ ├── img3.png │ ├── img4.png │ └── img5.png ├── ever2boost.gemspec ├── exe └── ever2boost ├── lib ├── ever2boost.rb └── ever2boost │ ├── cli.rb │ ├── cson_generator.rb │ ├── enex_converter.rb │ ├── evernote_authorizer.rb │ ├── json_generator.rb │ ├── md_converter.rb │ ├── note.rb │ ├── note_list.rb │ ├── util.rb │ └── version.rb └── spec ├── cson_generator_spec.rb ├── enex_converter_spec.rb ├── ever2boost_spec.rb ├── json_generator_spec.rb ├── lorem.enex ├── md_converter_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- 1 | /.bundle/ 2 | /.yardoc 3 | /Gemfile.lock 4 | /_yardoc/ 5 | /coverage/ 6 | /doc/ 7 | /pkg/ 8 | /spec/reports/ 9 | /tmp/ 10 | /spec/dist 11 | -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- 1 | # This configuration was generated by 2 | # `rubocop --auto-gen-config` 3 | # on 2017-01-27 09:19:36 +0900 using RuboCop version 0.44.1. 4 | # The point is for the user to remove these configuration records 5 | # one by one as the offenses are removed from the code base. 6 | # Note that changes in the inspected code, or installation of new 7 | # versions of RuboCop, may require this file to be generated again. 8 | 9 | # Offense count: 3 10 | # Cop supports --auto-correct. 11 | Lint/LiteralInInterpolation: 12 | Exclude: 13 | - 'lib/ever2boost/note.rb' 14 | 15 | # Offense count: 15 16 | Lint/ParenthesesAsGroupedExpression: 17 | Exclude: 18 | - 'spec/cson_generator_spec.rb' 19 | - 'spec/json_generator_spec.rb' 20 | - 'spec/md_converter_spec.rb' 21 | 22 | # Offense count: 1 23 | # Cop supports --auto-correct. 24 | # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. 25 | Lint/UnusedMethodArgument: 26 | Exclude: 27 | - 'lib/ever2boost/note_list.rb' 28 | 29 | # Offense count: 2 30 | Lint/UselessAssignment: 31 | Exclude: 32 | - 'lib/ever2boost/cson_generator.rb' 33 | - 'lib/ever2boost/evernote_authorizer.rb' 34 | 35 | # Offense count: 2 36 | Metrics/AbcSize: 37 | Max: 32 38 | 39 | # Offense count: 25 40 | # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives. 41 | # URISchemes: http, https 42 | Metrics/LineLength: 43 | Max: 193 44 | 45 | # Offense count: 5 46 | # Configuration parameters: CountComments. 47 | Metrics/MethodLength: 48 | Max: 19 49 | 50 | # Offense count: 10 51 | Style/Documentation: 52 | Exclude: 53 | - 'spec/**/*' 54 | - 'test/**/*' 55 | - 'lib/ever2boost.rb' 56 | - 'lib/ever2boost/cli.rb' 57 | - 'lib/ever2boost/cson_generator.rb' 58 | - 'lib/ever2boost/enex_converter.rb' 59 | - 'lib/ever2boost/evernote_authorizer.rb' 60 | - 'lib/ever2boost/json_generator.rb' 61 | - 'lib/ever2boost/md_converter.rb' 62 | - 'lib/ever2boost/note.rb' 63 | - 'lib/ever2boost/note_list.rb' 64 | - 'lib/ever2boost/util.rb' 65 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: ruby 3 | rvm: 4 | - 2.3.0 5 | - 2.2.0 6 | - 2.1.0 7 | - 2.0.0 8 | before_install: gem install bundler 9 | install: 10 | - bundle install 11 | - gem instal rubocop 12 | script: rubocop --config .rubocop_todo.yml --fail-level=W 13 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # Specify your gem's dependencies in ever2boost.gemspec 4 | gemspec 5 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2017 asmsuechan 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ever2boost 2 | [](https://travis-ci.org/BoostIO/ever2boost) 3 | 4 | ever2boost is a CLI tool for conversion Evernote to Boostnote. 5 | 6 |