diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/faker.alfredworkflow b/Alfred 2/Alfred.alfredpreferences/workflows/faker.alfredworkflow new file mode 160000 index 0000000..d5dad5b --- /dev/null +++ b/Alfred 2/Alfred.alfredpreferences/workflows/faker.alfredworkflow @@ -0,0 +1 @@ +Subproject commit d5dad5b48563c92a178729469c3df598a948fb41 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/forecast.alfredworkflow b/Alfred 2/Alfred.alfredpreferences/workflows/forecast.alfredworkflow new file mode 160000 index 0000000..4dad181 --- /dev/null +++ b/Alfred 2/Alfred.alfredpreferences/workflows/forecast.alfredworkflow @@ -0,0 +1 @@ +Subproject commit 4dad181a31c9d5e32b45b338a11b90e081f9539c diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/giphy.alfredworkflow b/Alfred 2/Alfred.alfredpreferences/workflows/giphy.alfredworkflow new file mode 160000 index 0000000..26df291 --- /dev/null +++ b/Alfred 2/Alfred.alfredpreferences/workflows/giphy.alfredworkflow @@ -0,0 +1 @@ +Subproject commit 26df2919adcf3835692bf111ed56da95f0cfc4c3 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/CHANGELOG.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/CHANGELOG.md deleted file mode 100644 index 684ff65..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/CHANGELOG.md +++ /dev/null @@ -1,6 +0,0 @@ -## Unreleased - -## 1.0.0 - 2015.10.25 -### Added - -- Initial release of Faker.alfredworkflow! diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Gemfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Gemfile deleted file mode 100644 index bcadbee..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Gemfile +++ /dev/null @@ -1,10 +0,0 @@ -source "https://rubygems.org" - -gem "alphred", "~> 1.0" -gem "faker", "~> 1.5" - -group :development do - gem "minitest" - gem "rake" - gem "pry" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Gemfile.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Gemfile.lock deleted file mode 100644 index 414b661..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Gemfile.lock +++ /dev/null @@ -1,31 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - alphred (1.0.0) - builder (~> 3.2) - builder (3.2.2) - coderay (1.1.0) - faker (1.5.0) - i18n (~> 0.5) - i18n (0.7.0) - method_source (0.8.2) - minitest (5.8.2) - pry (0.10.3) - coderay (~> 1.1.0) - method_source (~> 0.8.1) - slop (~> 3.4) - rake (10.4.2) - slop (3.6.0) - -PLATFORMS - ruby - -DEPENDENCIES - alphred (~> 1.0) - faker (~> 1.5) - minitest - pry - rake - -BUNDLED WITH - 1.10.6 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/README.md deleted file mode 100644 index 3d0bbef..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# Faker.alfredworkflow - -This [Alfred](https://www.alfredapp.com/) workflow generates fake data using -the [Faker](https://github.com/stympy/faker) Ruby gem. I use it mainly for -creating dummy answers for security questions required for creating accounts. - -## Credits - -- [Faker](https://github.com/stympy/faker) -- [eye mask icon by Creative Stall from the Noun -Project](https://thenounproject.com/term/eye-mask/178273/) diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Rakefile deleted file mode 100644 index 014c7fd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/Rakefile +++ /dev/null @@ -1,10 +0,0 @@ -require "rake/testtask" - -require "alphred/tasks" - -Rake::TestTask.new do |t| - t.test_files = FileList["test_*.rb"] - t.verbose = true -end - -task default: :test diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/icon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/icon.png deleted file mode 100644 index dc0b84a..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/icon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/info.plist b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/info.plist deleted file mode 100644 index 0dad0cc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/info.plist +++ /dev/null @@ -1,125 +0,0 @@ - - - - - bundleid - com.arbitrarydefinitions.faker - category - Tools - connections - - 6C68D0BB-A89A-4FDD-BB99-B5A5B460646E - - - destinationuid - B5EB1D6A-BBD4-461B-AEBC-5A1CFBD844FA - modifiers - 0 - modifiersubtext - - - - destinationuid - 9DE3E4D9-4D72-4C53-9013-D1B1C4AE8776 - modifiers - 0 - modifiersubtext - - - - - createdby - Alpha Chen - description - Creates fake data - disabled - - name - Faker - objects - - - type - alfred.workflow.output.largetype - uid - B5EB1D6A-BBD4-461B-AEBC-5A1CFBD844FA - version - 0 - - - config - - argumenttype - 0 - escaping - 127 - keyword - faker - queuedelaycustom - 1 - queuedelayimmediatelyinitially - - queuedelaymode - 0 - queuemode - 1 - runningsubtext - Generating fake data... - script - ruby workflow.rb {query} - subtext - Generate fake data for "..." - title - Generate fake data - type - 0 - withspace - - - type - alfred.workflow.input.scriptfilter - uid - 6C68D0BB-A89A-4FDD-BB99-B5A5B460646E - version - 0 - - - config - - autopaste - - clipboardtext - {query} - - type - alfred.workflow.output.clipboard - uid - 9DE3E4D9-4D72-4C53-9013-D1B1C4AE8776 - version - 0 - - - readme - - uidata - - 6C68D0BB-A89A-4FDD-BB99-B5A5B460646E - - ypos - 70 - - 9DE3E4D9-4D72-4C53-9013-D1B1C4AE8776 - - ypos - 130 - - B5EB1D6A-BBD4-461B-AEBC-5A1CFBD844FA - - ypos - 10 - - - webaddress - https://github.com/kejadlen/faker - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/test_workflow.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/test_workflow.rb deleted file mode 100644 index 3b18b3f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/test_workflow.rb +++ /dev/null @@ -1,10 +0,0 @@ -require "minitest/autorun" - -require_relative "workflow" - -class TestWorkflow < Minitest::Test - def test_i18n_failure - workflow = Workflow::Faker.new("a") - workflow.items.to_xml - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/bundler/setup.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/bundler/setup.rb deleted file mode 100644 index dffc5f4..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/bundler/setup.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'rbconfig' -# ruby 1.8.7 doesn't define RUBY_ENGINE -ruby_engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby' -ruby_version = RbConfig::CONFIG["ruby_version"] -path = File.expand_path('..', __FILE__) -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/builder-3.2.2/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/alphred-1.0.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/i18n-0.7.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/faker-1.5.0/lib" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/alphred-1.0.0.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/alphred-1.0.0.gem deleted file mode 100644 index 0c21d95..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/alphred-1.0.0.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem deleted file mode 100644 index b59ef92..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/faker-1.5.0.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/faker-1.5.0.gem deleted file mode 100644 index 1d37fd5..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/faker-1.5.0.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/i18n-0.7.0.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/i18n-0.7.0.gem deleted file mode 100644 index 6f8cf73..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/cache/i18n-0.7.0.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/.gitignore b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/.gitignore deleted file mode 100644 index 0cb6eeb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/.bundle/ -/.yardoc -/Gemfile.lock -/_yardoc/ -/coverage/ -/doc/ -/pkg/ -/spec/reports/ -/tmp/ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/.travis.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/.travis.yml deleted file mode 100644 index 2c7a407..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: ruby -rvm: - - 2.2.2 -before_install: gem install bundler -v 1.10.6 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/CODE_OF_CONDUCT.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/CODE_OF_CONDUCT.md deleted file mode 100644 index ce9bee7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,13 +0,0 @@ -# Contributor Code of Conduct - -As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. - -We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion. - -Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct. - -Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team. - -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers. - -This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/) diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Gemfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Gemfile deleted file mode 100644 index 32fd98d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Gemfile +++ /dev/null @@ -1,10 +0,0 @@ -source 'https://rubygems.org' - -# Specify your gem's dependencies in alphred.gemspec -gemspec - -group :development do - gem "guard" - gem "guard-minitest" - gem "pry" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Guardfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Guardfile deleted file mode 100644 index 13966bd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Guardfile +++ /dev/null @@ -1,5 +0,0 @@ -guard :minitest do - watch(%r{^test/(.*)\/?test_(.*)\.rb$}) - watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" } - watch(%r{^test/test_helper\.rb$}) { 'test' } -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/LICENSE.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/LICENSE.txt deleted file mode 100644 index a73fd4f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Alpha Chen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/README.md deleted file mode 100644 index 60aa9c3..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/README.md +++ /dev/null @@ -1,123 +0,0 @@ -# Alphred - -Alphred is a library for making Alfred workflows in Ruby. It's designed -specifically for how I work, so assumes that you manage dependencies with -[Bundler][bundler] and Rubies with [chruby][chruby]. - -[bundler]: http://bundler.io/ -[chruby]: https://github.com/postmodern/chruby - -## Usage - -The [example script filter][scriptfilter] would look like this using Alphred: - -[scriptfilter]: https://www.alfredapp.com/help/workflows/inputs/script-filter/ - -``` ruby -items = Alphred::Items.new( - Alphred::Item.new(uid: "desktop", - arg: "~/Desktop", - valid: true, - autocomplete: "Desktop", - type: :file, - title: "Desktop", - subtitle: "~/Desktop", - icon: { value: "~/Desktop", type: :fileicon }), - Alphred::Item.new(uid: "flickr", - valid: false, - autocomplete: "flickr", - title: "Flickr", - icon: "flickr.png"), - Alphred::Item.new(uid: "image", - autocomplete: "My holiday photo", - type: :file, - title: "My holiday photo", - subtitle: "~/Pictures/My holiday photo.jpg", - icon: { value: "public.jpeg", type: :filetype }), - Alphred::Item.new(uid: "home", - arg: "~/", - valid: true, - autocomplete: "Home", - type: :file, - title: "Home Folder", - subtitle: "Home folder ~/", - icon: { value: "~/", type: :fileicon }, - mods: { shift: "Subtext when shift is pressed", - fn: "Subtext when fn is pressed", - ctrl: "Subtext when ctrl is pressed", - alt: "Subtext when alt is pressed", - cmd: "Subtext when cmd is pressed" }, - text: { copy: "Text when copying", - largetype: "Text for LargeType" })) -items.to_xml -``` - -This produces the following XML: - -``` xml - - - - Desktop - ~/Desktop - ~/Desktop - - - Flickr - flickr.png - - - My holiday photo - ~/Pictures/My holiday photo.jpg - public.jpeg - - - Home Folder - Home folder ~/ - ~/ - Subtext when shift is pressed - Subtext when fn is pressed - Subtext when ctrl is pressed - Subtext when alt is pressed - Subtext when cmd is pressed - Text when copying - Text for LargeType - - -``` - -### Releasing - -Including `alphred/tasks` in your `Rakefile` will allow access to Alphred's -Rake tasks for releasing a workflow. `release` will tag the current commit with -the provided version and create a .alfredworkflow package with vendored gem -dependencies. - -## TODO - -- Make workflow configuration easier. - -## Development - -After checking out the repo, run `bundle install` to install dependencies. -Then, run `rake test` to run the tests. You can also run `rake console` for an -interactive prompt that will allow you to experiment. - -To install this gem onto your local machine, run `bundle exec rake install`. To -release a new version, update the version number in `version.rb`, and then run -`bundle exec rake release`, which will create a git tag for the version, push -git commits and tags, and push the `.gem` file to -[rubygems.org](https://rubygems.org). - -## Contributing - -Bug reports and pull requests are welcome on GitHub at -https://github.com/kejadlen/alphred. This project is intended to be a safe, -welcoming space for collaboration, and contributors are expected to adhere to -the [Contributor Covenant](contributor-covenant.org) code of conduct. - -## License - -The gem is available as open source under the terms of the [MIT -License](http://opensource.org/licenses/MIT). - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Rakefile deleted file mode 100644 index 96a218b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/Rakefile +++ /dev/null @@ -1,17 +0,0 @@ -require "bundler/gem_tasks" -require "rake/testtask" - -Rake::TestTask.new(:test) do |t| - t.libs << "lib" - t.test_files = FileList['test/**/test_*.rb'] -end - -task :console do - require "bundler/setup" - require "alphred" - - require "pry" - Pry.start -end - -task :default => :test diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/alphred.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/alphred.gemspec deleted file mode 100644 index c8ffb0d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/alphred.gemspec +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 -lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "alphred/version" - -Gem::Specification.new do |spec| - spec.name = "alphred" - spec.version = Alphred::VERSION - spec.authors = ["Alpha Chen"] - spec.email = ["alpha.chen@gmail.com"] - - spec.summary = %q{Helper utilities for making Alfred workflows.} - spec.homepage = "https://github.com/kejadlen/alph" - spec.license = "MIT" - - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - spec.bindir = "bin" - spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] - - spec.add_dependency "builder", "~> 3.2" - - spec.add_development_dependency "bundler", "~> 1.10" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "minitest" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred.rb deleted file mode 100644 index 00e3db7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred.rb +++ /dev/null @@ -1,9 +0,0 @@ -require "builder" - -require_relative "alphred/version" - -require_relative "alphred/icon" -require_relative "alphred/item" -require_relative "alphred/items" -require_relative "alphred/mods" -require_relative "alphred/text" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/icon.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/icon.rb deleted file mode 100644 index 7a7bcdf..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/icon.rb +++ /dev/null @@ -1,39 +0,0 @@ -require "builder" - -module Alphred - class Icon - VALID_TYPES = %i[ fileicon filetype ] - - attr_accessor *%i[ value type ] - - def initialize(**kwargs) - raise ArgumentError.new("missing keyword: value") unless kwargs.has_key?(:value) - - @value = kwargs[:value] - self.type = kwargs[:type] if kwargs.has_key?(:type) - end - - def type=(type) - raise ArgumentError.new("`type` must be one of #{VALID_TYPES}") unless type.nil? || VALID_TYPES.include?(type) - - @type = type - end - - def to_xml(xml=nil) - xml ||= Builder::XmlMarkup.new(indent: 2) - attrs = {} - attrs[:type] = self.type unless self.type.nil? - xml.icon self.value, attrs - end - end -end - -module Kernel - def Icon(value) - case value - when Alphred::Icon then value - when String then Alphred::Icon.new(value: value) - when Hash then Alphred::Icon.new(**value) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/item.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/item.rb deleted file mode 100644 index d986ddb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/item.rb +++ /dev/null @@ -1,59 +0,0 @@ -require "builder" - -require_relative "mods" -require_relative "text" - -module Alphred - class Item - VALID_TYPES = %i[ default file file_skipcheck ] - - attr_accessor *%i[ uid arg valid autocomplete title subtitle mods icon text ] - - def initialize(**kwargs) - raise ArgumentError.new("missing keyword: title") unless kwargs.has_key?(:title) - - @title = kwargs[:title] - - %i[ uid arg valid autocomplete subtitle ].each do |attr| - self.instance_variable_set("@#{attr}", kwargs[attr]) if kwargs.has_key?(attr) - end - - @icon = Icon(kwargs[:icon]) if kwargs.has_key?(:icon) - @text = Text.new(kwargs[:text]) if kwargs.has_key?(:text) - @mods = Mods.new(kwargs[:mods]) if kwargs.has_key?(:mods) - - self.type = kwargs[:type] if kwargs.has_key?(:type) - end - - def type=(type) - raise ArgumentError.new("`type` must be one of #{VALID_TYPES}") unless type.nil? || VALID_TYPES.include?(type) - - @type = type - end - - def type - @type && @type.to_s.gsub(?_, ?:) - end - - def to_xml(xml=nil) - xml ||= Builder::XmlMarkup.new(indent: 2) - xml.item self.attrs do - xml.title self.title - xml.subtitle self.subtitle unless self.subtitle.nil? - self.icon.to_xml(xml) unless self.icon.nil? - self.mods.to_xml(xml) unless self.mods.nil? - self.text.to_xml(xml) unless self.text.nil? - end - end - - def attrs - attrs = {} - %i[ uid arg autocomplete type ].each do |attr| - value = self.send(attr) - attrs[attr] = value unless value.nil? - end - attrs[:valid] = (self.valid) ? "yes" : "no" unless self.valid.nil? - attrs - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/items.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/items.rb deleted file mode 100644 index eec3721..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/items.rb +++ /dev/null @@ -1,22 +0,0 @@ -require "builder" - -module Alphred - class Items < DelegateClass(Array) - attr_reader :items - - def initialize(*items) - @items = items - super(@items) - end - - def to_xml - xml = Builder::XmlMarkup.new(indent: 2) - xml.instruct! :xml - xml.items do - self.items.each do |item| - item.to_xml(xml) - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/mods.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/mods.rb deleted file mode 100644 index 01da3f0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/mods.rb +++ /dev/null @@ -1,22 +0,0 @@ -require "builder" - -module Alphred - class Mods - MODS = %i[ shift fn ctrl alt cmd ] - - attr_accessor *MODS - - def initialize(**kwargs) - MODS.each do |mod| - self.instance_variable_set("@#{mod}", kwargs[mod]) if kwargs.has_key?(mod) - end - end - - def to_xml(xml) - MODS.each do |mod| - value = self.send(mod) - xml.subtitle value, mod: mod unless value.nil? - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/tasks.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/tasks.rb deleted file mode 100644 index 1e4bde8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/tasks.rb +++ /dev/null @@ -1,40 +0,0 @@ -require "rake" - -namespace :alphred do - desc "Prepare a release, named after the directory" - task :release, [:version] => [:tag, :package] - - desc "Tag the current commit in git with VERSION" - task :tag, [:version] do |t, args| - version = args[:version] - - git_status = `git status --porcelain` - fail <<-FAIL unless git_status.empty? -Can't tag #{version}: dirty working directory. - FAIL - - sh "git tag #{version}" - end - - desc "Create an alfredworkflow package with vendored dependencies" - task :package do - restore_bundler_config do - cmd = "bundle install --standalone --path vendor/bundle --without development test" - sh "chruby-exec 2.0.0 -- #{cmd}" - end - sh "zip -r #{application_dir.pathmap("%n.alfredworkflow")} *" - rm_rf "vendor" - end - - def application_dir - Rake.application.original_dir - end - - def restore_bundler_config - path = File.join(application_dir, ".bundle", "config") - config = File.read(path) - yield - ensure - File.write(path, config, mode: ?w) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/text.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/text.rb deleted file mode 100644 index 0f24576..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/text.rb +++ /dev/null @@ -1,17 +0,0 @@ -require "builder" - -module Alphred - class Text - attr_accessor *%i[ copy largetype ] - - def initialize(copy: nil, largetype: nil) - @copy = copy - @largetype = largetype - end - - def to_xml(xml) - xml.text copy, type: :copy unless self.copy.nil? - xml.text largetype, type: :largetype unless self.largetype.nil? - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/version.rb deleted file mode 100644 index 19ac83e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/alphred-1.0.0/lib/alphred/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module Alphred - VERSION = "1.0.0" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES deleted file mode 100644 index 0f608fe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES +++ /dev/null @@ -1,107 +0,0 @@ -= Change Log - -== Version 3.2.0 - -* Ruby 2.0 compatibility changes. - -* Allow single quoted attributes. - -== Version 3.1.0 - -* Included the to_xs arity patch needed for weird Rails compatibility - issue. - -* Escaping newlines in attributes now. - -* Allow method caching - -== Version 3.0.0 - -* Ruby 1.9 compatiblity issues. - -== Version 2.2.0 - -* Applied patch from Thijs van der Vossen to allow UTF-8 encoded - output when the encoding is UTF-8 and $KCODE is UTF8. - -== Version 2.1.2 - -* Fixed bug where private methods in kernel could leak through using - tag!(). Thanks to Hagen Overdick for finding and diagnosing this - bug. - -== Version 2.1.1 - -* Fixed typo in XmlMarkup class docs (ident => indent). (from Martin - Fowler). -* Removed extra directory indirection from legacy CVS to SVN move. -* Removed some extraneous tabs from source. -* Fixed test on private methods in blankslate to differentiate between - targetted and untargetted private methods. -* Removed legacy capture of @self in XmlBase (@self was used back when - we used instance eval). -* Added additional tests for global functions (both direct and included). - -== Version 2.1.0 - -* Fixed bug in BlankSlate where including a module into Object could - cause methods to leak into BlankSlate. -* Made BlankSlate available as its own gem. Currently the builder gem - still directly includes the BlankSlate code. -* Added reveal capability to BlankSlate. - -== Version 2.0.0 - -* Added doc directory -* Added unit tests for XmlEvents. -* Added XChar module and used it in the _escape method. -* Attributes are now quoted by default when strings. Use Symbol - attribute values for unquoted behavior. - -== Version 1.2.4 - -* Added a cdata! command to an XML Builder (from Josh Knowles). - -== Version 1.2.3 - -The attributes in the instruction will be ordered: -version, encoding, standalone. - -== Version 1.2.2 - -Another fix for BlankSlate. The Kernal/Object traps added in 1.2.1 -failed when a method was defined late more than once. Since the -method was already marked as removed, another attempt to undefine it -raised an error. The fix was to check the list of instance methods -before attempting the undef operation. Thanks to Florian Gross and -David Heinemeier Hansson for the patch. - -== Version 1.2.1 - -BlankSlate now traps method definitions in Kernel and Object to avoid -late method definitions inadvertently becoming part of the definition -of BlankSlate as well. - -== Version 1.2.0 - -Improved support for entity declarations by allowing nested -declarations and removal of the attribute processing. - -Added namespace support. - -== Version 1.1.0 - -Added support for comments, entity declarations and processing instructions. - -== Version 1.0.0 - -Removed use of instace_eval making the use of XmlMarkup much -less prone to error. - -== Version 0.1.1 - -Bug fix. - -== Version 0.1.0 - -Initial version release. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE deleted file mode 100644 index 7d9be51..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2003-2012 Jim Weirich (jim.weirich@gmail.com) - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md deleted file mode 100644 index 81928cc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md +++ /dev/null @@ -1,258 +0,0 @@ -# Project: Builder - -## Goal - -Provide a simple way to create XML markup and data structures. - -## Classes - -Builder::XmlMarkup:: Generate XML markup notation -Builder::XmlEvents:: Generate XML events (i.e. SAX-like) - -**Notes:** - -* An Builder::XmlTree class to generate XML tree - (i.e. DOM-like) structures is also planned, but not yet implemented. - Also, the events builder is currently lagging the markup builder in - features. - -## Usage - -```ruby - require 'rubygems' - require_gem 'builder', '~> 2.0' - - builder = Builder::XmlMarkup.new -` xml = builder.person { |b| b.name("Jim"); b.phone("555-1234") } - xml #=> Jim555-1234 -``` - -or - -```ruby - require 'rubygems' - require_gem 'builder' - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - # - # Prints: - # - # Jim - # 555-1234 - # -``` - -## Compatibility - -### Version 2.0.0 Compatibility Changes - -Version 2.0.0 introduces automatically escaped attribute values for -the first time. Versions prior to 2.0.0 did not insert escape -characters into attribute values in the XML markup. This allowed -attribute values to explicitly reference entities, which was -occasionally used by a small number of developers. Since strings -could always be explicitly escaped by hand, this was not a major -restriction in functionality. - -However, it did surprise most users of builder. Since the body text is -normally escaped, everybody expected the attribute values to be -escaped as well. Escaped attribute values were the number one support -request on the 1.x Builder series. - -Starting with Builder version 2.0.0, all attribute values expressed as -strings will be processed and the appropriate characters will be -escaped (e.g. "&" will be translated to "&"). Attribute values -that are expressed as Symbol values will not be processed for escaped -characters and will be unchanged in output. (Yes, this probably counts -as Symbol abuse, but the convention is convenient and flexible). - -Example: - -```ruby - xml = Builder::XmlMarkup.new - xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There") - xml.target! => - -``` - -### Version 1.0.0 Compatibility Changes - -Version 1.0.0 introduces some changes that are not backwards -compatible with earlier releases of builder. The main areas of -incompatibility are: - -* Keyword based arguments to +new+ (rather than positional based). It - was found that a developer would often like to specify indentation - without providing an explicit target, or specify a target without - indentation. Keyword based arguments handle this situation nicely. - -* Builder must now be an explicit target for markup tags. Instead of - writing - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { strong("text") } -``` - - you need to write - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { xml_markup.strong("text") } -``` - -* The builder object is passed as a parameter to all nested markup - blocks. This allows you to create a short alias for the builder - object that can be used within the block. For example, the previous - example can be written as: - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { |xml| xml.strong("text") } -``` - -* If you have both a pre-1.0 and a post-1.0 gem of builder installed, - you can choose which version to use through the RubyGems - +require_gem+ facility. - -```ruby - require_gem 'builder', "~> 0.0" # Gets the old version - require_gem 'builder', "~> 1.0" # Gets the new version -``` - -## Features - -* XML Comments are supported ... - -```ruby - xml_markup.comment! "This is a comment" - #=> -``` - -* XML processing instructions are supported ... - -```ruby - xml_markup.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8" - #=> -``` - - If the processing instruction is omitted, it defaults to "xml". - When the processing instruction is "xml", the defaults attributes - are: - - version: 1.0 - encoding: "UTF-8" - - (NOTE: if the encoding is set to "UTF-8" and $KCODE is set to - "UTF8", then Builder will emit UTF-8 encoded strings rather than - encoding non-ASCII characters as entities.) - -* XML entity declarations are now supported to a small degree. - -```ruby - xml_markup.declare! :DOCTYPE, :chapter, :SYSTEM, "../dtds/chapter.dtd" - #=> -``` - - The parameters to a declare! method must be either symbols or - strings. Symbols are inserted without quotes, and strings are - inserted with double quotes. Attribute-like arguments in hashes are - not allowed. - - If you need to have an argument to declare! be inserted without - quotes, but the argument does not conform to the typical Ruby - syntax for symbols, then use the :"string" form to specify a symbol. - - For example: - -```ruby - xml_markup.declare! :ELEMENT, :chapter, :"(title,para+)" - #=> -``` - - Nested entity declarations are allowed. For example: - -```ruby - @xml_markup.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, :"(title,para+)" - x.declare! :ELEMENT, :title, :"(#PCDATA)" - x.declare! :ELEMENT, :para, :"(#PCDATA)" - end - - #=> - - - - - ]> -``` - -* Some support for XML namespaces is now available. If the first - argument to a tag call is a symbol, it will be joined to the tag to - produce a namespace:tag combination. It is easier to show this than - describe it. - -```ruby - xml.SOAP :Envelope do ... end -``` - - Just put a space before the colon in a namespace to produce the - right form for builder (e.g. "SOAP:Envelope" => - "xml.SOAP :Envelope") - -* String attribute values are now escaped by default by - Builder (NOTE: this is _new_ behavior as of version 2.0). - - However, occasionally you need to use entities in attribute values. - Using a symbol (rather than a string) for an attribute value will - cause Builder to not run its quoting/escaping algorithm on that - particular value. - - (Note: The +escape_attrs+ option for builder is now - obsolete). - - Example: - -```ruby - xml = Builder::XmlMarkup.new - xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There") - xml.target! => - -``` - -* UTF-8 Support - - Builder correctly translates UTF-8 characters into valid XML. (New - in version 2.0.0). Thanks to Sam Ruby for the translation code. - - You can get UTF-8 encoded output by making sure that the XML - encoding is set to "UTF-8" and that the $KCODE variable is set to - "UTF8". - -```ruby - $KCODE = 'UTF8' - xml = Builder::Markup.new - xml.instruct!(:xml, :encoding => "UTF-8") - xml.sample("Iñtërnâtiônàl") - xml.target! => - "Iñtërnâtiônàl" -``` - -## Links - -| Description | Link | -| :----: | :----: | -| Documents | http://builder.rubyforge.org/ | -| Github Clone | git://github.com/jimweirich/builder.git | -| Issue / Bug Reports | https://github.com/jimweirich/builder/issues?state=open | - -## Contact - -| Description | Value | -| :----: | :----: | -| Author | Jim Weirich | -| Email | jim.weirich@gmail.com | -| Home Page | http://onestepback.org | -| License | MIT Licence (http://www.opensource.org/licenses/mit-license.html) | diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile deleted file mode 100644 index b082fbe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile +++ /dev/null @@ -1,195 +0,0 @@ -# Rakefile for rake -*- ruby -*- - -# Copyright 2004, 2005, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. - -require 'rake/clean' -require 'rake/testtask' -begin - require 'rubygems' - require 'rubygems/package_task' - require 'rdoc/task' -rescue Exception - nil -end - -require './lib/builder/version' - -# Determine the current version of the software - -CLOBBER.include('pkg', 'html') -CLEAN.include('pkg/builder-*').include('pkg/blankslate-*').exclude('pkg/*.gem') - -PKG_VERSION = Builder::VERSION - -SRC_RB = FileList['lib/**/*.rb'] - -# The default task is run if rake is given no explicit arguments. - -desc "Default Task" -task :default => :test_all - -# Test Tasks --------------------------------------------------------- - -desc "Run all tests" -task :test_all => [:test_units] -task :ta => [:test_all] - -task :tu => [:test_units] - -Rake::TestTask.new("test_units") do |t| - t.test_files = FileList['test/test*.rb'] - t.libs << "." - t.verbose = false -end - -# Create a task to build the RDOC documentation tree. - -if defined?(RDoc) - rd = RDoc::Task.new("rdoc") { |rdoc| - rdoc.rdoc_dir = 'html' - rdoc.title = "Builder for Markup" - rdoc.options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc' - rdoc.rdoc_files.include('lib/**/*.rb', '[A-Z]*', 'doc/**/*.rdoc').exclude("TAGS") - rdoc.template = 'doc/jamis.rb' - } -else - rd = Struct.new(:rdoc_files).new([]) -end - -# ==================================================================== -# Create a task that will package the Rake software into distributable -# gem files. - -PKG_FILES = FileList[ - '[A-Z]*', - 'doc/**/*', - 'lib/**/*.rb', - 'test/**/*.rb', - 'rakelib/**/*' -] -PKG_FILES.exclude('test/test_cssbuilder.rb') -PKG_FILES.exclude('lib/builder/css.rb') -PKG_FILES.exclude('TAGS') - -BLANKSLATE_FILES = FileList[ - 'lib/blankslate.rb', - 'test/test_blankslate.rb' -] - -if ! defined?(Gem) - puts "Package Target requires RubyGEMs" -else - spec = Gem::Specification.new do |s| - - #### Basic information. - - s.name = 'builder' - s.version = PKG_VERSION - s.summary = "Builders for MarkUp." - s.description = %{\ -Builder provides a number of builder objects that make creating structured data -simple to do. Currently the following builder objects are supported: - -* XML Markup -* XML Events -} - - s.files = PKG_FILES.to_a - s.require_path = 'lib' - - s.test_files = PKG_FILES.select { |fn| fn =~ /^test\/test/ } - - s.has_rdoc = true - s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a - s.rdoc_options << - '--title' << 'Builder -- Easy XML Building' << - '--main' << 'README.rdoc' << - '--line-numbers' - - s.author = "Jim Weirich" - s.email = "jim.weirich@gmail.com" - s.homepage = "http://onestepback.org" - s.license = 'MIT' - end - - blankslate_spec = Gem::Specification.new do |s| - - #### Basic information. - - s.name = 'blankslate' - s.version = PKG_VERSION - s.summary = "Blank Slate base class." - s.description = %{\ -BlankSlate provides a base class where almost all of the methods from Object and -Kernel have been removed. This is useful when providing proxy object and other -classes that make heavy use of method_missing. -} - - s.files = BLANKSLATE_FILES.to_a - s.require_path = 'lib' - - s.test_files = PKG_FILES.select { |fn| fn =~ /^test\/test/ } - - s.has_rdoc = true - s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a - s.rdoc_options << - '--title' << 'BlankSlate -- Base Class for building proxies.' << - '--main' << 'README.rdoc' << - '--line-numbers' - - s.author = "Jim Weirich" - s.email = "jim.weirich@gmail.com" - s.homepage = "http://onestepback.org" - s.license = 'MIT' - end - - namespace 'builder' do - Gem::PackageTask.new(spec) do |t| - t.need_tar = false - end - end - - namespace 'blankslate' do - Gem::PackageTask.new(blankslate_spec) do |t| - t.need_tar = false - end - end - - task :package => [:remove_tags, 'builder:package', 'blankslate:package'] -end - -task :remove_tags do - rm "TAGS" rescue nil -end - -# RCov --------------------------------------------------------------- -begin - require 'rcov/rcovtask' - - Rcov::RcovTask.new do |t| - t.libs << "test" - t.rcov_opts = [ - '-xRakefile', '--text-report' - ] - t.test_files = FileList[ - 'test/test*.rb' - ] - t.output_dir = 'coverage' - t.verbose = true - end -rescue LoadError - # No rcov available -end - -desc "Install the jamis RDoc template" -task :install_jamis_template do - require 'rbconfig' - dest_dir = File.join(Config::CONFIG['rubylibdir'], "rdoc/generators/template/html") - fail "Unabled to write to #{dest_dir}" unless File.writable?(dest_dir) - install "doc/jamis.rb", dest_dir, :verbose => true -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb deleted file mode 100644 index a00b583..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb +++ /dev/null @@ -1,591 +0,0 @@ -module RDoc -module Page - -FONTS = "\"Bitstream Vera Sans\", Verdana, Arial, Helvetica, sans-serif" - -STYLE = < pre { - padding: 0.5em; - border: 1px dotted black; - background: #FFE; -} - -CSS - -XHTML_PREAMBLE = %{ - -} - -HEADER = XHTML_PREAMBLE + < - - %title% - - - - - - - -ENDHEADER - -FILE_PAGE = < - - - - -
File
%short_name%
- - - - - - - - - -
Path:%full_path% -IF:cvsurl -  (CVS) -ENDIF:cvsurl -
Modified:%dtm_modified%
-
- -
-HTML - -################################################################### - -CLASS_PAGE = < - %classmod%
%full_name% - - - - - - -IF:parent - - - - -ENDIF:parent -
In: -START:infiles -HREF:full_path_url:full_path: -IF:cvsurl - (CVS) -ENDIF:cvsurl -END:infiles -
Parent: -IF:par_url - -ENDIF:par_url -%parent% -IF:par_url - -ENDIF:par_url -
- - - -HTML - -################################################################### - -METHOD_LIST = < -IF:diagram -
- %diagram% -
-ENDIF:diagram - -IF:description -
%description%
-ENDIF:description - -IF:requires -
Required Files
-
    -START:requires -
  • HREF:aref:name:
  • -END:requires -
-ENDIF:requires - -IF:toc -
Contents
- -ENDIF:toc - -IF:methods -
Methods
-
    -START:methods -
  • HREF:aref:name:
  • -END:methods -
-ENDIF:methods - -IF:includes -
Included Modules
-
    -START:includes -
  • HREF:aref:name:
  • -END:includes -
-ENDIF:includes - -START:sections -IF:sectitle - -IF:seccomment -
-%seccomment% -
-ENDIF:seccomment -ENDIF:sectitle - -IF:classlist -
Classes and Modules
- %classlist% -ENDIF:classlist - -IF:constants -
Constants
- -START:constants - - - - - -IF:desc - - - - -ENDIF:desc -END:constants -
%name%=%value%
 %desc%
-ENDIF:constants - -IF:attributes -
Attributes
- -START:attributes - - - - - -END:attributes -
-IF:rw -[%rw%] -ENDIF:rw - %name%%a_desc%
-ENDIF:attributes - -IF:method_list -START:method_list -IF:methods -
%type% %category% methods
-START:methods -
-
-IF:callseq - %callseq% -ENDIF:callseq -IFNOT:callseq - %name%%params% -ENDIF:callseq -IF:codeurl -[ source ] -ENDIF:codeurl -
-IF:m_desc -
- %m_desc% -
-ENDIF:m_desc -IF:aka -
- This method is also aliased as -START:aka - %name% -END:aka -
-ENDIF:aka -IF:sourcecode -
- -
-
-%sourcecode%
-
-
-
-ENDIF:sourcecode -
-END:methods -ENDIF:methods -END:method_list -ENDIF:method_list -END:sections - -HTML - -FOOTER = < - -ENDFOOTER - -BODY = HEADER + < - -
- #{METHOD_LIST} -
- - #{FOOTER} -ENDBODY - -########################## Source code ########################## - -SRC_PAGE = XHTML_PREAMBLE + < -%title% - - - - -
%code%
- - -HTML - -########################## Index ################################ - -FR_INDEX_BODY = < - - - - - - - -
-START:entries -%name%
-END:entries -
- -HTML - -CLASS_INDEX = FILE_INDEX -METHOD_INDEX = FILE_INDEX - -INDEX = XHTML_PREAMBLE + < - - %title% - - - - - - - - - -IF:inline_source - -ENDIF:inline_source -IFNOT:inline_source - - - - -ENDIF:inline_source - - <body bgcolor="white"> - Click <a href="html/index.html">here</a> for a non-frames - version of this page. - </body> - - - - -HTML - -end -end - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc deleted file mode 100644 index a1cf54f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +++ /dev/null @@ -1,31 +0,0 @@ -= Builder 1.2.4 Released. - -Added a "CDATA" method to the XML Markup builder (from Josh Knowles). - -== What is Builder? - -Builder::XmlMarkup allows easy programmatic creation of XML markup. -For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - puts builder.target! - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Josh Knowles for the cdata! patch. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc deleted file mode 100644 index ed9e086..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +++ /dev/null @@ -1,46 +0,0 @@ -= Builder 2.0.0 Released. - -== Changes in 2.0.0 - -* UTF-8 characters in data are now correctly translated to their XML - equivalents. (Thanks to Sam Ruby) - -* Attribute values are now escaped by default. See the README - file for details. - -NOTE: The escaping attribute values by default is different -than in previous releases of Builder. This makes version 2.0.0 -somewhat incompatible with the 1.x series of Builder. If you use "&", -"<", or ">" in attributes values, you may have to change your -code. (Essentially you remove the manual escaping. The new way is -easier, believe me). - -== What is Builder? - -Builder::XmlMarkup is a library that allows easy programmatic creation -of XML markup. For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Sam Ruby for the XChar module and the related UTF-8 translation - tools. -* Also to Sam Ruby for gently persuading me to start quoting attribute - values. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc deleted file mode 100755 index dbbf121..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +++ /dev/null @@ -1,58 +0,0 @@ -= Builder 2.1.1 Released. - -Release 2.1.1 of Builder is mainly a bug fix release. - -== Changes in 2.1.1 - -* Added reveal capability to BlankSlate. - -* Fixed a bug in BlankSlate where including a module into Object could - cause methods to leak into BlankSlate. - -* Fixed typo in XmlMarkup class docs (from Martin Fowler). - -* Fixed test on private methods to differentiate between targetted and - untargetted private methods. - -* Removed legacy capture of @self in XmlBase (@self was used back when - we used instance eval). - -* Added additional tests for global functions (both direct and - included). - -* Several misc internal cleanups, including rearranging the source - code tree. - -NOTE: The escaping attribute values by default is different -than in previous releases of Builder. This makes version 2.0.x -somewhat incompatible with the 1.x series of Builder. If you use "&", -"<", or ">" in attributes values, you may have to change your -code. (Essentially you remove the manual escaping. The new way is -easier, believe me). - -== What is Builder? - -Builder::XmlMarkup is a library that allows easy programmatic creation -of XML markup. For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Martin Fowler for spotting some typos in the documentation. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb deleted file mode 100644 index 931c8a7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb +++ /dev/null @@ -1,137 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -class String - if instance_methods.first.is_a?(Symbol) - def _blankslate_as_name - to_sym - end - else - def _blankslate_as_name - self - end - end -end - -class Symbol - if instance_methods.first.is_a?(Symbol) - def _blankslate_as_name - self - end - else - def _blankslate_as_name - to_s - end - end -end - -###################################################################### -# BlankSlate provides an abstract base class with no predefined -# methods (except for \_\_send__ and \_\_id__). -# BlankSlate is useful as a base class when writing classes that -# depend upon method_missing (e.g. dynamic proxies). -# -class BlankSlate - class << self - - # Hide the method named +name+ in the BlankSlate class. Don't - # hide +instance_eval+ or any method beginning with "__". - def hide(name) - warn_level = $VERBOSE - $VERBOSE = nil - if instance_methods.include?(name._blankslate_as_name) && - name !~ /^(__|instance_eval$)/ - @hidden_methods ||= {} - @hidden_methods[name.to_sym] = instance_method(name) - undef_method name - end - ensure - $VERBOSE = warn_level - end - - def find_hidden_method(name) - @hidden_methods ||= {} - @hidden_methods[name] || superclass.find_hidden_method(name) - end - - # Redefine a previously hidden method so that it may be called on a blank - # slate object. - def reveal(name) - hidden_method = find_hidden_method(name) - fail "Don't know how to reveal method '#{name}'" unless hidden_method - define_method(name, hidden_method) - end - end - - instance_methods.each { |m| hide(m) } -end - -###################################################################### -# Since Ruby is very dynamic, methods added to the ancestors of -# BlankSlate after BlankSlate is defined will show up in the -# list of available BlankSlate methods. We handle this by defining a -# hook in the Object and Kernel classes that will hide any method -# defined after BlankSlate has been loaded. -# -module Kernel - class << self - alias_method :blank_slate_method_added, :method_added - - # Detect method additions to Kernel and remove them in the - # BlankSlate class. - def method_added(name) - result = blank_slate_method_added(name) - return result if self != Kernel - BlankSlate.hide(name) - result - end - end -end - -###################################################################### -# Same as above, except in Object. -# -class Object - class << self - alias_method :blank_slate_method_added, :method_added - - # Detect method additions to Object and remove them in the - # BlankSlate class. - def method_added(name) - result = blank_slate_method_added(name) - return result if self != Object - BlankSlate.hide(name) - result - end - - def find_hidden_method(name) - nil - end - end -end - -###################################################################### -# Also, modules included into Object need to be scanned and have their -# instance methods removed from blank slate. In theory, modules -# included into Kernel would have to be removed as well, but a -# "feature" of Ruby prevents late includes into modules from being -# exposed in the first place. -# -class Module - alias blankslate_original_append_features append_features - def append_features(mod) - result = blankslate_original_append_features(mod) - return result if mod != Object - instance_methods.each do |name| - BlankSlate.hide(name) - end - result - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb deleted file mode 100644 index 9719277..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' -require 'builder/xmlevents' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb deleted file mode 100644 index 67d2f24..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -###################################################################### -# BlankSlate has been promoted to a top level name and is now -# available as a standalone gem. We make the name available in the -# Builder namespace for compatibility. -# -module Builder - if Object::const_defined?(:BasicObject) - BlankSlate = ::BasicObject - else - require 'blankslate' - BlankSlate = ::BlankSlate - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb deleted file mode 100644 index cbe7bc4..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb +++ /dev/null @@ -1,8 +0,0 @@ -module Builder - VERSION_NUMBERS = [ - VERSION_MAJOR = 3, - VERSION_MINOR = 2, - VERSION_BUILD = 2, - ] - VERSION = VERSION_NUMBERS.join(".") -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb deleted file mode 100644 index c7daa48..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb +++ /dev/null @@ -1,197 +0,0 @@ -#!/usr/bin/env ruby - -# The XChar library is provided courtesy of Sam Ruby (See -# http://intertwingly.net/stories/2005/09/28/xchar.rb) - -# -------------------------------------------------------------------- - -# If the Builder::XChar module is not currently defined, fail on any -# name clashes in standard library classes. - -module Builder - def self.check_for_name_collision(klass, method_name, defined_constant=nil) - if klass.method_defined?(method_name.to_s) - fail RuntimeError, - "Name Collision: Method '#{method_name}' is already defined in #{klass}" - end - end -end - -if ! defined?(Builder::XChar) and ! String.method_defined?(:encode) - Builder.check_for_name_collision(String, "to_xs") - Builder.check_for_name_collision(Fixnum, "xchr") -end - -###################################################################### -module Builder - - #################################################################### - # XML Character converter, from Sam Ruby: - # (see http://intertwingly.net/stories/2005/09/28/xchar.rb). - # - module XChar # :nodoc: - - # See - # http://intertwingly.net/stories/2004/04/14/i18n.html#CleaningWindows - # for details. - CP1252 = { # :nodoc: - 128 => 8364, # euro sign - 130 => 8218, # single low-9 quotation mark - 131 => 402, # latin small letter f with hook - 132 => 8222, # double low-9 quotation mark - 133 => 8230, # horizontal ellipsis - 134 => 8224, # dagger - 135 => 8225, # double dagger - 136 => 710, # modifier letter circumflex accent - 137 => 8240, # per mille sign - 138 => 352, # latin capital letter s with caron - 139 => 8249, # single left-pointing angle quotation mark - 140 => 338, # latin capital ligature oe - 142 => 381, # latin capital letter z with caron - 145 => 8216, # left single quotation mark - 146 => 8217, # right single quotation mark - 147 => 8220, # left double quotation mark - 148 => 8221, # right double quotation mark - 149 => 8226, # bullet - 150 => 8211, # en dash - 151 => 8212, # em dash - 152 => 732, # small tilde - 153 => 8482, # trade mark sign - 154 => 353, # latin small letter s with caron - 155 => 8250, # single right-pointing angle quotation mark - 156 => 339, # latin small ligature oe - 158 => 382, # latin small letter z with caron - 159 => 376, # latin capital letter y with diaeresis - } - - # See http://www.w3.org/TR/REC-xml/#dt-chardata for details. - PREDEFINED = { - 38 => '&', # ampersand - 60 => '<', # left angle bracket - 62 => '>', # right angle bracket - } - - # See http://www.w3.org/TR/REC-xml/#charsets for details. - VALID = [ - 0x9, 0xA, 0xD, - (0x20..0xD7FF), - (0xE000..0xFFFD), - (0x10000..0x10FFFF) - ] - - # http://www.fileformat.info/info/unicode/char/fffd/index.htm - REPLACEMENT_CHAR = - if String.method_defined?(:encode) - "\uFFFD" - elsif $KCODE == 'UTF8' - "\xEF\xBF\xBD" - else - '*' - end - end - -end - - -if String.method_defined?(:encode) - module Builder - module XChar # :nodoc: - CP1252_DIFFERENCES, UNICODE_EQUIVALENT = Builder::XChar::CP1252.each. - inject([[],[]]) {|(domain,range),(key,value)| - [domain << key,range << value] - }.map {|seq| seq.pack('U*').force_encoding('utf-8')} - - XML_PREDEFINED = Regexp.new('[' + - Builder::XChar::PREDEFINED.keys.pack('U*').force_encoding('utf-8') + - ']') - - INVALID_XML_CHAR = Regexp.new('[^'+ - Builder::XChar::VALID.map { |item| - case item - when Fixnum - [item].pack('U').force_encoding('utf-8') - when Range - [item.first, '-'.ord, item.last].pack('UUU').force_encoding('utf-8') - end - }.join + - ']') - - ENCODING_BINARY = Encoding.find('BINARY') - ENCODING_UTF8 = Encoding.find('UTF-8') - ENCODING_ISO1 = Encoding.find('ISO-8859-1') - - # convert a string to valid UTF-8, compensating for a number of - # common errors. - def XChar.unicode(string) - if string.encoding == ENCODING_BINARY - if string.ascii_only? - string - else - string = string.clone.force_encoding(ENCODING_UTF8) - if string.valid_encoding? - string - else - string.encode(ENCODING_UTF8, ENCODING_ISO1) - end - end - - elsif string.encoding == ENCODING_UTF8 - if string.valid_encoding? - string - else - string.encode(ENCODING_UTF8, ENCODING_ISO1) - end - - else - string.encode(ENCODING_UTF8) - end - end - - # encode a string per XML rules - def XChar.encode(string) - unicode(string). - tr(CP1252_DIFFERENCES, UNICODE_EQUIVALENT). - gsub(INVALID_XML_CHAR, REPLACEMENT_CHAR). - gsub(XML_PREDEFINED) {|c| PREDEFINED[c.ord]} - end - end - end - -else - - ###################################################################### - # Enhance the Fixnum class with a XML escaped character conversion. - # - class Fixnum - XChar = Builder::XChar if ! defined?(XChar) - - # XML escaped version of chr. When escape is set to false - # the CP1252 fix is still applied but utf-8 characters are not - # converted to character entities. - def xchr(escape=true) - n = XChar::CP1252[self] || self - case n when *XChar::VALID - XChar::PREDEFINED[n] or - (n<128 ? n.chr : (escape ? "&##{n};" : [n].pack('U*'))) - else - Builder::XChar::REPLACEMENT_CHAR - end - end - end - - - ###################################################################### - # Enhance the String class with a XML escaped character version of - # to_s. - # - class String - # XML escaped version of to_s. When escape is set to false - # the CP1252 fix is still applied but utf-8 characters are not - # converted to character entities. - def to_xs(escape=true) - unpack('U*').map {|n| n.xchr(escape)}.join # ASCII, UTF-8 - rescue - unpack('C*').map {|n| n.xchr}.join # ISO-8859-1, WIN-1252 - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb deleted file mode 100644 index 8f03a82..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb +++ /dev/null @@ -1,199 +0,0 @@ -#!/usr/bin/env ruby - -require 'builder/blankslate' - -module Builder - - # Generic error for builder - class IllegalBlockError < RuntimeError; end - - # XmlBase is a base class for building XML builders. See - # Builder::XmlMarkup and Builder::XmlEvents for examples. - class XmlBase < BlankSlate - - class << self - attr_accessor :cache_method_calls - end - - # Create an XML markup builder. - # - # out :: Object receiving the markup. +out+ must respond to - # <<. - # indent :: Number of spaces used for indentation (0 implies no - # indentation and no line breaks). - # initial :: Level of initial indentation. - # encoding :: When encoding and $KCODE are set to 'utf-8' - # characters aren't converted to character entities in - # the output stream. - def initialize(indent=0, initial=0, encoding='utf-8') - @indent = indent - @level = initial - @encoding = encoding.downcase - end - - def explicit_nil_handling? - @explicit_nil_handling - end - - # Create a tag named +sym+. Other than the first argument which - # is the tag name, the arguments are the same as the tags - # implemented via method_missing. - def tag!(sym, *args, &block) - text = nil - attrs = nil - sym = "#{sym}:#{args.shift}" if args.first.kind_of?(::Symbol) - sym = sym.to_sym unless sym.class == ::Symbol - args.each do |arg| - case arg - when ::Hash - attrs ||= {} - attrs.merge!(arg) - when nil - attrs ||= {} - attrs.merge!({:nil => true}) if explicit_nil_handling? - else - text ||= '' - text << arg.to_s - end - end - if block - unless text.nil? - ::Kernel::raise ::ArgumentError, - "XmlMarkup cannot mix a text argument with a block" - end - _indent - _start_tag(sym, attrs) - _newline - begin - _nested_structures(block) - ensure - _indent - _end_tag(sym) - _newline - end - elsif text.nil? - _indent - _start_tag(sym, attrs, true) - _newline - else - _indent - _start_tag(sym, attrs) - text! text - _end_tag(sym) - _newline - end - @target - end - - # Create XML markup based on the name of the method. This method - # is never invoked directly, but is called for each markup method - # in the markup block that isn't cached. - def method_missing(sym, *args, &block) - cache_method_call(sym) if ::Builder::XmlBase.cache_method_calls - tag!(sym, *args, &block) - end - - # Append text to the output target. Escape any markup. May be - # used within the markup brackets as: - # - # builder.p { |b| b.br; b.text! "HI" } #=>


HI

- def text!(text) - _text(_escape(text)) - end - - # Append text to the output target without escaping any markup. - # May be used within the markup brackets as: - # - # builder.p { |x| x << "
HI" } #=>


HI

- # - # This is useful when using non-builder enabled software that - # generates strings. Just insert the string directly into the - # builder without changing the inserted markup. - # - # It is also useful for stacking builder objects. Builders only - # use << to append to the target, so by supporting this - # method/operation builders can use other builders as their - # targets. - def <<(text) - _text(text) - end - - # For some reason, nil? is sent to the XmlMarkup object. If nil? - # is not defined and method_missing is invoked, some strange kind - # of recursion happens. Since nil? won't ever be an XML tag, it - # is pretty safe to define it here. (Note: this is an example of - # cargo cult programming, - # cf. http://fishbowl.pastiche.org/2004/10/13/cargo_cult_programming). - def nil? - false - end - - private - - require 'builder/xchar' - if ::String.method_defined?(:encode) - def _escape(text) - result = XChar.encode(text) - begin - encoding = ::Encoding::find(@encoding) - raise Exception if encoding.dummy? - result.encode(encoding) - rescue - # if the encoding can't be supported, use numeric character references - result. - gsub(/[^\u0000-\u007F]/) {|c| "&##{c.ord};"}. - force_encoding('ascii') - end - end - else - def _escape(text) - if (text.method(:to_xs).arity == 0) - text.to_xs - else - text.to_xs((@encoding != 'utf-8' or $KCODE != 'UTF8')) - end - end - end - - def _escape_attribute(text) - _escape(text).gsub("\n", " ").gsub("\r", " "). - gsub(%r{"}, '"') # " WART - end - - def _newline - return if @indent == 0 - text! "\n" - end - - def _indent - return if @indent == 0 || @level == 0 - text!(" " * (@level * @indent)) - end - - def _nested_structures(block) - @level += 1 - block.call(self) - ensure - @level -= 1 - end - - # If XmlBase.cache_method_calls = true, we dynamicly create the method - # missed as an instance method on the XMLBase object. Because XML - # documents are usually very repetative in nature, the next node will - # be handled by the new method instead of method_missing. As - # method_missing is very slow, this speeds up document generation - # significantly. - def cache_method_call(sym) - class << self; self; end.class_eval do - unless method_defined?(sym) - define_method(sym) do |*args, &block| - tag!(sym, *args, &block) - end - end - end - end - end - - XmlBase.cache_method_calls = true - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb deleted file mode 100644 index 91fcd21..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' - -module Builder - - # Create a series of SAX-like XML events (e.g. start_tag, end_tag) - # from the markup code. XmlEvent objects are used in a way similar - # to XmlMarkup objects, except that a series of events are generated - # and passed to a handler rather than generating character-based - # markup. - # - # Usage: - # xe = Builder::XmlEvents.new(hander) - # xe.title("HI") # Sends start_tag/end_tag/text messages to the handler. - # - # Indentation may also be selected by providing value for the - # indentation size and initial indentation level. - # - # xe = Builder::XmlEvents.new(handler, indent_size, initial_indent_level) - # - # == XML Event Handler - # - # The handler object must expect the following events. - # - # [start_tag(tag, attrs)] - # Announces that a new tag has been found. +tag+ is the name of - # the tag and +attrs+ is a hash of attributes for the tag. - # - # [end_tag(tag)] - # Announces that an end tag for +tag+ has been found. - # - # [text(text)] - # Announces that a string of characters (+text+) has been found. - # A series of characters may be broken up into more than one - # +text+ call, so the client cannot assume that a single - # callback contains all the text data. - # - class XmlEvents < XmlMarkup - def text!(text) - @target.text(text) - end - - def _start_tag(sym, attrs, end_too=false) - @target.start_tag(sym, attrs) - _end_tag(sym) if end_too - end - - def _end_tag(sym) - @target.end_tag(sym) - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb deleted file mode 100644 index 4730d09..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +++ /dev/null @@ -1,339 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2005 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -# Provide a flexible and easy to use Builder for creating XML markup. -# See XmlBuilder for usage details. - -require 'builder/xmlbase' - -module Builder - - # Create XML markup easily. All (well, almost all) methods sent to - # an XmlMarkup object will be translated to the equivalent XML - # markup. Any method with a block will be treated as an XML markup - # tag with nested markup in the block. - # - # Examples will demonstrate this easier than words. In the - # following, +xm+ is an +XmlMarkup+ object. - # - # xm.em("emphasized") # => emphasized - # xm.em { xm.b("emp & bold") } # => emph & bold - # xm.a("A Link", "href"=>"http://onestepback.org") - # # => A Link - # xm.div { xm.br } # =>

- # xm.target("name"=>"compile", "option"=>"fast") - # # => - # # NOTE: order of attributes is not specified. - # - # xm.instruct! # - # xm.html { # - # xm.head { # - # xm.title("History") # History - # } # - # xm.body { # - # xm.comment! "HI" # - # xm.h1("Header") #

Header

- # xm.p("paragraph") #

paragraph

- # } # - # } # - # - # == Notes: - # - # * The order that attributes are inserted in markup tags is - # undefined. - # - # * Sometimes you wish to insert text without enclosing tags. Use - # the text! method to accomplish this. - # - # Example: - # - # xm.div { #
- # xm.text! "line"; xm.br # line
- # xm.text! "another line"; xmbr # another line
- # } #
- # - # * The special XML characters <, >, and & are converted to <, - # > and & automatically. Use the << operation to - # insert text without modification. - # - # * Sometimes tags use special characters not allowed in ruby - # identifiers. Use the tag! method to handle these - # cases. - # - # Example: - # - # xml.tag!("SOAP:Envelope") { ... } - # - # will produce ... - # - # ... " - # - # tag! will also take text and attribute arguments (after - # the tag name) like normal markup methods. (But see the next - # bullet item for a better way to handle XML namespaces). - # - # * Direct support for XML namespaces is now available. If the - # first argument to a tag call is a symbol, it will be joined to - # the tag to produce a namespace:tag combination. It is easier to - # show this than describe it. - # - # xml.SOAP :Envelope do ... end - # - # Just put a space before the colon in a namespace to produce the - # right form for builder (e.g. "SOAP:Envelope" => - # "xml.SOAP :Envelope") - # - # * XmlMarkup builds the markup in any object (called a _target_) - # that accepts the << method. If no target is given, - # then XmlMarkup defaults to a string target. - # - # Examples: - # - # xm = Builder::XmlMarkup.new - # result = xm.title("yada") - # # result is a string containing the markup. - # - # buffer = "" - # xm = Builder::XmlMarkup.new(buffer) - # # The markup is appended to buffer (using <<) - # - # xm = Builder::XmlMarkup.new(STDOUT) - # # The markup is written to STDOUT (using <<) - # - # xm = Builder::XmlMarkup.new - # x2 = Builder::XmlMarkup.new(:target=>xm) - # # Markup written to +x2+ will be send to +xm+. - # - # * Indentation is enabled by providing the number of spaces to - # indent for each level as a second argument to XmlBuilder.new. - # Initial indentation may be specified using a third parameter. - # - # Example: - # - # xm = Builder.new(:indent=>2) - # # xm will produce nicely formatted and indented XML. - # - # xm = Builder.new(:indent=>2, :margin=>4) - # # xm will produce nicely formatted and indented XML with 2 - # # spaces per indent and an over all indentation level of 4. - # - # builder = Builder::XmlMarkup.new(:target=>$stdout, :indent=>2) - # builder.name { |b| b.first("Jim"); b.last("Weirich) } - # # prints: - # # - # # Jim - # # Weirich - # # - # - # * The instance_eval implementation which forces self to refer to - # the message receiver as self is now obsolete. We now use normal - # block calls to execute the markup block. This means that all - # markup methods must now be explicitly send to the xml builder. - # For instance, instead of - # - # xml.div { strong("text") } - # - # you need to write: - # - # xml.div { xml.strong("text") } - # - # Although more verbose, the subtle change in semantics within the - # block was found to be prone to error. To make this change a - # little less cumbersome, the markup block now gets the markup - # object sent as an argument, allowing you to use a shorter alias - # within the block. - # - # For example: - # - # xml_builder = Builder::XmlMarkup.new - # xml_builder.div { |xml| - # xml.stong("text") - # } - # - class XmlMarkup < XmlBase - - # Create an XML markup builder. Parameters are specified by an - # option hash. - # - # :target => target_object:: - # Object receiving the markup. +target_object+ must respond to - # the <<(a_string) operator and return - # itself. The default target is a plain string target. - # - # :indent => indentation:: - # Number of spaces used for indentation. The default is no - # indentation and no line breaks. - # - # :margin => initial_indentation_level:: - # Amount of initial indentation (specified in levels, not - # spaces). - # - # :quote => :single:: - # Use single quotes for attributes rather than double quotes. - # - # :escape_attrs => OBSOLETE:: - # The :escape_attrs option is no longer supported by builder - # (and will be quietly ignored). String attribute values are - # now automatically escaped. If you need unescaped attribute - # values (perhaps you are using entities in the attribute - # values), then give the value as a Symbol. This allows much - # finer control over escaping attribute values. - # - def initialize(options={}) - indent = options[:indent] || 0 - margin = options[:margin] || 0 - @quote = (options[:quote] == :single) ? "'" : '"' - @explicit_nil_handling = options[:explicit_nil_handling] - super(indent, margin) - @target = options[:target] || "" - end - - # Return the target of the builder. - def target! - @target - end - - def comment!(comment_text) - _ensure_no_block ::Kernel::block_given? - _special("", comment_text, nil) - end - - # Insert an XML declaration into the XML markup. - # - # For example: - # - # xml.declare! :ELEMENT, :blah, "yada" - # # => - def declare!(inst, *args, &block) - _indent - @target << "" - _newline - end - - # Insert a processing instruction into the XML markup. E.g. - # - # For example: - # - # xml.instruct! - # #=> - # xml.instruct! :aaa, :bbb=>"ccc" - # #=> - # - # Note: If the encoding is setup to "UTF-8" and the value of - # $KCODE is "UTF8", then builder will emit UTF-8 encoded strings - # rather than the entity encoding normally used. - def instruct!(directive_tag=:xml, attrs={}) - _ensure_no_block ::Kernel::block_given? - if directive_tag == :xml - a = { :version=>"1.0", :encoding=>"UTF-8" } - attrs = a.merge attrs - @encoding = attrs[:encoding].downcase - end - _special( - "", - nil, - attrs, - [:version, :encoding, :standalone]) - end - - # Insert a CDATA section into the XML markup. - # - # For example: - # - # xml.cdata!("text to be included in cdata") - # #=> - # - def cdata!(text) - _ensure_no_block ::Kernel::block_given? - _special("", text.gsub(']]>', ']]]]>'), nil) - end - - private - - # NOTE: All private methods of a builder object are prefixed when - # a "_" character to avoid possible conflict with XML tag names. - - # Insert text directly in to the builder's target. - def _text(text) - @target << text - end - - # Insert special instruction. - def _special(open, close, data=nil, attrs=nil, order=[]) - _indent - @target << open - @target << data if data - _insert_attributes(attrs, order) if attrs - @target << close - _newline - end - - # Start an XML tag. If end_too is true, then the start - # tag is also the end tag (e.g.
- def _start_tag(sym, attrs, end_too=false) - @target << "<#{sym}" - _insert_attributes(attrs) - @target << "/" if end_too - @target << ">" - end - - # Insert an ending tag. - def _end_tag(sym) - @target << "" - end - - # Insert the attributes (given in the hash). - def _insert_attributes(attrs, order=[]) - return if attrs.nil? - order.each do |k| - v = attrs[k] - @target << %{ #{k}=#{@quote}#{_attr_value(v)}#{@quote}} if v - end - attrs.each do |k, v| - @target << %{ #{k}=#{@quote}#{_attr_value(v)}#{@quote}} unless order.member?(k) # " WART - end - end - - def _attr_value(value) - case value - when ::Symbol - value.to_s - else - _escape_attribute(value.to_s) - end - end - - def _ensure_no_block(got_block) - if got_block - ::Kernel::raise IllegalBlockError.new( - "Blocks are not allowed on XML instructions" - ) - end - end - - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake deleted file mode 100644 index 9849e0d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake +++ /dev/null @@ -1,17 +0,0 @@ -# Optional publish task for Rake - -require 'rake/contrib/sshpublisher' -require 'rake/contrib/rubyforgepublisher' - -publisher = Rake::CompositePublisher.new -publisher.add Rake::RubyForgePublisher.new('builder', 'jimweirich') -publisher.add Rake::SshFilePublisher.new( - 'linode', - 'htdocs/software/builder', - '.', - 'builder.blurb') - -desc "Publish the Documentation to RubyForge." -task :publish => [:rdoc] do - publisher.upload -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake deleted file mode 100644 index 93b47df..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env ruby - -module Tags - extend Rake::DSL if defined?(Rake::DSL) - - PROG = ENV['TAGS'] || 'ctags' - - RAKEFILES = FileList['Rakefile', '**/*.rake'] - - FILES = FileList['**/*.rb', '**/*.js'] + RAKEFILES - FILES.exclude('pkg', 'dist') - - PROJECT_DIR = ['.'] - - RVM_GEMDIR = File.join(`rvm gemdir`.strip, "gems") - SYSTEM_DIRS = File.exists?(RVM_GEMDIR) ? RVM_GEMDIR : [] - - module_function - - # Convert key_word to --key-word. - def keyword(key) - k = key.to_s.gsub(/_/, '-') - (k.length == 1) ? "-#{k}" : "--#{k}" - end - - # Run ctags command - def run(*args) - opts = { - :e => true, - :totals => true, - :recurse => true, - } - opts = opts.merge(args.pop) if args.last.is_a?(Hash) - command_args = opts.map { |k, v| - (v == true) ? keyword(k) : "#{keyword(k)}=#{v}" - }.join(" ") - sh %{#{Tags::PROG} #{command_args} #{args.join(' ')}} - end -end - -namespace "tags" do - desc "Generate an Emacs TAGS file" - task :emacs, [:all] => Tags::FILES do |t, args| - puts "Making Emacs TAGS file" - verbose(true) do - Tags.run(Tags::PROJECT_DIR) - Tags.run(Tags::RAKEFILES, - :language_force => "ruby", - :append => true) - if args.all - Tags::SYSTEM_DIRS.each do |dir| - Tags.run(dir, - :language_force => "ruby", - :append => true) - end - end - end - end -end - -desc "Generate the TAGS file" -task :tags, [:all] => ["tags:emacs"] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb deleted file mode 100644 index e764205..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env ruby -# encoding: iso-8859-1 - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' -require 'benchmark' - -text = "This is a test of the new xml markup. I�t�rn�ti�n�liz�ti�n\n" * 10000 - -include Benchmark # we need the CAPTION and FMTSTR constants -include Builder -n = 50 -Benchmark.benchmark do |bm| - tf = bm.report("base") { - n.times do - x = XmlMarkup.new - x.text(text) - x.target! - end - } - def XmlMarkup._escape(text) - text.to_xs - end - tf = bm.report("to_xs") { - n.times do - x = XmlMarkup.new - x.text(text) - x.target! - end - } -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb deleted file mode 100644 index 395e043..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -# We are defining method_added in Kernel and Object so that when -# BlankSlate overrides them later, we can verify that it correctly -# calls the older hooks. - -module Kernel - class << self - attr_reader :k_added_names - alias_method :preload_method_added, :method_added - def method_added(name) - preload_method_added(name) - @k_added_names ||= [] - @k_added_names << name - end - end -end - -class Object - class << self - attr_reader :o_added_names - alias_method :preload_method_added, :method_added - def method_added(name) - preload_method_added(name) - @o_added_names ||= [] - @o_added_names << name - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb deleted file mode 100644 index ea38ced..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb +++ /dev/null @@ -1,217 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'blankslate' -require 'stringio' - -# Methods to be introduced into the Object class late. -module LateObject - def late_object - 33 - end - def LateObject.included(mod) - # Modules defining an included method should not prevent blank - # slate erasure! - end -end - -# Methods to be introduced into the Kernel module late. -module LateKernel - def late_kernel - 44 - end - def LateKernel.included(mod) - # Modules defining an included method should not prevent blank - # slate erasure! - end -end - -# Introduce some late methods (both module and direct) into the Kernel -# module. -module Kernel - include LateKernel - - def late_addition - 1234 - end - - def double_late_addition - 11 - end - - def double_late_addition - 22 - end -end - - -# Introduce some late methods (both module and direct) into the Object -# class. -class Object - include LateObject - def another_late_addition - 4321 - end -end - -# Introduce some late methods by inclusion. -module GlobalModule - def global_inclusion - 42 - end -end -include GlobalModule - -def direct_global - 43 -end - -###################################################################### -# Test case for blank slate. -# -class TestBlankSlate < Test::Unit::TestCase - def setup - @bs = BlankSlate.new - end - - def test_undefined_methods_remain_undefined - assert_raise(NoMethodError) { @bs.no_such_method } - assert_raise(NoMethodError) { @bs.nil? } - end - - - # NOTE: NameError is acceptable because the lack of a '.' means that - # Ruby can't tell if it is a method or a local variable. - def test_undefined_methods_remain_undefined_during_instance_eval - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do nil? end - end - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do no_such_method end - end - end - - def test_private_methods_are_undefined - assert_raise(NoMethodError) do - @bs.puts "HI" - end - end - - def test_targetted_private_methods_are_undefined_during_instance_eval - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do self.puts "HI" end - end - end - - def test_untargetted_private_methods_are_defined_during_instance_eval - oldstdout = $stdout - $stdout = StringIO.new - @bs.instance_eval do - puts "HI" - end - ensure - $stdout = oldstdout - end - - def test_methods_added_late_to_kernel_remain_undefined - assert_equal 1234, nil.late_addition - assert_raise(NoMethodError) { @bs.late_addition } - end - - def test_methods_added_late_to_object_remain_undefined - assert_equal 4321, nil.another_late_addition - assert_raise(NoMethodError) { @bs.another_late_addition } - end - - def test_methods_added_late_to_global_remain_undefined - assert_equal 42, global_inclusion - assert_raise(NoMethodError) { @bs.global_inclusion } - end - - def test_preload_method_added - assert Kernel.k_added_names.include?(:late_addition) - assert Object.o_added_names.include?(:another_late_addition) - end - - def test_method_defined_late_multiple_times_remain_undefined - assert_equal 22, nil.double_late_addition - assert_raise(NoMethodError) { @bs.double_late_addition } - end - - def test_late_included_module_in_object_is_ok - assert_equal 33, 1.late_object - assert_raise(NoMethodError) { @bs.late_object } - end - - def test_late_included_module_in_kernel_is_ok - assert_raise(NoMethodError) { @bs.late_kernel } - end - - def test_revealing_previously_hidden_methods_are_callable - with_to_s = Class.new(BlankSlate) do - reveal :to_s - end - assert_match(/^#<.*>$/, with_to_s.new.to_s) - end - - def test_revealing_previously_hidden_methods_are_callable_with_block - Object.class_eval <<-EOS - def given_block(&block) - block - end - EOS - - with_given_block = Class.new(BlankSlate) do - reveal :given_block - end - assert_not_nil with_given_block.new.given_block {} - end - - def test_revealing_a_hidden_method_twice_is_ok - with_to_s = Class.new(BlankSlate) do - reveal :to_s - reveal :to_s - end - assert_match(/^#<.*>$/, with_to_s.new.to_s) - end - - def test_revealing_unknown_hidden_method_is_an_error - assert_raises(RuntimeError) do - Class.new(BlankSlate) do - reveal :xyz - end - end - end - - def test_global_includes_still_work - assert_nothing_raised do - assert_equal 42, global_inclusion - assert_equal 42, Object.new.global_inclusion - assert_equal 42, "magic number".global_inclusion - assert_equal 43, direct_global - end - end - - def test_reveal_should_not_bind_to_an_instance - with_object_id = Class.new(BlankSlate) do - reveal(:object_id) - end - - obj1 = with_object_id.new - obj2 = with_object_id.new - - assert obj1.object_id != obj2.object_id, - "Revealed methods should not be bound to a particular instance" - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb deleted file mode 100644 index f434470..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb +++ /dev/null @@ -1,150 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' -require 'builder/xmlevents' - -class TestEvents < Test::Unit::TestCase - - class Target - attr_reader :events - - def initialize - @events = [] - end - - def start_tag(tag, attrs) - @events << [:start_tag, tag, attrs] - end - - def end_tag(tag) - @events << [:end_tag, tag] - end - - def text(string) - @events << [:text, string] - end - - end - - - def setup - @target = Target.new - @xml = Builder::XmlEvents.new(:target=>@target) - end - - def test_simple - @xml.one - expect [:start_tag, :one, nil] - expect [:end_tag, :one] - expect_done - end - - def test_nested - @xml.one { @xml.two } - expect [:start_tag, :one, nil] - expect [:start_tag, :two, nil] - expect [:end_tag, :two] - expect [:end_tag, :one] - expect_done - end - - def test_text - @xml.one("a") - expect [:start_tag, :one, nil] - expect [:text, "a"] - expect [:end_tag, :one] - expect_done - end - - def test_special_text - @xml.one("H&R") - expect [:start_tag, :one, nil] - expect [:text, "H&R"] - expect [:end_tag, :one] - expect_done - end - - def test_text_with_entity - @xml.one("H&R") - expect [:start_tag, :one, nil] - expect [:text, "H&R"] - expect [:end_tag, :one] - expect_done - end - - def test_attributes - @xml.a(:b=>"c", :x=>"y") - expect [:start_tag, :a, {:x => "y", :b => "c"}] - expect [:end_tag, :a] - expect_done - end - - def test_moderately_complex - @xml.tag! "address-book" do |x| - x.entry :id=>"1" do - x.name { - x.first "Bill" - x.last "Smith" - } - x.address "Cincinnati" - end - x.entry :id=>"2" do - x.name { - x.first "John" - x.last "Doe" - } - x.address "Columbus" - end - end - expect [:start_tag, "address-book".intern, nil] - expect [:start_tag, :entry, {:id => "1"}] - expect [:start_tag, :name, nil] - expect [:start_tag, :first, nil] - expect [:text, "Bill"] - expect [:end_tag, :first] - expect [:start_tag, :last, nil] - expect [:text, "Smith"] - expect [:end_tag, :last] - expect [:end_tag, :name] - expect [:start_tag, :address, nil] - expect [:text, "Cincinnati"] - expect [:end_tag, :address] - expect [:end_tag, :entry] - expect [:start_tag, :entry, {:id => "2"}] - expect [:start_tag, :name, nil] - expect [:start_tag, :first, nil] - expect [:text, "John"] - expect [:end_tag, :first] - expect [:start_tag, :last, nil] - expect [:text, "Doe"] - expect [:end_tag, :last] - expect [:end_tag, :name] - expect [:start_tag, :address, nil] - expect [:text, "Columbus"] - expect [:end_tag, :address] - expect [:end_tag, :entry] - expect [:end_tag, "address-book".intern] - expect_done - end - - def expect(value) - assert_equal value, @target.events.shift - end - - def expect_done - assert_nil @target.events.shift - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb deleted file mode 100644 index 562b12a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb +++ /dev/null @@ -1,611 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' -require 'builder/xmlmarkup' - -class TestMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new - end - - def test_create - assert_not_nil @xml - end - - def test_simple - @xml.simple - assert_equal "", @xml.target! - end - - def test_value - @xml.value("hi") - assert_equal "hi", @xml.target! - end - - def test_empty_value - @xml.value("") - assert_equal "", @xml.target! - end - - def test_nil_value - @xml.value(nil) - assert_equal "", @xml.target! - end - - def test_no_value - @xml.value() - assert_equal "", @xml.target! - end - - def test_nested - @xml.outer { |x| x.inner("x") } - assert_equal "x", @xml.target! - end - - def test_attributes - @xml.ref(:id => 12) - assert_equal %{}, @xml.target! - end - - def test_single_quotes_for_attrs - @xml = Builder::XmlMarkup.new(:quote => :single) - @xml.ref(:id => 12) - assert_equal %{}, @xml.target! - end - - def test_mixed_quotes_for_attrs - @xml = Builder::XmlMarkup.new(:quote => :single) - x = Builder::XmlMarkup.new(:target=>@xml, :quote => :double) - @xml.ref(:id => 12) do - x.link(:id => 13) - end - assert_equal %{}, @xml.target! - end - - def test_string_attributes_are_escaped_by_default - @xml.ref(:id => "H&R") - assert_equal %{}, @xml.target! - end - - def test_symbol_attributes_are_unescaped_by_default - @xml.ref(:id => :"H&R") - assert_equal %{}, @xml.target! - end - - def test_attributes_escaping_can_be_turned_on - @xml = Builder::XmlMarkup.new - @xml.ref(:id => "") - assert_equal %{}, @xml.target! - end - - def test_mixed_attribute_escaping_with_nested_builders - x = Builder::XmlMarkup.new(:target=>@xml) - @xml.ref(:id=>:"H&R") { - x.element(:tag=>"Long&Short") - } - assert_equal "", - @xml.target! - end - - def test_multiple_attributes - @xml.ref(:id => 12, :name => "bill") - assert_match %r{^$}, @xml.target! - end - - def test_attributes_with_text - @xml.a("link", :href=>"http://onestepback.org") - assert_equal %{link}, @xml.target! - end - - def test_attributes_with_newlines - @xml.abbr("W3C", :title=>"World\nWide\rWeb\r\nConsortium") - assert_equal %{W3C}, - @xml.target! - end - - def test_complex - @xml.body(:bg=>"#ffffff") { |x| - x.title("T", :style=>"red") - } - assert_equal %{T}, @xml.target! - end - - def test_funky_symbol - @xml.tag!("non-ruby-token", :id=>1) { |x| x.ok } - assert_equal %{}, @xml.target! - end - - def test_tag_can_handle_private_method - @xml.tag!("loop", :id=>1) { |x| x.ok } - assert_equal %{}, @xml.target! - end - - def test_no_explicit_marker - @xml.p { |x| x.b("HI") } - assert_equal "

HI

", @xml.target! - end - - def test_reference_local_vars - n = 3 - @xml.ol { |x| n.times { x.li(n) } } - assert_equal "
  1. 3
  2. 3
  3. 3
", @xml.target! - end - - def test_reference_methods - @xml.title { |x| x.a { x.b(name) } } - assert_equal "<a><b>bob</b></a>", @xml.target! - end - - def test_append_text - @xml.p { |x| x.br; x.text! "HI" } - assert_equal "


HI

", @xml.target! - end - - def test_ambiguous_markup - ex = assert_raise(ArgumentError) { - @xml.h1("data1") { b } - } - assert_match(/\btext\b/, ex.message) - assert_match(/\bblock\b/, ex.message) - end - - def test_capitalized_method - @xml.P { |x| x.B("hi"); x.BR(); x.EM { x.text! "world" } } - assert_equal "

hi
world

", @xml.target! - end - - def test_escaping - @xml.div { |x| x.text! ""; x.em("H&R Block") } - assert_equal %{
<hi>H&R Block
}, @xml.target! - end - - def test_nil - b = Builder::XmlMarkup.new - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_nil_without_explicit_nil_handling - b = Builder::XmlMarkup.new(:explicit_nil_handling => false) - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_nil_with_explicit_nil_handling - b = Builder::XmlMarkup.new(:explicit_nil_handling => true) - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_non_escaping - @xml.div("ns:xml"=>:"&xml;") { |x| x << ""; x.em("H&R Block") } - assert_equal %{
H&R Block
}, @xml.target! - end - - def test_return_value - str = @xml.x("men") - assert_equal @xml.target!, str - end - - def test_stacked_builders - b = Builder::XmlMarkup.new( :target => @xml ) - b.div { @xml.span { @xml.a("text", :href=>"ref") } } - assert_equal "", @xml.target! - end - - def name - "bob" - end -end - -class TestAttributeEscaping < Test::Unit::TestCase - - def setup - @xml = Builder::XmlMarkup.new - end - - def test_element_gt - @xml.title('1<2') - assert_equal '1<2', @xml.target! - end - - def test_element_amp - @xml.title('AT&T') - assert_equal 'AT&T', @xml.target! - end - - def test_element_amp2 - @xml.title('&') - assert_equal '&amp;', @xml.target! - end - - def test_attr_less - @xml.a(:title => '2>1') - assert_equal '', @xml.target! - end - - def test_attr_amp - @xml.a(:title => 'AT&T') - assert_equal '', @xml.target! - end - - def test_attr_quot - @xml.a(:title => '"x"') - assert_equal '', @xml.target! - end - -end - -class TestNameSpaces < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_simple_name_spaces - @xml.rdf :RDF - assert_equal "\n", @xml.target! - end - - def test_long - xml = Builder::XmlMarkup.new(:indent=>2) - xml.instruct! - xml.rdf :RDF, - "xmlns:rdf" => :"&rdf;", - "xmlns:rdfs" => :"&rdfs;", - "xmlns:xsd" => :"&xsd;", - "xmlns:owl" => :"&owl;" do - xml.owl :Class, :'rdf:ID'=>'Bird' do - xml.rdfs :label, 'bird' - xml.rdfs :subClassOf do - xml.owl :Restriction do - xml.owl :onProperty, 'rdf:resource'=>'#wingspan' - xml.owl :maxCardinality,1,'rdf:datatype'=>'&xsd;nonNegativeInteger' - end - end - end - end - assert_match(/^<\?xml/, xml.target!) - assert_match(/\n/m, xml.target!) - end - - def test_ensure - xml = Builder::XmlMarkup.new - xml.html do - xml.body do - begin - xml.p do - raise Exception.new('boom') - end - rescue Exception => e - xml.pre e - end - end - end - assert_match %r{

}, xml.target! - assert_match %r{

}, xml.target! - end -end - -class TestDeclarations < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_declare - @xml.declare! :element - assert_equal "\n", @xml.target! - end - - def test_bare_arg - @xml.declare! :element, :arg - assert_equal"\n", @xml.target! - end - - def test_string_arg - @xml.declare! :element, "string" - assert_equal"\n", @xml.target! - end - - def test_mixed_args - @xml.declare! :element, :x, "y", :z, "-//OASIS//DTD DocBook XML//EN" - assert_equal "\n", @xml.target! - end - - def test_nested_declarations - @xml = Builder::XmlMarkup.new - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - end - assert_equal "]>", @xml.target! - end - - def test_nested_indented_declarations - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - end - assert_equal "\n]>\n", @xml.target! - end - - def test_complex_declaration - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - x.declare! :ELEMENT, :title, "(#PCDATA)".intern - x.declare! :ELEMENT, :para, "(#PCDATA)".intern - end - expected = %{ - - -]> -} - assert_equal expected, @xml.target! - end -end - - -class TestSpecialMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_comment - @xml.comment!("COMMENT") - assert_equal "\n", @xml.target! - end - - def test_indented_comment - @xml.p { @xml.comment! "OK" } - assert_equal "

\n \n

\n", @xml.target! - end - - def test_instruct - @xml.instruct! :abc, :version=>"0.9" - assert_equal "\n", @xml.target! - end - - def test_indented_instruct - @xml.p { @xml.instruct! :xml } - assert_match %r{

\n <\?xml version="1.0" encoding="UTF-8"\?>\n

\n}, - @xml.target! - end - - def test_instruct_without_attributes - @xml.instruct! :zz - assert_equal "\n", @xml.target! - end - - def test_xml_instruct - @xml.instruct! - assert_match(/^<\?xml version="1.0" encoding="UTF-8"\?>$/, @xml.target!) - end - - def test_xml_instruct_with_overrides - @xml.instruct! :xml, :encoding=>"UCS-2" - assert_match(/^<\?xml version="1.0" encoding="UCS-2"\?>$/, @xml.target!) - end - - def test_xml_instruct_with_standalong - @xml.instruct! :xml, :encoding=>"UCS-2", :standalone=>"yes" - assert_match(/^<\?xml version="1.0" encoding="UCS-2" standalone="yes"\?>$/, @xml.target!) - end - - def test_no_blocks - assert_raise(Builder::IllegalBlockError) do - @xml.instruct! { |x| x.hi } - end - assert_raise(Builder::IllegalBlockError) do - @xml.comment!(:element) { |x| x.hi } - end - end - - def test_cdata - @xml.cdata!("TEST") - assert_equal "\n", @xml.target! - end - - def test_cdata_with_ampersand - @xml.cdata!("TEST&CHECK") - assert_equal "\n", @xml.target! - end - - def test_cdata_with_included_close - @xml.cdata!("TEST]]>CHECK") - assert_equal "CHECK]]>\n", @xml.target! - end -end - -class TestIndentedXmlMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_one_level - @xml.ol { |x| x.li "text" } - assert_equal "
    \n
  1. text
  2. \n
\n", @xml.target! - end - - def test_two_levels - @xml.p { |x| - x.ol { x.li "text" } - x.br - } - assert_equal "

\n

    \n
  1. text
  2. \n
\n
\n

\n", @xml.target! - end - - def test_initial_level - @xml = Builder::XmlMarkup.new(:indent=>2, :margin=>4) - @xml.name { |x| x.first("Jim") } - assert_equal " \n Jim\n \n", @xml.target! - end - - class TestUtfMarkup < Test::Unit::TestCase - if ! String.method_defined?(:encode) - def setup - @old_kcode = $KCODE - end - - def teardown - $KCODE = @old_kcode - end - - def test_use_entities_if_no_encoding_is_given_and_kcode_is_none - $KCODE = 'NONE' - xml = Builder::XmlMarkup.new - xml.p("\xE2\x80\x99") - assert_match(%r(

), xml.target!) # - end - - def test_use_entities_if_encoding_is_utf_but_kcode_is_not - $KCODE = 'NONE' - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p("\xE2\x80\x99") - assert_match(%r(

), xml.target!) # - end - else - # change in behavior. As there is no $KCODE anymore, the default - # moves from "does not understand utf-8" to "supports utf-8". - - def test_use_entities_if_no_encoding_is_given_and_kcode_is_none - xml = Builder::XmlMarkup.new - xml.p("\xE2\x80\x99") - assert_match("

\u2019

", xml.target!) # - end - - def test_use_entities_if_encoding_is_utf_but_kcode_is_not - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p("\xE2\x80\x99") - assert_match("

\u2019

", xml.target!) # - end - end - - def encode string, encoding - if !String.method_defined?(:encode) - $KCODE = encoding - string - elsif encoding == 'UTF8' - string.force_encoding('UTF-8') - else - string - end - end - - def test_use_entities_if_kcode_is_utf_but_encoding_is_dummy_encoding - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-16') - xml.p(encode("\xE2\x80\x99", 'UTF8')) - assert_match(%r(

), xml.target!) # - end - - def test_use_entities_if_kcode_is_utf_but_encoding_is_unsupported_encoding - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UCS-2') - xml.p(encode("\xE2\x80\x99", 'UTF8')) - assert_match(%r(

), xml.target!) # - end - - def test_use_utf8_if_encoding_defaults_and_kcode_is_utf8 - xml = Builder::XmlMarkup.new - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_equal encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - - def test_use_utf8_if_both_encoding_and_kcode_are_utf8 - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_match encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - - def test_use_utf8_if_both_encoding_and_kcode_are_utf8_with_lowercase - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'utf-8') - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_match encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - end - - class TestXmlEvents < Test::Unit::TestCase - def setup - @handler = EventHandler.new - @xe = Builder::XmlEvents.new(:target=>@handler) - end - - def test_simple - @xe.p - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal [:end, :p], @handler.events.shift - end - - def test_text - @xe.p("HI") - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal [:text, "HI"], @handler.events.shift - assert_equal [:end, :p], @handler.events.shift - end - - def test_attributes - @xe.p("id"=>"2") - ev = @handler.events.shift - assert_equal [:start, :p], ev[0,2] - assert_equal "2", ev[2]['id'] - assert_equal [:end, :p], @handler.events.shift - end - - def test_indented - @xml = Builder::XmlEvents.new(:indent=>2, :target=>@handler) - @xml.p { |x| x.b("HI") } - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal "\n ", pop_text - assert_equal [:start, :b, nil], @handler.events.shift - assert_equal "HI", pop_text - assert_equal [:end, :b], @handler.events.shift - assert_equal "\n", pop_text - assert_equal [:end, :p], @handler.events.shift - end - - def pop_text - result = '' - while ! @handler.events.empty? && @handler.events[0][0] == :text - result << @handler.events[0][1] - @handler.events.shift - end - result - end - - class EventHandler - attr_reader :events - def initialize - @events = [] - end - - def start_tag(sym, attrs) - @events << [:start, sym, attrs] - end - - def end_tag(sym) - @events << [:end, sym] - end - - def text(txt) - @events << [:text, txt] - end - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb deleted file mode 100644 index 91f7aca..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2011 by Bart ten Brinke (info@retrosync.com). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' - -class TestMethodCaching < Test::Unit::TestCase - - # We can directly ask if xml object responds to the cache_me or - # do_not_cache_me methods because xml is derived from BasicObject - # (and repond_to? is not defined in BasicObject). - # - # Instead we are going to stub out method_missing so that it throws - # an error, and then make sure that error is either thrown or not - # thrown as appropriate. - - def teardown - super - Builder::XmlBase.cache_method_calls = true - end - - def test_caching_does_not_break_weird_symbols - xml = Builder::XmlMarkup.new - xml.__send__("work-order", 1) - assert_equal "1", xml.target! - end - - def test_method_call_caching - xml = Builder::XmlMarkup.new - xml.cache_me - - def xml.method_missing(*args) - ::Kernel.fail StandardError, "SHOULD NOT BE CALLED" - end - assert_nothing_raised do - xml.cache_me - end - end - - def test_method_call_caching_disabled - Builder::XmlBase.cache_method_calls = false - xml = Builder::XmlMarkup.new - xml.do_not_cache_me - - def xml.method_missing(*args) - ::Kernel.fail StandardError, "SHOULD BE CALLED" - end - assert_raise(StandardError, "SHOULD BE CALLED") do - xml.do_not_cache_me - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb deleted file mode 100644 index 5b16b30..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'builder/xchar' - -class TestNameCollisions < Test::Unit::TestCase - module Collide - def xchr - end - end - - def test_no_collision - assert_nothing_raised do - Builder.check_for_name_collision(Collide, :not_defined) - end - end - - def test_collision - assert_raise RuntimeError do - Builder.check_for_name_collision(Collide, "xchr") - end - end - - def test_collision_with_symbol - assert_raise RuntimeError do - Builder.check_for_name_collision(Collide, :xchr) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb deleted file mode 100644 index 6a00716..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env ruby -# encoding: us-ascii - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -#!/usr/bin/env ruby - -require 'test/unit' -require 'builder/xchar' - -if String.method_defined?(:encode) - class String - ENCODING_BINARY = Encoding.find('BINARY') - - # shim method for testing purposes - def to_xs(escape=true) - raise NameError.new('to_xs') unless caller[0].index(__FILE__) - - result = Builder::XChar.encode(self) - if escape - result.gsub(/[^\u0000-\u007F]/) {|c| "&##{c.ord};"} - else - # really only useful for testing purposes - result.force_encoding(ENCODING_BINARY) - end - end - end -end - -class TestXmlEscaping < Test::Unit::TestCase - REPLACEMENT_CHAR = Builder::XChar::REPLACEMENT_CHAR.to_xs - - def test_ascii - assert_equal 'abc', 'abc'.to_xs - end - - def test_predefined - assert_equal '&', '&'.to_xs # ampersand - assert_equal '<', '<'.to_xs # left angle bracket - assert_equal '>', '>'.to_xs # right angle bracket - end - - def test_invalid - assert_equal REPLACEMENT_CHAR, "\x00".to_xs # null - assert_equal REPLACEMENT_CHAR, "\x0C".to_xs # form feed - assert_equal REPLACEMENT_CHAR, "\xEF\xBF\xBF".to_xs # U+FFFF - end - - def test_iso_8859_1 - assert_equal 'ç', "\xE7".to_xs # small c cedilla - assert_equal '©', "\xA9".to_xs # copyright symbol - end - - def test_win_1252 - assert_equal '’', "\x92".to_xs # smart quote - assert_equal '€', "\x80".to_xs # euro - end - - def test_utf8 - assert_equal '’', "\xE2\x80\x99".to_xs # right single quote - assert_equal '©', "\xC2\xA9".to_xs # copy - end - - def test_utf8_verbatim - assert_equal "\xE2\x80\x99", "\xE2\x80\x99".to_xs(false) # right single quote - assert_equal "\xC2\xA9", "\xC2\xA9".to_xs(false) # copy - assert_equal "\xC2\xA9&\xC2\xA9", - "\xC2\xA9&\xC2\xA9".to_xs(false) # copy with ampersand - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/History.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/History.txt deleted file mode 100644 index ea3c5f5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/History.txt +++ /dev/null @@ -1,139 +0,0 @@ -== 1.5.0 2015-08-17 -* Added logos -* Added Slack Emoji -* Updated image generators -* Updated Dutch Locale -* Added support for generating RGB values, HSL colors, alpha channel, and HSLA colors -* Added locale for Uganda -* Added basic Ukrainian support -* Added university name generator -* Updated documentation -* Updated a variety of locales -* Various fixes - -== 1.4.3 2014-08-15 -* Updated Russian locale -* Added EIN generator -* Fixed Swedish locale -* Added birthday to Faker::Date -* Added Faker::App - -== 1.4.2 2014-07-15 -* Added Swedish locale -* README update - -== 1.4.1 2014-07-04 -* Bugfix and cleanup - -== 1.4.0 2014-07-03 -* Many enhancements and bugfixes - -== 1.3.0 2014-03-08 -* Many enhancements and few bugfixes - -== 1.2.0 2013-07-27 -* Many major and minor enhancements :) - -== 1.1.2 2012-09-18 -* 1 minor change: - * Fixed Ruby 1.8 compatibility - -== 1.1.1 2012-09-17 -* 1 minor change: - * Removed ja locale because of parse errors - -== 1.1.0 2012-09-15 -* 1 major change: - * Removed deprecated methods from Address: earth_country, us_state, us_state_abbr, uk_postcode, uk_county -* Many minor changes (please see github pull requests for credits) - * Added many localizations - * Added range and array support for Lorem - -== 1.0.1 2011-09-27 -* 1 minor enhancement - * Added safe_email method to get someaddress@example.com [Kazimierz Kiełkowicz] -* 1 bug fix: - * Use the locale fallback properly when parsing string formats - -== 1.0.0 2011-09-08 -* 2 major enhancements - * Moved all formats to locale files - * Stopped interfering with I18n's global settings for fallbacks -* 3 minor bug fixes: - * Ruby 1.9.2 fixes [eMxyzptlk] - * UTF8 fixes [maxmiliano] - * Updated IPv4 generator to return valid addresses [Sylvain Desbureaux] -* Many minor enhancements: - * Added bork locale for bork-ified lorem [johnbentcope] - * Added IPv6 address generator [jc00ke] - * Removed deprecation warnings for Array#rand [chrismarshall] - * Added German translation and I18n improvments [Matthias Kühnert] - * Added Dutch translation [moretea] - * Added Lat/Long generator [Andy Callaghan] - * Added buzzword-laden title generator [supercleanse] - * Added optional extended wordlist for lorem [chriskottom] - * Updated German translation [Jan Schwenzien] - * Locale improvements [suweller] - * Added limit to lorem generator [darrenterhune] - * Added Brazilian Portuguese translation [maxmiliano] - * Added Australian translation [madeindata] - * Added Canadian translation [igbanam] - * Added Norwegian translation [kytrinyx] - * Lots of translation-related cleanup [kytrinyx] - - -== 0.9.5 2011-01-27 -* 1 minor bug fix: - * Fixed YAML [Aaron Patterson] -* 3 minor enhancements: - * Added default rake task to run all tests [Aaron Patterson] - * Removed shuffle method [Aaron Patterson] - * Use psych if present [Aaron Patterson] - -== 0.9.4 2010-12-29 -* 1 minor bug fix: - * Stopped getting in the way of Rails' late locale loading - -== 0.9.3 2010-12-28 -* 1 minor enhancement: - * Added a faker namespace for translations - -== 0.9.2 2010-12-22 -* 1 bug fix: - * Stopped stomping on I18n load path - -== 0.9.1 2010-12-22 -* 1 bug fix: - * Stopped setting I18n default locale -* 1 major enhancement: - * Added method_missing to Address to add methods based on data in locale files -* 1 minor enhancement: - * Added Swiss locale [Lukas Westermann] - -== 0.9.0 2010-12-21 -* 1 major enhancement: - * Moved strings and some formats to locale files - -== 0.3.1 2008-04-03 -* 1 minor enhancement: - * Added city to Address - -== 0.3.0 2008-01-01 -* 3 major enhancements: - * Added Lorem to generate fake Latin - * Added secondary_address to Address, and made inclusion of - secondary address in street_address optional (false by - default). - * Added UK address methods [Caius Durling] - -== 0.2.1 2007-12-05 -* 1 major enhancement: - * Dropped facets to avoid conflict with ActiveSupport -* 2 minor enhancements: - * Changed the output of user_name to randomly separate with a . or _ - * Added a few tests - -== 0.1.0 2007-11-22 - -* 1 major enhancement: - * Initial release diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/License.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/License.txt deleted file mode 100644 index 1c0fd9f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/License.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2007-2010 Benjamin Curtis - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/README.md deleted file mode 100644 index d2db487..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/README.md +++ /dev/null @@ -1,550 +0,0 @@ -Faker -===== -This gem is a port of Perl's Data::Faker library that generates fake data. - -It comes in very handy for taking screenshots (taking screenshots for my -project, [Catch the Best](http://catchthebest.com/) was the original impetus -for the creation of this gem), having real-looking test data, and having your -database populated with more than one or two records while you're doing -development. - -NOTE: While Faker generates data at random, returned values are not guaranteed to be unique. - -Installing ----------- -```bash -gem install faker -``` - -##Usage ------ -```ruby -Faker::Name.name #=> "Christophe Bartell" - -Faker::Internet.email #=> "kirsten.greenholt@corkeryfisher.info" -``` - -###Faker::Address ------------------ - -```ruby -Faker::Address.city #=> "Imogeneborough" - -Faker::Address.street_name #=> "Larkin Fork" - -Faker::Address.street_address #=> "282 Kevin Brook" - -Faker::Address.secondary_address #=> "Apt. 672" - -Faker::Address.building_number #=> "7304" - -Faker::Address.zip_code #=> "58517" - -Faker::Address.zip #=> "58517" - -Faker::Address.postcode #=> "58517" - -Faker::Address.time_zone #=> "Asia/Yakutsk" - -Faker::Address.street_suffix #=> "Street" - -Faker::Address.city_suffix #=> "fort" - -Faker::Address.city_prefix #=> "Lake" - -Faker::Address.state #=> "California" - -Faker::Address.state_abbr #=> "AP" - -Faker::Address.country #=> "French Guiana" - -Faker::Address.country_code #=> "IT" - -Faker::Address.latitude #=> "-58.17256227443719" - -Faker::Address.longitude #=> "-156.65548382095133" - - -``` - -###Faker::Bitcoin ------------------ - -```ruby - -Faker::Bitcoin.address #=> "1HUoGjmgChmnxxYhz87YytV4gVjfPaExmh" -Faker::Bitcoin.testnet_address #=> ""msHGunDvoEwmVFXvd2Bub1SNw5RP1YHJaf"" - -``` - -###Faker::Business ------------------- - -```ruby - -Faker::Business.credit_card_number #=> "1228-1221-1221-1431" - -Faker::Business.credit_card_expiry_date #=> - -Faker::Business.credit_card_type #=> "visa" - -``` - -###Faker::Code --------------- - -```ruby - -Faker::Code.isbn #=> "759021701-8" - -Faker::Code.ean #=> "4600051000057" - -``` - -###Faker::Commerce ------------------- - -```ruby - -Faker::Commerce.color #=> "lavender" - -# Optional arguments max=3, fixed_amount=false -Faker::Commerce.department #=> "Grocery, Health & Beauty" -Faker::Commerce.department(5) #=> "Grocery, Books, Health & Beauty" -Faker::Commerce.department(2, true) #=> "Books & Tools" - -Faker::Commerce.product_name #=> "Practical Granite Shirt" - -Faker::Commerce.price #=> "44.6" - -``` - -###Faker::Company ------------------ - -```ruby - -Faker::Company.name #=> "Hirthe-Ritchie" - -Faker::Company.suffix #=> "Group" - -# Generate a buzzword-laden catch phrase. -Faker::Company.catch_phrase #=> "Business-focused coherent parallelism" - -Faker::Company.buzzword #=> "Business-focused" - -# When a straight answer won't do, BS to the rescue! -Faker::Company.bs #=> "empower one-to-one web-readiness" - -Faker::Company.ein #=> "34-8488813" - -Faker::Company.duns_number #=> "08-341-3736" - -# Get a random company logo url in PNG format. -Faker::Company.logo #=> "http://pigment.github.com/fake-logos/logos/medium/color/5.png" - -Faker::Company.swedish_organisation_number #=> "7718797652" - -``` - -###Faker::Date ---------------------- - -```ruby -# Random date between dates -Faker::Date.between(2.days.ago, Date.today) #=> "Wed, 24 Sep 2014" - -# Random date in the future (up to maximum of N days) -Faker::Date.forward(23) # => "Fri, 03 Oct 2014" - -# Random date in the past (up to maximum of N days) -Faker::Date.backward(14) #=> "Fri, 19 Sep 2014" -``` - -###Faker::Internet ---------------- - -```ruby -# Optional argument name=nil -Faker::Internet.email #=> "eliza@mann.net" - -Faker::Internet.email('Nancy') #=> "nancy@terry.biz" - -# Optional argument name=nil -Faker::Internet.free_email #=> "freddy@gmail.com" - -Faker::Internet.free_email('Nancy') #=> "nancy@yahoo.com" - -# Optional argument name=nil -Faker::Internet.safe_email #=> "christelle@example.org" - -Faker::Internet.safe_email('Nancy') #=> "nancy@example.net" - -# Optional arguments specifier=nil, separators=%w(. _) -Faker::Internet.user_name #=> "alexie" - -Faker::Internet.user_name('Nancy') #=> "nancy" - -Faker::Internet.user_name('Nancy Johnson', %w(. _ -)) #=> "johnson-nancy" - -# Optional arguments: min_length=8, max_length=16 -Faker::Internet.password #=> "vg5msvy1uerg7" - -Faker::Internet.password(8) #=> "yfgjik0hgzdqs0" - -Faker::Internet.password(10, 20) #=> "eoc9shwd1hwq4vbgfw" - -Faker::Internet.domain_name #=> "effertz.info" - -Faker::Internet.fix_umlauts('äöüß') #=> "aeoeuess" - -Faker::Internet.domain_word #=> "haleyziemann" - -Faker::Internet.domain_suffix #=> "info" - -Faker::Internet.ip_v4_address #=> "24.29.18.175" - -Faker::Internet.ip_v6_address #=> "ac5f:d696:3807:1d72:2eb5:4e81:7d2b:e1df" - -# Optional argument prefix='' -Faker::Internet.mac_address #=> "e6:0d:00:11:ed:4f" -Faker::Internet.mac_address('55:44:33') #=> "55:44:33:02:1d:9b" - -# Optional arguments: host=domain_name, path="/#{user_name}" -Faker::Internet.url #=> "http://thiel.com/chauncey_simonis" -Faker::Internet.url('example.com') #=> "http://example.com/clotilde.swift" -Faker::Internet.url('example.com', '/foobar.html') #=> "http://example.com/foobar.html" - -# Optional arguments: words=nil, glue=nil -Faker::Internet.slug #=> "pariatur_laudantium" -Faker::Internet.slug('foo bar') #=> "foo.bar" -Faker::Internet.slug('foo bar', '-') #=> "foo-bar" - - -``` - -###Faker::Lorem ---------------- - -```ruby - -Faker::Lorem.word #=> "repellendus" - -# Optional arguments: num=3, supplemental=false -Faker::Lorem.words #=> ["dolores", "adipisci", "nesciunt"] -Faker::Lorem.words(4) #=> ["culpa", "recusandae", "aut", "omnis"] -Faker::Lorem.words(4, true) #=> ["colloco", "qui", "vergo", "deporto"] - -# Optional arguments: char_count=255 -Faker::Lorem.characters #=> "uw1ep04lhs0c4d931n1jmrspprf5wrj85fefue0y7y6m56b6omquh7br7dhqijwlawejpl765nb1716idmp3xnfo85v349pzy2o9rir23y2qhflwr71c1585fnynguiphkjm8p0vktwitcsm16lny7jzp9t4drwav3qmhz4yjq4k04x14gl6p148hulyqioo72tf8nwrxxcclfypz2lc58lsibgfe5w5p0xv95peafjjmm2frkhdc6duoky0aha" -Faker::Lorem.characters(10) #=> "ang9cbhoa8" - -# Optional arguments: word_count=4, supplemental=false, random_words_to_add=6 -Faker::Lorem.sentence #=> "Dolore illum animi et neque accusantium." -Faker::Lorem.sentence(3) #=> "Commodi qui minus deserunt sed vero quia." -Faker::Lorem.sentence(3, true) #=> "Inflammatio denego necessitatibus caelestis autus illum." -Faker::Lorem.sentence(3, false, 4) #=> "Aut voluptatem illum fugit ut sit." -Faker::Lorem.sentence(3, true, 4) #=> "Accusantium tantillus dolorem timor." - -# Optional arguments: sentence_count=3, supplemental=false -Faker::Lorem.sentences #=> ["Vero earum commodi soluta.", "Quaerat fuga cumque et vero eveniet omnis ut.", "Cumque sit dolor ut est consequuntur."] -Faker::Lorem.sentences(1) #=> ["Ut perspiciatis explicabo possimus doloribus enim quia."] -Faker::Lorem.sentences(1, true) #=> ["Quis capillus curo ager veritatis voro et ipsum."] - -# Optional arguments: sentence_count=3, supplemental=false, random_sentences_to_add=3 -Faker::Lorem.paragraph #=> "Neque dicta enim quasi. Qui corrupti est quisquam. Facere animi quod aut. Qui nulla consequuntur consectetur sapiente." -Faker::Lorem.paragraph(2) #=> "Illo qui voluptas. Id sit quaerat enim aut cupiditate voluptates dolorum. Porro necessitatibus numquam dolor quia earum." -Faker::Lorem.paragraph(2, true) #=> "Cedo vero adipisci. Theatrum crustulum coaegresco tonsor crastinus stabilis. Aliqua crur consequatur amor una tolero sum." -Faker::Lorem.paragraph(2, false, 4) #=> "Neque aut et nemo aut incidunt voluptates. Dolore cum est sint est. Vitae assumenda porro odio dolores fugiat. Est voluptatum quia rerum." -Faker::Lorem.paragraph(2, true, 4) #=> "Vomito unde uxor annus. Et patior utilis sursum." - -# Optional arguments: paragraph_count=3, supplemental=false -Faker::Lorem.paragraphs #=> ["Dolores quis quia ad quo voluptates. Maxime delectus totam numquam. Necessitatibus vel atque qui dolore.", "Id neque nemo. Dolores iusto facere est ad. Accusamus ipsa dolor ut.", "Et officiis ut hic. Sunt asperiores minus distinctio debitis ipsa dolor. Minima eos deleniti."] -Faker::Lorem.paragraphs(1) #=> ["Labore voluptas sequi. Ratione nulla eaque quia molestiae fugit. At quam laboriosam aut ut dignissimos."] -Faker::Lorem.paragraphs(1, true) #=> ["Depulso animi cunctatio amicitia adficio. Vester viduo qui despirmatio voluptas. Validus laudantium adopto ut agnitio venustas. Aer arcus odio esse."] - -``` - -###Faker::Name --------------- - -```ruby - -Faker::Name.name #=> "Tyshawn Johns Sr." - -Faker::Name.first_name #=> "Kaci" - -Faker::Name.last_name #=> "Ernser" - -Faker::Name.prefix #=> "Mr." - -Faker::Name.suffix #=> "IV" - -Faker::Name.title #=> "Legacy Creative Director" - -``` - -###Faker::Avatar ----------------- - -```ruby - -Faker::Avatar.image #=> "http://robohash.org/sitsequiquia.png?size=300x300" - -Faker::Avatar.image("my-own-slug") #=> "http://robohash.org/my-own-slug.png?size=300x300" - -Faker::Avatar.image("my-own-slug", "50x50") #=> "http://robohash.org/my-own-slug.png?size=50x50" - -Faker::Avatar.image("my-own-slug", "50x50", "jpg") #=> "http://robohash.org/my-own-slug.jpg?size=50x50" - -Faker::Avatar.image("my-own-slug", "50x50", "bmp") #=> "http://robohash.org/my-own-slug.bmp?size=50x50" -``` - -###Faker::Number ----------------- - -```ruby - -# Required parameter: digits -Faker::Number.number(10) #=> "1968353479" - -# Required parameter: l_digits -Faker::Number.decimal(2) #=> "11.88" - -Faker::Number.decimal(2, 3) #=> "18.843" - -# Required parameter: digits -Faker::Number.hexadecimal(3) #=> "e74" - -Faker::Number.between(1, 10) #=> 7 - -Faker::Number.positive #=> 235.59238499107653 - -Faker::Number.negative #=> -4480.042585669558 - -Faker::Number.digit #=> "1" - -``` - -###Faker::PhoneNumber ---------------------- - -Phone numbers may be in any of the following formats: - - * 333-333-3333 - * (333) 333-3333 - * 1-333-333-3333 - * 333.333.3333 - * 333-333-3333 - * 333-333-3333 x3333 - * (333) 333-3333 x3333 - * 1-333-333-3333 x3333 - * 333.333.3333 x3333 - -(Don't let the example output below fool you - any format can be returned at random.) - -```ruby - -Faker::PhoneNumber.phone_number #=> "397.693.1309" - -Faker::PhoneNumber.cell_phone #=> "(186)285-7925" - -# NOTE NOTE NOTE NOTE -# For the 'US only' methods below, first you must do the following: -Faker::Config.locale = 'en-US' - -# US only -Faker::PhoneNumber.area_code #=> "201" - -# US only -Faker::PhoneNumber.exchange_code #=> "208" - -# Optional parameter: length=4 -Faker::PhoneNumber.subscriber_number #=> "3873" - -Faker::PhoneNumber.subscriber_number(2) #=> "39" - -Faker::PhoneNumber.extension #=> "3764" - -``` - -###Faker::Time ---------------------- - -```ruby -# Random date between dates -Faker::Time.between(DateTime.now - 1, DateTime.now) #=> "2014-09-18 12:30:59 -0700" - -# Random date between dates (within specified part of the day) -# You can install the active_support gem to facilitate time manipulation like 45.minutes + 2.hours -require "as-duration" -Faker::Time.between(2.days.ago, Time.now, :all) #=> "2014-09-19 07:03:30 -0700" -Faker::Time.between(2.days.ago, Time.now, :day) #=> "2014-09-18 16:28:13 -0700" -Faker::Time.between(2.days.ago, Time.now, :night) #=> "2014-09-20 19:39:38 -0700" -Faker::Time.between(2.days.ago, Time.now, :morning) #=> "2014-09-19 08:07:52 -0700" -Faker::Time.between(2.days.ago, Time.now, :afternoon) #=> "2014-09-18 12:10:34 -0700" -Faker::Time.between(2.days.ago, Time.now, :evening) #=> "2014-09-19 20:21:03 -0700" -Faker::Time.between(2.days.ago, Time.now, :midnight) #=> "2014-09-20 00:40:14 -0700" - -# Random time in the future (up to maximum of N days) -Faker::Time.forward(23, :morning) # => "2014-09-26 06:54:47 -0700" - -# Random time in the past (up to maximum of N days) -Faker::Time.backward(14, :evening) #=> "2014-09-17 19:56:33 -0700" -``` - -###Faker::Hacker ---------------------- -Are you having trouble writing tech-savvy dialogue for your latest screenplay? -Worry not! Hollywood-grade technical talk is ready to fill out any form where you need to look smart. - -```ruby -# Full Phrase -Faker::Hacker.say_something_smart #=> "Try to compress the SQL interface, maybe it will program the back-end hard drive!" - -# Short technical abbreviations -Faker::Hacker.abbreviation #=> "RAM" - -# Hacker centric adjectives -Faker::Hacker.adjective #=> "open-source" - -# Only the best hacker related nouns -Faker::Hacker.noun #=> "bandwidth" - -# Actions that hackers take -Faker::Hacker.verb #=> "bypass" - -# Verbs that end in -ing -Faker::Hacker.ingverb #=> "synthesizing" -``` - -###Faker::App ------------------ - -```ruby - -Faker::App.name #=> "Treeflex" - -Faker::App.version #=> "0.7.9" - -Faker::App.author #=> "Daphne Swift" - -``` - -###Faker::SlackEmoji ------------------ - -```ruby - -# Random Slack Emoji from people category -Faker::SlackEmoji.people #=> ":sleepy:" - -# Random Slack Emoji from nature category -Faker::SlackEmoji.nature #=> ":chestnut:" - -# Random Slack Emoji from food and drink category -Faker::SlackEmoji.food_and_drink #=> ":tangerine:" - -# Random Slack Emoji from celebration category -Faker::SlackEmoji.celebration #=> ":ribbon:" - -# Random Slack Emoji from activity category -Faker::SlackEmoji.activity #=> ":performing_arts:" - -# Random Slack Emoji from travel and places category -Faker::SlackEmoji.travel_and_places #=> ":truck:" - -# Random Slack Emoji from objects & symbols category -Faker::SlackEmoji.objects_and_symbols #=> ":alarm_clock:" - -# Random Slack Emoji from custom category -Faker::SlackEmoji.custom #=> ":suspect:" - -# Random Slack Emoji from any category -Faker::SlackEmoji.emoji #=> ":last_quarter_moon:" - -``` - -###Faker::Team ------------------ - -```ruby - -# Random Team Creature -Faker::Team.creature #=> "gooses" - -# Random Team Name created from random US State (Faker::Address.state) prepended to a random Team Creature -Faker::Team.name #=> "Oregon vixens" - -# Random Team State -Faker::Team.state #=> "Oregon" - -# Random Team Sport -Faker::Team.sport #=> "lacrosse" - -``` - -###Faker::Book ------------------- - -```ruby - -# Random Book Title -Faker::Book.title #=> "The Odd Sister" - -# Random Author -Faker::Book.author #=> "Alysha Olsen" - -# Random Publisher -Faker::Book.publisher #=> "Opus Reader" - -``` - -###Faker::University ------------------- - -```ruby - -# Random University Name -Faker::University.name #=> "South Texas College" - -``` - -Customization ------------- -Since you may want to make addresses and other types of data look different -depending on where in the world you are (US postal codes vs. UK postal codes, -for example), Faker uses the I18n gem to store strings (like state names) and -formats (US postal codes are NNNNN while UK postal codes are AAN NAA), -allowing you to get different formats by switching locales. Just set -Faker::Config.locale to the locale you want, and Faker will take care of the -rest. - -If your locale doesn't already exist, create it in the \lib\locales\ directory -and you can then override or add elements to suit - -```yaml - -en-au-ocker: - faker: - name: - # Existing faker field, new data - first_name: [Charlotte, Ava, Chloe, Emily] - - # New faker fields - ocker_first_name: [Bazza, Bluey, Davo, Johno, Shano, Shazza] - region: [South East Queensland, Wide Bay Burnett, Margaret River, Port Pirie, Gippsland, Elizabeth, Barossa] - -``` - -Contributing ------------- -See [CONTRIBUTING.md](https://github.com/stympy/faker/blob/master/CONTRIBUTING.md). - -Contact -------- -Comments and feedback are welcome. Send an email to Benjamin Curtis via the [google group](http://groups.google.com/group/ruby-faker). - -License -------- -This code is free to use under the terms of the MIT license. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/extensions/array.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/extensions/array.rb deleted file mode 100644 index c8cf8a8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/extensions/array.rb +++ /dev/null @@ -1,22 +0,0 @@ -class Array - unless self.method_defined? :sample - def sample(n = nil) - #based on code from https://github.com/marcandre/backports - size = self.length - return self[Kernel.rand(size)] if n.nil? - - n = n.to_int - raise ArgumentError, "negative array size" if n < 0 - - n = size if n > size - - result = Array.new(self) - n.times do |i| - r = i + Kernel.rand(size - i) - result[i], result[r] = result[r], result[i] - end - result[n..size] = [] - result - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/extensions/symbol.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/extensions/symbol.rb deleted file mode 100644 index 90fa0d6..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/extensions/symbol.rb +++ /dev/null @@ -1,9 +0,0 @@ -# For Ruby 1.8 -unless :symbol.respond_to?(:downcase) - Symbol.class_eval do - def downcase - to_s.downcase.intern - end - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker.rb deleted file mode 100644 index c425647..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker.rb +++ /dev/null @@ -1,188 +0,0 @@ -# -*- coding: utf-8 -*- -mydir = File.expand_path(File.dirname(__FILE__)) - -begin - require 'psych' -rescue LoadError -end - -require 'i18n' -require 'set' # Fixes a bug in i18n 0.6.11 - -if I18n.respond_to?(:enforce_available_locales=) - I18n.enforce_available_locales = true -end -I18n.load_path += Dir[File.join(mydir, 'locales', '*.yml')] - - -module Faker - class Config - @locale = nil - - class << self - attr_writer :locale - def locale - @locale || I18n.locale - end - end - end - - class Base - Numbers = Array(0..9) - ULetters = Array('A'..'Z') - Letters = ULetters + Array('a'..'z') - - class << self - ## make sure numerify results doesn’t start with a zero - def numerify(number_string) - number_string.sub(/#/) { (rand(9)+1).to_s }.gsub(/#/) { rand(10).to_s } - end - - def letterify(letter_string) - letter_string.gsub(/\?/) { ULetters.sample } - end - - def bothify(string) - letterify(numerify(string)) - end - - # Given a regular expression, attempt to generate a string - # that would match it. This is a rather simple implementation, - # so don't be shocked if it blows up on you in a spectacular fashion. - # - # It does not handle ., *, unbounded ranges such as {1,}, - # extensions such as (?=), character classes, some abbreviations - # for character classes, and nested parentheses. - # - # I told you it was simple. :) It's also probably dog-slow, - # so you shouldn't use it. - # - # It will take a regex like this: - # - # /^[A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}$/ - # - # and generate a string like this: - # - # "U3V 3TP" - # - def regexify(re) - re = re.source if re.respond_to?(:source) # Handle either a Regexp or a String that looks like a Regexp - re. - gsub(/^\/?\^?/, '').gsub(/\$?\/?$/, ''). # Ditch the anchors - gsub(/\{(\d+)\}/, '{\1,\1}').gsub(/\?/, '{0,1}'). # All {2} become {2,2} and ? become {0,1} - gsub(/(\[[^\]]+\])\{(\d+),(\d+)\}/) {|match| $1 * Array(Range.new($2.to_i, $3.to_i)).sample }. # [12]{1,2} becomes [12] or [12][12] - gsub(/(\([^\)]+\))\{(\d+),(\d+)\}/) {|match| $1 * Array(Range.new($2.to_i, $3.to_i)).sample }. # (12|34){1,2} becomes (12|34) or (12|34)(12|34) - gsub(/(\\?.)\{(\d+),(\d+)\}/) {|match| $1 * Array(Range.new($2.to_i, $3.to_i)).sample }. # A{1,2} becomes A or AA or \d{3} becomes \d\d\d - gsub(/\((.*?)\)/) {|match| match.gsub(/[\(\)]/, '').split('|').sample }. # (this|that) becomes 'this' or 'that' - gsub(/\[([^\]]+)\]/) {|match| match.gsub(/(\w\-\w)/) {|range| Array(Range.new(*range.split('-'))).sample } }. # All A-Z inside of [] become C (or X, or whatever) - gsub(/\[([^\]]+)\]/) {|match| $1.split('').sample }. # All [ABC] become B (or A or C) - gsub('\d') {|match| Numbers.sample }. - gsub('\w') {|match| Letters.sample } - end - - # Helper for the common approach of grabbing a translation - # with an array of values and selecting one of them. - def fetch(key) - fetched = translate("faker.#{key}") - fetched = fetched.sample if fetched.respond_to?(:sample) - if fetched.match(/^\//) and fetched.match(/\/$/) # A regex - regexify(fetched) - else - fetched - end - end - - # Load formatted strings from the locale, "parsing" them - # into method calls that can be used to generate a - # formatted translation: e.g., "#{first_name} #{last_name}". - def parse(key) - fetch(key).scan(/(\(?)#\{([A-Za-z]+\.)?([^\}]+)\}([^#]+)?/).map {|prefix, kls, meth, etc| - # If the token had a class Prefix (e.g., Name.first_name) - # grab the constant, otherwise use self - cls = kls ? Faker.const_get(kls.chop) : self - - # If an optional leading parentheses is not present, prefix.should == "", otherwise prefix.should == "(" - # In either case the information will be retained for reconstruction of the string. - text = prefix - - # If the class has the method, call it, otherwise - # fetch the transation (i.e., faker.name.first_name) - text += cls.respond_to?(meth) ? cls.send(meth) : fetch("#{(kls || self).to_s.split('::').last.downcase}.#{meth.downcase}") - - # And tack on spaces, commas, etc. left over in the string - text += etc.to_s - }.join - end - - # Call I18n.translate with our configured locale if no - # locale is specified - def translate(*args) - opts = args.last.is_a?(Hash) ? args.pop : {} - opts[:locale] ||= Faker::Config.locale - opts[:raise] = true - I18n.translate(*(args.push(opts))) - rescue I18n::MissingTranslationData - # Super-simple fallback -- fallback to en if the - # translation was missing. If the translation isn't - # in en either, then it will raise again. - I18n.translate(*(args.push(opts.merge(:locale => :en)))) - end - - def flexible(key) - @flexible_key = key - end - - # You can add whatever you want to the locale file, and it will get caught here. - # E.g., in your locale file, create a - # name: - # girls_name: ["Alice", "Cheryl", "Tatiana"] - # Then you can call Faker::Name.girls_name and it will act like #first_name - def method_missing(m, *args, &block) - super unless @flexible_key - - # Use the alternate form of translate to get a nil rather than a "missing translation" string - if translation = translate(:faker)[@flexible_key][m] - translation.respond_to?(:sample) ? translation.sample : translation - else - super - end - end - - # Generates a random value between the interval - def rand_in_range(from, to) - from, to = to, from if to < from - Random.new.rand(from..to) - end - end - end -end - -require 'faker/address' -require 'faker/code' -require 'faker/color' -require 'faker/company' -require 'faker/university' -require 'faker/finance' -require 'faker/internet' -require 'faker/lorem' -require 'faker/name' -require 'faker/team' -require 'faker/phone_number' -require 'faker/business' -require 'faker/commerce' -require 'faker/version' -require 'faker/number' -require 'faker/bitcoin' -require 'faker/avatar' -require 'faker/date' -require 'faker/time' -require 'faker/number' -require 'faker/hacker' -require 'faker/app' -require 'faker/slack_emoji' -require 'faker/book' - -require 'extensions/array' -require 'extensions/symbol' - -require 'helpers/char' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/address.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/address.rb deleted file mode 100644 index 5122937..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/address.rb +++ /dev/null @@ -1,59 +0,0 @@ -module Faker - class Address < Base - flexible :address - - class << self - def city - parse('address.city') - end - - def street_name - parse('address.street_name') - end - - def street_address(include_secondary = false) - numerify(parse('address.street_address') + (include_secondary ? ' ' + secondary_address : '')) - end - - def secondary_address - numerify(fetch('address.secondary_address')) - end - - def building_number - bothify(fetch('address.building_number')) - end - - def zip_code(state_abbreviation = '') - return bothify(fetch('address.postcode')) if state_abbreviation === '' - - # provide a zip code that is valid for the state provided - # see http://www.fincen.gov/forms/files/us_state_territory_zip_codes.pdf - bothify(fetch('address.postcode_by_state.' + state_abbreviation)) - end - - def time_zone - fetch('address.time_zone') - end - - alias_method :zip, :zip_code - alias_method :postcode, :zip_code - - def street_suffix; fetch('address.street_suffix'); end - def city_suffix; fetch('address.city_suffix'); end - def city_prefix; fetch('address.city_prefix'); end - def state_abbr; fetch('address.state_abbr'); end - def state; fetch('address.state'); end - def country; fetch('address.country'); end - def country_code; fetch('address.country_code'); end - - def latitude - ((rand * 180) - 90).to_s - end - - def longitude - ((rand * 360) - 180).to_s - end - - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/app.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/app.rb deleted file mode 100644 index 49ebe40..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/app.rb +++ /dev/null @@ -1,22 +0,0 @@ -module Faker - class App < Base - class << self - - def name - fetch('app.name') - end - - def version - if parse('app.version') == "" - numerify(fetch('app.version')) - else - parse('app.version') - end - end - - def author - parse('app.author') - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/avatar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/avatar.rb deleted file mode 100644 index 10fb2da..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/avatar.rb +++ /dev/null @@ -1,14 +0,0 @@ -module Faker - class Avatar < Base - class << self - SUPPORTED_FORMATS = %w(png jpg bmp) - - def image(slug = nil, size = '300x300', format = 'png', set = 'set1') - raise ArgumentError, "Size should be specified in format 300x300" unless size.match(/^[0-9]+x[0-9]+$/) - raise ArgumentError, "Supported formats are #{SUPPORTED_FORMATS.join(', ')}" unless SUPPORTED_FORMATS.include?(format) - slug ||= Faker::Lorem.words.join - "http://robohash.org/#{slug}.#{format}?size=#{size}&set=#{set}" - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/bitcoin.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/bitcoin.rb deleted file mode 100644 index d4e5cc7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/bitcoin.rb +++ /dev/null @@ -1,49 +0,0 @@ -require 'digest' -require 'securerandom' - -module Faker - class Bitcoin < Base - class << self - - PROTOCOL_VERSIONS = { - main: 0, - testnet: 111 - } - - def address - address_for(:main) - end - - def testnet_address - address_for(:testnet) - end - - protected - - def base58(str) - alphabet = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' - base = alphabet.size - - lv = 0 - str.split('').reverse.each_with_index { |v,i| lv += v.unpack('C')[0] * 256**i } - - ret = '' - while lv > 0 do - lv, mod = lv.divmod(base) - ret << alphabet[mod] - end - - npad = str.match(/^#{0.chr}*/)[0].to_s.size - '1'*npad + ret.reverse - end - - def address_for(network) - version = PROTOCOL_VERSIONS.fetch(network) - hash = SecureRandom.hex(20) - packed = version.chr + [hash].pack("H*") - checksum = Digest::SHA2.digest(Digest::SHA2.digest(packed))[0..3] - base58(packed + checksum) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/book.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/book.rb deleted file mode 100644 index ac12e62..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/book.rb +++ /dev/null @@ -1,19 +0,0 @@ -module Faker - class Book < Base - flexible :book - - class << self - def title - fetch('book.title') - end - - def author - fetch('book.author') - end - - def publisher - fetch('book.publisher') - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/business.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/business.rb deleted file mode 100644 index 4b53857..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/business.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'date' - -module Faker - class Business < Base - flexible :business - - class << self - def credit_card_number - fetch('business.credit_card_numbers') - end - - def credit_card_expiry_date - ::Date.today + (365 * (rand(4) + 1)) - end - - def credit_card_type - fetch('business.credit_card_types') - end - end - - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/code.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/code.rb deleted file mode 100644 index 0a34cbb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/code.rb +++ /dev/null @@ -1,70 +0,0 @@ -module Faker - class Code < Base - class << self - - # Generates a 10 digit NPI (National Provider Identifier - # issued to health care providers in the United States) - def npi - Random.new.rand(10 ** 10).to_s.rjust(10, '0') - end - - # By default generates 10 sign isbn code in format 123456789-X - # You can pass 13 to generate new 13 sign code - def isbn(base = 10) - base == 13 ? generate_base13_isbn : generate_base10_isbn - end - - # By default generates 13 sign ean code in format 1234567890123 - # You can pass 8 to generate ean8 code - def ean(base = 13) - base == 8 ? generate_base8_ean : generate_base13_ean - end - - def rut - value = Number.number(8) - vd = rut_verificator_digit(value) - value << "-#{vd}" - end - - private - - def generate_base10_isbn - values = regexify(/\d{9}/) - remainder = sum(values) { |value, index| (index + 1) * value.to_i } % 11 - values << "-#{remainder == 10 ? 'X' : remainder}" - end - - def generate_base13_isbn - values = regexify(/\d{12}/) - remainder = sum(values) { |value, index| index.even? ? value.to_i : value.to_i * 3 } % 10 - values << "-#{((10 - remainder) % 10)}" - end - - def sum(values, &block) - values.split(//).each_with_index.inject(0) do |sum, (value, index)| - sum + block.call(value, index) - end - end - - def generate_base8_ean - values = regexify(/\d{7}/) - check_digit = 10 - values.split(//).each_with_index.inject(0){ |s, (v, i)| s + v.to_i * EAN_CHECK_DIGIT8[i] } % 10 - values << (check_digit == 10 ? 0 : check_digit).to_s - end - - def generate_base13_ean - values = regexify(/\d{12}/) - check_digit = 10 - values.split(//).each_with_index.inject(0){ |s, (v, i)| s + v.to_i * EAN_CHECK_DIGIT13[i] } % 10 - values << (check_digit == 10 ? 0 : check_digit).to_s - end - - EAN_CHECK_DIGIT8 = [3, 1, 3, 1, 3, 1, 3] - EAN_CHECK_DIGIT13 = [1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3] - - def rut_verificator_digit(rut) - total = rut.to_s.rjust(8, '0').split(//).zip(%w(3 2 7 6 5 4 3 2)).collect{|a, b| a.to_i * b.to_i}.inject(:+) - (11 - total % 11).to_s.gsub(/10/, 'k').gsub(/11/, '0') - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/color.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/color.rb deleted file mode 100644 index 3f3c738..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/color.rb +++ /dev/null @@ -1,49 +0,0 @@ -module Faker - class Color < Base - class << self - def hex_color - @hex_color = "#%06x" % (rand * 0xffffff) - end - - def single_rgb_color - @single_rgb_color = (0..255).to_a.sample - @single_rgb_color - end - - def rgb_color - @rgb_colors = [] - 3.times do - @rgb_colors.push single_rgb_color - end - @rgb_colors - end - - def single_hsl_color - @single_hsla_color = Faker::Base::rand_in_range(0.0, 360.00).round(2) - @single_hsla_color - end - - def alpha_channel - @alpha_channel = rand - @alpha_channel - end - - def hsl_color - @hsl_colors = [] - 3.times do - @hsl_colors.push single_hsl_color - end - @hsl_colors - end - - def hsla_color - @hsla_colors = [] - 3.times do - @hsla_colors.push single_hsl_color - end - @hsla_colors.push alpha_channel - @hsla_colors - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/commerce.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/commerce.rb deleted file mode 100644 index f1ce2e7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/commerce.rb +++ /dev/null @@ -1,55 +0,0 @@ -module Faker - class Commerce < Base - - class << self - def color - fetch('commerce.color') - end - - def department(max = 3, fixed_amount = false) - num = max if fixed_amount - num ||= 1 + rand(max) - - categories = categories(num) - - if num > 1 - merge_categories(categories) - else - categories[0] - end - end - - def product_name - fetch('commerce.product_name.adjective') + ' ' + fetch('commerce.product_name.material') + ' ' + fetch('commerce.product_name.product') - end - - def material - fetch('commerce.product_name.material') - end - - def price - random = Random.new - (random.rand(0..100.0) * 100).floor/100.0 - end - - private - - def categories(num) - categories = [] - while categories.length < num do - category = fetch('commerce.department') - categories << category unless categories.include?(category) - end - - categories - end - - def merge_categories(categories) - separator = fetch('separator') - comma_separated = categories.slice!(0...-1).join(', ') - - [comma_separated, categories[0]].join(separator) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/company.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/company.rb deleted file mode 100644 index 7b48bef..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/company.rb +++ /dev/null @@ -1,78 +0,0 @@ -module Faker - class Company < Base - flexible :company - - class << self - def name - parse('company.name') - end - - def suffix - fetch('company.suffix') - end - - # Generate a buzzword-laden catch phrase. - def catch_phrase - translate('faker.company.buzzwords').collect {|list| list.sample }.join(' ') - end - - def buzzword - translate('faker.company.buzzwords').flatten.sample - end - - # When a straight answer won't do, BS to the rescue! - def bs - translate('faker.company.bs').collect {|list| list.sample }.join(' ') - end - - def ein - ('%09d' % rand(10 ** 9)).gsub(/(\d\d)(\d\d\d\d\d\d\d)/, '\\1-\\2') - end - - def duns_number - ('%09d' % rand(10 ** 9)).gsub(/(\d\d)(\d\d\d)(\d\d\d\d)/, '\\1-\\2-\\3') - end - - # Get a random company logo url in PNG format. - def logo - rand_num = Random.rand(13) + 1 - "http://pigment.github.io/fake-logos/logos/medium/color/#{rand_num}.png" - end - - def swedish_organisation_number - base = ('%09d' % rand(10 ** 9)) - base + luhn_algorithm(base).to_s - end - - private - - def luhn_algorithm(number) - multiplications = [] - - number.split(//).each_with_index do |digit, i| - if i % 2 == 0 - multiplications << digit.to_i * 2 - else - multiplications << digit.to_i - end - end - - sum = 0 - - multiplications.each do |num| - num.to_s.each_byte do |character| - sum += character.chr.to_i - end - end - - if sum % 10 == 0 - control_digit = 0 - else - control_digit = (sum / 10 + 1) * 10 - sum - end - - control_digit - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/date.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/date.rb deleted file mode 100644 index e52f50c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/date.rb +++ /dev/null @@ -1,42 +0,0 @@ -module Faker - class Date < Base - class << self - def between(from, to) - from = get_date_object(from) - to = get_date_object(to) - - Faker::Base::rand_in_range(from, to) - end - - def forward(days = 365) - from = ::Date.today + 1 - to = ::Date.today + days - - between(from, to).to_date - end - - def backward(days = 365) - from = ::Date.today - days - to = ::Date.today - 1 - - between(from, to).to_date - end - - def birthday(min_age = 18, max_age = 65) - t = ::Date.today - from = ::Date.new(t.year - min_age, t.month, t.day) - to = ::Date.new(t.year - max_age, t.month, t.day) - - between(from, to).to_date - end - - private - - def get_date_object(date) - date = ::Date.parse(date) if date.is_a?(String) - date = date.to_date if date.respond_to?(:to_date) - date - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/finance.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/finance.rb deleted file mode 100644 index 28ce330..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/finance.rb +++ /dev/null @@ -1,26 +0,0 @@ -module Faker - class Finance < Base - CREDIT_CARD_TYPES = [ :visa, :mastercard, :discover, :american_express, :diners_club, :jcb, :switch, :solo, :dankort, :maestro, :forbrugsforeningen, :laser ] - - class << self - def credit_card(*types) - types = CREDIT_CARD_TYPES if types.empty? - type = types.sample - template = numerify(fetch("credit_card.#{type}")) - - # calculate the luhn checksum digit - multiplier = 1 - luhn_sum = template.gsub(/[^0-9]/, '').split('').reverse.map(&:to_i).inject(0) do |sum, digit| - multiplier = (multiplier == 2 ? 1 : 2) - sum + (digit * multiplier).to_s.split('').map(&:to_i).inject(0) { |digit_sum, cur| digit_sum + cur } - end - # the sum plus whatever the last digit is must be a multiple of 10. So, the - # last digit must be 10 - the last digit of the sum. - luhn_digit = (10 - (luhn_sum % 10)) % 10 - - template.gsub! 'L', luhn_digit.to_s - template - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/hacker.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/hacker.rb deleted file mode 100644 index de80c93..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/hacker.rb +++ /dev/null @@ -1,31 +0,0 @@ -#Port of http://shinytoylabs.com/jargon/ -module Faker - class Hacker < Base - flexible :hacker - - class << self - def say_something_smart - phrases.sample - end - - def abbreviation; fetch('hacker.abbreviation'); end - def adjective; fetch('hacker.adjective'); end - def noun; fetch('hacker.noun'); end - def verb; fetch('hacker.verb'); end - def ingverb; fetch('hacker.ingverb'); end - - def phrases - [ "If we #{verb} the #{noun}, we can get to the #{abbreviation} #{noun} through the #{adjective} #{abbreviation} #{noun}!", - "We need to #{verb} the #{adjective} #{abbreviation} #{noun}!", - "Try to #{verb} the #{abbreviation} #{noun}, maybe it will #{verb} the #{adjective} #{noun}!", - "You can't #{verb} the #{noun} without #{ingverb} the #{adjective} #{abbreviation} #{noun}!", - "Use the #{adjective} #{abbreviation} #{noun}, then you can #{verb} the #{adjective} #{noun}!", - "The #{abbreviation} #{noun} is down, #{verb} the #{adjective} #{noun} so we can #{verb} the #{abbreviation} #{noun}!", - "#{ingverb} the #{noun} won't do anything, we need to #{verb} the #{adjective} #{abbreviation} #{noun}!", - "I'll #{verb} the #{adjective} #{abbreviation} #{noun}, that should #{noun} the #{abbreviation} #{noun}!" - ] - end - end - - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/internet.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/internet.rb deleted file mode 100644 index bb3a125..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/internet.rb +++ /dev/null @@ -1,111 +0,0 @@ -# encoding: utf-8 -module Faker - class Internet < Base - class << self - def email(name = nil) - [user_name(name), domain_name].join('@') - end - - def free_email(name = nil) - [user_name(name), fetch('internet.free_email')].join('@') - end - - def safe_email(name = nil) - [user_name(name), 'example.'+ %w[org com net].shuffle.first].join('@') - end - - def user_name(specifier = nil, separators = %w(. _)) - if specifier.kind_of? String - return specifier.scan(/\w+/).shuffle.join(separators.sample).downcase - elsif specifier.kind_of? Integer - tries = 0 # Don't try forever in case we get something like 1_000_000. - begin - result = user_name nil, separators - tries += 1 - end while result.length < specifier and tries < 7 - until result.length >= specifier - result = result * 2 - end - return result - elsif specifier.kind_of? Range - tries = 0 - begin - result = user_name specifier.min, separators - tries += 1 - end while not specifier.include? result.length and tries < 7 - return result[0...specifier.max] - end - - [ - Char.prepare(Name.first_name), - [Name.first_name, Name.last_name].map{ |name| - Char.prepare name - }.join(separators.sample) - ].sample - end - - def password(min_length = 8, max_length = 16) - temp = Lorem.characters(min_length) - diff_length = max_length - min_length - if diff_length > 0 - diff_rand = rand(diff_length + 1) - temp += Lorem.characters(diff_rand) - end - temp = temp[0..min_length] if min_length > 0 - return temp - end - - def domain_name - [Char.prepare(domain_word), domain_suffix].join('.') - end - - def fix_umlauts(string) - Char.fix_umlauts string - end - - def domain_word - if %w(uk).include? Config.locale - return Char.prepare Company.name.split(' ')[1] - end - Char.prepare Company.name.split(' ').first - end - - def domain_suffix - fetch('internet.domain_suffix') - end - - def mac_address(prefix='') - prefix_digits = prefix.split(':').map{ |d| d.to_i(16) } - address_digits = (6 - prefix_digits.size).times.map{ rand(256) } - (prefix_digits + address_digits).map{ |d| '%02x' % d }.join(':') - end - - def ip_v4_address - ary = (2..254).to_a - [ary.sample, - ary.sample, - ary.sample, - ary.sample].join('.') - end - - def ip_v6_address - @@ip_v6_space ||= (0..65535).to_a - container = (1..8).map{ |_| @@ip_v6_space.sample } - container.map{ |n| n.to_s(16) }.join(':') - end - - def url(host = domain_name, path = "/#{user_name}") - "http://#{host}#{path}" - end - - def slug(words = nil, glue = nil) - glue ||= %w[- _ .].sample - (words || Faker::Lorem::words(2).join(' ')).gsub(' ', glue).downcase - end - - def device_token - rand(16 ** 64).to_s(16).rjust(64, '0').chars.to_a.shuffle.join - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/lorem.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/lorem.rb deleted file mode 100644 index acb85f7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/lorem.rb +++ /dev/null @@ -1,66 +0,0 @@ -module Faker - # Based on Perl's Text::Lorem - class Lorem < Base - class << self - def word - translate('faker.lorem.words').sample - end - - def words(num = 3, supplemental = false) - resolved_num = resolve(num) - word_list = ( - translate('faker.lorem.words') + - (supplemental ? translate('faker.lorem.supplemental') : []) - ) - word_list = word_list * ((resolved_num / word_list.length) + 1) - word_list.shuffle[0, resolved_num] - end - - def character - characters(1) - end - - def characters(char_count = 255) - return '' if char_count.respond_to?(:to_i) && char_count.to_i < 1 - char_count = resolve(char_count) - rand(36**char_count).to_s(36).rjust(char_count, '0').chars.to_a.shuffle.join - end - - def sentence(word_count = 4, supplemental = false, random_words_to_add = 6) - words(word_count + rand(random_words_to_add.to_i).to_i, supplemental).join(' ').capitalize + '.' - end - - def sentences(sentence_count = 3, supplemental = false) - [].tap do |sentences| - 1.upto(resolve(sentence_count)) do - sentences << sentence(3, supplemental) - end - end - end - - def paragraph(sentence_count = 3, supplemental = false, random_sentences_to_add = 3) - sentences(resolve(sentence_count) + rand(random_sentences_to_add.to_i).to_i, supplemental).join(' ') - end - - def paragraphs(paragraph_count = 3, supplemental = false) - [].tap do |paragraphs| - 1.upto(resolve(paragraph_count)) do - paragraphs << paragraph(3, supplemental) - end - end - end - - private - - # If an array or range is passed, a random value will be selected. - # All other values are simply returned. - def resolve(value) - case value - when Array then value[rand(value.size)] - when Range then rand((value.last+1) - value.first) + value.first - else value - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/name.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/name.rb deleted file mode 100644 index b07c90d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/name.rb +++ /dev/null @@ -1,22 +0,0 @@ -module Faker - class Name < Base - flexible :name - - class << self - - def name - parse('name.name') - end - - def first_name; fetch('name.first_name'); end - def last_name; fetch('name.last_name'); end - def prefix; fetch('name.prefix'); end - def suffix; fetch('name.suffix'); end - - # Generate a buzzword-laden job title - # Wordlist from http://www.bullshitjob.com/title/ - def title; fetch('name.title.descriptor') + ' ' + fetch('name.title.level') + ' ' + fetch('name.title.job'); end - - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/number.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/number.rb deleted file mode 100644 index a9f879a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/number.rb +++ /dev/null @@ -1,57 +0,0 @@ -module Faker - class Number < Base - class << self - def number(digits) - (1..digits).collect {digit}.join - end - - def decimal(l_digits, r_digits = 2) - l_d = self.number(l_digits) - r_d = self.number(r_digits) - "#{l_d}.#{r_d}" - end - - def digit - (rand() * 9).round.to_s - end - - def hexadecimal(digits) - hex = "" - digits.times { hex += rand(15).to_s(16) } - hex - end - - def between(from = 1.00, to = 5000.00) - Faker::Base::rand_in_range(from, to) - end - - def positive(from = 1.00, to = 5000.00) - random_number = between(from, to) - greater_than_zero(random_number) - end - - def negative(from = -5000.00, to = -1.00) - random_number = between(from, to) - less_than_zero(random_number) - end - - private - - def greater_than_zero(number) - should_be(number, :>) - end - - def less_than_zero(number) - should_be(number, :<) - end - - def should_be(number, method_to_compare) - if number.send(method_to_compare, 0) - number - else - number * -1 - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/phone_number.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/phone_number.rb deleted file mode 100644 index 673d8be..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/phone_number.rb +++ /dev/null @@ -1,52 +0,0 @@ -module Faker - class PhoneNumber < Base - class << self - def phone_number - if parse('phone_number.formats') == "" - numerify(fetch('phone_number.formats')) - else - parse('phone_number.formats') - end - end - - def cell_phone - if parse('cell_phone.formats') == "" - numerify(fetch('cell_phone.formats')) - else - parse('cell_phone.formats') - end - end - - # US only - def area_code - begin - fetch('phone_number.area_code') - rescue I18n::MissingTranslationData - nil - end - end - - # US only - def exchange_code - begin - fetch('phone_number.exchange_code') - rescue I18n::MissingTranslationData - nil - end - end - - # US only - # Can be used for both extensions and last four digits of phone number. - # Since extensions can be of variable length, this method taks a length parameter - def subscriber_number(length = 4) - begin - rand.to_s[2..(1 + length)] - rescue I18n::MissingTranslationData - nil - end - end - - alias_method :extension, :subscriber_number - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/slack_emoji.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/slack_emoji.rb deleted file mode 100644 index e6c5285..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/slack_emoji.rb +++ /dev/null @@ -1,43 +0,0 @@ -module Faker - class SlackEmoji < Base - class << self - - def people - fetch('slack_emoji.people') - end - - def nature - fetch('slack_emoji.nature') - end - - def food_and_drink - fetch('slack_emoji.food_and_drink') - end - - def celebration - fetch('slack_emoji.celebration') - end - - def activity - fetch('slack_emoji.activity') - end - - def travel_and_places - fetch('slack_emoji.travel_and_places') - end - - def objects_and_symbols - fetch('slack_emoji.objects_and_symbols') - end - - def custom - fetch('slack_emoji.custom') - end - - def emoji - parse('slack_emoji.emoji') - end - - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/team.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/team.rb deleted file mode 100644 index d47792e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/team.rb +++ /dev/null @@ -1,20 +0,0 @@ -module Faker - class Team < Base - flexible :team - - class << self - def name - parse('team.name') - end - - def creature - fetch('team.creature') - end - - def state - fetch('address.state') - end - end - - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/time.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/time.rb deleted file mode 100644 index 06f8f98..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/time.rb +++ /dev/null @@ -1,48 +0,0 @@ -module Faker - class Time < Date - TIME_RANGES = { - :all => (0..23), - :day => (9..17), - :night => (18..23), - :morning => (6..11), - :afternoon => (12..17), - :evening => (17..21), - :midnight => (0..4) - } - - class << self - def between(from, to, period = :all) - super(from, to).to_time + random_time(period) - end - - def forward(days = 365, period = :all) - super(days).to_time + random_time(period) - end - - def backward(days = 365, period = :all) - super(days).to_time + random_time(period) - end - - private - - def random_time(period) - hours(period) + minutes + seconds - end - - def hours(period) - raise ArgumentError, 'invalid period' unless TIME_RANGES.has_key? period - hour_at_period = TIME_RANGES[period].to_a.sample - - (60 * 60 * hour_at_period) - end - - def minutes - 60 * seconds - end - - def seconds - (0..59).to_a.sample - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/university.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/university.rb deleted file mode 100644 index 6d3bd80..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/university.rb +++ /dev/null @@ -1,20 +0,0 @@ -module Faker - class University < Base - flexible :university - - class << self - def name - parse('university.name') - end - - def prefix - fetch('university.prefix') - end - - def suffix - fetch('university.suffix') - end - - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/version.rb deleted file mode 100644 index 957dda1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/faker/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module Faker #:nodoc: - VERSION = "1.5.0" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/helpers/char.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/helpers/char.rb deleted file mode 100644 index 94379e5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/helpers/char.rb +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 -module Faker - module Char - def self.prepare(string) - result = romanize_cyrillic string - result = fix_umlauts result - result.gsub(/\W/, '').downcase - end - - def self.fix_umlauts(string) - string.gsub(/[äöüß]/i) do |match| - case match.downcase - when "ä" 'ae' - when "ö" 'oe' - when "ü" 'ue' - when "ß" 'ss' - end - end - end - - def self.romanize_cyrillic(string) - if Faker::Config.locale == "uk" - # Based on conventions abopted by BGN/PCGN for Ukrainian - uk_chars = { - 'а' => 'a', 'б' => 'b', 'в' => 'v', 'г' => 'h', 'ґ' => 'g', 'д' => 'd', - 'е' => 'e', 'є' => 'ye', 'ж' => 'zh', 'з' => 'z', 'и' => 'y', 'і' => 'i', - 'ї' => 'yi', 'й' => 'y', 'к' => 'k', 'л' => 'l', 'м' => 'm', 'н' => 'n', - 'о' => 'o', 'п' => 'p', 'р' => 'r', 'с' => 's', 'т' => 't', 'у' => 'u', - 'ф' => 'f', 'х' => 'kh', 'ц' => 'ts', 'ч' => 'ch', 'ш' => 'sh', 'щ' => 'shch', - 'ю' => 'yu', 'я' => 'ya', - 'А' => 'a', 'Б' => 'b', 'В' => 'v', 'Г' => 'h', 'Ґ' => 'g', 'Д' => 'd', - 'Е' => 'e', 'Є' => 'ye', 'Ж' => 'zh', 'З' => 'z', 'И' => 'y', 'І' => 'i', - 'Ї' => 'yi', 'Й' => 'y', 'К' => 'k', 'Л' => 'l', 'М' => 'm', 'Н' => 'n', - 'О' => 'o', 'П' => 'p', 'Р' => 'r', 'С' => 's', 'Т' => 't', 'У' => 'u', - 'Ф' => 'f', 'Х' => 'kh', 'Ц' => 'ts', 'Ч' => 'ch', 'Ш' => 'sh', 'Щ' => 'shch', - 'Ю' => 'yu', 'Я' => 'ya', - 'ь' => '' # Ignore symbol, because its standard presentation is not allowed in URLs - } - return string.gsub(/[а-яА-ЯіїєґІЇЄҐ]/, uk_chars) - end - string - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de-AT.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de-AT.yml deleted file mode 100644 index 4d71698..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de-AT.yml +++ /dev/null @@ -1,49 +0,0 @@ -de-AT: - faker: - address: - country: [Ägypten, Äquatorialguinea, Äthiopien, Österreich, Afghanistan, Albanien, Algerien, Amerikanisch-Samoa, Amerikanische Jungferninseln, Andorra, Angola, Anguilla, Antarktis, Antigua und Barbuda, Argentinien, Armenien, Aruba, Aserbaidschan, Australien, Bahamas, Bahrain, Bangladesch, Barbados, Belarus, Belgien, Belize, Benin, die Bermudas, Bhutan, Bolivien, Bosnien und Herzegowina, Botsuana, Bouvetinsel, Brasilien, Britische Jungferninseln, Britisches Territorium im Indischen Ozean, Brunei Darussalam, Bulgarien, Burkina Faso, Burundi, Chile, China, Cookinseln, Costa Rica, Dänemark, Demokratische Republik Kongo, Demokratische Volksrepublik Korea, Deutschland, Dominica, Dominikanische Republik, Dschibuti, Ecuador, El Salvador, Eritrea, Estland, Färöer, Falklandinseln, Fidschi, Finnland, Frankreich, Französisch-Guayana, Französisch-Polynesien, Französische Gebiete im südlichen Indischen Ozean, Gabun, Gambia, Georgien, Ghana, Gibraltar, Grönland, Grenada, Griechenland, Guadeloupe, Guam, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Heard und McDonaldinseln, Honduras, Hongkong, Indien, Indonesien, Irak, Iran, Irland, Island, Israel, Italien, Jamaika, Japan, Jemen, Jordanien, Jugoslawien, Kaimaninseln, Kambodscha, Kamerun, Kanada, Kap Verde, Kasachstan, Katar, Kenia, Kirgisistan, Kiribati, Kleinere amerikanische Überseeinseln, Kokosinseln, Kolumbien, Komoren, Kongo, Kroatien, Kuba, Kuwait, Laos, Lesotho, Lettland, Libanon, Liberia, Libyen, Liechtenstein, Litauen, Luxemburg, Macau, Madagaskar, Malawi, Malaysia, Malediven, Mali, Malta, ehemalige jugoslawische Republik Mazedonien, Marokko, Marshallinseln, Martinique, Mauretanien, Mauritius, Mayotte, Mexiko, Mikronesien, Monaco, Mongolei, Montserrat, Mosambik, Myanmar, Nördliche Marianen, Namibia, Nauru, Nepal, Neukaledonien, Neuseeland, Nicaragua, Niederländische Antillen, Niederlande, Niger, Nigeria, Niue, Norfolkinsel, Norwegen, Oman, Osttimor, Pakistan, Palau, Panama, Papua-Neuguinea, Paraguay, Peru, Philippinen, Pitcairninseln, Polen, Portugal, Puerto Rico, Réunion, Republik Korea, Republik Moldau, Ruanda, Rumänien, Russische Föderation, São Tomé und Príncipe, Südafrika, Südgeorgien und Südliche Sandwichinseln, Salomonen, Sambia, Samoa, San Marino, Saudi-Arabien, Schweden, Schweiz, Senegal, Seychellen, Sierra Leone, Simbabwe, Singapur, Slowakei, Slowenien, Somalien, Spanien, Sri Lanka, St. Helena, St. Kitts und Nevis, St. Lucia, St. Pierre und Miquelon, St. Vincent und die Grenadinen, Sudan, Surinam, Svalbard und Jan Mayen, Swasiland, Syrien, Türkei, Tadschikistan, Taiwan, Tansania, Thailand, Togo, Tokelau, Tonga, Trinidad und Tobago, Tschad, Tschechische Republik, Tunesien, Turkmenistan, Turks- und Caicosinseln, Tuvalu, Uganda, Ukraine, Ungarn, Uruguay, Usbekistan, Vanuatu, Vatikanstadt, Venezuela, Vereinigte Arabische Emirate, Vereinigte Staaten, Vereinigtes Königreich, Vietnam, Wallis und Futuna, Weihnachtsinsel, Westsahara, Zentralafrikanische Republik, Zypern] - street_root: [Ahorn, Ahorngasse (St. Andrä), Alleestraße (Poysbrunn), Alpenlandstraße, Alte Poststraße, Alte Ufergasse, Am Kronawett (Hagenbrunn), Am Mühlwasser, Am Rebenhang, Am Sternweg, Anton Wildgans-Straße, Auer-von-Welsbach-Weg, Auf der Stift, Aufeldgasse, Bahngasse, Bahnhofstraße, Bahnstraße (Gerhaus), Basteigasse, Berggasse, Bergstraße, Birkenweg, Blasiussteig, Blattur, Bruderhofgasse, Brunnelligasse, Bühelweg, Darnautgasse, Donaugasse, Dorfplatz (Haselbach), Dr.-Oberreiter-Straße, Dr.Karl Holoubek-Str., Drautal Bundesstraße, Dürnrohrer Straße, Ebenthalerstraße, Eckgrabenweg, Erlenstraße, Erlenweg, Eschenweg, Etrichgasse, Fassergasse, Feichteggerwiese, Feld-Weg, Feldgasse, Feldstapfe, Fischpointweg, Flachbergstraße, Flurweg, Franz Schubert-Gasse, Franz-Schneeweiß-Weg, Franz-von-Assisi-Straße, Fritz-Pregl-Straße, Fuchsgrubenweg, Födlerweg, Föhrenweg, Fünfhaus (Paasdorf), Gabelsbergerstraße, Gartenstraße, Geigen, Geigergasse, Gemeindeaugasse, Gemeindeplatz, Georg-Aichinger-Straße, Glanfeldbachweg, Graben (Burgauberg), Grub, Gröretgasse, Grünbach, Gösting, Hainschwang, Hans-Mauracher-Straße, Hart, Teichstraße, Hauptplatz, Hauptstraße, Heideweg, Heinrich Landauer Gasse, Helenengasse, Hermann von Gilmweg, Hermann-Löns-Gasse, Herminengasse, Hernstorferstraße, Hirsdorf, Hochfeistritz, Hochhaus Neue Donau, Hof, Hussovits Gasse, Höggen, Hütten, Janzgasse, Jochriemgutstraße, Johann-Strauß-Gasse, Julius-Raab-Straße, Kahlenberger Straße, Karl Kraft-Straße, Kegelprielstraße, Keltenberg-Eponaweg, Kennedybrücke, Kerpelystraße, Kindergartenstraße, Kinderheimgasse, Kirchenplatz, Kirchweg, Klagenfurter Straße, Klamm, Kleinbaumgarten, Klingergasse, Koloniestraße, Konrad-Duden-Gasse, Krankenhausstraße, Kubinstraße, Köhldorfergasse, Lackenweg, Lange Mekotte, Leifling, Leopold Frank-Straße (Pellendorf), Lerchengasse (Pirka), Lichtensternsiedlung V, Lindenhofstraße, Lindenweg, Luegstraße, Maierhof, Malerweg, Mitterweg, Mittlere Hauptstraße, Moosbachgasse, Morettigasse, Musikpavillon Riezlern, Mühlboden, Mühle, Mühlenweg, Neustiftgasse, Niederegg, Niedergams, Nordwestbahnbrücke, Oberbödenalm, Obere Berggasse, Oedt, Am Färberberg, Ottogasse, Paul Peters-Gasse, Perspektivstraße, Poppichl, Privatweg, Prixgasse, Pyhra, Radetzkystraße, Raiden, Reichensteinstraße, Reitbauernstraße, Reiterweg, Reitschulgasse, Ringweg, Rupertistraße, Römerstraße, Römerweg, Sackgasse, Schaunbergerstraße, Schloßweg, Schulgasse (Langeck), Schönholdsiedlung, Seeblick, Seestraße, Semriacherstraße, Simling, Sipbachzeller Straße, Sonnenweg, Spargelfeldgasse, Spiesmayrweg, Sportplatzstraße, St.Ulrich, Steilmannstraße, Steingrüneredt, Strassfeld, Straßerau, Stöpflweg, Stüra, Taferngasse, Tennweg, Thomas Koschat-Gasse, Tiroler Straße, Torrogasse, Uferstraße (Schwarzau am Steinfeld), Unterdörfl, Unterer Sonnrainweg, Verwaltersiedlung, Waldhang, Wasen, Weidenstraße, Weiherweg, Wettsteingasse, Wiener Straße, Windisch, Zebragasse, Zellerstraße, Ziehrerstraße, Zulechnerweg, Zwergjoch, Ötzbruck] - building_number: ['###', '##', '#', '##a', '##b', '##c'] - secondary_address: ['Apt. ###', 'Zimmer ###', '# OG'] - postcode: ['####'] - state: [Burgenland, Kärnten, Niederösterreich, Oberösterreich, Salzburg, Steiermark, Tirol, Vorarlberg, Wien] - state_abbr: [Bgld., Ktn., NÖ, OÖ, Sbg., Stmk., T, Vbg., W] - city_name: [Aigen im Mühlkreis, Allerheiligen bei Wildon, Altenfelden, Arriach, Axams, Baumgartenberg, Bergern im Dunkelsteinerwald, Berndorf bei Salzburg, Bregenz, Breitenbach am Inn, Deutsch-Wagram, Dienten am Hochkönig, Dietach, Dornbirn, Dürnkrut, Eben im Pongau, Ebenthal in Kärnten, Eichgraben, Eisenstadt, Ellmau, Feistritz am Wechsel, Finkenberg, Fiss, Frantschach-St. Gertraud, Fritzens, Gams bei Hieflau, Geiersberg, Graz, Großhöflein, Gößnitz, Hartl, Hausleiten, Herzogenburg, Hinterhornbach, Hochwolkersdorf, Ilz, Ilztal, Innerbraz, Innsbruck, Itter, Jagerberg, Jeging, Johnsbach, Johnsdorf-Brunn, Jungholz, Kirchdorf am Inn, Klagenfurt, Kottes-Purk, Krumau am Kamp, Krumbach, Lavamünd, Lech, Linz, Ludesch, Lödersdorf, Marbach an der Donau, Mattsee, Mautern an der Donau, Mauterndorf, Mitterbach am Erlaufsee, Neudorf bei Passail, Neudorf bei Staatz, Neukirchen an der Enknach, Neustift an der Lafnitz, Niederleis, Oberndorf in Tirol, Oberstorcha, Oberwaltersdorf, Oed-Oehling, Ort im Innkreis, Pilgersdorf, Pitschgau, Pollham, Preitenegg, Purbach am Neusiedler See, Rabenwald, Raiding, Rastenfeld, Ratten, Rettenegg, Salzburg, Sankt Johann im Saggautal, St. Peter am Kammersberg, St. Pölten, St. Veit an der Glan, Taxenbach, Tragwein, Trebesing, Trieben, Turnau, Ungerdorf, Unterauersbach, Unterstinkenbrunn, Untertilliach, Uttendorf, Vals, Velden am Wörther See, Viehhofen, Villach, Vitis, Waidhofen an der Thaya, Waldkirchen am Wesen, Weißkirchen an der Traun, Wien, Wimpassing im Schwarzatale, Ybbs an der Donau, Ybbsitz, Yspertal, Zeillern, Zell am Pettenfirst, Zell an der Pram, Zerlach, Zwölfaxing, Öblarn, Übelbach, Überackern, Übersaxen, Übersbach] - city: - - "#{city_name}" - street_name: - - "#{street_root}" - street_address: - - "#{street_name} #{building_number}" - default_country: [Österreich] - - company: - suffix: [GmbH, AG, Gruppe, KG, GmbH & Co. KG, UG, OHG] - legal_form: [GmbH, AG, Gruppe, KG, GmbH & Co. KG, UG, OHG] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} und #{Name.last_name}" - - internet: - free_email: [gmail.com, yahoo.com, hotmail.com] - domain_suffix: [com, info, name, net, org, de, ch, at] - - name: - first_name: [Aaron, Abdul, Abdullah, Adam, Adrian, Adriano, Ahmad, Ahmed, Ahmet, Alan, Albert, Alessandro, Alessio, Alex, Alexander, Alfred, Ali, Amar, Amir, Amon, Andre, Andreas, Andrew, Angelo, Ansgar, Anthony, Anton, Antonio, Arda, Arian, Armin, Arne, Arno, Arthur, Artur, Arved, Arvid, Ayman, Baran, Baris, Bastian, Batuhan, Bela, Ben, Benedikt, Benjamin, Bennet, Bennett, Benno, Bent, Berat, Berkay, Bernd, Bilal, Bjarne, Björn, Bo, Boris, Brandon, Brian, Bruno, Bryan, Burak, Calvin, Can, Carl, Carlo, Carlos, Caspar, Cedric, Cedrik, Cem, Charlie, Chris, Christian, Christiano, Christoph, Christopher, Claas, Clemens, Colin, Collin, Conner, Connor, Constantin, Corvin, Curt, Damian, Damien, Daniel, Danilo, Danny, Darian, Dario, Darius, Darren, David, Davide, Davin, Dean, Deniz, Dennis, Denny, Devin, Diego, Dion, Domenic, Domenik, Dominic, Dominik, Dorian, Dustin, Dylan, Ecrin, Eddi, Eddy, Edgar, Edwin, Efe, Ege, Elia, Eliah, Elias, Elijah, Emanuel, Emil, Emilian, Emilio, Emir, Emirhan, Emre, Enes, Enno, Enrico, Eren, Eric, Erik, Etienne, Fabian, Fabien, Fabio, Fabrice, Falk, Felix, Ferdinand, Fiete, Filip, Finlay, Finley, Finn, Finnley, Florian, Francesco, Franz, Frederic, Frederick, Frederik, Friedrich, Fritz, Furkan, Fynn, Gabriel, Georg, Gerrit, Gian, Gianluca, Gino, Giuliano, Giuseppe, Gregor, Gustav, Hagen, Hamza, Hannes, Hanno, Hans, Hasan, Hassan, Hauke, Hendrik, Hennes, Henning, Henri, Henrick, Henrik, Henry, Hugo, Hussein, Ian, Ibrahim, Ilias, Ilja, Ilyas, Immanuel, Ismael, Ismail, Ivan, Iven, Jack, Jacob, Jaden, Jakob, Jamal, James, Jamie, Jan, Janek, Janis, Janne, Jannek, Jannes, Jannik, Jannis, Jano, Janosch, Jared, Jari, Jarne, Jarno, Jaron, Jason, Jasper, Jay, Jayden, Jayson, Jean, Jens, Jeremias, Jeremie, Jeremy, Jermaine, Jerome, Jesper, Jesse, Jim, Jimmy, Joe, Joel, Joey, Johann, Johannes, John, Johnny, Jon, Jona, Jonah, Jonas, Jonathan, Jonte, Joost, Jordan, Joris, Joscha, Joschua, Josef, Joseph, Josh, Joshua, Josua, Juan, Julian, Julien, Julius, Juri, Justin, Justus, Kaan, Kai, Kalle, Karim, Karl, Karlo, Kay, Keanu, Kenan, Kenny, Keno, Kerem, Kerim, Kevin, Kian, Kilian, Kim, Kimi, Kjell, Klaas, Klemens, Konrad, Konstantin, Koray, Korbinian, Kurt, Lars, Lasse, Laurence, Laurens, Laurenz, Laurin, Lean, Leander, Leandro, Leif, Len, Lenn, Lennard, Lennart, Lennert, Lennie, Lennox, Lenny, Leo, Leon, Leonard, Leonardo, Leonhard, Leonidas, Leopold, Leroy, Levent, Levi, Levin, Lewin, Lewis, Liam, Lian, Lias, Lino, Linus, Lio, Lion, Lionel, Logan, Lorenz, Lorenzo, Loris, Louis, Luan, Luc, Luca, Lucas, Lucian, Lucien, Ludwig, Luis, Luiz, Luk, Luka, Lukas, Luke, Lutz, Maddox, Mads, Magnus, Maik, Maksim, Malik, Malte, Manuel, Marc, Marcel, Marco, Marcus, Marek, Marian, Mario, Marius, Mark, Marko, Markus, Marlo, Marlon, Marten, Martin, Marvin, Marwin, Mateo, Mathis, Matis, Mats, Matteo, Mattes, Matthias, Matthis, Matti, Mattis, Maurice, Max, Maxim, Maximilian, Mehmet, Meik, Melvin, Merlin, Mert, Michael, Michel, Mick, Miguel, Mika, Mikail, Mike, Milan, Milo, Mio, Mirac, Mirco, Mirko, Mohamed, Mohammad, Mohammed, Moritz, Morten, Muhammed, Murat, Mustafa, Nathan, Nathanael, Nelson, Neo, Nevio, Nick, Niclas, Nico, Nicolai, Nicolas, Niels, Nikita, Niklas, Niko, Nikolai, Nikolas, Nils, Nino, Noah, Noel, Norman, Odin, Oke, Ole, Oliver, Omar, Onur, Oscar, Oskar, Pascal, Patrice, Patrick, Paul, Peer, Pepe, Peter, Phil, Philip, Philipp, Pierre, Piet, Pit, Pius, Quentin, Quirin, Rafael, Raik, Ramon, Raphael, Rasmus, Raul, Rayan, René, Ricardo, Riccardo, Richard, Rick, Rico, Robert, Robin, Rocco, Roman, Romeo, Ron, Ruben, Ryan, Said, Salih, Sam, Sami, Sammy, Samuel, Sandro, Santino, Sascha, Sean, Sebastian, Selim, Semih, Shawn, Silas, Simeon, Simon, Sinan, Sky, Stefan, Steffen, Stephan, Steve, Steven, Sven, Sönke, Sören, Taha, Tamino, Tammo, Tarik, Tayler, Taylor, Teo, Theo, Theodor, Thies, Thilo, Thomas, Thorben, Thore, Thorge, Tiago, Til, Till, Tillmann, Tim, Timm, Timo, Timon, Timothy, Tino, Titus, Tizian, Tjark, Tobias, Tom, Tommy, Toni, Tony, Torben, Tore, Tristan, Tyler, Tyron, Umut, Valentin, Valentino, Veit, Victor, Viktor, Vin, Vincent, Vito, Vitus, Wilhelm, Willi, William, Willy, Xaver, Yannic, Yannick, Yannik, Yannis, Yasin, Youssef, Yunus, Yusuf, Yven, Yves, Ömer, Aaliyah, Abby, Abigail, Ada, Adelina, Adriana, Aileen, Aimee, Alana, Alea, Alena, Alessa, Alessia, Alexa, Alexandra, Alexia, Alexis, Aleyna, Alia, Alica, Alice, Alicia, Alina, Alisa, Alisha, Alissa, Aliya, Aliyah, Allegra, Alma, Alyssa, Amalia, Amanda, Amelia, Amelie, Amina, Amira, Amy, Ana, Anabel, Anastasia, Andrea, Angela, Angelina, Angelique, Anja, Ann, Anna, Annabel, Annabell, Annabelle, Annalena, Anne, Anneke, Annelie, Annemarie, Anni, Annie, Annika, Anny, Anouk, Antonia, Arda, Ariana, Ariane, Arwen, Ashley, Asya, Aurelia, Aurora, Ava, Ayleen, Aylin, Ayse, Azra, Betty, Bianca, Bianka, Caitlin, Cara, Carina, Carla, Carlotta, Carmen, Carolin, Carolina, Caroline, Cassandra, Catharina, Catrin, Cecile, Cecilia, Celia, Celina, Celine, Ceyda, Ceylin, Chantal, Charleen, Charlotta, Charlotte, Chayenne, Cheyenne, Chiara, Christin, Christina, Cindy, Claire, Clara, Clarissa, Colleen, Collien, Cora, Corinna, Cosima, Dana, Daniela, Daria, Darleen, Defne, Delia, Denise, Diana, Dilara, Dina, Dorothea, Ecrin, Eda, Eileen, Ela, Elaine, Elanur, Elea, Elena, Eleni, Eleonora, Eliana, Elif, Elina, Elisa, Elisabeth, Ella, Ellen, Elli, Elly, Elsa, Emelie, Emely, Emilia, Emilie, Emily, Emma, Emmely, Emmi, Emmy, Enie, Enna, Enya, Esma, Estelle, Esther, Eva, Evelin, Evelina, Eveline, Evelyn, Fabienne, Fatima, Fatma, Felicia, Felicitas, Felina, Femke, Fenja, Fine, Finia, Finja, Finnja, Fiona, Flora, Florentine, Francesca, Franka, Franziska, Frederike, Freya, Frida, Frieda, Friederike, Giada, Gina, Giulia, Giuliana, Greta, Hailey, Hana, Hanna, Hannah, Heidi, Helen, Helena, Helene, Helin, Henriette, Henrike, Hermine, Ida, Ilayda, Imke, Ina, Ines, Inga, Inka, Irem, Isa, Isabel, Isabell, Isabella, Isabelle, Ivonne, Jacqueline, Jamie, Jamila, Jana, Jane, Janin, Janina, Janine, Janna, Janne, Jara, Jasmin, Jasmina, Jasmine, Jella, Jenna, Jennifer, Jenny, Jessica, Jessy, Jette, Jil, Jill, Joana, Joanna, Joelina, Joeline, Joelle, Johanna, Joleen, Jolie, Jolien, Jolin, Jolina, Joline, Jona, Jonah, Jonna, Josefin, Josefine, Josephin, Josephine, Josie, Josy, Joy, Joyce, Judith, Judy, Jule, Julia, Juliana, Juliane, Julie, Julienne, Julika, Julina, Juna, Justine, Kaja, Karina, Karla, Karlotta, Karolina, Karoline, Kassandra, Katarina, Katharina, Kathrin, Katja, Katrin, Kaya, Kayra, Kiana, Kiara, Kim, Kimberley, Kimberly, Kira, Klara, Korinna, Kristin, Kyra, Laila, Lana, Lara, Larissa, Laura, Laureen, Lavinia, Lea, Leah, Leana, Leandra, Leann, Lee, Leila, Lena, Lene, Leni, Lenia, Lenja, Lenya, Leona, Leoni, Leonie, Leonora, Leticia, Letizia, Levke, Leyla, Lia, Liah, Liana, Lili, Lilia, Lilian, Liliana, Lilith, Lilli, Lillian, Lilly, Lily, Lina, Linda, Lindsay, Line, Linn, Linnea, Lisa, Lisann, Lisanne, Liv, Livia, Liz, Lola, Loreen, Lorena, Lotta, Lotte, Louisa, Louise, Luana, Luca, Lucia, Lucie, Lucienne, Lucy, Luisa, Luise, Luka, Luna, Luzie, Lya, Lydia, Lyn, Lynn, Madeleine, Madita, Madleen, Madlen, Magdalena, Maike, Mailin, Maira, Maja, Malena, Malia, Malin, Malina, Mandy, Mara, Marah, Mareike, Maren, Maria, Mariam, Marie, Marieke, Mariella, Marika, Marina, Marisa, Marissa, Marit, Marla, Marleen, Marlen, Marlena, Marlene, Marta, Martha, Mary, Maryam, Mathilda, Mathilde, Matilda, Maxi, Maxima, Maxine, Maya, Mayra, Medina, Medine, Meike, Melanie, Melek, Melike, Melina, Melinda, Melis, Melisa, Melissa, Merle, Merve, Meryem, Mette, Mia, Michaela, Michelle, Mieke, Mila, Milana, Milena, Milla, Mina, Mira, Miray, Miriam, Mirja, Mona, Monique, Nadine, Nadja, Naemi, Nancy, Naomi, Natalia, Natalie, Nathalie, Neele, Nela, Nele, Nelli, Nelly, Nia, Nicole, Nika, Nike, Nikita, Nila, Nina, Nisa, Noemi, Nora, Olivia, Patricia, Patrizia, Paula, Paulina, Pauline, Penelope, Philine, Phoebe, Pia, Rahel, Rania, Rebecca, Rebekka, Riana, Rieke, Rike, Romina, Romy, Ronja, Rosa, Rosalie, Ruby, Sabrina, Sahra, Sally, Salome, Samantha, Samia, Samira, Sandra, Sandy, Sanja, Saphira, Sara, Sarah, Saskia, Selin, Selina, Selma, Sena, Sidney, Sienna, Silja, Sina, Sinja, Smilla, Sofia, Sofie, Sonja, Sophia, Sophie, Soraya, Stefanie, Stella, Stephanie, Stina, Sude, Summer, Susanne, Svea, Svenja, Sydney, Tabea, Talea, Talia, Tamara, Tamia, Tamina, Tanja, Tara, Tarja, Teresa, Tessa, Thalea, Thalia, Thea, Theresa, Tia, Tina, Tomke, Tuana, Valentina, Valeria, Valerie, Vanessa, Vera, Veronika, Victoria, Viktoria, Viola, Vivian, Vivien, Vivienne, Wibke, Wiebke, Xenia, Yara, Yaren, Yasmin, Ylvi, Ylvie, Yvonne, Zara, Zehra, Zeynep, Zoe, Zoey, Zoé] - last_name: [Abel, Abicht, Abraham, Abramovic, Abt, Achilles, Achkinadze, Ackermann, Adam, Adams, Ade, Agostini, Ahlke, Ahrenberg, Ahrens, Aigner, Albert, Albrecht, Alexa, Alexander, Alizadeh, Allgeyer, Amann, Amberg, Anding, Anggreny, Apitz, Arendt, Arens, Arndt, Aryee, Aschenbroich, Assmus, Astafei, Auer, Axmann, Baarck, Bachmann, Badane, Bader, Baganz, Bahl, Bak, Balcer, Balck, Balkow, Balnuweit, Balzer, Banse, Barr, Bartels, Barth, Barylla, Baseda, Battke, Bauer, Bauermeister, Baumann, Baumeister, Bauschinger, Bauschke, Bayer, Beavogui, Beck, Beckel, Becker, Beckmann, Bedewitz, Beele, Beer, Beggerow, Beh, Behr, Behrenbruch, Belz, Bender, Benecke, Benner, Benninger, Benzing, Berends, Berger, Berner, Berning, Bertenbreiter, Best, Bethke, Betz, Beushausen, Beutelspacher, Beyer, Biba, Bichler, Bickel, Biedermann, Bieler, Bielert, Bienasch, Bienias, Biesenbach, Bigdeli, Birkemeyer, Bittner, Blank, Blaschek, Blassneck, Bloch, Blochwitz, Blockhaus, Blum, Blume, Bock, Bode, Bogdashin, Bogenrieder, Bohge, Bolm, Borgschulze, Bork, Bormann, Bornscheuer, Borrmann, Borsch, Boruschewski, Bos, Bosler, Bourrouag, Bouschen, Boxhammer, Boyde, Bozsik, Brand, Brandenburg, Brandis, Brandt, Brauer, Braun, Brehmer, Breitenstein, Bremer, Bremser, Brenner, Brettschneider, Breu, Breuer, Briesenick, Bringmann, Brinkmann, Brix, Broening, Brosch, Bruckmann, Bruder, Bruhns, Brunner, Bruns, Bräutigam, Brömme, Brüggmann, Buchholz, Buchrucker, Buder, Bultmann, Bunjes, Burger, Burghagen, Burkhard, Burkhardt, Burmeister, Busch, Buschbaum, Busemann, Buss, Busse, Bussmann, Byrd, Bäcker, Böhm, Bönisch, Börgeling, Börner, Böttner, Büchele, Bühler, Büker, Büngener, Bürger, Bürklein, Büscher, Büttner, Camara, Carlowitz, Carlsohn, Caspari, Caspers, Chapron, Christ, Cierpinski, Clarius, Cleem, Cleve, Co, Conrad, Cordes, Cornelsen, Cors, Cotthardt, Crews, Cronjäger, Crosskofp, Da, Dahm, Dahmen, Daimer, Damaske, Danneberg, Danner, Daub, Daubner, Daudrich, Dauer, Daum, Dauth, Dautzenberg, De, Decker, Deckert, Deerberg, Dehmel, Deja, Delonge, Demut, Dengler, Denner, Denzinger, Derr, Dertmann, Dethloff, Deuschle, Dieckmann, Diedrich, Diekmann, Dienel, Dies, Dietrich, Dietz, Dietzsch, Diezel, Dilla, Dingelstedt, Dippl, Dittmann, Dittmar, Dittmer, Dix, Dobbrunz, Dobler, Dohring, Dolch, Dold, Dombrowski, Donie, Doskoczynski, Dragu, Drechsler, Drees, Dreher, Dreier, Dreissigacker, Dressler, Drews, Duma, Dutkiewicz, Dyett, Dylus, Dächert, Döbel, Döring, Dörner, Dörre, Dück, Eberhard, Eberhardt, Ecker, Eckhardt, Edorh, Effler, Eggenmueller, Ehm, Ehmann, Ehrig, Eich, Eichmann, Eifert, Einert, Eisenlauer, Ekpo, Elbe, Eleyth, Elss, Emert, Emmelmann, Ender, Engel, Engelen, Engelmann, Eplinius, Erdmann, Erhardt, Erlei, Erm, Ernst, Ertl, Erwes, Esenwein, Esser, Evers, Everts, Ewald, Fahner, Faller, Falter, Farber, Fassbender, Faulhaber, Fehrig, Feld, Felke, Feller, Fenner, Fenske, Feuerbach, Fietz, Figl, Figura, Filipowski, Filsinger, Fincke, Fink, Finke, Fischer, Fitschen, Fleischer, Fleischmann, Floder, Florczak, Flore, Flottmann, Forkel, Forst, Frahmeke, Frank, Franke, Franta, Frantz, Franz, Franzis, Franzmann, Frauen, Frauendorf, Freigang, Freimann, Freimuth, Freisen, Frenzel, Frey, Fricke, Fried, Friedek, Friedenberg, Friedmann, Friedrich, Friess, Frisch, Frohn, Frosch, Fuchs, Fuhlbrügge, Fusenig, Fust, Förster, Gaba, Gabius, Gabler, Gadschiew, Gakstädter, Galander, Gamlin, Gamper, Gangnus, Ganzmann, Garatva, Gast, Gastel, Gatzka, Gauder, Gebhardt, Geese, Gehre, Gehrig, Gehring, Gehrke, Geiger, Geisler, Geissler, Gelling, Gens, Gerbennow, Gerdel, Gerhardt, Gerschler, Gerson, Gesell, Geyer, Ghirmai, Ghosh, Giehl, Gierisch, Giesa, Giesche, Gilde, Glatting, Goebel, Goedicke, Goldbeck, Goldfuss, Goldkamp, Goldkühle, Goller, Golling, Gollnow, Golomski, Gombert, Gotthardt, Gottschalk, Gotz, Goy, Gradzki, Graf, Grams, Grasse, Gratzky, Grau, Greb, Green, Greger, Greithanner, Greschner, Griem, Griese, Grimm, Gromisch, Gross, Grosser, Grossheim, Grosskopf, Grothaus, Grothkopp, Grotke, Grube, Gruber, Grundmann, Gruning, Gruszecki, Gröss, Grötzinger, Grün, Grüner, Gummelt, Gunkel, Gunther, Gutjahr, Gutowicz, Gutschank, Göbel, Göckeritz, Göhler, Görlich, Görmer, Götz, Götzelmann, Güldemeister, Günther, Günz, Gürbig, Haack, Haaf, Habel, Hache, Hackbusch, Hackelbusch, Hadfield, Hadwich, Haferkamp, Hahn, Hajek, Hallmann, Hamann, Hanenberger, Hannecker, Hanniske, Hansen, Hardy, Hargasser, Harms, Harnapp, Harter, Harting, Hartlieb, Hartmann, Hartwig, Hartz, Haschke, Hasler, Hasse, Hassfeld, Haug, Hauke, Haupt, Haverney, Heberstreit, Hechler, Hecht, Heck, Hedermann, Hehl, Heidelmann, Heidler, Heinemann, Heinig, Heinke, Heinrich, Heinze, Heiser, Heist, Hellmann, Helm, Helmke, Helpling, Hengmith, Henkel, Hennes, Henry, Hense, Hensel, Hentel, Hentschel, Hentschke, Hepperle, Herberger, Herbrand, Hering, Hermann, Hermecke, Herms, Herold, Herrmann, Herschmann, Hertel, Herweg, Herwig, Herzenberg, Hess, Hesse, Hessek, Hessler, Hetzler, Heuck, Heydemüller, Hiebl, Hildebrand, Hildenbrand, Hilgendorf, Hillard, Hiller, Hingsen, Hingst, Hinrichs, Hirsch, Hirschberg, Hirt, Hodea, Hoffman, Hoffmann, Hofmann, Hohenberger, Hohl, Hohn, Hohnheiser, Hold, Holdt, Holinski, Holl, Holtfreter, Holz, Holzdeppe, Holzner, Hommel, Honz, Hooss, Hoppe, Horak, Horn, Horna, Hornung, Hort, Howard, Huber, Huckestein, Hudak, Huebel, Hugo, Huhn, Hujo, Huke, Huls, Humbert, Huneke, Huth, Häber, Häfner, Höcke, Höft, Höhne, Hönig, Hördt, Hübenbecker, Hübl, Hübner, Hügel, Hüttcher, Hütter, Ibe, Ihly, Illing, Isak, Isekenmeier, Itt, Jacob, Jacobs, Jagusch, Jahn, Jahnke, Jakobs, Jakubczyk, Jambor, Jamrozy, Jander, Janich, Janke, Jansen, Jarets, Jaros, Jasinski, Jasper, Jegorov, Jellinghaus, Jeorga, Jerschabek, Jess, John, Jonas, Jossa, Jucken, Jung, Jungbluth, Jungton, Just, Jürgens, Kaczmarek, Kaesmacher, Kahl, Kahlert, Kahles, Kahlmeyer, Kaiser, Kalinowski, Kallabis, Kallensee, Kampf, Kampschulte, Kappe, Kappler, Karhoff, Karrass, Karst, Karsten, Karus, Kass, Kasten, Kastner, Katzinski, Kaufmann, Kaul, Kausemann, Kawohl, Kazmarek, Kedzierski, Keil, Keiner, Keller, Kelm, Kempe, Kemper, Kempter, Kerl, Kern, Kesselring, Kesselschläger, Kette, Kettenis, Keutel, Kick, Kiessling, Kinadeter, Kinzel, Kinzy, Kirch, Kirst, Kisabaka, Klaas, Klabuhn, Klapper, Klauder, Klaus, Kleeberg, Kleiber, Klein, Kleinert, Kleininger, Kleinmann, Kleinsteuber, Kleiss, Klemme, Klimczak, Klinger, Klink, Klopsch, Klose, Kloss, Kluge, Kluwe, Knabe, Kneifel, Knetsch, Knies, Knippel, Knobel, Knoblich, Knoll, Knorr, Knorscheidt, Knut, Kobs, Koch, Kochan, Kock, Koczulla, Koderisch, Koehl, Koehler, Koenig, Koester, Kofferschlager, Koha, Kohle, Kohlmann, Kohnle, Kohrt, Koj, Kolb, Koleiski, Kolokas, Komoll, Konieczny, Konig, Konow, Konya, Koob, Kopf, Kosenkow, Koster, Koszewski, Koubaa, Kovacs, Kowalick, Kowalinski, Kozakiewicz, Krabbe, Kraft, Kral, Kramer, Krauel, Kraus, Krause, Krauspe, Kreb, Krebs, Kreissig, Kresse, Kreutz, Krieger, Krippner, Krodinger, Krohn, Krol, Kron, Krueger, Krug, Kruger, Krull, Kruschinski, Krämer, Kröckert, Kröger, Krüger, Kubera, Kufahl, Kuhlee, Kuhnen, Kulimann, Kulma, Kumbernuss, Kummle, Kunz, Kupfer, Kupprion, Kuprion, Kurnicki, Kurrat, Kurschilgen, Kuschewitz, Kuschmann, Kuske, Kustermann, Kutscherauer, Kutzner, Kwadwo, Kähler, Käther, Köhler, Köhrbrück, Köhre, Kölotzei, König, Köpernick, Köseoglu, Kúhn, Kúhnert, Kühn, Kühnel, Kühnemund, Kühnert, Kühnke, Küsters, Küter, Laack, Lack, Ladewig, Lakomy, Lammert, Lamos, Landmann, Lang, Lange, Langfeld, Langhirt, Lanig, Lauckner, Lauinger, Laurén, Lausecker, Laux, Laws, Lax, Leberer, Lehmann, Lehner, Leibold, Leide, Leimbach, Leipold, Leist, Leiter, Leiteritz, Leitheim, Leiwesmeier, Lenfers, Lenk, Lenz, Lenzen, Leo, Lepthin, Lesch, Leschnik, Letzelter, Lewin, Lewke, Leyckes, Lg, Lichtenfeld, Lichtenhagen, Lichtl, Liebach, Liebe, Liebich, Liebold, Lieder, Lienshöft, Linden, Lindenberg, Lindenmayer, Lindner, Linke, Linnenbaum, Lippe, Lipske, Lipus, Lischka, Lobinger, Logsch, Lohmann, Lohre, Lohse, Lokar, Loogen, Lorenz, Losch, Loska, Lott, Loy, Lubina, Ludolf, Lufft, Lukoschek, Lutje, Lutz, Löser, Löwa, Lübke, Maak, Maczey, Madetzky, Madubuko, Mai, Maier, Maisch, Malek, Malkus, Mallmann, Malucha, Manns, Manz, Marahrens, Marchewski, Margis, Markowski, Marl, Marner, Marquart, Marschek, Martel, Marten, Martin, Marx, Marxen, Mathes, Mathies, Mathiszik, Matschke, Mattern, Matthes, Matula, Mau, Maurer, Mauroff, May, Maybach, Mayer, Mebold, Mehl, Mehlhorn, Mehlorn, Meier, Meisch, Meissner, Meloni, Melzer, Menga, Menne, Mensah, Mensing, Merkel, Merseburg, Mertens, Mesloh, Metzger, Metzner, Mewes, Meyer, Michallek, Michel, Mielke, Mikitenko, Milde, Minah, Mintzlaff, Mockenhaupt, Moede, Moedl, Moeller, Moguenara, Mohr, Mohrhard, Molitor, Moll, Moller, Molzan, Montag, Moormann, Mordhorst, Morgenstern, Morhelfer, Moritz, Moser, Motchebon, Motzenbbäcker, Mrugalla, Muckenthaler, Mues, Muller, Mulrain, Mächtig, Mäder, Möcks, Mögenburg, Möhsner, Möldner, Möllenbeck, Möller, Möllinger, Mörsch, Mühleis, Müller, Münch, Nabein, Nabow, Nagel, Nannen, Nastvogel, Nau, Naubert, Naumann, Ne, Neimke, Nerius, Neubauer, Neubert, Neuendorf, Neumair, Neumann, Neupert, Neurohr, Neuschwander, Newton, Ney, Nicolay, Niedermeier, Nieklauson, Niklaus, Nitzsche, Noack, Nodler, Nolte, Normann, Norris, Northoff, Nowak, Nussbeck, Nwachukwu, Nytra, Nöh, Oberem, Obergföll, Obermaier, Ochs, Oeser, Olbrich, Onnen, Ophey, Oppong, Orth, Orthmann, Oschkenat, Osei, Osenberg, Ostendarp, Ostwald, Otte, Otto, Paesler, Pajonk, Pallentin, Panzig, Paschke, Patzwahl, Paukner, Peselman, Peter, Peters, Petzold, Pfeiffer, Pfennig, Pfersich, Pfingsten, Pflieger, Pflügner, Philipp, Pichlmaier, Piesker, Pietsch, Pingpank, Pinnock, Pippig, Pitschugin, Plank, Plass, Platzer, Plauk, Plautz, Pletsch, Plotzitzka, Poehn, Poeschl, Pogorzelski, Pohl, Pohland, Pohle, Polifka, Polizzi, Pollmächer, Pomp, Ponitzsch, Porsche, Porth, Poschmann, Poser, Pottel, Prah, Prange, Prediger, Pressler, Preuk, Preuss, Prey, Priemer, Proske, Pusch, Pöche, Pöge, Raabe, Rabenstein, Rach, Radtke, Rahn, Ranftl, Rangen, Ranz, Rapp, Rath, Rau, Raubuch, Raukuc, Rautenkranz, Rehwagen, Reiber, Reichardt, Reichel, Reichling, Reif, Reifenrath, Reimann, Reinberg, Reinelt, Reinhardt, Reinke, Reitze, Renk, Rentz, Renz, Reppin, Restle, Restorff, Retzke, Reuber, Reumann, Reus, Reuss, Reusse, Rheder, Rhoden, Richards, Richter, Riedel, Riediger, Rieger, Riekmann, Riepl, Riermeier, Riester, Riethmüller, Rietmüller, Rietscher, Ringel, Ringer, Rink, Ripken, Ritosek, Ritschel, Ritter, Rittweg, Ritz, Roba, Rockmeier, Rodehau, Rodowski, Roecker, Roggatz, Rohländer, Rohrer, Rokossa, Roleder, Roloff, Roos, Rosbach, Roschinsky, Rose, Rosenauer, Rosenbauer, Rosenthal, Rosksch, Rossberg, Rossler, Roth, Rother, Ruch, Ruckdeschel, Rumpf, Rupprecht, Ruth, Ryjikh, Ryzih, Rädler, Räntsch, Rödiger, Röse, Röttger, Rücker, Rüdiger, Rüter, Sachse, Sack, Saflanis, Sagafe, Sagonas, Sahner, Saile, Sailer, Salow, Salzer, Salzmann, Sammert, Sander, Sarvari, Sattelmaier, Sauer, Sauerland, Saumweber, Savoia, Scc, Schacht, Schaefer, Schaffarzik, Schahbasian, Scharf, Schedler, Scheer, Schelk, Schellenbeck, Schembera, Schenk, Scherbarth, Scherer, Schersing, Scherz, Scheurer, Scheuring, Scheytt, Schielke, Schieskow, Schildhauer, Schilling, Schima, Schimmer, Schindzielorz, Schirmer, Schirrmeister, Schlachter, Schlangen, Schlawitz, Schlechtweg, Schley, Schlicht, Schlitzer, Schmalzle, Schmid, Schmidt, Schmidtchen, Schmitt, Schmitz, Schmuhl, Schneider, Schnelting, Schnieder, Schniedermeier, Schnürer, Schoberg, Scholz, Schonberg, Schondelmaier, Schorr, Schott, Schottmann, Schouren, Schrader, Schramm, Schreck, Schreiber, Schreiner, Schreiter, Schroder, Schröder, Schuermann, Schuff, Schuhaj, Schuldt, Schult, Schulte, Schultz, Schultze, Schulz, Schulze, Schumacher, Schumann, Schupp, Schuri, Schuster, Schwab, Schwalm, Schwanbeck, Schwandke, Schwanitz, Schwarthoff, Schwartz, Schwarz, Schwarzer, Schwarzkopf, Schwarzmeier, Schwatlo, Schweisfurth, Schwennen, Schwerdtner, Schwidde, Schwirkschlies, Schwuchow, Schäfer, Schäffel, Schäffer, Schäning, Schöckel, Schönball, Schönbeck, Schönberg, Schönebeck, Schönenberger, Schönfeld, Schönherr, Schönlebe, Schötz, Schüler, Schüppel, Schütz, Schütze, Seeger, Seelig, Sehls, Seibold, Seidel, Seiders, Seigel, Seiler, Seitz, Semisch, Senkel, Sewald, Siebel, Siebert, Siegling, Sielemann, Siemon, Siener, Sievers, Siewert, Sihler, Sillah, Simon, Sinnhuber, Sischka, Skibicki, Sladek, Slotta, Smieja, Soboll, Sokolowski, Soller, Sollner, Sommer, Somssich, Sonn, Sonnabend, Spahn, Spank, Spelmeyer, Spiegelburg, Spielvogel, Spinner, Spitzmüller, Splinter, Sporrer, Sprenger, Spöttel, Stahl, Stang, Stanger, Stauss, Steding, Steffen, Steffny, Steidl, Steigauf, Stein, Steinecke, Steinert, Steinkamp, Steinmetz, Stelkens, Stengel, Stengl, Stenzel, Stepanov, Stephan, Stern, Steuk, Stief, Stifel, Stoll, Stolle, Stolz, Storl, Storp, Stoutjesdijk, Stratmann, Straub, Strausa, Streck, Streese, Strege, Streit, Streller, Strieder, Striezel, Strogies, Strohschank, Strunz, Strutz, Stube, Stöckert, Stöppler, Stöwer, Stürmer, Suffa, Sujew, Sussmann, Suthe, Sutschet, Swillims, Szendrei, Sören, Sürth, Tafelmeier, Tang, Tasche, Taufratshofer, Tegethof, Teichmann, Tepper, Terheiden, Terlecki, Teufel, Theele, Thieke, Thimm, Thiomas, Thomas, Thriene, Thränhardt, Thust, Thyssen, Thöne, Tidow, Tiedtke, Tietze, Tilgner, Tillack, Timmermann, Tischler, Tischmann, Tittman, Tivontschik, Tonat, Tonn, Trampeli, Trauth, Trautmann, Travan, Treff, Tremmel, Tress, Tsamonikian, Tschiers, Tschirch, Tuch, Tucholke, Tudow, Tuschmo, Tächl, Többen, Töpfer, Uhlemann, Uhlig, Uhrig, Uibel, Uliczka, Ullmann, Ullrich, Umbach, Umlauft, Umminger, Unger, Unterpaintner, Urban, Urbaniak, Urbansky, Urhig, Vahlensieck, Van, Vangermain, Vater, Venghaus, Verniest, Verzi, Vey, Viellehner, Vieweg, Voelkel, Vogel, Vogelgsang, Vogt, Voigt, Vokuhl, Volk, Volker, Volkmann, Von, Vona, Vontein, Wachenbrunner, Wachtel, Wagner, Waibel, Wakan, Waldmann, Wallner, Wallstab, Walter, Walther, Walton, Walz, Wanner, Wartenberg, Waschbüsch, Wassilew, Wassiluk, Weber, Wehrsen, Weidlich, Weidner, Weigel, Weight, Weiler, Weimer, Weis, Weiss, Weller, Welsch, Welz, Welzel, Weniger, Wenk, Werle, Werner, Werrmann, Wessel, Wessinghage, Weyel, Wezel, Wichmann, Wickert, Wiebe, Wiechmann, Wiegelmann, Wierig, Wiese, Wieser, Wilhelm, Wilky, Will, Willwacher, Wilts, Wimmer, Winkelmann, Winkler, Winter, Wischek, Wischer, Wissing, Wittich, Wittl, Wolf, Wolfarth, Wolff, Wollenberg, Wollmann, Woytkowska, Wujak, Wurm, Wyludda, Wölpert, Wöschler, Wühn, Wünsche, Zach, Zaczkiewicz, Zahn, Zaituc, Zandt, Zanner, Zapletal, Zauber, Zeidler, Zekl, Zender, Zeuch, Zeyen, Zeyhle, Ziegler, Zimanyi, Zimmer, Zimmermann, Zinser, Zintl, Zipp, Zipse, Zschunke, Zuber, Zwiener, Zümsande, Östringer, Überacker] - prefix: [Dr., Prof. Dr.] - nobility_title_prefix: [zu, von, vom, von der] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{nobility_title_prefix} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - phone_number: - formats: ['01 #######', '01#######', '+43-1-#######', '+431#######', '0#### ####', '0#########', '+43-####-####', '+43 ########'] - - cell_phone: - formats: ['+43-6##-#######', '06##-########', '+436#########', '06##########'] \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de-CH.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de-CH.yml deleted file mode 100644 index c545367..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de-CH.yml +++ /dev/null @@ -1,19 +0,0 @@ -de-CH: - faker: - address: - country_code: [CH, CH, CH, DE, AT, US, LI, US, HK, VN] - postcode: ['1###', '2###', '3###', '4###', '5###', '6###', '7###', '8###', '9###'] - default_country: [Schweiz] - - company: - suffix: [AG, GmbH, und Söhne, und Partner, "& Co.", Gruppe, LLC, Inc.] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} und #{Name.last_name}" - - internet: - domain_suffix: [com, net, biz, ch, de, li, at, ch, ch] - - phone_number: - formats: ['0800 ### ###', '0800 ## ## ##', '0## ### ## ##', '0## ### ## ##', '+41 ## ### ## ##', '0900 ### ###', '076 ### ## ##', '+4178 ### ## ##', '0041 79 ### ## ##'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de.yml deleted file mode 100644 index a6de959..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/de.yml +++ /dev/null @@ -1,57 +0,0 @@ -de: - faker: - address: - city_prefix: [Nord, Ost, West, Süd, Neu, Alt, Bad] - city_suffix: [stadt, dorf, land, scheid, burg] - country: [Ägypten, Äquatorialguinea, Äthiopien, Österreich, Afghanistan, Albanien, Algerien, Amerikanisch-Samoa, Amerikanische Jungferninseln, Andorra, Angola, Anguilla, Antarktis, Antigua und Barbuda, Argentinien, Armenien, Aruba, Aserbaidschan, Australien, Bahamas, Bahrain, Bangladesch, Barbados, Belarus, Belgien, Belize, Benin, die Bermudas, Bhutan, Bolivien, Bosnien und Herzegowina, Botsuana, Bouvetinsel, Brasilien, Britische Jungferninseln, Britisches Territorium im Indischen Ozean, Brunei Darussalam, Bulgarien, Burkina Faso, Burundi, Chile, China, Cookinseln, Costa Rica, Dänemark, Demokratische Republik Kongo, Demokratische Volksrepublik Korea, Deutschland, Dominica, Dominikanische Republik, Dschibuti, Ecuador, El Salvador, Eritrea, Estland, Färöer, Falklandinseln, Fidschi, Finnland, Frankreich, Französisch-Guayana, Französisch-Polynesien, Französische Gebiete im südlichen Indischen Ozean, Gabun, Gambia, Georgien, Ghana, Gibraltar, Grönland, Grenada, Griechenland, Guadeloupe, Guam, Guatemala, Guinea, Guinea-Bissau, Guyana, Haiti, Heard und McDonaldinseln, Honduras, Hongkong, Indien, Indonesien, Irak, Iran, Irland, Island, Israel, Italien, Jamaika, Japan, Jemen, Jordanien, Jugoslawien, Kaimaninseln, Kambodscha, Kamerun, Kanada, Kap Verde, Kasachstan, Katar, Kenia, Kirgisistan, Kiribati, Kleinere amerikanische Überseeinseln, Kokosinseln, Kolumbien, Komoren, Kongo, Kroatien, Kuba, Kuwait, Laos, Lesotho, Lettland, Libanon, Liberia, Libyen, Liechtenstein, Litauen, Luxemburg, Macau, Madagaskar, Malawi, Malaysia, Malediven, Mali, Malta, ehemalige jugoslawische Republik Mazedonien, Marokko, Marshallinseln, Martinique, Mauretanien, Mauritius, Mayotte, Mexiko, Mikronesien, Monaco, Mongolei, Montserrat, Mosambik, Myanmar, Nördliche Marianen, Namibia, Nauru, Nepal, Neukaledonien, Neuseeland, Nicaragua, Niederländische Antillen, Niederlande, Niger, Nigeria, Niue, Norfolkinsel, Norwegen, Oman, Osttimor, Pakistan, Palau, Panama, Papua-Neuguinea, Paraguay, Peru, Philippinen, Pitcairninseln, Polen, Portugal, Puerto Rico, Réunion, Republik Korea, Republik Moldau, Ruanda, Rumänien, Russische Föderation, São Tomé und Príncipe, Südafrika, Südgeorgien und Südliche Sandwichinseln, Salomonen, Sambia, Samoa, San Marino, Saudi-Arabien, Schweden, Schweiz, Senegal, Seychellen, Sierra Leone, Simbabwe, Singapur, Slowakei, Slowenien, Somalien, Spanien, Sri Lanka, St. Helena, St. Kitts und Nevis, St. Lucia, St. Pierre und Miquelon, St. Vincent und die Grenadinen, Sudan, Surinam, Svalbard und Jan Mayen, Swasiland, Syrien, Türkei, Tadschikistan, Taiwan, Tansania, Thailand, Togo, Tokelau, Tonga, Trinidad und Tobago, Tschad, Tschechische Republik, Tunesien, Turkmenistan, Turks- und Caicosinseln, Tuvalu, Uganda, Ukraine, Ungarn, Uruguay, Usbekistan, Vanuatu, Vatikanstadt, Venezuela, Vereinigte Arabische Emirate, Vereinigte Staaten, Vereinigtes Königreich, Vietnam, Wallis und Futuna, Weihnachtsinsel, Westsahara, Zentralafrikanische Republik, Zypern] - street_root: [Ackerweg, Adalbert-Stifter-Str., Adalbertstr., Adolf-Baeyer-Str., Adolf-Kaschny-Str., Adolf-Reichwein-Str., Adolfsstr., Ahornweg, Ahrstr., Akazienweg, Albert-Einstein-Str., Albert-Schweitzer-Str., Albertus-Magnus-Str., Albert-Zarthe-Weg, Albin-Edelmann-Str., Albrecht-Haushofer-Str., Aldegundisstr., Alexanderstr., Alfred-Delp-Str., Alfred-Kubin-Str., Alfred-Stock-Str., Alkenrather Str., Allensteiner Str., Alsenstr., Alt Steinbücheler Weg, Alte Garten, Alte Heide, Alte Landstr., Alte Ziegelei, Altenberger Str., Altenhof, Alter Grenzweg, Altstadtstr., Am Alten Gaswerk, Am Alten Schafstall, Am Arenzberg, Am Benthal, Am Birkenberg, Am Blauen Berg, Am Borsberg, Am Brungen, Am Büchelter Hof, Am Buttermarkt, Am Ehrenfriedhof, Am Eselsdamm, Am Falkenberg, Am Frankenberg, Am Gesundheitspark, Am Gierlichshof, Am Graben, Am Hagelkreuz, Am Hang, Am Heidkamp, Am Hemmelrather Hof, Am Hofacker, Am Hohen Ufer, Am Höllers Eck, Am Hühnerberg, Am Jägerhof, Am Junkernkamp, Am Kemperstiegel, Am Kettnersbusch, Am Kiesberg, Am Klösterchen, Am Knechtsgraben, Am Köllerweg, Am Köttersbach, Am Kreispark, Am Kronefeld, Am Küchenhof, Am Kühnsbusch, Am Lindenfeld, Am Märchen, Am Mittelberg, Am Mönchshof, Am Mühlenbach, Am Neuenhof, Am Nonnenbruch, Am Plattenbusch, Am Quettinger Feld, Am Rosenhügel, Am Sandberg, Am Scherfenbrand, Am Schokker, Am Silbersee, Am Sonnenhang, Am Sportplatz, Am Stadtpark, Am Steinberg, Am Telegraf, Am Thelenhof, Am Vogelkreuz, Am Vogelsang, Am Vogelsfeldchen, Am Wambacher Hof, Am Wasserturm, Am Weidenbusch, Am Weiher, Am Weingarten, Am Werth, Amselweg, An den Irlen, An den Rheinauen, An der Bergerweide, An der Dingbank, An der Evangelischen Kirche, An der Evgl. Kirche, An der Feldgasse, An der Fettehenne, An der Kante, An der Laach, An der Lehmkuhle, An der Lichtenburg, An der Luisenburg, An der Robertsburg, An der Schmitten, An der Schusterinsel, An der Steinrütsch, An St. Andreas, An St. Remigius, Andreasstr., Ankerweg, Annette-Kolb-Str., Apenrader Str., Arnold-Ohletz-Str., Atzlenbacher Str., Auerweg, Auestr., Auf dem Acker, Auf dem Blahnenhof, Auf dem Bohnbüchel, Auf dem Bruch, Auf dem End, Auf dem Forst, Auf dem Herberg, Auf dem Lehn, Auf dem Stein, Auf dem Weierberg, Auf dem Weiherhahn, Auf den Reien, Auf der Donnen, Auf der Grieße, Auf der Ohmer, Auf der Weide, Auf'm Berg, Auf'm Kamp, Augustastr., August-Kekulé-Str., A.-W.-v.-Hofmann-Str., Bahnallee, Bahnhofstr., Baltrumstr., Bamberger Str., Baumberger Str., Bebelstr., Beckers Kämpchen, Beerenstr., Beethovenstr., Behringstr., Bendenweg, Bensberger Str., Benzstr., Bergische Landstr., Bergstr., Berliner Platz, Berliner Str., Bernhard-Letterhaus-Str., Bernhard-Lichtenberg-Str., Bernhard-Ridder-Str., Bernsteinstr., Bertha-Middelhauve-Str., Bertha-von-Suttner-Str., Bertolt-Brecht-Str., Berzeliusstr., Bielertstr., Biesenbach, Billrothstr., Birkenbergstr., Birkengartenstr., Birkenweg, Bismarckstr., Bitterfelder Str., Blankenburg, Blaukehlchenweg, Blütenstr., Boberstr., Böcklerstr., Bodelschwinghstr., Bodestr., Bogenstr., Bohnenkampsweg, Bohofsweg, Bonifatiusstr., Bonner Str., Borkumstr., Bornheimer Str., Borsigstr., Borussiastr., Bracknellstr., Brahmsweg, Brandenburger Str., Breidenbachstr., Breslauer Str., Bruchhauser Str., Brückenstr., Brucknerstr., Brüder-Bonhoeffer-Str., Buchenweg, Bürgerbuschweg, Burgloch, Burgplatz, Burgstr., Burgweg, Bürriger Weg, Burscheider Str., Buschkämpchen, Butterheider Str., Carl-Duisberg-Platz, Carl-Duisberg-Str., Carl-Leverkus-Str., Carl-Maria-von-Weber-Platz, Carl-Maria-von-Weber-Str., Carlo-Mierendorff-Str., Carl-Rumpff-Str., Carl-von-Ossietzky-Str., Charlottenburger Str., Christian-Heß-Str., Claasbruch, Clemens-Winkler-Str., Concordiastr., Cranachstr., Dahlemer Str., Daimlerstr., Damaschkestr., Danziger Str., Debengasse, Dechant-Fein-Str., Dechant-Krey-Str., Deichtorstr., Dhünnberg, Dhünnstr., Dianastr., Diedenhofener Str., Diepental, Diepenthaler Str., Dieselstr., Dillinger Str., Distelkamp, Dohrgasse, Domblick, Dönhoffstr., Dornierstr., Drachenfelsstr., Dr.-August-Blank-Str., Dresdener Str., Driescher Hecke, Drosselweg, Dudweilerstr., Dünenweg, Dünfelder Str., Dünnwalder Grenzweg, Düppeler Str., Dürerstr., Dürscheider Weg, Düsseldorfer Str., Edelrather Weg, Edmund-Husserl-Str., Eduard-Spranger-Str., Ehrlichstr., Eichenkamp, Eichenweg, Eidechsenweg, Eifelstr., Eifgenstr., Eintrachtstr., Elbestr., Elisabeth-Langgässer-Str., Elisabethstr., Elisabeth-von-Thadden-Str., Elisenstr., Elsa-Brändström-Str., Elsbachstr., Else-Lasker-Schüler-Str., Elsterstr., Emil-Fischer-Str., Emil-Nolde-Str., Engelbertstr., Engstenberger Weg, Entenpfuhl, Erbelegasse, Erftstr., Erfurter Str., Erich-Heckel-Str., Erich-Klausener-Str., Erich-Ollenhauer-Str., Erlenweg, Ernst-Bloch-Str., Ernst-Ludwig-Kirchner-Str., Erzbergerstr., Eschenallee, Eschenweg, Esmarchstr., Espenweg, Euckenstr., Eulengasse, Eulenkamp, Ewald-Flamme-Str., Ewald-Röll-Str., Fährstr., Farnweg, Fasanenweg, Faßbacher Hof, Felderstr., Feldkampstr., Feldsiefer Weg, Feldsiefer Wiesen, Feldstr., Feldtorstr., Felix-von-Roll-Str., Ferdinand-Lassalle-Str., Fester Weg, Feuerbachstr., Feuerdornweg, Fichtenweg, Fichtestr., Finkelsteinstr., Finkenweg, Fixheider Str., Flabbenhäuschen, Flensburger Str., Fliederweg, Florastr., Florianweg, Flotowstr., Flurstr., Föhrenweg, Fontanestr., Forellental, Fortunastr., Franz-Esser-Str., Franz-Hitze-Str., Franz-Kail-Str., Franz-Marc-Str., Freiburger Str., Freiheitstr., Freiherr-vom-Stein-Str., Freudenthal, Freudenthaler Weg, Fridtjof-Nansen-Str., Friedenberger Str., Friedensstr., Friedhofstr., Friedlandstr., Friedlieb-Ferdinand-Runge-Str., Friedrich-Bayer-Str., Friedrich-Bergius-Platz, Friedrich-Ebert-Platz, Friedrich-Ebert-Str., Friedrich-Engels-Str., Friedrich-List-Str., Friedrich-Naumann-Str., Friedrich-Sertürner-Str., Friedrichstr., Friedrich-Weskott-Str., Friesenweg, Frischenberg, Fritz-Erler-Str., Fritz-Henseler-Str., Fröbelstr., Fürstenbergplatz, Fürstenbergstr., Gabriele-Münter-Str., Gartenstr., Gebhardstr., Geibelstr., Gellertstr., Georg-von-Vollmar-Str., Gerhard-Domagk-Str., Gerhart-Hauptmann-Str., Gerichtsstr., Geschwister-Scholl-Str., Gezelinallee, Gierener Weg, Ginsterweg, Gisbert-Cremer-Str., Glücksburger Str., Gluckstr., Gneisenaustr., Goetheplatz, Goethestr., Golo-Mann-Str., Görlitzer Str., Görresstr., Graebestr., Graf-Galen-Platz, Gregor-Mendel-Str., Greifswalder Str., Grillenweg, Gronenborner Weg, Große Kirchstr., Grunder Wiesen, Grundermühle, Grundermühlenhof, Grundermühlenweg, Grüner Weg, Grunewaldstr., Grünstr., Günther-Weisenborn-Str., Gustav-Freytag-Str., Gustav-Heinemann-Str., Gustav-Radbruch-Str., Gut Reuschenberg, Gutenbergstr., Haberstr., Habichtgasse, Hafenstr., Hagenauer Str., Hahnenblecher, Halenseestr., Halfenleimbach, Hallesche Str., Halligstr., Hamberger Str., Hammerweg, Händelstr., Hannah-Höch-Str., Hans-Arp-Str., Hans-Gerhard-Str., Hans-Sachs-Str., Hans-Schlehahn-Str., Hans-von-Dohnanyi-Str., Hardenbergstr., Haselweg, Hauptstr., Haus-Vorster-Str., Hauweg, Havelstr., Havensteinstr., Haydnstr., Hebbelstr., Heckenweg, Heerweg, Hegelstr., Heidberg, Heidehöhe, Heidestr., Heimstättenweg, Heinrich-Böll-Str., Heinrich-Brüning-Str., Heinrich-Claes-Str., Heinrich-Heine-Str., Heinrich-Hörlein-Str., Heinrich-Lübke-Str., Heinrich-Lützenkirchen-Weg, Heinrichstr., Heinrich-Strerath-Str., Heinrich-von-Kleist-Str., Heinrich-von-Stephan-Str., Heisterbachstr., Helenenstr., Helmestr., Hemmelrather Weg, Henry-T.-v.-Böttinger-Str., Herderstr., Heribertstr., Hermann-Ehlers-Str., Hermann-Hesse-Str., Hermann-König-Str., Hermann-Löns-Str., Hermann-Milde-Str., Hermann-Nörrenberg-Str., Hermann-von-Helmholtz-Str., Hermann-Waibel-Str., Herzogstr., Heymannstr., Hindenburgstr., Hirzenberg, Hitdorfer Kirchweg, Hitdorfer Str., Höfer Mühle, Höfer Weg, Hohe Str., Höhenstr., Höltgestal, Holunderweg, Holzer Weg, Holzer Wiesen, Hornpottweg, Hubertusweg, Hufelandstr., Hufer Weg, Humboldtstr., Hummelsheim, Hummelweg, Humperdinckstr., Hüscheider Gärten, Hüscheider Str., Hütte, Ilmstr., Im Bergischen Heim, Im Bruch, Im Buchenhain, Im Bühl, Im Burgfeld, Im Dorf, Im Eisholz, Im Friedenstal, Im Frohental, Im Grunde, Im Hederichsfeld, Im Jücherfeld, Im Kalkfeld, Im Kirberg, Im Kirchfeld, Im Kreuzbruch, Im Mühlenfeld, Im Nesselrader Kamp, Im Oberdorf, Im Oberfeld, Im Rosengarten, Im Rottland, Im Scheffengarten, Im Staderfeld, Im Steinfeld, Im Weidenblech, Im Winkel, Im Ziegelfeld, Imbach, Imbacher Weg, Immenweg, In den Blechenhöfen, In den Dehlen, In der Birkenau, In der Dasladen, In der Felderhütten, In der Hartmannswiese, In der Höhle, In der Schaafsdellen, In der Wasserkuhl, In der Wüste, In Holzhausen, Insterstr., Jacob-Fröhlen-Str., Jägerstr., Jahnstr., Jakob-Eulenberg-Weg, Jakobistr., Jakob-Kaiser-Str., Jenaer Str., Johannes-Baptist-Str., Johannes-Dott-Str., Johannes-Popitz-Str., Johannes-Wislicenus-Str., Johannisburger Str., Johann-Janssen-Str., Johann-Wirtz-Weg, Josefstr., Jüch, Julius-Doms-Str., Julius-Leber-Str., Kaiserplatz, Kaiserstr., Kaiser-Wilhelm-Allee, Kalkstr., Kämpchenstr., Kämpenwiese, Kämper Weg, Kamptalweg, Kanalstr., Kandinskystr., Kantstr., Kapellenstr., Karl-Arnold-Str., Karl-Bosch-Str., Karl-Bückart-Str., Karl-Carstens-Ring, Karl-Friedrich-Goerdeler-Str., Karl-Jaspers-Str., Karl-König-Str., Karl-Krekeler-Str., Karl-Marx-Str., Karlstr., Karl-Ulitzka-Str., Karl-Wichmann-Str., Karl-Wingchen-Str., Käsenbrod, Käthe-Kollwitz-Str., Katzbachstr., Kerschensteinerstr., Kiefernweg, Kieler Str., Kieselstr., Kiesweg, Kinderhausen, Kleiberweg, Kleine Kirchstr., Kleingansweg, Kleinheider Weg, Klief, Kneippstr., Knochenbergsweg, Kochergarten, Kocherstr., Kockelsberg, Kolberger Str., Kolmarer Str., Kölner Gasse, Kölner Str., Kolpingstr., Königsberger Platz, Konrad-Adenauer-Platz, Köpenicker Str., Kopernikusstr., Körnerstr., Köschenberg, Köttershof, Kreuzbroicher Str., Kreuzkamp, Krummer Weg, Kruppstr., Kuhlmannweg, Kump, Kumper Weg, Kunstfeldstr., Küppersteger Str., Kursiefen, Kursiefer Weg, Kurtekottenweg, Kurt-Schumacher-Ring, Kyllstr., Langenfelder Str., Längsleimbach, Lärchenweg, Legienstr., Lehner Mühle, Leichlinger Str., Leimbacher Hof, Leinestr., Leineweberstr., Leipziger Str., Lerchengasse, Lessingstr., Libellenweg, Lichstr., Liebigstr., Lindenstr., Lingenfeld, Linienstr., Lippe, Löchergraben, Löfflerstr., Loheweg, Lohrbergstr., Lohrstr., Löhstr., Lortzingstr., Lötzener Str., Löwenburgstr., Lucasstr., Ludwig-Erhard-Platz, Ludwig-Girtler-Str., Ludwig-Knorr-Str., Luisenstr., Lupinenweg, Lurchenweg, Lützenkirchener Str., Lycker Str., Maashofstr., Manforter Str., Marc-Chagall-Str., Maria-Dresen-Str., Maria-Terwiel-Str., Marie-Curie-Str., Marienburger Str., Mariendorfer Str., Marienwerderstr., Marie-Schlei-Str., Marktplatz, Markusweg, Martin-Buber-Str., Martin-Heidegger-Str., Martin-Luther-Str., Masurenstr., Mathildenweg, Maurinusstr., Mauspfad, Max-Beckmann-Str., Max-Delbrück-Str., Max-Ernst-Str., Max-Holthausen-Platz, Max-Horkheimer-Str., Max-Liebermann-Str., Max-Pechstein-Str., Max-Planck-Str., Max-Scheler-Str., Max-Schönenberg-Str., Maybachstr., Meckhofer Feld, Meisenweg, Memelstr., Menchendahler Str., Mendelssohnstr., Merziger Str., Mettlacher Str., Metzer Str., Michaelsweg, Miselohestr., Mittelstr., Mohlenstr., Moltkestr., Monheimer Str., Montanusstr., Montessoriweg, Moosweg, Morsbroicher Str., Moselstr., Moskauer Str., Mozartstr., Mühlenweg, Muhrgasse, Muldestr., Mülhausener Str., Mülheimer Str., Münsters Gäßchen, Münzstr., Müritzstr., Myliusstr., Nachtigallenweg, Nauener Str., Neißestr., Nelly-Sachs-Str., Netzestr., Neuendriesch, Neuenhausgasse, Neuenkamp, Neujudenhof, Neukronenberger Str., Neustadtstr., Nicolai-Hartmann-Str., Niederblecher, Niederfeldstr., Nietzschestr., Nikolaus-Groß-Str., Nobelstr., Norderneystr., Nordstr., Ober dem Hof, Obere Lindenstr., Obere Str., Oberölbach, Odenthaler Str., Oderstr., Okerstr., Olof-Palme-Str., Ophovener Str., Opladener Platz, Opladener Str., Ortelsburger Str., Oskar-Moll-Str., Oskar-Schlemmer-Str., Oststr., Oswald-Spengler-Str., Otto-Dix-Str., Otto-Grimm-Str., Otto-Hahn-Str., Otto-Müller-Str., Otto-Stange-Str., Ottostr., Otto-Varnhagen-Str., Otto-Wels-Str., Ottweilerstr., Oulustr., Overfeldweg, Pappelweg, Paracelsusstr., Parkstr., Pastor-Louis-Str., Pastor-Scheibler-Str., Pastorskamp, Paul-Klee-Str., Paul-Löbe-Str., Paulstr., Peenestr., Pescher Busch, Peschstr., Pestalozzistr., Peter-Grieß-Str., Peter-Joseph-Lenné-Str., Peter-Neuenheuser-Str., Petersbergstr., Peterstr., Pfarrer-Jekel-Str., Pfarrer-Klein-Str., Pfarrer-Röhr-Str., Pfeilshofstr., Philipp-Ott-Str., Piet-Mondrian-Str., Platanenweg, Pommernstr., Porschestr., Poststr., Potsdamer Str., Pregelstr., Prießnitzstr., Pützdelle, Quarzstr., Quettinger Str., Rat-Deycks-Str., Rathenaustr., Ratherkämp, Ratiborer Str., Raushofstr., Regensburger Str., Reinickendorfer Str., Renkgasse, Rennbaumplatz, Rennbaumstr., Reuschenberger Str., Reusrather Str., Reuterstr., Rheinallee, Rheindorfer Str., Rheinstr., Rhein-Wupper-Platz, Richard-Wagner-Str., Rilkestr., Ringstr., Robert-Blum-Str., Robert-Koch-Str., Robert-Medenwald-Str., Rolandstr., Romberg, Röntgenstr., Roonstr., Ropenstall, Ropenstaller Weg, Rosenthal, Rostocker Str., Rotdornweg, Röttgerweg, Rückertstr., Rudolf-Breitscheid-Str., Rudolf-Mann-Platz, Rudolf-Stracke-Str., Ruhlachplatz, Ruhlachstr., Rüttersweg, Saalestr., Saarbrücker Str., Saarlauterner Str., Saarstr., Salamanderweg, Samlandstr., Sanddornstr., Sandstr., Sauerbruchstr., Schäfershütte, Scharnhorststr., Scheffershof, Scheidemannstr., Schellingstr., Schenkendorfstr., Schießbergstr., Schillerstr., Schlangenhecke, Schlebuscher Heide, Schlebuscher Str., Schlebuschrath, Schlehdornstr., Schleiermacherstr., Schloßstr., Schmalenbruch, Schnepfenflucht, Schöffenweg, Schöllerstr., Schöne Aussicht, Schöneberger Str., Schopenhauerstr., Schubertplatz, Schubertstr., Schulberg, Schulstr., Schumannstr., Schwalbenweg, Schwarzastr., Sebastianusweg, Semmelweisstr., Siebelplatz, Siemensstr., Solinger Str., Sonderburger Str., Spandauer Str., Speestr., Sperberweg, Sperlingsweg, Spitzwegstr., Sporrenberger Mühle, Spreestr., St. Ingberter Str., Starenweg, Stauffenbergstr., Stefan-Zweig-Str., Stegerwaldstr., Steglitzer Str., Steinbücheler Feld, Steinbücheler Str., Steinstr., Steinweg, Stephan-Lochner-Str., Stephanusstr., Stettiner Str., Stixchesstr., Stöckenstr., Stralsunder Str., Straßburger Str., Stresemannplatz, Strombergstr., Stromstr., Stüttekofener Str., Sudestr., Sürderstr., Syltstr., Talstr., Tannenbergstr., Tannenweg, Taubenweg, Teitscheider Weg, Telegrafenstr., Teltower Str., Tempelhofer Str., Theodor-Adorno-Str., Theodor-Fliedner-Str., Theodor-Gierath-Str., Theodor-Haubach-Str., Theodor-Heuss-Ring, Theodor-Storm-Str., Theodorstr., Thomas-Dehler-Str., Thomas-Morus-Str., Thomas-von-Aquin-Str., Tönges Feld, Torstr., Treptower Str., Treuburger Str., Uhlandstr., Ulmenweg, Ulmer Str., Ulrichstr., Ulrich-von-Hassell-Str., Umlag, Unstrutstr., Unter dem Schildchen, Unterölbach, Unterstr., Uppersberg, Van\'t-Hoff-Str., Veit-Stoß-Str., Vereinsstr., Viktor-Meyer-Str., Vincent-van-Gogh-Str., Virchowstr., Voigtslach, Volhardstr., Völklinger Str., Von-Brentano-Str., Von-Diergardt-Str., Von-Eichendorff-Str., Von-Ketteler-Str., Von-Knoeringen-Str., Von-Pettenkofer-Str., Von-Siebold-Str., Wacholderweg, Waldstr., Walter-Flex-Str., Walter-Hempel-Str., Walter-Hochapfel-Str., Walter-Nernst-Str., Wannseestr., Warnowstr., Warthestr., Weddigenstr., Weichselstr., Weidenstr., Weidfeldstr., Weiherfeld, Weiherstr., Weinhäuser Str., Weißdornweg, Weißenseestr., Weizkamp, Werftstr., Werkstättenstr., Werner-Heisenberg-Str., Werrastr., Weyerweg, Widdauener Str., Wiebertshof, Wiehbachtal, Wiembachallee, Wiesdorfer Platz, Wiesenstr., Wilhelm-Busch-Str., Wilhelm-Hastrich-Str., Wilhelm-Leuschner-Str., Wilhelm-Liebknecht-Str., Wilhelmsgasse, Wilhelmstr., Willi-Baumeister-Str., Willy-Brandt-Ring, Winand-Rossi-Str., Windthorststr., Winkelweg, Winterberg, Wittenbergstr., Wolf-Vostell-Str., Wolkenburgstr., Wupperstr., Wuppertalstr., Wüstenhof, Yitzhak-Rabin-Str., Zauberkuhle, Zedernweg, Zehlendorfer Str., Zehntenweg, Zeisigweg, Zeppelinstr., Zschopaustr., Zum Claashäuschen, Zündhütchenweg, Zur Alten Brauerei, Zur alten Fabrik] - building_number: ['###', '##', '#', '##a', '##b', '##c'] - # street_suffix: [straße weg platz] - secondary_address: ['Apt. ###', 'Zimmer ###', '# OG'] - postcode: ['#####', '#####'] - state: [Baden-Württemberg, Bayern, Berlin, Brandenburg, Bremen, Hamburg, Hessen, Mecklenburg-Vorpommern, Niedersachsen, Nordrhein-Westfalen, Rheinland-Pfalz, Saarland, Sachsen, Sachsen-Anhalt, Schleswig-Holstein, Thüringen] - state_abbr: [BW, BY, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL, SN, ST, SH, TH] - city: - - "#{city_prefix} #{Name.first_name}#{city_suffix}" - - "#{city_prefix} #{Name.first_name}" - - "#{Name.first_name}#{city_suffix}" - - "#{Name.last_name}#{city_suffix}" - street_name: - - "#{street_root}" - street_address: - - "#{street_name} #{building_number}" - default_country: [Deutschland] - - company: - suffix: [GmbH, AG, Gruppe, KG, GmbH & Co. KG, UG, OHG] - legal_form: [GmbH, AG, Gruppe, KG, GmbH & Co. KG, UG, OHG] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} und #{Name.last_name}" - - internet: - free_email: [gmail.com, yahoo.com, hotmail.com] - domain_suffix: [com, info, name, net, org, de, ch] - - lorem: - words: [alias, consequatur, aut, perferendis, sit, voluptatem, accusantium, doloremque, aperiam, eaque, ipsa, quae, ab, illo, inventore, veritatis, et, quasi, architecto, beatae, vitae, dicta, sunt, explicabo, aspernatur, aut, odit, aut, fugit, sed, quia, consequuntur, magni, dolores, eos, qui, ratione, voluptatem, sequi, nesciunt, neque, dolorem, ipsum, quia, dolor, sit, amet, consectetur, adipisci, velit, sed, quia, non, numquam, eius, modi, tempora, incidunt, ut, labore, et, dolore, magnam, aliquam, quaerat, voluptatem, ut, enim, ad, minima, veniam, quis, nostrum, exercitationem, ullam, corporis, nemo, enim, ipsam, voluptatem, quia, voluptas, sit, suscipit, laboriosam, nisi, ut, aliquid, ex, ea, commodi, consequatur, quis, autem, vel, eum, iure, reprehenderit, qui, in, ea, voluptate, velit, esse, quam, nihil, molestiae, et, iusto, odio, dignissimos, ducimus, qui, blanditiis, praesentium, laudantium, totam, rem, voluptatum, deleniti, atque, corrupti, quos, dolores, et, quas, molestias, excepturi, sint, occaecati, cupiditate, non, provident, sed, ut, perspiciatis, unde, omnis, iste, natus, error, similique, sunt, in, culpa, qui, officia, deserunt, mollitia, animi, id, est, laborum, et, dolorum, fuga, et, harum, quidem, rerum, facilis, est, et, expedita, distinctio, nam, libero, tempore, cum, soluta, nobis, est, eligendi, optio, cumque, nihil, impedit, quo, porro, quisquam, est, qui, minus, id, quod, maxime, placeat, facere, possimus, omnis, voluptas, assumenda, est, omnis, dolor, repellendus, temporibus, autem, quibusdam, et, aut, consequatur, vel, illum, qui, dolorem, eum, fugiat, quo, voluptas, nulla, pariatur, at, vero, eos, et, accusamus, officiis, debitis, aut, rerum, necessitatibus, saepe, eveniet, ut, et, voluptates, repudiandae, sint, et, molestiae, non, recusandae, itaque, earum, rerum, hic, tenetur, a, sapiente, delectus, ut, aut, reiciendis, voluptatibus, maiores, doloribus, asperiores, repellat] - - name: - first_name: [Aaron, Abdul, Abdullah, Adam, Adrian, Adriano, Ahmad, Ahmed, Ahmet, Alan, Albert, Alessandro, Alessio, Alex, Alexander, Alfred, Ali, Amar, Amir, Amon, Andre, Andreas, Andrew, Angelo, Ansgar, Anthony, Anton, Antonio, Arda, Arian, Armin, Arne, Arno, Arthur, Artur, Arved, Arvid, Ayman, Baran, Baris, Bastian, Batuhan, Bela, Ben, Benedikt, Benjamin, Bennet, Bennett, Benno, Bent, Berat, Berkay, Bernd, Bilal, Bjarne, Björn, Bo, Boris, Brandon, Brian, Bruno, Bryan, Burak, Calvin, Can, Carl, Carlo, Carlos, Caspar, Cedric, Cedrik, Cem, Charlie, Chris, Christian, Christiano, Christoph, Christopher, Claas, Clemens, Colin, Collin, Conner, Connor, Constantin, Corvin, Curt, Damian, Damien, Daniel, Danilo, Danny, Darian, Dario, Darius, Darren, David, Davide, Davin, Dean, Deniz, Dennis, Denny, Devin, Diego, Dion, Domenic, Domenik, Dominic, Dominik, Dorian, Dustin, Dylan, Ecrin, Eddi, Eddy, Edgar, Edwin, Efe, Ege, Elia, Eliah, Elias, Elijah, Emanuel, Emil, Emilian, Emilio, Emir, Emirhan, Emre, Enes, Enno, Enrico, Eren, Eric, Erik, Etienne, Fabian, Fabien, Fabio, Fabrice, Falk, Felix, Ferdinand, Fiete, Filip, Finlay, Finley, Finn, Finnley, Florian, Francesco, Franz, Frederic, Frederick, Frederik, Friedrich, Fritz, Furkan, Fynn, Gabriel, Georg, Gerrit, Gian, Gianluca, Gino, Giuliano, Giuseppe, Gregor, Gustav, Hagen, Hamza, Hannes, Hanno, Hans, Hasan, Hassan, Hauke, Hendrik, Hennes, Henning, Henri, Henrick, Henrik, Henry, Hugo, Hussein, Ian, Ibrahim, Ilias, Ilja, Ilyas, Immanuel, Ismael, Ismail, Ivan, Iven, Jack, Jacob, Jaden, Jakob, Jamal, James, Jamie, Jan, Janek, Janis, Janne, Jannek, Jannes, Jannik, Jannis, Jano, Janosch, Jared, Jari, Jarne, Jarno, Jaron, Jason, Jasper, Jay, Jayden, Jayson, Jean, Jens, Jeremias, Jeremie, Jeremy, Jermaine, Jerome, Jesper, Jesse, Jim, Jimmy, Joe, Joel, Joey, Johann, Johannes, John, Johnny, Jon, Jona, Jonah, Jonas, Jonathan, Jonte, Joost, Jordan, Joris, Joscha, Joschua, Josef, Joseph, Josh, Joshua, Josua, Juan, Julian, Julien, Julius, Juri, Justin, Justus, Kaan, Kai, Kalle, Karim, Karl, Karlo, Kay, Keanu, Kenan, Kenny, Keno, Kerem, Kerim, Kevin, Kian, Kilian, Kim, Kimi, Kjell, Klaas, Klemens, Konrad, Konstantin, Koray, Korbinian, Kurt, Lars, Lasse, Laurence, Laurens, Laurenz, Laurin, Lean, Leander, Leandro, Leif, Len, Lenn, Lennard, Lennart, Lennert, Lennie, Lennox, Lenny, Leo, Leon, Leonard, Leonardo, Leonhard, Leonidas, Leopold, Leroy, Levent, Levi, Levin, Lewin, Lewis, Liam, Lian, Lias, Lino, Linus, Lio, Lion, Lionel, Logan, Lorenz, Lorenzo, Loris, Louis, Luan, Luc, Luca, Lucas, Lucian, Lucien, Ludwig, Luis, Luiz, Luk, Luka, Lukas, Luke, Lutz, Maddox, Mads, Magnus, Maik, Maksim, Malik, Malte, Manuel, Marc, Marcel, Marco, Marcus, Marek, Marian, Mario, Marius, Mark, Marko, Markus, Marlo, Marlon, Marten, Martin, Marvin, Marwin, Mateo, Mathis, Matis, Mats, Matteo, Mattes, Matthias, Matthis, Matti, Mattis, Maurice, Max, Maxim, Maximilian, Mehmet, Meik, Melvin, Merlin, Mert, Michael, Michel, Mick, Miguel, Mika, Mikail, Mike, Milan, Milo, Mio, Mirac, Mirco, Mirko, Mohamed, Mohammad, Mohammed, Moritz, Morten, Muhammed, Murat, Mustafa, Nathan, Nathanael, Nelson, Neo, Nevio, Nick, Niclas, Nico, Nicolai, Nicolas, Niels, Nikita, Niklas, Niko, Nikolai, Nikolas, Nils, Nino, Noah, Noel, Norman, Odin, Oke, Ole, Oliver, Omar, Onur, Oscar, Oskar, Pascal, Patrice, Patrick, Paul, Peer, Pepe, Peter, Phil, Philip, Philipp, Pierre, Piet, Pit, Pius, Quentin, Quirin, Rafael, Raik, Ramon, Raphael, Rasmus, Raul, Rayan, René, Ricardo, Riccardo, Richard, Rick, Rico, Robert, Robin, Rocco, Roman, Romeo, Ron, Ruben, Ryan, Said, Salih, Sam, Sami, Sammy, Samuel, Sandro, Santino, Sascha, Sean, Sebastian, Selim, Semih, Shawn, Silas, Simeon, Simon, Sinan, Sky, Stefan, Steffen, Stephan, Steve, Steven, Sven, Sönke, Sören, Taha, Tamino, Tammo, Tarik, Tayler, Taylor, Teo, Theo, Theodor, Thies, Thilo, Thomas, Thorben, Thore, Thorge, Tiago, Til, Till, Tillmann, Tim, Timm, Timo, Timon, Timothy, Tino, Titus, Tizian, Tjark, Tobias, Tom, Tommy, Toni, Tony, Torben, Tore, Tristan, Tyler, Tyron, Umut, Valentin, Valentino, Veit, Victor, Viktor, Vin, Vincent, Vito, Vitus, Wilhelm, Willi, William, Willy, Xaver, Yannic, Yannick, Yannik, Yannis, Yasin, Youssef, Yunus, Yusuf, Yven, Yves, Ömer, Aaliyah, Abby, Abigail, Ada, Adelina, Adriana, Aileen, Aimee, Alana, Alea, Alena, Alessa, Alessia, Alexa, Alexandra, Alexia, Alexis, Aleyna, Alia, Alica, Alice, Alicia, Alina, Alisa, Alisha, Alissa, Aliya, Aliyah, Allegra, Alma, Alyssa, Amalia, Amanda, Amelia, Amelie, Amina, Amira, Amy, Ana, Anabel, Anastasia, Andrea, Angela, Angelina, Angelique, Anja, Ann, Anna, Annabel, Annabell, Annabelle, Annalena, Anne, Anneke, Annelie, Annemarie, Anni, Annie, Annika, Anny, Anouk, Antonia, Arda, Ariana, Ariane, Arwen, Ashley, Asya, Aurelia, Aurora, Ava, Ayleen, Aylin, Ayse, Azra, Betty, Bianca, Bianka, Caitlin, Cara, Carina, Carla, Carlotta, Carmen, Carolin, Carolina, Caroline, Cassandra, Catharina, Catrin, Cecile, Cecilia, Celia, Celina, Celine, Ceyda, Ceylin, Chantal, Charleen, Charlotta, Charlotte, Chayenne, Cheyenne, Chiara, Christin, Christina, Cindy, Claire, Clara, Clarissa, Colleen, Collien, Cora, Corinna, Cosima, Dana, Daniela, Daria, Darleen, Defne, Delia, Denise, Diana, Dilara, Dina, Dorothea, Ecrin, Eda, Eileen, Ela, Elaine, Elanur, Elea, Elena, Eleni, Eleonora, Eliana, Elif, Elina, Elisa, Elisabeth, Ella, Ellen, Elli, Elly, Elsa, Emelie, Emely, Emilia, Emilie, Emily, Emma, Emmely, Emmi, Emmy, Enie, Enna, Enya, Esma, Estelle, Esther, Eva, Evelin, Evelina, Eveline, Evelyn, Fabienne, Fatima, Fatma, Felicia, Felicitas, Felina, Femke, Fenja, Fine, Finia, Finja, Finnja, Fiona, Flora, Florentine, Francesca, Franka, Franziska, Frederike, Freya, Frida, Frieda, Friederike, Giada, Gina, Giulia, Giuliana, Greta, Hailey, Hana, Hanna, Hannah, Heidi, Helen, Helena, Helene, Helin, Henriette, Henrike, Hermine, Ida, Ilayda, Imke, Ina, Ines, Inga, Inka, Irem, Isa, Isabel, Isabell, Isabella, Isabelle, Ivonne, Jacqueline, Jamie, Jamila, Jana, Jane, Janin, Janina, Janine, Janna, Janne, Jara, Jasmin, Jasmina, Jasmine, Jella, Jenna, Jennifer, Jenny, Jessica, Jessy, Jette, Jil, Jill, Joana, Joanna, Joelina, Joeline, Joelle, Johanna, Joleen, Jolie, Jolien, Jolin, Jolina, Joline, Jona, Jonah, Jonna, Josefin, Josefine, Josephin, Josephine, Josie, Josy, Joy, Joyce, Judith, Judy, Jule, Julia, Juliana, Juliane, Julie, Julienne, Julika, Julina, Juna, Justine, Kaja, Karina, Karla, Karlotta, Karolina, Karoline, Kassandra, Katarina, Katharina, Kathrin, Katja, Katrin, Kaya, Kayra, Kiana, Kiara, Kim, Kimberley, Kimberly, Kira, Klara, Korinna, Kristin, Kyra, Laila, Lana, Lara, Larissa, Laura, Laureen, Lavinia, Lea, Leah, Leana, Leandra, Leann, Lee, Leila, Lena, Lene, Leni, Lenia, Lenja, Lenya, Leona, Leoni, Leonie, Leonora, Leticia, Letizia, Levke, Leyla, Lia, Liah, Liana, Lili, Lilia, Lilian, Liliana, Lilith, Lilli, Lillian, Lilly, Lily, Lina, Linda, Lindsay, Line, Linn, Linnea, Lisa, Lisann, Lisanne, Liv, Livia, Liz, Lola, Loreen, Lorena, Lotta, Lotte, Louisa, Louise, Luana, Luca, Lucia, Lucie, Lucienne, Lucy, Luisa, Luise, Luka, Luna, Luzie, Lya, Lydia, Lyn, Lynn, Madeleine, Madita, Madleen, Madlen, Magdalena, Maike, Mailin, Maira, Maja, Malena, Malia, Malin, Malina, Mandy, Mara, Marah, Mareike, Maren, Maria, Mariam, Marie, Marieke, Mariella, Marika, Marina, Marisa, Marissa, Marit, Marla, Marleen, Marlen, Marlena, Marlene, Marta, Martha, Mary, Maryam, Mathilda, Mathilde, Matilda, Maxi, Maxima, Maxine, Maya, Mayra, Medina, Medine, Meike, Melanie, Melek, Melike, Melina, Melinda, Melis, Melisa, Melissa, Merle, Merve, Meryem, Mette, Mia, Michaela, Michelle, Mieke, Mila, Milana, Milena, Milla, Mina, Mira, Miray, Miriam, Mirja, Mona, Monique, Nadine, Nadja, Naemi, Nancy, Naomi, Natalia, Natalie, Nathalie, Neele, Nela, Nele, Nelli, Nelly, Nia, Nicole, Nika, Nike, Nikita, Nila, Nina, Nisa, Noemi, Nora, Olivia, Patricia, Patrizia, Paula, Paulina, Pauline, Penelope, Philine, Phoebe, Pia, Rahel, Rania, Rebecca, Rebekka, Riana, Rieke, Rike, Romina, Romy, Ronja, Rosa, Rosalie, Ruby, Sabrina, Sahra, Sally, Salome, Samantha, Samia, Samira, Sandra, Sandy, Sanja, Saphira, Sara, Sarah, Saskia, Selin, Selina, Selma, Sena, Sidney, Sienna, Silja, Sina, Sinja, Smilla, Sofia, Sofie, Sonja, Sophia, Sophie, Soraya, Stefanie, Stella, Stephanie, Stina, Sude, Summer, Susanne, Svea, Svenja, Sydney, Tabea, Talea, Talia, Tamara, Tamia, Tamina, Tanja, Tara, Tarja, Teresa, Tessa, Thalea, Thalia, Thea, Theresa, Tia, Tina, Tomke, Tuana, Valentina, Valeria, Valerie, Vanessa, Vera, Veronika, Victoria, Viktoria, Viola, Vivian, Vivien, Vivienne, Wibke, Wiebke, Xenia, Yara, Yaren, Yasmin, Ylvi, Ylvie, Yvonne, Zara, Zehra, Zeynep, Zoe, Zoey, Zoé] - last_name: [Abel, Abicht, Abraham, Abramovic, Abt, Achilles, Achkinadze, Ackermann, Adam, Adams, Ade, Agostini, Ahlke, Ahrenberg, Ahrens, Aigner, Albert, Albrecht, Alexa, Alexander, Alizadeh, Allgeyer, Amann, Amberg, Anding, Anggreny, Apitz, Arendt, Arens, Arndt, Aryee, Aschenbroich, Assmus, Astafei, Auer, Axmann, Baarck, Bachmann, Badane, Bader, Baganz, Bahl, Bak, Balcer, Balck, Balkow, Balnuweit, Balzer, Banse, Barr, Bartels, Barth, Barylla, Baseda, Battke, Bauer, Bauermeister, Baumann, Baumeister, Bauschinger, Bauschke, Bayer, Beavogui, Beck, Beckel, Becker, Beckmann, Bedewitz, Beele, Beer, Beggerow, Beh, Behr, Behrenbruch, Belz, Bender, Benecke, Benner, Benninger, Benzing, Berends, Berger, Berner, Berning, Bertenbreiter, Best, Bethke, Betz, Beushausen, Beutelspacher, Beyer, Biba, Bichler, Bickel, Biedermann, Bieler, Bielert, Bienasch, Bienias, Biesenbach, Bigdeli, Birkemeyer, Bittner, Blank, Blaschek, Blassneck, Bloch, Blochwitz, Blockhaus, Blum, Blume, Bock, Bode, Bogdashin, Bogenrieder, Bohge, Bolm, Borgschulze, Bork, Bormann, Bornscheuer, Borrmann, Borsch, Boruschewski, Bos, Bosler, Bourrouag, Bouschen, Boxhammer, Boyde, Bozsik, Brand, Brandenburg, Brandis, Brandt, Brauer, Braun, Brehmer, Breitenstein, Bremer, Bremser, Brenner, Brettschneider, Breu, Breuer, Briesenick, Bringmann, Brinkmann, Brix, Broening, Brosch, Bruckmann, Bruder, Bruhns, Brunner, Bruns, Bräutigam, Brömme, Brüggmann, Buchholz, Buchrucker, Buder, Bultmann, Bunjes, Burger, Burghagen, Burkhard, Burkhardt, Burmeister, Busch, Buschbaum, Busemann, Buss, Busse, Bussmann, Byrd, Bäcker, Böhm, Bönisch, Börgeling, Börner, Böttner, Büchele, Bühler, Büker, Büngener, Bürger, Bürklein, Büscher, Büttner, Camara, Carlowitz, Carlsohn, Caspari, Caspers, Chapron, Christ, Cierpinski, Clarius, Cleem, Cleve, Co, Conrad, Cordes, Cornelsen, Cors, Cotthardt, Crews, Cronjäger, Crosskofp, Da, Dahm, Dahmen, Daimer, Damaske, Danneberg, Danner, Daub, Daubner, Daudrich, Dauer, Daum, Dauth, Dautzenberg, De, Decker, Deckert, Deerberg, Dehmel, Deja, Delonge, Demut, Dengler, Denner, Denzinger, Derr, Dertmann, Dethloff, Deuschle, Dieckmann, Diedrich, Diekmann, Dienel, Dies, Dietrich, Dietz, Dietzsch, Diezel, Dilla, Dingelstedt, Dippl, Dittmann, Dittmar, Dittmer, Dix, Dobbrunz, Dobler, Dohring, Dolch, Dold, Dombrowski, Donie, Doskoczynski, Dragu, Drechsler, Drees, Dreher, Dreier, Dreissigacker, Dressler, Drews, Duma, Dutkiewicz, Dyett, Dylus, Dächert, Döbel, Döring, Dörner, Dörre, Dück, Eberhard, Eberhardt, Ecker, Eckhardt, Edorh, Effler, Eggenmueller, Ehm, Ehmann, Ehrig, Eich, Eichmann, Eifert, Einert, Eisenlauer, Ekpo, Elbe, Eleyth, Elss, Emert, Emmelmann, Ender, Engel, Engelen, Engelmann, Eplinius, Erdmann, Erhardt, Erlei, Erm, Ernst, Ertl, Erwes, Esenwein, Esser, Evers, Everts, Ewald, Fahner, Faller, Falter, Farber, Fassbender, Faulhaber, Fehrig, Feld, Felke, Feller, Fenner, Fenske, Feuerbach, Fietz, Figl, Figura, Filipowski, Filsinger, Fincke, Fink, Finke, Fischer, Fitschen, Fleischer, Fleischmann, Floder, Florczak, Flore, Flottmann, Forkel, Forst, Frahmeke, Frank, Franke, Franta, Frantz, Franz, Franzis, Franzmann, Frauen, Frauendorf, Freigang, Freimann, Freimuth, Freisen, Frenzel, Frey, Fricke, Fried, Friedek, Friedenberg, Friedmann, Friedrich, Friess, Frisch, Frohn, Frosch, Fuchs, Fuhlbrügge, Fusenig, Fust, Förster, Gaba, Gabius, Gabler, Gadschiew, Gakstädter, Galander, Gamlin, Gamper, Gangnus, Ganzmann, Garatva, Gast, Gastel, Gatzka, Gauder, Gebhardt, Geese, Gehre, Gehrig, Gehring, Gehrke, Geiger, Geisler, Geissler, Gelling, Gens, Gerbennow, Gerdel, Gerhardt, Gerschler, Gerson, Gesell, Geyer, Ghirmai, Ghosh, Giehl, Gierisch, Giesa, Giesche, Gilde, Glatting, Goebel, Goedicke, Goldbeck, Goldfuss, Goldkamp, Goldkühle, Goller, Golling, Gollnow, Golomski, Gombert, Gotthardt, Gottschalk, Gotz, Goy, Gradzki, Graf, Grams, Grasse, Gratzky, Grau, Greb, Green, Greger, Greithanner, Greschner, Griem, Griese, Grimm, Gromisch, Gross, Grosser, Grossheim, Grosskopf, Grothaus, Grothkopp, Grotke, Grube, Gruber, Grundmann, Gruning, Gruszecki, Gröss, Grötzinger, Grün, Grüner, Gummelt, Gunkel, Gunther, Gutjahr, Gutowicz, Gutschank, Göbel, Göckeritz, Göhler, Görlich, Görmer, Götz, Götzelmann, Güldemeister, Günther, Günz, Gürbig, Haack, Haaf, Habel, Hache, Hackbusch, Hackelbusch, Hadfield, Hadwich, Haferkamp, Hahn, Hajek, Hallmann, Hamann, Hanenberger, Hannecker, Hanniske, Hansen, Hardy, Hargasser, Harms, Harnapp, Harter, Harting, Hartlieb, Hartmann, Hartwig, Hartz, Haschke, Hasler, Hasse, Hassfeld, Haug, Hauke, Haupt, Haverney, Heberstreit, Hechler, Hecht, Heck, Hedermann, Hehl, Heidelmann, Heidler, Heinemann, Heinig, Heinke, Heinrich, Heinze, Heiser, Heist, Hellmann, Helm, Helmke, Helpling, Hengmith, Henkel, Hennes, Henry, Hense, Hensel, Hentel, Hentschel, Hentschke, Hepperle, Herberger, Herbrand, Hering, Hermann, Hermecke, Herms, Herold, Herrmann, Herschmann, Hertel, Herweg, Herwig, Herzenberg, Hess, Hesse, Hessek, Hessler, Hetzler, Heuck, Heydemüller, Hiebl, Hildebrand, Hildenbrand, Hilgendorf, Hillard, Hiller, Hingsen, Hingst, Hinrichs, Hirsch, Hirschberg, Hirt, Hodea, Hoffman, Hoffmann, Hofmann, Hohenberger, Hohl, Hohn, Hohnheiser, Hold, Holdt, Holinski, Holl, Holtfreter, Holz, Holzdeppe, Holzner, Hommel, Honz, Hooss, Hoppe, Horak, Horn, Horna, Hornung, Hort, Howard, Huber, Huckestein, Hudak, Huebel, Hugo, Huhn, Hujo, Huke, Huls, Humbert, Huneke, Huth, Häber, Häfner, Höcke, Höft, Höhne, Hönig, Hördt, Hübenbecker, Hübl, Hübner, Hügel, Hüttcher, Hütter, Ibe, Ihly, Illing, Isak, Isekenmeier, Itt, Jacob, Jacobs, Jagusch, Jahn, Jahnke, Jakobs, Jakubczyk, Jambor, Jamrozy, Jander, Janich, Janke, Jansen, Jarets, Jaros, Jasinski, Jasper, Jegorov, Jellinghaus, Jeorga, Jerschabek, Jess, John, Jonas, Jossa, Jucken, Jung, Jungbluth, Jungton, Just, Jürgens, Kaczmarek, Kaesmacher, Kahl, Kahlert, Kahles, Kahlmeyer, Kaiser, Kalinowski, Kallabis, Kallensee, Kampf, Kampschulte, Kappe, Kappler, Karhoff, Karrass, Karst, Karsten, Karus, Kass, Kasten, Kastner, Katzinski, Kaufmann, Kaul, Kausemann, Kawohl, Kazmarek, Kedzierski, Keil, Keiner, Keller, Kelm, Kempe, Kemper, Kempter, Kerl, Kern, Kesselring, Kesselschläger, Kette, Kettenis, Keutel, Kick, Kiessling, Kinadeter, Kinzel, Kinzy, Kirch, Kirst, Kisabaka, Klaas, Klabuhn, Klapper, Klauder, Klaus, Kleeberg, Kleiber, Klein, Kleinert, Kleininger, Kleinmann, Kleinsteuber, Kleiss, Klemme, Klimczak, Klinger, Klink, Klopsch, Klose, Kloss, Kluge, Kluwe, Knabe, Kneifel, Knetsch, Knies, Knippel, Knobel, Knoblich, Knoll, Knorr, Knorscheidt, Knut, Kobs, Koch, Kochan, Kock, Koczulla, Koderisch, Koehl, Koehler, Koenig, Koester, Kofferschlager, Koha, Kohle, Kohlmann, Kohnle, Kohrt, Koj, Kolb, Koleiski, Kolokas, Komoll, Konieczny, Konig, Konow, Konya, Koob, Kopf, Kosenkow, Koster, Koszewski, Koubaa, Kovacs, Kowalick, Kowalinski, Kozakiewicz, Krabbe, Kraft, Kral, Kramer, Krauel, Kraus, Krause, Krauspe, Kreb, Krebs, Kreissig, Kresse, Kreutz, Krieger, Krippner, Krodinger, Krohn, Krol, Kron, Krueger, Krug, Kruger, Krull, Kruschinski, Krämer, Kröckert, Kröger, Krüger, Kubera, Kufahl, Kuhlee, Kuhnen, Kulimann, Kulma, Kumbernuss, Kummle, Kunz, Kupfer, Kupprion, Kuprion, Kurnicki, Kurrat, Kurschilgen, Kuschewitz, Kuschmann, Kuske, Kustermann, Kutscherauer, Kutzner, Kwadwo, Kähler, Käther, Köhler, Köhrbrück, Köhre, Kölotzei, König, Köpernick, Köseoglu, Kúhn, Kúhnert, Kühn, Kühnel, Kühnemund, Kühnert, Kühnke, Küsters, Küter, Laack, Lack, Ladewig, Lakomy, Lammert, Lamos, Landmann, Lang, Lange, Langfeld, Langhirt, Lanig, Lauckner, Lauinger, Laurén, Lausecker, Laux, Laws, Lax, Leberer, Lehmann, Lehner, Leibold, Leide, Leimbach, Leipold, Leist, Leiter, Leiteritz, Leitheim, Leiwesmeier, Lenfers, Lenk, Lenz, Lenzen, Leo, Lepthin, Lesch, Leschnik, Letzelter, Lewin, Lewke, Leyckes, Lg, Lichtenfeld, Lichtenhagen, Lichtl, Liebach, Liebe, Liebich, Liebold, Lieder, Lienshöft, Linden, Lindenberg, Lindenmayer, Lindner, Linke, Linnenbaum, Lippe, Lipske, Lipus, Lischka, Lobinger, Logsch, Lohmann, Lohre, Lohse, Lokar, Loogen, Lorenz, Losch, Loska, Lott, Loy, Lubina, Ludolf, Lufft, Lukoschek, Lutje, Lutz, Löser, Löwa, Lübke, Maak, Maczey, Madetzky, Madubuko, Mai, Maier, Maisch, Malek, Malkus, Mallmann, Malucha, Manns, Manz, Marahrens, Marchewski, Margis, Markowski, Marl, Marner, Marquart, Marschek, Martel, Marten, Martin, Marx, Marxen, Mathes, Mathies, Mathiszik, Matschke, Mattern, Matthes, Matula, Mau, Maurer, Mauroff, May, Maybach, Mayer, Mebold, Mehl, Mehlhorn, Mehlorn, Meier, Meisch, Meissner, Meloni, Melzer, Menga, Menne, Mensah, Mensing, Merkel, Merseburg, Mertens, Mesloh, Metzger, Metzner, Mewes, Meyer, Michallek, Michel, Mielke, Mikitenko, Milde, Minah, Mintzlaff, Mockenhaupt, Moede, Moedl, Moeller, Moguenara, Mohr, Mohrhard, Molitor, Moll, Moller, Molzan, Montag, Moormann, Mordhorst, Morgenstern, Morhelfer, Moritz, Moser, Motchebon, Motzenbbäcker, Mrugalla, Muckenthaler, Mues, Muller, Mulrain, Mächtig, Mäder, Möcks, Mögenburg, Möhsner, Möldner, Möllenbeck, Möller, Möllinger, Mörsch, Mühleis, Müller, Münch, Nabein, Nabow, Nagel, Nannen, Nastvogel, Nau, Naubert, Naumann, Ne, Neimke, Nerius, Neubauer, Neubert, Neuendorf, Neumair, Neumann, Neupert, Neurohr, Neuschwander, Newton, Ney, Nicolay, Niedermeier, Nieklauson, Niklaus, Nitzsche, Noack, Nodler, Nolte, Normann, Norris, Northoff, Nowak, Nussbeck, Nwachukwu, Nytra, Nöh, Oberem, Obergföll, Obermaier, Ochs, Oeser, Olbrich, Onnen, Ophey, Oppong, Orth, Orthmann, Oschkenat, Osei, Osenberg, Ostendarp, Ostwald, Otte, Otto, Paesler, Pajonk, Pallentin, Panzig, Paschke, Patzwahl, Paukner, Peselman, Peter, Peters, Petzold, Pfeiffer, Pfennig, Pfersich, Pfingsten, Pflieger, Pflügner, Philipp, Pichlmaier, Piesker, Pietsch, Pingpank, Pinnock, Pippig, Pitschugin, Plank, Plass, Platzer, Plauk, Plautz, Pletsch, Plotzitzka, Poehn, Poeschl, Pogorzelski, Pohl, Pohland, Pohle, Polifka, Polizzi, Pollmächer, Pomp, Ponitzsch, Porsche, Porth, Poschmann, Poser, Pottel, Prah, Prange, Prediger, Pressler, Preuk, Preuss, Prey, Priemer, Proske, Pusch, Pöche, Pöge, Raabe, Rabenstein, Rach, Radtke, Rahn, Ranftl, Rangen, Ranz, Rapp, Rath, Rau, Raubuch, Raukuc, Rautenkranz, Rehwagen, Reiber, Reichardt, Reichel, Reichling, Reif, Reifenrath, Reimann, Reinberg, Reinelt, Reinhardt, Reinke, Reitze, Renk, Rentz, Renz, Reppin, Restle, Restorff, Retzke, Reuber, Reumann, Reus, Reuss, Reusse, Rheder, Rhoden, Richards, Richter, Riedel, Riediger, Rieger, Riekmann, Riepl, Riermeier, Riester, Riethmüller, Rietmüller, Rietscher, Ringel, Ringer, Rink, Ripken, Ritosek, Ritschel, Ritter, Rittweg, Ritz, Roba, Rockmeier, Rodehau, Rodowski, Roecker, Roggatz, Rohländer, Rohrer, Rokossa, Roleder, Roloff, Roos, Rosbach, Roschinsky, Rose, Rosenauer, Rosenbauer, Rosenthal, Rosksch, Rossberg, Rossler, Roth, Rother, Ruch, Ruckdeschel, Rumpf, Rupprecht, Ruth, Ryjikh, Ryzih, Rädler, Räntsch, Rödiger, Röse, Röttger, Rücker, Rüdiger, Rüter, Sachse, Sack, Saflanis, Sagafe, Sagonas, Sahner, Saile, Sailer, Salow, Salzer, Salzmann, Sammert, Sander, Sarvari, Sattelmaier, Sauer, Sauerland, Saumweber, Savoia, Scc, Schacht, Schaefer, Schaffarzik, Schahbasian, Scharf, Schedler, Scheer, Schelk, Schellenbeck, Schembera, Schenk, Scherbarth, Scherer, Schersing, Scherz, Scheurer, Scheuring, Scheytt, Schielke, Schieskow, Schildhauer, Schilling, Schima, Schimmer, Schindzielorz, Schirmer, Schirrmeister, Schlachter, Schlangen, Schlawitz, Schlechtweg, Schley, Schlicht, Schlitzer, Schmalzle, Schmid, Schmidt, Schmidtchen, Schmitt, Schmitz, Schmuhl, Schneider, Schnelting, Schnieder, Schniedermeier, Schnürer, Schoberg, Scholz, Schonberg, Schondelmaier, Schorr, Schott, Schottmann, Schouren, Schrader, Schramm, Schreck, Schreiber, Schreiner, Schreiter, Schroder, Schröder, Schuermann, Schuff, Schuhaj, Schuldt, Schult, Schulte, Schultz, Schultze, Schulz, Schulze, Schumacher, Schumann, Schupp, Schuri, Schuster, Schwab, Schwalm, Schwanbeck, Schwandke, Schwanitz, Schwarthoff, Schwartz, Schwarz, Schwarzer, Schwarzkopf, Schwarzmeier, Schwatlo, Schweisfurth, Schwennen, Schwerdtner, Schwidde, Schwirkschlies, Schwuchow, Schäfer, Schäffel, Schäffer, Schäning, Schöckel, Schönball, Schönbeck, Schönberg, Schönebeck, Schönenberger, Schönfeld, Schönherr, Schönlebe, Schötz, Schüler, Schüppel, Schütz, Schütze, Seeger, Seelig, Sehls, Seibold, Seidel, Seiders, Seigel, Seiler, Seitz, Semisch, Senkel, Sewald, Siebel, Siebert, Siegling, Sielemann, Siemon, Siener, Sievers, Siewert, Sihler, Sillah, Simon, Sinnhuber, Sischka, Skibicki, Sladek, Slotta, Smieja, Soboll, Sokolowski, Soller, Sollner, Sommer, Somssich, Sonn, Sonnabend, Spahn, Spank, Spelmeyer, Spiegelburg, Spielvogel, Spinner, Spitzmüller, Splinter, Sporrer, Sprenger, Spöttel, Stahl, Stang, Stanger, Stauss, Steding, Steffen, Steffny, Steidl, Steigauf, Stein, Steinecke, Steinert, Steinkamp, Steinmetz, Stelkens, Stengel, Stengl, Stenzel, Stepanov, Stephan, Stern, Steuk, Stief, Stifel, Stoll, Stolle, Stolz, Storl, Storp, Stoutjesdijk, Stratmann, Straub, Strausa, Streck, Streese, Strege, Streit, Streller, Strieder, Striezel, Strogies, Strohschank, Strunz, Strutz, Stube, Stöckert, Stöppler, Stöwer, Stürmer, Suffa, Sujew, Sussmann, Suthe, Sutschet, Swillims, Szendrei, Sören, Sürth, Tafelmeier, Tang, Tasche, Taufratshofer, Tegethof, Teichmann, Tepper, Terheiden, Terlecki, Teufel, Theele, Thieke, Thimm, Thiomas, Thomas, Thriene, Thränhardt, Thust, Thyssen, Thöne, Tidow, Tiedtke, Tietze, Tilgner, Tillack, Timmermann, Tischler, Tischmann, Tittman, Tivontschik, Tonat, Tonn, Trampeli, Trauth, Trautmann, Travan, Treff, Tremmel, Tress, Tsamonikian, Tschiers, Tschirch, Tuch, Tucholke, Tudow, Tuschmo, Tächl, Többen, Töpfer, Uhlemann, Uhlig, Uhrig, Uibel, Uliczka, Ullmann, Ullrich, Umbach, Umlauft, Umminger, Unger, Unterpaintner, Urban, Urbaniak, Urbansky, Urhig, Vahlensieck, Van, Vangermain, Vater, Venghaus, Verniest, Verzi, Vey, Viellehner, Vieweg, Voelkel, Vogel, Vogelgsang, Vogt, Voigt, Vokuhl, Volk, Volker, Volkmann, Von, Vona, Vontein, Wachenbrunner, Wachtel, Wagner, Waibel, Wakan, Waldmann, Wallner, Wallstab, Walter, Walther, Walton, Walz, Wanner, Wartenberg, Waschbüsch, Wassilew, Wassiluk, Weber, Wehrsen, Weidlich, Weidner, Weigel, Weight, Weiler, Weimer, Weis, Weiss, Weller, Welsch, Welz, Welzel, Weniger, Wenk, Werle, Werner, Werrmann, Wessel, Wessinghage, Weyel, Wezel, Wichmann, Wickert, Wiebe, Wiechmann, Wiegelmann, Wierig, Wiese, Wieser, Wilhelm, Wilky, Will, Willwacher, Wilts, Wimmer, Winkelmann, Winkler, Winter, Wischek, Wischer, Wissing, Wittich, Wittl, Wolf, Wolfarth, Wolff, Wollenberg, Wollmann, Woytkowska, Wujak, Wurm, Wyludda, Wölpert, Wöschler, Wühn, Wünsche, Zach, Zaczkiewicz, Zahn, Zaituc, Zandt, Zanner, Zapletal, Zauber, Zeidler, Zekl, Zender, Zeuch, Zeyen, Zeyhle, Ziegler, Zimanyi, Zimmer, Zimmermann, Zinser, Zintl, Zipp, Zipse, Zschunke, Zuber, Zwiener, Zümsande, Östringer, Überacker] - prefix: [Hr., Fr., Dr., Prof. Dr.] - nobility_title_prefix: [zu, von, vom, von der] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{nobility_title_prefix} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - phone_number: - formats: ['(0###) #########', '(0####) #######', '+49-###-#######', '+49-####-########'] - - cell_phone: - formats: ['+49-1##-#######', '+49-1###-########'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-AU.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-AU.yml deleted file mode 100644 index cbd28ca..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-AU.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Australia formatted data types -# Using Top 200 Australian baby names of 2010 -# 286 Surnames familiar to Australian population - -en-AU: - faker: - name: - first_name: [William, Jack, Oliver, Joshua, Thomas, Lachlan, Cooper, Noah, Ethan, Lucas, James, Samuel, Jacob, Liam, Alexander, Benjamin, Max, Isaac, Daniel, Riley, Ryan, Charlie, Tyler, Jake, Matthew, Xavier, Harry, Jayden, Nicholas, Harrison, Levi, Luke, Adam, Henry, Aiden, Dylan, Oscar, Michael, Jackson, Logan, Joseph, Blake, Nathan, Connor, Elijah, Nate, Archie, Bailey, Marcus, Cameron, Jordan, Zachary, Caleb, Hunter, Ashton, Toby, Aidan, Hayden, Mason, Hamish, Edward, Angus, Eli, Sebastian, Christian, Patrick, Andrew, Anthony, Luca, Kai, Beau, Alex, George, Callum, Finn, Zac, Mitchell, Jett, Jesse, Gabriel, Leo, Declan, Charles, Jasper, Jonathan, Aaron, Hugo, David, Christopher, Chase, Owen, Justin, Ali, Darcy, Lincoln, Cody, Phoenix, Sam, John, Joel, Isabella, Ruby, Chloe, Olivia, Charlotte, Mia, Lily, Emily, Ella, Sienna, Sophie, Amelia, Grace, Ava, Zoe, Emma, Sophia, Matilda, Hannah, Jessica, Lucy, Georgia, Sarah, Abigail, Zara, Eva, Scarlett, Jasmine, Chelsea, Lilly, Ivy, Isla, Evie, Isabelle, Maddison, Layla, Summer, Annabelle, Alexis, Elizabeth, Bella, Holly, Lara, Madison, Alyssa, Maya, Tahlia, Claire, Hayley, Imogen, Jade, Ellie, Sofia, Addison, Molly, Phoebe, Alice, Savannah, Gabriella, Kayla, Mikayla, Abbey, Eliza, Willow, Alexandra, Poppy, Samantha, Stella, Amy, Amelie, Anna, Piper, Gemma, Isabel, Victoria, Stephanie, Caitlin, Heidi, Paige, Rose, Amber, Audrey, Claudia, Taylor, Madeline, Angelina, Natalie, Charli, Lauren, Ashley, Violet, Mackenzie, Abby, Skye, Lillian, Alana, Lola, Leah, Eve, Kiara] - last_name: [Smith, Jones, Williams, Brown, Wilson, Taylor, Johnson, White, Martin, Anderson, Thompson, Nguyen, Thomas, Walker, Harris, Lee, Ryan, Robinson, Kelly, King, Davis, Wright, Evans, Roberts, Green, Hall, Wood, Jackson, Clarke, Patel, Khan, Lewis, James, Phillips, Mason, Mitchell, Rose, Davies, Rodriguez, Cox, Alexander, Garden, Campbell, Johnston, Moore, Smyth, O'neill, Doherty, Stewart, Quinn, Murphy, Graham, Mclaughlin, Hamilton, Murray, Hughes, Robertson, Thomson, Scott, Macdonald, Reid, Clark, Ross, Young, Watson, Paterson, Morrison, Morgan, Griffiths, Edwards, Rees, Jenkins, Owen, Price, Moss, Richards, Abbott, Adams, Armstrong, Bahringer, Bailey, Barrows, Bartell, Bartoletti, Barton, Bauch, Baumbach, Bayer, Beahan, Beatty, Becker, Beier, Berge, Bergstrom, Bode, Bogan, Borer, Bosco, Botsford, Boyer, Boyle, Braun, Bruen, Carroll, Carter, Cartwright, Casper, Cassin, Champlin, Christiansen, Cole, Collier, Collins, Connelly, Conroy, Corkery, Cormier, Corwin, Cronin, Crooks, Cruickshank, Cummings, D'amore, Daniel, Dare, Daugherty, Dickens, Dickinson, Dietrich, Donnelly, Dooley, Douglas, Doyle, Durgan, Ebert, Emard, Emmerich, Erdman, Ernser, Fadel, Fahey, Farrell, Fay, Feeney, Feil, Ferry, Fisher, Flatley, Gibson, Gleason, Glover, Goldner, Goodwin, Grady, Grant, Greenfelder, Greenholt, Grimes, Gutmann, Hackett, Hahn, Haley, Hammes, Hand, Hane, Hansen, Harber, Hartmann, Harvey, Hayes, Heaney, Heathcote, Heller, Hermann, Hermiston, Hessel, Hettinger, Hickle, Hill, Hills, Hoppe, Howe, Howell, Hudson, Huel, Hyatt, Jacobi, Jacobs, Jacobson, Jerde, Johns, Keeling, Kemmer, Kessler, Kiehn, Kirlin, Klein, Koch, Koelpin, Kohler, Koss, Kovacek, Kreiger, Kris, Kuhlman, Kuhn, Kulas, Kunde, Kutch, Lakin, Lang, Langworth, Larkin, Larson, Leannon, Leffler, Little, Lockman, Lowe, Lynch, Mann, Marks, Marvin, Mayer, Mccullough, Mcdermott, Mckenzie, Miller, Mills, Monahan, Morissette, Mueller, Muller, Nader, Nicolas, Nolan, O'connell, O'conner, O'hara, O'keefe, Olson, O'reilly, Parisian, Parker, Quigley, Reilly, Reynolds, Rice, Ritchie, Rohan, Rolfson, Rowe, Russel, Rutherford, Sanford, Sauer, Schmidt, Schmitt, Schneider, Schroeder, Schultz, Shields, Smitham, Spencer, Stanton, Stark, Stokes, Swift, Tillman, Towne, Tremblay, Tromp, Turcotte, Turner, Walsh, Walter, Ward, Waters, Weber, Welch, West, Wilderman, Wilkinson, Williamson, Windler, Wolf] - company: - suffix: [Pty Ltd, and Sons, Corp, Group, Brothers, Partners] - internet: - domain_suffix: [com.au, com, net.au, net, org.au, org] - address: - state_abbr: [NSW, QLD, NT, SA, WA, TAS, ACT, VIC] - state: [New South Wales, Queensland, Northern Territory, South Australia, Western Australia, Tasmania, Australian Capital Territory, Victoria] - postcode: ['0###', '2###', '3###', '4###', '5###', '6###', '7###'] - building_number: ['####', '###', '##'] - street_suffix: [Avenue, Boulevard, Circle, Circuit, Court, Crescent, Crest, Drive, Estate Dr, Grove, Hill, Island, Junction, Knoll, Lane, Loop, Mall, Manor, Meadow, Mews, Parade, Parkway, Pass, Place, Plaza, Ridge, Road, Run, Square, Station St, Street, Summit, Terrace, Track, Trail, View Rd, Way] - default_country: [Australia] - phone_number: - formats: ['0# #### ####', '+61 # #### ####', '04## ### ###', '+61 4## ### ###'] #iOS AUS phone formats - team: - sport: ['basketball', 'football', 'footy', 'netball', 'rugby'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-BORK.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-BORK.yml deleted file mode 100644 index edc87a6..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-BORK.yml +++ /dev/null @@ -1,4 +0,0 @@ -en-BORK: - faker: - lorem: - words: [Boot, I, Nu, Nur, Tu, Um, a, becoose-a, boot, bork, burn, chuuses, cumplete-a, cun, cunseqooences, curcoomstunces, dee, deeslikes, denuoonceeng, desures, du, eccuoont, ectooel, edfuntege-a, efueeds, egeeen, ell, ere-a, feend, foolt, frum, geefe-a, gesh, greet, heem, heppeeness, hes, hoo, hoomun, idea, ifer, in, incuoonter, injuy, itselff, ixcept, ixemple-a, ixerceese-a, ixpleeen, ixplurer, ixpuoond, ixtremely, knoo, lebureeuoos, lufes, meestekee, mester-booeelder, moost, mun, nu, nut, oobteeen, oocceseeunelly, ooccoor, ooff, oone-a, oor, peeen, peeenffool, physeecel, pleesoore-a, poorsooe-a, poorsooes, preeesing, prucoore-a, prudooces, reeght, reshunelly, resooltunt, sume-a, teecheengs, teke-a, thees, thet, thuse-a, treefiel, troot, tu, tueel, und, undertekes, unnuyeeng, uny, unyune-a, us, veell, veet, ves, vheech, vhu, yuoo, zee, zeere-a] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-CA.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-CA.yml deleted file mode 100644 index 7381cbe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-CA.yml +++ /dev/null @@ -1,14 +0,0 @@ -en-CA: - faker: - address: - postcode: /[A-CEJ-NPR-TVXY][0-9][A-CEJ-NPR-TV-Z] ?[0-9][A-CEJ-NPR-TV-Z][0-9]/ - state: [Alberta, British Columbia, Manitoba, New Brunswick, Newfoundland and Labrador, Nova Scotia, Northwest Territories, Nunavut, Ontario, Prince Edward Island, Quebec, Saskatchewan, Yukon] - state_abbr: ["AB", "BC", "MB", "NB", "NL", "NS", "NU", "NT", "ON", "PE", "QC", "SK", "YT"] - default_country: [Canada] - - internet: - free_email: [gmail.com, yahoo.ca, hotmail.com] - domain_suffix: [ca, com, biz, info, name, net, org] - - phone_number: - formats: ['###-###-####', '(###)###-####', '###.###.####', '1-###-###-####', '###-###-#### x###', '(###)###-#### x###', '1-###-###-#### x###', '###.###.#### x###', '###-###-#### x####', '(###)###-#### x####', '1-###-###-#### x####', '###.###.#### x####', '###-###-#### x#####', '(###)###-#### x#####', '1-###-###-#### x#####', '###.###.#### x#####'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-GB.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-GB.yml deleted file mode 100644 index 6e138b0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-GB.yml +++ /dev/null @@ -1,13 +0,0 @@ -en-GB: - faker: - address: - postcode: /[A-PR-UWYZ][A-HK-Y]?[0-9][ABEHMNPRVWXY0-9]? [0-9][ABD-HJLN-UW-Z]{2}/ - county: [Avon, Bedfordshire, Berkshire, Borders, Buckinghamshire, Cambridgeshire, Central, Cheshire, Cleveland, Clwyd, Cornwall, County Antrim, County Armagh, County Down, County Fermanagh, County Londonderry, County Tyrone, Cumbria, Derbyshire, Devon, Dorset, Dumfries and Galloway, Durham, Dyfed, East Sussex, Essex, Fife, Gloucestershire, Grampian, Greater Manchester, Gwent, Gwynedd County, Hampshire, Herefordshire, Hertfordshire, Highlands and Islands, Humberside, Isle of Wight, Kent, Lancashire, Leicestershire, Lincolnshire, Lothian, Merseyside, Mid Glamorgan, Norfolk, North Yorkshire, Northamptonshire, Northumberland, Nottinghamshire, Oxfordshire, Powys, Rutland, Shropshire, Somerset, South Glamorgan, South Yorkshire, Staffordshire, Strathclyde, Suffolk, Surrey, Tayside, Tyne and Wear, Warwickshire, West Glamorgan, West Midlands, West Sussex, West Yorkshire, Wiltshire, Worcestershire] - uk_country: [England, Scotland, Wales, Northern Ireland] - default_country: [England, Scotland, Wales, Northern Ireland] - internet: - domain_suffix: [co.uk, com, biz, info, name] - phone_number: - formats: ['01#### #####', '01### ######', '01#1 ### ####', '011# ### ####', '02# #### ####', '03## ### ####', '055 #### ####', '056 #### ####', '0800 ### ####', '08## ### ####', '09## ### ####', '016977 ####', '01### #####', '0500 ######', '0800 ######'] - cell_phone: - formats: ['074## ######', '075## ######', '076## ######', '077## ######', '078## ######', '079## ######'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-IND.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-IND.yml deleted file mode 100644 index 4faeac5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-IND.yml +++ /dev/null @@ -1,20 +0,0 @@ -# India formatted data types -# first_names and last_names courtesy http://www.indianhindunames.com - -en-IND: - faker: - name: - first_name: [Aadrika, Aanandinii, Aaratrika, Aarya, Arya, Aashritha, Aatmaja, Atmaja, Abhaya, Adwitiya, Agrata, Ahilya, Ahalya, Aishani, Akshainie, Akshata, Akshita, Akula, Ambar, Amodini, Amrita, Amritambu, Anala, Anamika, Ananda, Anandamayi, Ananta, Anila, Anjali, Anjushri, Anjushree, Annapurna, Anshula, Anuja, Anusuya, Anasuya, Anasooya, Anwesha, Apsara, Aruna, Asha, Aasa, Aasha, Aslesha, Atreyi, Atreyee, Avani, Abani, Avantika, Ayushmati, Baidehi, Vaidehi, Bala, Baala, Balamani, Basanti, Vasanti, Bela, Bhadra, Bhagirathi, Bhagwanti, Bhagwati, Bhamini, Bhanumati, Bhaanumati, Bhargavi, Bhavani, Bhilangana, Bilwa, Bilva, Buddhana, Chakrika, Chanda, Chandi, Chandni, Chandini, Chandani, Chandra, Chandira, Chandrabhaga, Chandrakala, Chandrakin, Chandramani, Chandrani, Chandraprabha, Chandraswaroopa, Chandravati, Chapala, Charumati, Charvi, Chatura, Chitrali, Chitramala, Chitrangada, Daksha, Dakshayani, Damayanti, Darshwana, Deepali, Dipali, Deeptimoyee, Deeptimayee, Devangana, Devani, Devasree, Devi, Daevi, Devika, Daevika, Dhaanyalakshmi, Dhanalakshmi, Dhana, Dhanadeepa, Dhara, Dharani, Dharitri, Dhatri, Diksha, Deeksha, Divya, Draupadi, Dulari, Durga, Durgeshwari, Ekaparnika, Elakshi, Enakshi, Esha, Eshana, Eshita, Gautami, Gayatri, Geeta, Geetanjali, Gitanjali, Gemine, Gemini, Girja, Girija, Gita, Hamsini, Harinakshi, Harita, Heema, Himadri, Himani, Hiranya, Indira, Jaimini, Jaya, Jyoti, Jyotsana, Kali, Kalinda, Kalpana, Kalyani, Kama, Kamala, Kamla, Kanchan, Kanishka, Kanti, Kashyapi, Kumari, Kumuda, Lakshmi, Laxmi, Lalita, Lavanya, Leela, Lila, Leela, Madhuri, Malti, Malati, Mandakini, Mandaakin, Mangala, Mangalya, Mani, Manisha, Manjusha, Meena, Mina, Meenakshi, Minakshi, Menka, Menaka, Mohana, Mohini, Nalini, Nikita, Ojaswini, Omana, Oormila, Urmila, Opalina, Opaline, Padma, Parvati, Poornima, Purnima, Pramila, Prasanna, Preity, Prema, Priya, Priyala, Pushti, Radha, Rageswari, Rageshwari, Rajinder, Ramaa, Rati, Rita, Rohana, Rukhmani, Rukmin, Rupinder, Sanya, Sarada, Sharda, Sarala, Sarla, Saraswati, Sarisha, Saroja, Shakti, Shakuntala, Shanti, Sharmila, Shashi, Shashikala, Sheela, Shivakari, Shobhana, Shresth, Shresthi, Shreya, Shreyashi, Shridevi, Shrishti, Shubha, Shubhaprada, Siddhi, Sitara, Sloka, Smita, Smriti, Soma, Subhashini, Subhasini, Sucheta, Sudeva, Sujata, Sukanya, Suma, Suma, Sumitra, Sunita, Suryakantam, Sushma, Swara, Swarnalata, Sweta, Shwet, Tanirika, Tanushree, Tanushri, Tanushri, Tanya, Tara, Trisha, Uma, Usha, Vaijayanti, Vaijayanthi, Baijayanti, Vaishvi, Vaishnavi, Vaishno, Varalakshmi, Vasudha, Vasundhara, Veda, Vedanshi, Vidya, Vimala, Vrinda, Vrund, Aadi, Aadidev, Aadinath, Aaditya, Aagam, Aagney, Aamod, Aanandaswarup, Anand Swarup, Aanjaneya, Anjaneya, Aaryan, Aryan, Aatmaj, Aatreya, Aayushmaan, Aayushman, Abhaidev, Abhaya, Abhirath, Abhisyanta, Acaryatanaya, Achalesvara, Acharyanandana, Acharyasuta, Achintya, Achyut, Adheesh, Adhiraj, Adhrit, Adikavi, Adinath, Aditeya, Aditya, Adityanandan, Adityanandana, Adripathi, Advaya, Agasti, Agastya, Agneya, Aagneya, Agnimitra, Agniprava, Agnivesh, Agrata, Ajit, Ajeet, Akroor, Akshaj, Akshat, Akshayakeerti, Alok, Aalok, Amaranaath, Amarnath, Amaresh, Ambar, Ameyatma, Amish, Amogh, Amrit, Anaadi, Anagh, Anal, Anand, Aanand, Anang, Anil, Anilaabh, Anilabh, Anish, Ankal, Anunay, Anurag, Anuraag, Archan, Arindam, Arjun, Arnesh, Arun, Ashlesh, Ashok, Atmanand, Atmananda, Avadhesh, Baalaaditya, Baladitya, Baalagopaal, Balgopal, Balagopal, Bahula, Bakula, Bala, Balaaditya, Balachandra, Balagovind, Bandhu, Bandhul, Bankim, Bankimchandra, Bhadrak, Bhadraksh, Bhadran, Bhagavaan, Bhagvan, Bharadwaj, Bhardwaj, Bharat, Bhargava, Bhasvan, Bhaasvan, Bhaswar, Bhaaswar, Bhaumik, Bhaves, Bheeshma, Bhisham, Bhishma, Bhima, Bhoj, Bhramar, Bhudev, Bhudeva, Bhupati, Bhoopati, Bhoopat, Bhupen, Bhushan, Bhooshan, Bhushit, Bhooshit, Bhuvanesh, Bhuvaneshwar, Bilva, Bodhan, Brahma, Brahmabrata, Brahmanandam, Brahmaanand, Brahmdev, Brajendra, Brajesh, Brijesh, Birjesh, Budhil, Chakor, Chakradhar, Chakravartee, Chakravarti, Chanakya, Chaanakya, Chandak, Chandan, Chandra, Chandraayan, Chandrabhan, Chandradev, Chandraketu, Chandramauli, Chandramohan, Chandran, Chandranath, Chapal, Charak, Charuchandra, Chaaruchandra, Charuvrat, Chatur, Chaturaanan, Chaturbhuj, Chetan, Chaten, Chaitan, Chetanaanand, Chidaakaash, Chidaatma, Chidambar, Chidambaram, Chidananda, Chinmayanand, Chinmayananda, Chiranjeev, Chiranjeeve, Chitraksh, Daiwik, Daksha, Damodara, Dandak, Dandapaani, Darshan, Datta, Dayaamay, Dayamayee, Dayaananda, Dayaanidhi, Kin, Deenabandhu, Deepan, Deepankar, Dipankar, Deependra, Dipendra, Deepesh, Dipesh, Deeptanshu, Deeptendu, Diptendu, Deeptiman, Deeptimoy, Deeptimay, Dev, Deb, Devadatt, Devagya, Devajyoti, Devak, Devdan, Deven, Devesh, Deveshwar, Devi, Devvrat, Dhananjay, Dhanapati, Dhanpati, Dhanesh, Dhanu, Dhanvin, Dharmaketu, Dhruv, Dhyanesh, Dhyaneshwar, Digambar, Digambara, Dinakar, Dinkar, Dinesh, Divaakar, Divakar, Deevakar, Divjot, Dron, Drona, Dwaipayan, Dwaipayana, Eekalabya, Ekalavya, Ekaksh, Ekaaksh, Ekaling, Ekdant, Ekadant, Gajaadhar, Gajadhar, Gajbaahu, Gajabahu, Ganak, Ganaka, Ganapati, Gandharv, Gandharva, Ganesh, Gangesh, Garud, Garuda, Gati, Gatik, Gaurang, Gauraang, Gauranga, Gouranga, Gautam, Gautama, Goutam, Ghanaanand, Ghanshyam, Ghanashyam, Giri, Girik, Girika, Girindra, Giriraaj, Giriraj, Girish, Gopal, Gopaal, Gopi, Gopee, Gorakhnath, Gorakhanatha, Goswamee, Goswami, Gotum, Gautam, Govinda, Gobinda, Gudakesha, Gudakesa, Gurdev, Guru, Hari, Harinarayan, Harit, Himadri, Hiranmay, Hiranmaya, Hiranya, Inder, Indra, Indra, Jagadish, Jagadisha, Jagathi, Jagdeep, Jagdish, Jagmeet, Jahnu, Jai, Javas, Jay, Jitendra, Jitender, Jyotis, Kailash, Kama, Kamalesh, Kamlesh, Kanak, Kanaka, Kannan, Kannen, Karan, Karthik, Kartik, Karunanidhi, Kashyap, Kiran, Kirti, Keerti, Krishna, Krishnadas, Krishnadasa, Kumar, Lai, Lakshman, Laxman, Lakshmidhar, Lakshminath, Lal, Laal, Mahendra, Mohinder, Mahesh, Maheswar, Mani, Manik, Manikya, Manoj, Marut, Mayoor, Meghnad, Meghnath, Mohan, Mukesh, Mukul, Nagabhushanam, Nanda, Narayan, Narendra, Narinder, Naveen, Navin, Nawal, Naval, Nimit, Niranjan, Nirbhay, Niro, Param, Paramartha, Pran, Pranay, Prasad, Prathamesh, Prayag, Prem, Puneet, Purushottam, Rahul, Raj, Rajan, Rajendra, Rajinder, Rajiv, Rakesh, Ramesh, Rameshwar, Ranjit, Ranjeet, Ravi, Ritesh, Rohan, Rohit, Rudra, Sachin, Sameer, Samir, Sanjay, Sanka, Sarvin, Satish, Satyen, Shankar, Shantanu, Shashi, Sher, Shiv, Siddarth, Siddhran, Som, Somu, Somnath, Subhash, Subodh, Suman, Suresh, Surya, Suryakant, Suryakanta, Sushil, Susheel, Swami, Swapnil, Tapan, Tara, Tarun, Tej, Tejas, Trilochan, Trilochana, Trilok, Trilokesh, Triloki, Triloki Nath, Trilokanath, Tushar, Udai, Udit, Ujjawal, Ujjwal, Umang, Upendra, Uttam, Vasudev, Vasudeva, Vedang, Vedanga, Vidhya, Vidur, Vidhur, Vijay, Vimal, Vinay, Vishnu, Bishnu, Vishwamitra, Vyas, Yogendra, Yoginder, Yogesh] - last_name: [Abbott, Achari, Acharya, Adiga, Agarwal, Ahluwalia, Ahuja, Arora, Asan, Bandopadhyay, Banerjee, Bharadwaj, Bhat, Butt, Bhattacharya, Bhattathiri, Chaturvedi, Chattopadhyay, Chopra, Desai, Deshpande, Devar, Dhawan, Dubashi, Dutta, Dwivedi, Embranthiri, Ganaka, Gandhi, Gill, Gowda, Guha, Guneta, Gupta, Iyer, Iyengar, Jain, Jha, Johar, Joshi, Kakkar, Kaniyar, Kapoor, Kaul, Kaur, Khan, Khanna, Khatri, Kocchar, Mahajan, Malik, Marar, Menon, Mehra,Mehrotra, Mishra, Mukhopadhyay, Nayar, Naik, Nair, Nambeesan, Namboothiri, Nehru, Pandey, Panicker, Patel, Patil, Pilla, Pillai, Pothuvaal, Prajapat, Rana, Reddy, Saini, Sethi, Shah, Sharma, Shukla, Singh, Sinha, Somayaji, Tagore, Talwar, Tandon, Trivedi, Varrier, Varma, Varman, Verma] - address: - postcode: ['?#? #?#'] - state: [Andra Pradesh, Arunachal Pradesh, Assam, Bihar, Chhattisgarh, Goa, Gujarat, Haryana, Himachal Pradesh, Jammu and Kashmir, Jharkhand, Karnataka, Kerala, Madya Pradesh, Maharashtra, Manipur, Meghalaya, Mizoram, Nagaland, Orissa, Punjab, Rajasthan, Sikkim, Tamil Nadu, Tripura, Uttaranchal, Uttar Pradesh, West Bengal, Andaman and Nicobar Islands, Chandigarh, Dadar and Nagar Haveli, Daman and Diu, Delhi, Lakshadweep, Pondicherry] - state_abbr: [AP, AR, AS, BR, CG, DL, GA, GJ, HR, HP, JK, JS, KA, KL, MP, MH, MN, ML, MZ, NL, OR, PB, RJ, SK, TN, TR, UK, UP, WB, AN, CH, DN, DD, LD, PY] - default_country: [India, Indian Republic, Bharat, Hindustan] - internet: - free_email: [gmail.com, yahoo.co.in, hotmail.com] - domain_suffix: [in, com, biz, info, name, net, org, co.in] - company: - suffix: [Pvt Ltd, Limited, Ltd, and Sons, Corp, Group, Brothers] - phone_number: - formats: ['+91###-###-####', '+91##########', '+91-###-#######'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-NEP.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-NEP.yml deleted file mode 100644 index 11a8fb8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-NEP.yml +++ /dev/null @@ -1,39 +0,0 @@ -# Country => Nepal -# This file is formatted for Nepal. - -nep: - faker: - name: - first_name: [ - "Aarav", "Ajita", "Amit", "Amita", "Amrit", "Arijit", "Ashmi", "Asmita", "Bibek", "Bijay", "Bikash", "Bina", "Bishal", - "Bishnu", "Buddha", "Deepika", "Dipendra", "Gagan", "Ganesh", "Khem", "Krishna", "Laxmi", "Manisha", "Nabin", "Nikita", - "Niraj", "Nischal", "Padam", "Pooja", "Prabin", "Prakash", "Prashant", "Prem", "Purna", "Rajendra", "Rajina", "Raju", - "Rakesh", "Ranjan", "Ratna", "Sagar", "Sandeep", "Sanjay", "Santosh", "Sarita", "Shilpa", "Shirisha", "Shristi", - "Siddhartha", "Subash", "Sumeet", "Sunita", "Suraj", "Susan", "Sushant" - ] - last_name: [ - "Adhikari", "Aryal", "Baral", "Basnet", "Bastola", "Basynat", "Bhandari", "Bhattarai", "Chettri", "Devkota", "Dhakal", - "Dongol", "Ghale", "Gurung", "Gyawali", "Hamal", "Jung", "KC", "Kafle", "Karki", "Khadka", "Koirala", "Lama", "Limbu", - "Magar", "Maharjan", "Niroula", "Pandey", "Pradhan", "Rana", "Raut", "Sai", "Shai", "Shakya", "Sherpa", "Shrestha", - "Subedi", "Tamang", "Thapa" - ] - address: - postcode: [0000] - state: [ - "Baglung", "Banke", "Bara", "Bardiya", "Bhaktapur", "Bhojupu", "Chitwan", "Dailekh", "Dang", "Dhading", "Dhankuta", "Dhanusa", "Dolakha", - "Dolpha", "Gorkha", "Gulmi", "Humla", "Ilam", "Jajarkot", "Jhapa", "Jumla", "Kabhrepalanchok", "Kalikot", "Kapilvastu", "Kaski", "Kathmandu", - "Lalitpur", "Lamjung", "Manang", "Mohottari", "Morang", "Mugu", "Mustang", "Myagdi", "Nawalparasi", "Nuwakot", "Palpa", "Parbat", "Parsa", - "Ramechhap", "Rauswa", "Rautahat", "Rolpa", "Rupandehi", "Sankhuwasabha", "Sarlahi", "Sindhuli", "Sindhupalchok", "Sunsari", "Surket", - "Syangja", "Tanahu", "Terhathum" - ] - city: ["Bhaktapur", "Biratnagar", "Birendranagar", "Birgunj", "Butwal", "Damak", "Dharan", "Gaur", "Gorkha", "Hetauda", "Itahari", "Janakpur", "Kathmandu", "Lahan", "Nepalgunj", "Pokhara"] - default_country: ["Nepal"] - internet: - free_email: ['worldlink.com.np', 'gmail.com', 'yahoo.com', 'hotmail.com'] - domain_suffix: ['np', 'com', 'info', 'net', 'org'] - company: - suffix: ['Pvt Ltd', 'Group', 'Ltd', 'Limited'] - phone_number: - formats: ['##-#######', '+977-#-#######', '+977########'] - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-UG.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-UG.yml deleted file mode 100644 index d355f6f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-UG.yml +++ /dev/null @@ -1,128 +0,0 @@ -en-UG: - faker: - internet: - domain_suffix: [ug, com, org, co.ug, org.ug, net] - address: - default_country: [Uganda, The Republic of Uganda, UG] - # city names from http://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Uganda - city_names: [ - Alebtong, Abim, Adjumani, Amolatar, Amuria, Amuru, Apac, Arua, - Bombo, Budaka, Bugembe, Bugiri, Bukedea, Bulisa, Buikwe, Bundibugyo, - Busembatya, Bushenyi, Busia, Busolwe, Butaleja,Buwenge, - Dokolo, - Entebbe, - Fort Portal, - Gulu, - Hima,Hoima, - Ibanda, Iganga, Isingiro, - Jinja, - Kaabong, Kabale, Kaberamaido, Kabwohe, Kagadi, Kakinga, Kakiri, Kalangala, Kaliro, - Kalisizo, Kalongo, Kalungu, Kampala, Kamuli, Kanoni, Kamwenge, Kanungu, Kapchorwa, - Kasese, Katakwi, Kayunga, Kibaale, Kiboga, Kihiihi, Kiira, Kiruhura, Kiryandongo, - Kisoro, Kitgum, Koboko, Kotido, Kumi, Kyenjojo, Kyotera, - Lira, Lugazi, Lukaya, Luwero, Lwakhakha, Lwengo, Lyantonde, - Malaba, Manafwa, Masaka, Masindi, Masindi Port, Matugga, Mayuge, Mbale,Mbarara, - Mitooma, Mityana, Mpigi, Mpondwe, Moroto, Moyo, Mubende, Mukono, Mutukula, - Nagongera, Nakaseke, Nakasongola, Nakapiripirit, Namutumba, Nansana, Nebbi, Ngora, - Njeru, Nkokonjeru, Ntungamo, - Oyam, - Pader, Paidha, Pakwach, Pallisa, - Rakai, Rukungiri, - Sembabule, Sironko, Soroti, - Tororo, - Wakiso, Wobulenzi, - Yumbe - ] - # district names from http://en.wikipedia.org/wiki/Category:Districts_of_Uganda - district_names: [ - Abim, Adjumani, Agago, Alebtong, Amolatar, Amudat, Amuria, Amuru, Apac, Arua, - Budaka, Bududa, Bugiri, Buhweju, Buikwe, Bukedea, Bukomansimbi, Bukwo, Bulambuli, - Buliisa, Bundibugyo, Bushenyi, Busia, Butaleja, Butambala, Buvuma, Buyende, - Dokolo, - Gomba, Gulu, - Hoima, - Ibanda, Iganga, Isingiro, - Jinja, - Kaabong, Kabale, Kabarole, Kaberamaido, Kalangala, Kaliro, Kalungu, Kampala, Kamuli, - Kamwenge, Kanungu, Kapchorwa, Kasese, Katakwi, Kayunga, Kibaale, Kiboga, Kibuku, - Kigezi, Kiruhura, Kiryandongo, Kisoro, Kitgum, Koboko, Kole, Kotido, Kumi, Kween, - Kyankwanzi, Kyegegwa, Kyenjojo, - Lamwo, Lira, Luuka, Luweero, Lwengo, Lyantonde, - Manafwa, Maracha, Maracha-Terego, Masaka, Masindi, Mayuge, Mbale, Mbarara, Mitooma, - Mityana, Moroto, Moyo, Mpigi, Mubende, Mukono, - Nakapiripirit, Nakaseke, Nakasongola, Namayingo, Namutumba, Napak, Nebbi, Ngora, - Ntoroko, Ntungamo, Nwoya, - Otuke, Oyam, - Pader, Pallisa, - Rakai, Rubirizi, Rukungiri, - Sembabule, Serere, Sheema, Sironko, Soroti, - Tororo, - Wakiso, - Yumbe, - Zombo - ] - regions: [Central, East, North, West] - city: - - "#{city_names}" - district: - - "#{district_names}" - region: - - "#{regions}" - phone_number: - formats: - # carrier mtn landline - - "256 39# ### ###" - - "+256 39# ### ###" - - "039# ### ###" - # carrier utl landline - - "256 41# ### ###" - - "+256 41# ### ###" - - "041# ### ###" - cell_phone: - formats: - # africell - - "+256 79# ### ###" - - "256 79# ### ###" - - "0 79# ### ###" - # airtel - - "+256 70# ### ###" - - "256 70# ### ###" - - "0 70# ### ###" - - "+256 75# ### ###" - - "256 75# ### ###" - - "0 75# ### ###" - # mtn - - "+256 77# ### ###" - - "256 77# ### ###" - - "0 77# ### ###" - - "+256 78# ### ###" - - "256 78# ### ###" - - "0 78# ### ###" - # smart - - "+256 74# ### ###" - - "256 74# ### ###" - - "0 74# ### ###" - # utl - - "+256 71# ### ###" - - "256 71# ### ###" - - "0 71# ### ###" - # vodafone - - "+256 72# ### ###" - - "256 72# ### ###" - - "0 72# ### ###" - name: - last_name: [ - Abayisenga, Agaba, Ahebwe, Aisu, Akankunda, Akankwasa, Akashaba, Akashabe, Ampumuza, Ankunda, Asasira, Asiimwe, Atuhe, Atuhire, Atukunda, Atukwase, Atwine, Aurishaba, - Badru, Baguma, Bakabulindi, Bamwiine, Barigye, Bbosa, Bisheko, Biyinzika, Bugala, Bukenya, Buyinza, Bwana, Byanyima, Byaruhanga, - Ddamulira, - Gamwera, - Ijaga, Isyagi, - Kaaya, Kabanda, Kabuubi, Kabuye, Kafeero, Kagambira, Kakooza, Kalumba, Kanshabe, Kansiime, Kanyesigye, Kareiga, Kasekende, Kasumba, Kateregga, Katusiime, Kawooya, Kawuki, Kayemba, Kazibwe, Kibirige, Kiconco, Kiganda, Kijjoba, Kirabira, Kirabo, Kirigwajjo, Kisitu, Kitovu, Kityamuwesi, Kivumbi, Kiwanuka, Kyambadde, - Lunyoro, - Mbabazi, Migisha, Mugisa, Mugisha, Muhwezi, Mukalazi, Mulalira, Munyagwa, Murungi, Mushabe, Musinguzi, Mutabuza, Muyambi, Mwesige, Mwesigye, - Nabasa, Nabimanya, Nankunda, Natukunda, Nayebare, Nimukunda, Ninsiima, Nkoojo, Nkurunungi, Nuwagaba, Nuwamanya, Nyeko, - Obol, Odeke, Okumu, Okumuringa, Opega, Orishaba, Osiki, Ouma, - Rubalema, Rusiimwa, Rwabyoma, - Tamale, Tendo, Tizikara, Tuhame, Tumusiime, Tumwebaze, Tumwesigye, Tumwiine, Turyasingura, Tusiime, Twasiima, Twesigomwe, - Wasswa, Wavamuno, Were - ] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-US.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-US.yml deleted file mode 100644 index 21f6dbe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-US.yml +++ /dev/null @@ -1,83 +0,0 @@ -en-US: - faker: - internet: - domain_suffix: [com, us, biz, info, name, net, org, io, co] - address: - default_country: [United States, United States of America, USA] - postcode_by_state: - AL: '350##' - AK: '995##' - AS: '967##' - AZ: '850##' - AR: '717##' - CA: '900##' - CO: '800##' - CT: '061##' - DC: '204##' - DE: '198##' - FL: '322##' - GA: '301##' - HI: '967##' - ID: '832##' - IL: '600##' - IN: '463##' - IA: '510##' - KS: '666##' - KY: '404##' - LA: '701##' - ME: '042##' - MD: '210##' - MA: '026##' - MI: '480##' - MN: '555##' - MS: '387##' - MO: '650##' - MT: '590##' - NE: '688##' - NV: '898##' - NH: '036##' - NJ: '076##' - NM: '880##' - NY: '122##' - NC: '288##' - ND: '586##' - OH: '444##' - OK: '730##' - OR: '979##' - PA: '186##' - RI: '029##' - SC: '299##' - SD: '577##' - TN: '383##' - TX: '798##' - UT: '847##' - VT: '050##' - VA: '222##' - WA: '990##' - WV: '247##' - WI: '549##' - WY: '831##' - phone_number: - area_code: ["201", "202", "203", "205", "206", "207", "208", "209", "210", "212", "213", "214", "215", "216", "217", "218", "219", "224", "225", "227", "228", "229", "231", "234", "239", "240", "248", "251", "252", "253", "254", "256", "260", "262", "267", "269", "270", "276", "281", "283", "301", "302", "303", "304", "305", "307", "308", "309", "310", "312", "313", "314", "315", "316", "317", "318", "319", "320", "321", "323", "330", "331", "334", "336", "337", "339", "347", "351", "352", "360", "361", "386", "401", "402", "404", "405", "406", "407", "408", "409", "410", "412", "413", "414", "415", "417", "419", "423", "424", "425", "434", "435", "440", "443", "445", "464", "469", "470", "475", "478", "479", "480", "484", "501", "502", "503", "504", "505", "507", "508", "509", "510", "512", "513", "515", "516", "517", "518", "520", "530", "540", "541", "551", "557", "559", "561", "562", "563", "564", "567", "570", "571", "573", "574", "580", "585", "586", "601", "602", "603", "605", "606", "607", "608", "609", "610", "612", "614", "615", "616", "617", "618", "619", "620", "623", "626", "630", "631", "636", "641", "646", "650", "651", "660", "661", "662", "667", "678", "682", "701", "702", "703", "704", "706", "707", "708", "712", "713", "714", "715", "716", "717", "718", "719", "720", "724", "727", "731", "732", "734", "737", "740", "754", "757", "760", "763", "765", "770", "772", "773", "774", "775", "781", "785", "786", "801", "802", "803", "804", "805", "806", "808", "810", "812", "813", "814", "815", "816", "817", "818", "828", "830", "831", "832", "835", "843", "845", "847", "848", "850", "856", "857", "858", "859", "860", "862", "863", "864", "865", "870", "872", "878", "901", "903", "904", "906", "907", "908", "909", "910", "912", "913", "914", "915", "916", "917", "918", "919", "920", "925", "928", "931", "936", "937", "940", "941", "947", "949", "952", "954", "956", "959", "970", "971", "972", "973", "975", "978", "979", "980", "984", "985", "989"] - exchange_code: ["201", "202", "203", "205", "206", "207", "208", "209", "210", "212", "213", "214", "215", "216", "217", "218", "219", "224", "225", "227", "228", "229", "231", "234", "239", "240", "248", "251", "252", "253", "254", "256", "260", "262", "267", "269", "270", "276", "281", "283", "301", "302", "303", "304", "305", "307", "308", "309", "310", "312", "313", "314", "315", "316", "317", "318", "319", "320", "321", "323", "330", "331", "334", "336", "337", "339", "347", "351", "352", "360", "361", "386", "401", "402", "404", "405", "406", "407", "408", "409", "410", "412", "413", "414", "415", "417", "419", "423", "424", "425", "434", "435", "440", "443", "445", "464", "469", "470", "475", "478", "479", "480", "484", "501", "502", "503", "504", "505", "507", "508", "509", "510", "512", "513", "515", "516", "517", "518", "520", "530", "540", "541", "551", "557", "559", "561", "562", "563", "564", "567", "570", "571", "573", "574", "580", "585", "586", "601", "602", "603", "605", "606", "607", "608", "609", "610", "612", "614", "615", "616", "617", "618", "619", "620", "623", "626", "630", "631", "636", "641", "646", "650", "651", "660", "661", "662", "667", "678", "682", "701", "702", "703", "704", "706", "707", "708", "712", "713", "714", "715", "716", "717", "718", "719", "720", "724", "727", "731", "732", "734", "737", "740", "754", "757", "760", "763", "765", "770", "772", "773", "774", "775", "781", "785", "786", "801", "802", "803", "804", "805", "806", "808", "810", "812", "813", "814", "815", "816", "817", "818", "828", "830", "831", "832", "835", "843", "845", "847", "848", "850", "856", "857", "858", "859", "860", "862", "863", "864", "865", "870", "872", "878", "901", "903", "904", "906", "907", "908", "909", "910", "912", "913", "914", "915", "916", "917", "918", "919", "920", "925", "928", "931", "936", "937", "940", "941", "947", "949", "952", "954", "956", "959", "970", "971", "972", "973", "975", "978", "979", "980", "984", "985", "989"] - formats: - - "#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number}" - - "(#{PhoneNumber.area_code}) #{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number}" - - "1-#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number}" - - "#{PhoneNumber.area_code}.#{PhoneNumber.exchange_code}.#{PhoneNumber.subscriber_number}" - - "#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number}" - - "(#{PhoneNumber.area_code}) #{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number}" - - "1-#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number}" - - "#{PhoneNumber.area_code}.#{PhoneNumber.exchange_code}.#{PhoneNumber.subscriber_number}" - - "#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "(#{PhoneNumber.area_code}) #{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "1-#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "#{PhoneNumber.area_code}.#{PhoneNumber.exchange_code}.#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "(#{PhoneNumber.area_code}) #{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "1-#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "#{PhoneNumber.area_code}.#{PhoneNumber.exchange_code}.#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "(#{PhoneNumber.area_code}) #{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "1-#{PhoneNumber.area_code}-#{PhoneNumber.exchange_code}-#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" - - "#{PhoneNumber.area_code}.#{PhoneNumber.exchange_code}.#{PhoneNumber.subscriber_number} x#{PhoneNumber.extension}" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-au-ocker.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-au-ocker.yml deleted file mode 100644 index 4bb96a1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en-au-ocker.yml +++ /dev/null @@ -1,31 +0,0 @@ -# Australian Slang, and ocker names for a bit of fun, as well as -# Aussie specific terms and references -# Took the lead of previous contributors of en-au as a baseline -# regular names are top 50 names from 2013 - -en-au-ocker: - faker: - name: - first_name: [Charlotte, Ava, Chloe, Emily, Olivia, Zoe, Lily, Sophie, Amelia, Sofia, Ella, Isabella, Ruby, Sienna, Mia+3, Grace, Emma, Ivy, Layla, Abigail, Isla, Hannah, Zara, Lucy, Evie, Annabelle, Madison, Alice, Georgia, Maya, Madeline, Audrey, Scarlett, Isabelle, Chelsea, Mila, Holly, Indiana, Poppy, Harper, Sarah, Alyssa, Jasmine, Imogen, Hayley, Pheobe, Eva, Evelyn, Mackenzie, Ayla, Oliver, Jack, Jackson, William, Ethan, Charlie, Lucas, Cooper, Lachlan, Noah, Liam, Alexander, Max, Isaac, Thomas, Xavier, Oscar, Benjamin, Aiden, Mason, Samuel, James, Levi, Riley, Harrison, Ryan, Henry, Jacob, Joshua, Leo, Zach, Harry, Hunter, Flynn, Archie, Tyler, Elijah, Hayden, Jayden, Blake, Archer, Ashton, Sebastian, Zachery, Lincoln, Mitchell, Luca, Nathan, Kai, Connor, Tom, Nigel, Matt, Sean] - last_name: [Smith, Jones, Williams, Brown, Wilson, Taylor, Morton, White, Martin, Anderson, Thompson, Nguyen, Thomas, Walker, Harris, Lee, Ryan, Robinson, Kelly, King, Rausch, Ridge, Connolly, LeQuesne] - ocker_first_name: [Bazza, Bluey, Davo, Johno, Shano, Shazza] - company: - suffix: [Pty Ltd, and Sons, Corp, Group, Brothers, Partners] - internet: - domain_suffix: [com.au, com, net.au, net, org.au, org] - address: - street_root: [Ramsay Street, Bonnie Doon, Cavill Avenue, Queen Street] - street_name: - - "#{street_root}" - city_prefix: [Bondi, Burleigh Heads, Carlton, Fitzroy, Fremantle, Glenelg, Manly, Noosa, Stones Corner, St Kilda, Surry Hills, Yarra Valley] - city: - - "#{city_prefix}" - state_abbr: [NSW, QLD, NT, SA, WA, TAS, ACT, VIC] - region: [South East Queensland, Wide Bay Burnett, Margaret River, Port Pirie, Gippsland, Elizabeth, Barossa] - state: [New South Wales, Queensland, Northern Territory, South Australia, Western Australia, Tasmania, Australian Capital Territory, Victoria] - postcode: ['0###', '2###', '3###', '4###', '5###', '6###', '7###'] - building_number: ['####', '###', '##'] - street_suffix: [Avenue, Boulevard, Circle, Circuit, Court, Crescent, Crest, Drive, Estate Dr, Grove, Hill, Island, Junction, Knoll, Lane, Loop, Mall, Manor, Meadow, Mews, Parade, Parkway, Pass, Place, Plaza, Ridge, Road, Run, Square, Station St, Street, Summit, Terrace, Track, Trail, View Rd, Way] - default_country: [Australia] - phone_number: - formats: ['0# #### ####', '+61 # #### ####', '04## ### ###', '+61 4## ### ###'] #iOS AUS phone formats \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en.yml deleted file mode 100644 index 7a942bd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/en.yml +++ /dev/null @@ -1,189 +0,0 @@ -en: - faker: - separator: ' & ' - address: - city_prefix: [North, East, West, South, New, Lake, Port] - city_suffix: [town, ton, land, ville, berg, burgh, borough, bury, view, port, mouth, stad, furt, chester, mouth, fort, haven, side, shire] - country: [Afghanistan, Albania, Algeria, American Samoa, Andorra, Angola, Anguilla, Antarctica (the territory South of 60 deg S), Antigua and Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Belarus, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bosnia and Herzegovina, Botswana, Bouvet Island (Bouvetoya), Brazil, British Indian Ocean Territory (Chagos Archipelago), Brunei Darussalam, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Cayman Islands, Central African Republic, Chad, Chile, China, Christmas Island, Cocos (Keeling) Islands, Colombia, Comoros, Congo, Congo, Cook Islands, Costa Rica, Cote d'Ivoire, Croatia, Cuba, Cyprus, Czech Republic, Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Ethiopia, Faroe Islands, Falkland Islands (Malvinas), Fiji, Finland, France, French Guiana, French Polynesia, French Southern Territories, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, Greece, Greenland, Grenada, Guadeloupe, Guam, Guatemala, Guernsey, Guinea, Guinea-Bissau, Guyana, Haiti, Heard Island and McDonald Islands, Holy See (Vatican City State), Honduras, Hong Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Isle of Man, Israel, Italy, Jamaica, Japan, Jersey, Jordan, Kazakhstan, Kenya, Kiribati, Democratic People's Republic of Korea, Republic of Korea, Kuwait, Kyrgyz Republic, Lao People's Democratic Republic, Latvia, Lebanon, Lesotho, Liberia, Libyan Arab Jamahiriya, Liechtenstein, Lithuania, Luxembourg, Macao, Macedonia, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Marshall Islands, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Montserrat, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands Antilles, Netherlands, New Caledonia, New Zealand, Nicaragua, Niger, Nigeria, Niue, Norfolk Island, Northern Mariana Islands, Norway, Oman, Pakistan, Palau, Palestinian Territory, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Pitcairn Islands, Poland, Portugal, Puerto Rico, Qatar, Reunion, Romania, Russian Federation, Rwanda, Saint Barthelemy, Saint Helena, Saint Kitts and Nevis, Saint Lucia, Saint Martin, Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Samoa, San Marino, Sao Tome and Principe, Saudi Arabia, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovakia (Slovak Republic), Slovenia, Solomon Islands, Somalia, South Africa, South Georgia and the South Sandwich Islands, Spain, Sri Lanka, Sudan, Suriname, Svalbard & Jan Mayen Islands, Swaziland, Sweden, Switzerland, Syrian Arab Republic, Taiwan, Tajikistan, Tanzania, Thailand, Timor-Leste, Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turkmenistan, Turks and Caicos Islands, Tuvalu, Uganda, Ukraine, United Arab Emirates, United Kingdom, United States of America, United States Minor Outlying Islands, Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, 'Virgin Islands, British', 'Virgin Islands, U.S.', Wallis and Futuna, Western Sahara, Yemen, Zambia, Zimbabwe] - country_code: ["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW"] - building_number: ['#####', '####', '###'] - street_suffix: [Alley, Avenue, Branch, Bridge, Brook, Brooks, Burg, Burgs, Bypass, Camp, Canyon, Cape, Causeway, Center, Centers, Circle, Circles, Cliff, Cliffs, Club, Common, Corner, Corners, Course, Court, Courts, Cove, Coves, Creek, Crescent, Crest, Crossing, Crossroad, Curve, Dale, Dam, Divide, Drive, Drive, Drives, Estate, Estates, Expressway, Extension, Extensions, Fall, Falls, Ferry, Field, Fields, Flat, Flats, Ford, Fords, Forest, Forge, Forges, Fork, Forks, Fort, Freeway, Garden, Gardens, Gateway, Glen, Glens, Green, Greens, Grove, Groves, Harbor, Harbors, Haven, Heights, Highway, Hill, Hills, Hollow, Inlet, Inlet, Island, Island, Islands, Islands, Isle, Isle, Junction, Junctions, Key, Keys, Knoll, Knolls, Lake, Lakes, Land, Landing, Lane, Light, Lights, Loaf, Lock, Locks, Locks, Lodge, Lodge, Loop, Mall, Manor, Manors, Meadow, Meadows, Mews, Mill, Mills, Mission, Mission, Motorway, Mount, Mountain, Mountain, Mountains, Mountains, Neck, Orchard, Oval, Overpass, Park, Parks, Parkway, Parkways, Pass, Passage, Path, Pike, Pine, Pines, Place, Plain, Plains, Plains, Plaza, Plaza, Point, Points, Port, Port, Ports, Ports, Prairie, Prairie, Radial, Ramp, Ranch, Rapid, Rapids, Rest, Ridge, Ridges, River, Road, Road, Roads, Roads, Route, Row, Rue, Run, Shoal, Shoals, Shore, Shores, Skyway, Spring, Springs, Springs, Spur, Spurs, Square, Square, Squares, Squares, Station, Station, Stravenue, Stravenue, Stream, Stream, Street, Street, Streets, Summit, Summit, Terrace, Throughway, Trace, Track, Trafficway, Trail, Trail, Tunnel, Tunnel, Turnpike, Turnpike, Underpass, Union, Unions, Valley, Valleys, Via, Viaduct, View, Views, Village, Village, Villages, Ville, Vista, Vista, Walk, Walks, Wall, Way, Ways, Well, Wells] - secondary_address: ['Apt. ###', 'Suite ###'] - # Though these are US-specific, they are here (in the default locale) for backwards compatibility - postcode: ['#####', '#####-####'] - postcode_by_state: ['#####', '#####-####'] - state: [Alabama, Alaska, Arizona, Arkansas, California, Colorado, Connecticut, Delaware, Florida, Georgia, Hawaii, Idaho, Illinois, Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Maryland, Massachusetts, Michigan, Minnesota, Mississippi, Missouri, Montana, Nebraska, Nevada, New Hampshire, New Jersey, New Mexico, New York, North Carolina, North Dakota, Ohio, Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West Virginia, Wisconsin, Wyoming] - state_abbr: [AL, AK, AZ, AR, CA, CO, CT, DE, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, RI, SC, SD, TN, TX, UT, VT, VA, WA, WV, WI, WY] - time_zone: [Pacific/Midway, Pacific/Pago_Pago, Pacific/Honolulu, America/Juneau, America/Los_Angeles, America/Tijuana, America/Denver, America/Phoenix, America/Chihuahua, America/Mazatlan, America/Chicago, America/Regina, America/Mexico_City, America/Mexico_City, America/Monterrey, America/Guatemala, America/New_York, America/Indiana/Indianapolis, America/Bogota, America/Lima, America/Lima, America/Halifax, America/Caracas, America/La_Paz, America/Santiago, America/St_Johns, America/Sao_Paulo, America/Argentina/Buenos_Aires, America/Guyana, America/Godthab, Atlantic/South_Georgia, Atlantic/Azores, Atlantic/Cape_Verde, Europe/Dublin, Europe/London, Europe/Lisbon, Europe/London, Africa/Casablanca, Africa/Monrovia, Etc/UTC, Europe/Belgrade, Europe/Bratislava, Europe/Budapest, Europe/Ljubljana, Europe/Prague, Europe/Sarajevo, Europe/Skopje, Europe/Warsaw, Europe/Zagreb, Europe/Brussels, Europe/Copenhagen, Europe/Madrid, Europe/Paris, Europe/Amsterdam, Europe/Berlin, Europe/Berlin, Europe/Rome, Europe/Stockholm, Europe/Vienna, Africa/Algiers, Europe/Bucharest, Africa/Cairo, Europe/Helsinki, Europe/Kiev, Europe/Riga, Europe/Sofia, Europe/Tallinn, Europe/Vilnius, Europe/Athens, Europe/Istanbul, Europe/Minsk, Asia/Jerusalem, Africa/Harare, Africa/Johannesburg, Europe/Moscow, Europe/Moscow, Europe/Moscow, Asia/Kuwait, Asia/Riyadh, Africa/Nairobi, Asia/Baghdad, Asia/Tehran, Asia/Muscat, Asia/Muscat, Asia/Baku, Asia/Tbilisi, Asia/Yerevan, Asia/Kabul, Asia/Yekaterinburg, Asia/Karachi, Asia/Karachi, Asia/Tashkent, Asia/Kolkata, Asia/Kolkata, Asia/Kolkata, Asia/Kolkata, Asia/Kathmandu, Asia/Dhaka, Asia/Dhaka, Asia/Colombo, Asia/Almaty, Asia/Novosibirsk, Asia/Rangoon, Asia/Bangkok, Asia/Bangkok, Asia/Jakarta, Asia/Krasnoyarsk, Asia/Shanghai, Asia/Chongqing, Asia/Hong_Kong, Asia/Urumqi, Asia/Kuala_Lumpur, Asia/Singapore, Asia/Taipei, Australia/Perth, Asia/Irkutsk, Asia/Ulaanbaatar, Asia/Seoul, Asia/Tokyo, Asia/Tokyo, Asia/Tokyo, Asia/Yakutsk, Australia/Darwin, Australia/Adelaide, Australia/Melbourne, Australia/Melbourne, Australia/Sydney, Australia/Brisbane, Australia/Hobart, Asia/Vladivostok, Pacific/Guam, Pacific/Port_Moresby, Asia/Magadan, Asia/Magadan, Pacific/Noumea, Pacific/Fiji, Asia/Kamchatka, Pacific/Majuro, Pacific/Auckland, Pacific/Auckland, Pacific/Tongatapu, Pacific/Fakaofo, Pacific/Apia] - city: - - "#{city_prefix} #{Name.first_name}#{city_suffix}" - - "#{city_prefix} #{Name.first_name}" - - "#{Name.first_name}#{city_suffix}" - - "#{Name.last_name}#{city_suffix}" - street_name: - - "#{Name.first_name} #{street_suffix}" - - "#{Name.last_name} #{street_suffix}" - street_address: - - "#{building_number} #{street_name}" - default_country: [United States of America] - - credit_card: - visa: - - /4###########L/ - - /4###-####-####-###L/ - mastercard: - - /5[1-5]##-####-####-###L/ - - /6771-89##-####-###L/ - discover: - - /6011-####-####-###L/ - - /65##-####-####-###L/ - - /64[4-9]#-####-####-###L/ - - /6011-62##-####-####-###L/ - - /65##-62##-####-####-###L/ - - /64[4-9]#-62##-####-####-###L/ - american_express: - - /34##-######-####L/ - - /37##-######-####L/ - diners_club: - - /30[0-5]#-######-###L/ - - /368#-######-###L/ - jcb: - - /3528-####-####-###L/ - - /3529-####-####-###L/ - - /35[3-8]#-####-####-###L/ - switch: - - /6759-####-####-###L/ - - /6759-####-####-####-#L/ - - /6759-####-####-####-##L/ - solo: - - /6767-####-####-###L/ - - /6767-####-####-####-#L/ - - /6767-####-####-####-##L/ - dankort: /5019-####-####-###L/ - maestro: - - /50#{9,16}L/ - - /5[6-8]#{9,16}L/ - - /56##{9,16}L/ - forbrugsforeningen: /6007-22##-####-###L/ - laser: - - /6304###########L/ - - /6706###########L/ - - /6771###########L/ - - /6709###########L/ - - /6304#########{5,6}L/ - - /6706#########{5,6}L/ - - /6771#########{5,6}L/ - - /6709#########{5,6}L/ - - company: - suffix: [Inc, and Sons, LLC, Group] - # Buzzword wordlist from http://www.1728.com/buzzword.htm - buzzwords: - - ["Adaptive", "Advanced", "Ameliorated", "Assimilated", "Automated", "Balanced", "Business-focused", "Centralized", "Cloned", "Compatible", "Configurable", "Cross-group", "Cross-platform", "Customer-focused", "Customizable", "Decentralized", "De-engineered", "Devolved", "Digitized", "Distributed", "Diverse", "Down-sized", "Enhanced", "Enterprise-wide", "Ergonomic", "Exclusive", "Expanded", "Extended", "Face to face", "Focused", "Front-line", "Fully-configurable", "Function-based", "Fundamental", "Future-proofed", "Grass-roots", "Horizontal", "Implemented", "Innovative", "Integrated", "Intuitive", "Inverse", "Managed", "Mandatory", "Monitored", "Multi-channelled", "Multi-lateral", "Multi-layered", "Multi-tiered", "Networked", "Object-based", "Open-architected", "Open-source", "Operative", "Optimized", "Optional", "Organic", "Organized", "Persevering", "Persistent", "Phased", "Polarised", "Pre-emptive", "Proactive", "Profit-focused", "Profound", "Programmable", "Progressive", "Public-key", "Quality-focused", "Reactive", "Realigned", "Re-contextualized", "Re-engineered", "Reduced", "Reverse-engineered", "Right-sized", "Robust", "Seamless", "Secured", "Self-enabling", "Sharable", "Stand-alone", "Streamlined", "Switchable", "Synchronised", "Synergistic", "Synergized", "Team-oriented", "Total", "Triple-buffered", "Universal", "Up-sized", "Upgradable", "User-centric", "User-friendly", "Versatile", "Virtual", "Visionary", "Vision-oriented"] - - ["24 hour", "24/7", "3rd generation", "4th generation", "5th generation", "6th generation", "actuating", "analyzing", "asymmetric", "asynchronous", "attitude-oriented", "background", "bandwidth-monitored", "bi-directional", "bifurcated", "bottom-line", "clear-thinking", "client-driven", "client-server", "coherent", "cohesive", "composite", "context-sensitive", "contextually-based", "content-based", "dedicated", "demand-driven", "didactic", "directional", "discrete", "disintermediate", "dynamic", "eco-centric", "empowering", "encompassing", "even-keeled", "executive", "explicit", "exuding", "fault-tolerant", "foreground", "fresh-thinking", "full-range", "global", "grid-enabled", "heuristic", "high-level", "holistic", "homogeneous", "human-resource", "hybrid", "impactful", "incremental", "intangible", "interactive", "intermediate", "leading edge", "local", "logistical", "maximized", "methodical", "mission-critical", "mobile", "modular", "motivating", "multimedia", "multi-state", "multi-tasking", "national", "needs-based", "neutral", "next generation", "non-volatile", "object-oriented", "optimal", "optimizing", "radical", "real-time", "reciprocal", "regional", "responsive", "scalable", "secondary", "solution-oriented", "stable", "static", "systematic", "systemic", "system-worthy", "tangible", "tertiary", "transitional", "uniform", "upward-trending", "user-facing", "value-added", "web-enabled", "well-modulated", "zero administration", "zero defect", "zero tolerance"] - - ["ability", "access", "adapter", "algorithm", "alliance", "analyzer", "application", "approach", "architecture", "archive", "artificial intelligence", "array", "attitude", "benchmark", "budgetary management", "capability", "capacity", "challenge", "circuit", "collaboration", "complexity", "concept", "conglomeration", "contingency", "core", "customer loyalty", "database", "data-warehouse", "definition", "emulation", "encoding", "encryption", "extranet", "firmware", "flexibility", "focus group", "forecast", "frame", "framework", "function", "functionalities", "Graphic Interface", "groupware", "Graphical User Interface", "hardware", "help-desk", "hierarchy", "hub", "implementation", "info-mediaries", "infrastructure", "initiative", "installation", "instruction set", "interface", "internet solution", "intranet", "knowledge user", "knowledge base", "local area network", "leverage", "matrices", "matrix", "methodology", "middleware", "migration", "model", "moderator", "monitoring", "moratorium", "neural-net", "open architecture", "open system", "orchestration", "paradigm", "parallelism", "policy", "portal", "pricing structure", "process improvement", "product", "productivity", "project", "projection", "protocol", "secured line", "service-desk", "software", "solution", "standardization", "strategy", "structure", "success", "superstructure", "support", "synergy", "system engine", "task-force", "throughput", "time-frame", "toolset", "utilisation", "website", "workforce"] - # BS wordlist from http://dack.com/web/bullshit.html - bs: - - ["implement", "utilize", "integrate", "streamline", "optimize", "evolve", "transform", "embrace", "enable", "orchestrate", "leverage", "reinvent", "aggregate", "architect", "enhance", "incentivize", "morph", "empower", "envisioneer", "monetize", "harness", "facilitate", "seize", "disintermediate", "synergize", "strategize", "deploy", "brand", "grow", "target", "syndicate", "synthesize", "deliver", "mesh", "incubate", "engage", "maximize", "benchmark", "expedite", "reintermediate", "whiteboard", "visualize", "repurpose", "innovate", "scale", "unleash", "drive", "extend", "engineer", "revolutionize", "generate", "exploit", "transition", "e-enable", "iterate", "cultivate", "matrix", "productize", "redefine", "recontextualize"] - - ["clicks-and-mortar", "value-added", "vertical", "proactive", "robust", "revolutionary", "scalable", "leading-edge", "innovative", "intuitive", "strategic", "e-business", "mission-critical", "sticky", "one-to-one", "24/7", "end-to-end", "global", "B2B", "B2C", "granular", "frictionless", "virtual", "viral", "dynamic", "24/365", "best-of-breed", "killer", "magnetic", "bleeding-edge", "web-enabled", "interactive", "dot-com", "sexy", "back-end", "real-time", "efficient", "front-end", "distributed", "seamless", "extensible", "turn-key", "world-class", "open-source", "cross-platform", "cross-media", "synergistic", "bricks-and-clicks", "out-of-the-box", "enterprise", "integrated", "impactful", "wireless", "transparent", "next-generation", "cutting-edge", "user-centric", "visionary", "customized", "ubiquitous", "plug-and-play", "collaborative", "compelling", "holistic", "rich"] - - ["synergies", "web-readiness", "paradigms", "markets", "partnerships", "infrastructures", "platforms", "initiatives", "channels", "eyeballs", "communities", "ROI", "solutions", "e-tailers", "e-services", "action-items", "portals", "niches", "technologies", "content", "vortals", "supply-chains", "convergence", "relationships", "architectures", "interfaces", "e-markets", "e-commerce", "systems", "bandwidth", "infomediaries", "models", "mindshare", "deliverables", "users", "schemas", "networks", "applications", "metrics", "e-business", "functionalities", "experiences", "web services", "methodologies"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} and #{Name.last_name}" - - university: - prefix: [The, Northern, North, Western, West, Southern, South, Eastern, East] - suffix: [University, Institute, College, Academy] - name: - - "#{Name.last_name} #{University.suffix}" - - "#{University.prefix} #{Name.last_name} #{University.suffix}" - - "#{University.prefix} #{Name.last_name}" - - "#{University.prefix} #{Address.state} #{University.suffix}" - - internet: - free_email: [gmail.com, yahoo.com, hotmail.com] - domain_suffix: [com, biz, info, name, net, org, io, co] - - lorem: - words: [alias, consequatur, aut, perferendis, sit, voluptatem, accusantium, doloremque, aperiam, eaque, ipsa, quae, ab, illo, inventore, veritatis, et, quasi, architecto, beatae, vitae, dicta, sunt, explicabo, aspernatur, aut, odit, aut, fugit, sed, quia, consequuntur, magni, dolores, eos, qui, ratione, voluptatem, sequi, nesciunt, neque, dolorem, ipsum, quia, dolor, sit, amet, consectetur, adipisci, velit, sed, quia, non, numquam, eius, modi, tempora, incidunt, ut, labore, et, dolore, magnam, aliquam, quaerat, voluptatem, ut, enim, ad, minima, veniam, quis, nostrum, exercitationem, ullam, corporis, nemo, enim, ipsam, voluptatem, quia, voluptas, sit, suscipit, laboriosam, nisi, ut, aliquid, ex, ea, commodi, consequatur, quis, autem, vel, eum, iure, reprehenderit, qui, in, ea, voluptate, velit, esse, quam, nihil, molestiae, et, iusto, odio, dignissimos, ducimus, qui, blanditiis, praesentium, laudantium, totam, rem, voluptatum, deleniti, atque, corrupti, quos, dolores, et, quas, molestias, excepturi, sint, occaecati, cupiditate, non, provident, sed, ut, perspiciatis, unde, omnis, iste, natus, error, similique, sunt, in, culpa, qui, officia, deserunt, mollitia, animi, id, est, laborum, et, dolorum, fuga, et, harum, quidem, rerum, facilis, est, et, expedita, distinctio, nam, libero, tempore, cum, soluta, nobis, est, eligendi, optio, cumque, nihil, impedit, quo, porro, quisquam, est, qui, minus, id, quod, maxime, placeat, facere, possimus, omnis, voluptas, assumenda, est, omnis, dolor, repellendus, temporibus, autem, quibusdam, et, aut, consequatur, vel, illum, qui, dolorem, eum, fugiat, quo, voluptas, nulla, pariatur, at, vero, eos, et, accusamus, officiis, debitis, aut, rerum, necessitatibus, saepe, eveniet, ut, et, voluptates, repudiandae, sint, et, molestiae, non, recusandae, itaque, earum, rerum, hic, tenetur, a, sapiente, delectus, ut, aut, reiciendis, voluptatibus, maiores, doloribus, asperiores, repellat] - supplemental: [abbas, abduco, abeo, abscido, absconditus, absens, absorbeo, absque, abstergo, absum, abundans, abutor, accedo, accendo, acceptus, accipio, accommodo, accusator, acer, acerbitas, acervus, acidus, acies, acquiro, acsi, adamo, adaugeo, addo, adduco, ademptio, adeo, adeptio, adfectus, adfero, adficio, adflicto, adhaero, adhuc, adicio, adimpleo, adinventitias, adipiscor, adiuvo, administratio, admiratio, admitto, admoneo, admoveo, adnuo, adopto, adsidue, adstringo, adsuesco, adsum, adulatio, adulescens, adultus, aduro, advenio, adversus, advoco, aedificium, aeger, aegre, aegrotatio, aegrus, aeneus, aequitas, aequus, aer, aestas, aestivus, aestus, aetas, aeternus, ager, aggero, aggredior, agnitio, agnosco, ago, ait, aiunt, alienus, alii, alioqui, aliqua, alius, allatus, alo, alter, altus, alveus, amaritudo, ambitus, ambulo, amicitia, amiculum, amissio, amita, amitto, amo, amor, amoveo, amplexus, amplitudo, amplus, ancilla, angelus, angulus, angustus, animadverto, animi, animus, annus, anser, ante, antea, antepono, antiquus, aperio, aperte, apostolus, apparatus, appello, appono, appositus, approbo, apto, aptus, apud, aqua, ara, aranea, arbitro, arbor, arbustum, arca, arceo, arcesso, arcus, argentum, argumentum, arguo, arma, armarium, armo, aro, ars, articulus, artificiose, arto, arx, ascisco, ascit, asper, aspicio, asporto, assentator, astrum, atavus, ater, atqui, atrocitas, atrox, attero, attollo, attonbitus, auctor, auctus, audacia, audax, audentia, audeo, audio, auditor, aufero, aureus, auris, aurum, aut, autem, autus, auxilium, avaritia, avarus, aveho, averto, avoco, baiulus, balbus, barba, bardus, basium, beatus, bellicus, bellum, bene, beneficium, benevolentia, benigne, bestia, bibo, bis, blandior, bonus, bos, brevis, cado, caecus, caelestis, caelum, calamitas, calcar, calco, calculus, callide, campana, candidus, canis, canonicus, canto, capillus, capio, capitulus, capto, caput, carbo, carcer, careo, caries, cariosus, caritas, carmen, carpo, carus, casso, caste, casus, catena, caterva, cattus, cauda, causa, caute, caveo, cavus, cedo, celebrer, celer, celo, cena, cenaculum, ceno, censura, centum, cerno, cernuus, certe, certo, certus, cervus, cetera, charisma, chirographum, cibo, cibus, cicuta, cilicium, cimentarius, ciminatio, cinis, circumvenio, cito, civis, civitas, clam, clamo, claro, clarus, claudeo, claustrum, clementia, clibanus, coadunatio, coaegresco, coepi, coerceo, cogito, cognatus, cognomen, cogo, cohaero, cohibeo, cohors, colligo, colloco, collum, colo, color, coma, combibo, comburo, comedo, comes, cometes, comis, comitatus, commemoro, comminor, commodo, communis, comparo, compello, complectus, compono, comprehendo, comptus, conatus, concedo, concido, conculco, condico, conduco, confero, confido, conforto, confugo, congregatio, conicio, coniecto, conitor, coniuratio, conor, conqueror, conscendo, conservo, considero, conspergo, constans, consuasor, contabesco, contego, contigo, contra, conturbo, conventus, convoco, copia, copiose, cornu, corona, corpus, correptius, corrigo, corroboro, corrumpo, coruscus, cotidie, crapula, cras, crastinus, creator, creber, crebro, credo, creo, creptio, crepusculum, cresco, creta, cribro, crinis, cruciamentum, crudelis, cruentus, crur, crustulum, crux, cubicularis, cubitum, cubo, cui, cuius, culpa, culpo, cultellus, cultura, cum, cunabula, cunae, cunctatio, cupiditas, cupio, cuppedia, cupressus, cur, cura, curatio, curia, curiositas, curis, curo, curriculum, currus, cursim, curso, cursus, curto, curtus, curvo, curvus, custodia, damnatio, damno, dapifer, debeo, debilito, decens, decerno, decet, decimus, decipio, decor, decretum, decumbo, dedecor, dedico, deduco, defaeco, defendo, defero, defessus, defetiscor, deficio, defigo, defleo, defluo, defungo, degenero, degero, degusto, deinde, delectatio, delego, deleo, delibero, delicate, delinquo, deludo, demens, demergo, demitto, demo, demonstro, demoror, demulceo, demum, denego, denique, dens, denuncio, denuo, deorsum, depereo, depono, depopulo, deporto, depraedor, deprecator, deprimo, depromo, depulso, deputo, derelinquo, derideo, deripio, desidero, desino, desipio, desolo, desparatus, despecto, despirmatio, infit, inflammatio, paens, patior, patria, patrocinor, patruus, pauci, paulatim, pauper, pax, peccatus, pecco, pecto, pectus, pecunia, pecus, peior, pel, ocer, socius, sodalitas, sol, soleo, solio, solitudo, solium, sollers, sollicito, solum, solus, solutio, solvo, somniculosus, somnus, sonitus, sono, sophismata, sopor, sordeo, sortitus, spargo, speciosus, spectaculum, speculum, sperno, spero, spes, spiculum, spiritus, spoliatio, sponte, stabilis, statim, statua, stella, stillicidium, stipes, stips, sto, strenuus, strues, studio, stultus, suadeo, suasoria, sub, subito, subiungo, sublime, subnecto, subseco, substantia, subvenio, succedo, succurro, sufficio, suffoco, suffragium, suggero, sui, sulum, sum, summa, summisse, summopere, sumo, sumptus, supellex, super, suppellex, supplanto, suppono, supra, surculus, surgo, sursum, suscipio, suspendo, sustineo, suus, synagoga, tabella, tabernus, tabesco, tabgo, tabula, taceo, tactus, taedium, talio, talis, talus, tam, tamdiu, tamen, tametsi, tamisium, tamquam, tandem, tantillus, tantum, tardus, tego, temeritas, temperantia, templum, temptatio, tempus, tenax, tendo, teneo, tener, tenuis, tenus, tepesco, tepidus, ter, terebro, teres, terga, tergeo, tergiversatio, tergo, tergum, termes, terminatio, tero, terra, terreo, territo, terror, tersus, tertius, testimonium, texo, textilis, textor, textus, thalassinus, theatrum, theca, thema, theologus, thermae, thesaurus, thesis, thorax, thymbra, thymum, tibi, timidus, timor, titulus, tolero, tollo, tondeo, tonsor, torqueo, torrens, tot, totidem, toties, totus, tracto, trado, traho, trans, tredecim, tremo, trepide, tres, tribuo, tricesimus, triduana, triginta, tripudio, tristis, triumphus, trucido, truculenter, tubineus, tui, tum, tumultus, tunc, turba, turbo, turpe, turpis, tutamen, tutis, tyrannus, uberrime, ubi, ulciscor, ullus, ulterius, ultio, ultra, umbra, umerus, umquam, una, unde, undique, universe, unus, urbanus, urbs, uredo, usitas, usque, ustilo, ustulo, usus, uter, uterque, utilis, utique, utor, utpote, utrimque, utroque, utrum, uxor, vaco, vacuus, vado, vae, valde, valens, valeo, valetudo, validus, vallum, vapulus, varietas, varius, vehemens, vel, velociter, velum, velut, venia, venio, ventito, ventosus, ventus, venustas, ver, verbera, verbum, vere, verecundia, vereor, vergo, veritas, vero, versus, verto, verumtamen, verus, vesco, vesica, vesper, vespillo, vester, vestigium, vestrum, vetus, via, vicinus, vicissitudo, victoria, victus, videlicet, video, viduata, viduo, vigilo, vigor, vilicus, vilis, vilitas, villa, vinco, vinculum, vindico, vinitor, vinum, vir, virga, virgo, viridis, viriliter, virtus, vis, viscus, vita, vitiosus, vitium, vito, vivo, vix, vobis, vociferor, voco, volaticus, volo, volubilis, voluntarius, volup, volutabrum, volva, vomer, vomica, vomito, vorago, vorax, voro, vos, votum, voveo, vox, vulariter, vulgaris, vulgivagus, vulgo, vulgus, vulnero, vulnus, vulpes, vulticulus, vultuosus, xiphias] - - name: - first_name: [Aaliyah, Aaron, Abagail, Abbey, Abbie, Abbigail, Abby, Abdiel, Abdul, Abdullah, Abe, Abel, Abelardo, Abigail, Abigale, Abigayle, Abner, Abraham, Ada, Adah, Adalberto, Adaline, Adam, Adan, Addie, Addison, Adela, Adelbert, Adele, Adelia, Adeline, Adell, Adella, Adelle, Aditya, Adolf, Adolfo, Adolph, Adolphus, Adonis, Adrain, Adrian, Adriana, Adrianna, Adriel, Adrien, Adrienne, Afton, Aglae, Agnes, Agustin, Agustina, Ahmad, Ahmed, Aida, Aidan, Aiden, Aileen, Aimee, Aisha, Aiyana, Akeem, Al, Alaina, Alan, Alana, Alanis, Alanna, Alayna, Alba, Albert, Alberta, Albertha, Alberto, Albin, Albina, Alda, Alden, Alec, Aleen, Alejandra, Alejandrin, Alek, Alena, Alene, Alessandra, Alessandro, Alessia, Aletha, Alex, Alexa, Alexander, Alexandra, Alexandre, Alexandrea, Alexandria, Alexandrine, Alexandro, Alexane, Alexanne, Alexie, Alexis, Alexys, Alexzander, Alf, Alfonso, Alfonzo, Alford, Alfred, Alfreda, Alfredo, Ali, Alia, Alice, Alicia, Alisa, Alisha, Alison, Alivia, Aliya, Aliyah, Aliza, Alize, Allan, Allen, Allene, Allie, Allison, Ally, Alphonso, Alta, Althea, Alva, Alvah, Alvena, Alvera, Alverta, Alvina, Alvis, Alyce, Alycia, Alysa, Alysha, Alyson, Alysson, Amalia, Amanda, Amani, Amara, Amari, Amaya, Amber, Ambrose, Amelia, Amelie, Amely, America, Americo, Amie, Amina, Amir, Amira, Amiya, Amos, Amparo, Amy, Amya, Ana, Anabel, Anabelle, Anahi, Anais, Anastacio, Anastasia, Anderson, Andre, Andreane, Andreanne, Andres, Andrew, Andy, Angel, Angela, Angelica, Angelina, Angeline, Angelita, Angelo, Angie, Angus, Anibal, Anika, Anissa, Anita, Aniya, Aniyah, Anjali, Anna, Annabel, Annabell, Annabelle, Annalise, Annamae, Annamarie, Anne, Annetta, Annette, Annie, Ansel, Ansley, Anthony, Antoinette, Antone, Antonetta, Antonette, Antonia, Antonietta, Antonina, Antonio, Antwan, Antwon, Anya, April, Ara, Araceli, Aracely, Arch, Archibald, Ardella, Arden, Ardith, Arely, Ari, Ariane, Arianna, Aric, Ariel, Arielle, Arjun, Arlene, Arlie, Arlo, Armand, Armando, Armani, Arnaldo, Arne, Arno, Arnold, Arnoldo, Arnulfo, Aron, Art, Arthur, Arturo, Arvel, Arvid, Arvilla, Aryanna, Asa, Asha, Ashlee, Ashleigh, Ashley, Ashly, Ashlynn, Ashton, Ashtyn, Asia, Assunta, Astrid, Athena, Aubree, Aubrey, Audie, Audra, Audreanne, Audrey, August, Augusta, Augustine, Augustus, Aurelia, Aurelie, Aurelio, Aurore, Austen, Austin, Austyn, Autumn, Ava, Avery, Avis, Axel, Ayana, Ayden, Ayla, Aylin, Baby, Bailee, Bailey, Barbara, Barney, Baron, Barrett, Barry, Bart, Bartholome, Barton, Baylee, Beatrice, Beau, Beaulah, Bell, Bella, Belle, Ben, Benedict, Benjamin, Bennett, Bennie, Benny, Benton, Berenice, Bernadette, Bernadine, Bernard, Bernardo, Berneice, Bernhard, Bernice, Bernie, Berniece, Bernita, Berry, Bert, Berta, Bertha, Bertram, Bertrand, Beryl, Bessie, Beth, Bethany, Bethel, Betsy, Bette, Bettie, Betty, Bettye, Beulah, Beverly, Bianka, Bill, Billie, Billy, Birdie, Blair, Blaise, Blake, Blanca, Blanche, Blaze, Bo, Bobbie, Bobby, Bonita, Bonnie, Boris, Boyd, Brad, Braden, Bradford, Bradley, Bradly, Brady, Braeden, Brain, Brandi, Brando, Brandon, Brandt, Brandy, Brandyn, Brannon, Branson, Brant, Braulio, Braxton, Brayan, Breana, Breanna, Breanne, Brenda, Brendan, Brenden, Brendon, Brenna, Brennan, Brennon, Brent, Bret, Brett, Bria, Brian, Briana, Brianne, Brice, Bridget, Bridgette, Bridie, Brielle, Brigitte, Brionna, Brisa, Britney, Brittany, Brock, Broderick, Brody, Brook, Brooke, Brooklyn, Brooks, Brown, Bruce, Bryana, Bryce, Brycen, Bryon, Buck, Bud, Buddy, Buford, Bulah, Burdette, Burley, Burnice, Buster, Cade, Caden, Caesar, Caitlyn, Cale, Caleb, Caleigh, Cali, Calista, Callie, Camden, Cameron, Camila, Camilla, Camille, Camren, Camron, Camryn, Camylle, Candace, Candelario, Candice, Candida, Candido, Cara, Carey, Carissa, Carlee, Carleton, Carley, Carli, Carlie, Carlo, Carlos, Carlotta, Carmel, Carmela, Carmella, Carmelo, Carmen, Carmine, Carol, Carolanne, Carole, Carolina, Caroline, Carolyn, Carolyne, Carrie, Carroll, Carson, Carter, Cary, Casandra, Casey, Casimer, Casimir, Casper, Cassandra, Cassandre, Cassidy, Cassie, Catalina, Caterina, Catharine, Catherine, Cathrine, Cathryn, Cathy, Cayla, Ceasar, Cecelia, Cecil, Cecile, Cecilia, Cedrick, Celestine, Celestino, Celia, Celine, Cesar, Chad, Chadd, Chadrick, Chaim, Chance, Chandler, Chanel, Chanelle, Charity, Charlene, Charles, Charley, Charlie, Charlotte, Chase, Chasity, Chauncey, Chaya, Chaz, Chelsea, Chelsey, Chelsie, Chesley, Chester, Chet, Cheyanne, Cheyenne, Chloe, Chris, Christ, Christa, Christelle, Christian, Christiana, Christina, Christine, Christop, Christophe, Christopher, Christy, Chyna, Ciara, Cicero, Cielo, Cierra, Cindy, Citlalli, Clair, Claire, Clara, Clarabelle, Clare, Clarissa, Clark, Claud, Claude, Claudia, Claudie, Claudine, Clay, Clemens, Clement, Clementina, Clementine, Clemmie, Cleo, Cleora, Cleta, Cletus, Cleve, Cleveland, Clifford, Clifton, Clint, Clinton, Clotilde, Clovis, Cloyd, Clyde, Coby, Cody, Colby, Cole, Coleman, Colin, Colleen, Collin, Colt, Colten, Colton, Columbus, Concepcion, Conner, Connie, Connor, Conor, Conrad, Constance, Constantin, Consuelo, Cooper, Cora, Coralie, Corbin, Cordelia, Cordell, Cordia, Cordie, Corene, Corine, Cornelius, Cornell, Corrine, Cortez, Cortney, Cory, Coty, Courtney, Coy, Craig, Crawford, Creola, Cristal, Cristian, Cristina, Cristobal, Cristopher, Cruz, Crystal, Crystel, Cullen, Curt, Curtis, Cydney, Cynthia, Cyril, Cyrus, Dagmar, Dahlia, Daija, Daisha, Daisy, Dakota, Dale, Dallas, Dallin, Dalton, Damaris, Dameon, Damian, Damien, Damion, Damon, Dan, Dana, Dandre, Dane, D'angelo, Dangelo, Danial, Daniela, Daniella, Danielle, Danika, Dannie, Danny, Dante, Danyka, Daphne, Daphnee, Daphney, Darby, Daren, Darian, Dariana, Darien, Dario, Darion, Darius, Darlene, Daron, Darrel, Darrell, Darren, Darrick, Darrin, Darrion, Darron, Darryl, Darwin, Daryl, Dashawn, Dasia, Dave, David, Davin, Davion, Davon, Davonte, Dawn, Dawson, Dax, Dayana, Dayna, Dayne, Dayton, Dean, Deangelo, Deanna, Deborah, Declan, Dedric, Dedrick, Dee, Deion, Deja, Dejah, Dejon, Dejuan, Delaney, Delbert, Delfina, Delia, Delilah, Dell, Della, Delmer, Delores, Delpha, Delphia, Delphine, Delta, Demarco, Demarcus, Demario, Demetris, Demetrius, Demond, Dena, Denis, Dennis, Deon, Deondre, Deontae, Deonte, Dereck, Derek, Derick, Deron, Derrick, Deshaun, Deshawn, Desiree, Desmond, Dessie, Destany, Destin, Destinee, Destiney, Destini, Destiny, Devan, Devante, Deven, Devin, Devon, Devonte, Devyn, Dewayne, Dewitt, Dexter, Diamond, Diana, Dianna, Diego, Dillan, Dillon, Dimitri, Dina, Dino, Dion, Dixie, Dock, Dolly, Dolores, Domenic, Domenica, Domenick, Domenico, Domingo, Dominic, Dominique, Don, Donald, Donato, Donavon, Donna, Donnell, Donnie, Donny, Dora, Dorcas, Dorian, Doris, Dorothea, Dorothy, Dorris, Dortha, Dorthy, Doug, Douglas, Dovie, Doyle, Drake, Drew, Duane, Dudley, Dulce, Duncan, Durward, Dustin, Dusty, Dwight, Dylan, Earl, Earlene, Earline, Earnest, Earnestine, Easter, Easton, Ebba, Ebony, Ed, Eda, Edd, Eddie, Eden, Edgar, Edgardo, Edison, Edmond, Edmund, Edna, Eduardo, Edward, Edwardo, Edwin, Edwina, Edyth, Edythe, Effie, Efrain, Efren, Eileen, Einar, Eino, Eladio, Elaina, Elbert, Elda, Eldon, Eldora, Eldred, Eldridge, Eleanora, Eleanore, Eleazar, Electa, Elena, Elenor, Elenora, Eleonore, Elfrieda, Eli, Elian, Eliane, Elias, Eliezer, Elijah, Elinor, Elinore, Elisa, Elisabeth, Elise, Eliseo, Elisha, Elissa, Eliza, Elizabeth, Ella, Ellen, Ellie, Elliot, Elliott, Ellis, Ellsworth, Elmer, Elmira, Elmo, Elmore, Elna, Elnora, Elody, Eloisa, Eloise, Elouise, Eloy, Elroy, Elsa, Else, Elsie, Elta, Elton, Elva, Elvera, Elvie, Elvis, Elwin, Elwyn, Elyse, Elyssa, Elza, Emanuel, Emelia, Emelie, Emely, Emerald, Emerson, Emery, Emie, Emil, Emile, Emilia, Emiliano, Emilie, Emilio, Emily, Emma, Emmalee, Emmanuel, Emmanuelle, Emmet, Emmett, Emmie, Emmitt, Emmy, Emory, Ena, Enid, Enoch, Enola, Enos, Enrico, Enrique, Ephraim, Era, Eriberto, Eric, Erica, Erich, Erick, Ericka, Erik, Erika, Erin, Erling, Erna, Ernest, Ernestina, Ernestine, Ernesto, Ernie, Ervin, Erwin, Eryn, Esmeralda, Esperanza, Esta, Esteban, Estefania, Estel, Estell, Estella, Estelle, Estevan, Esther, Estrella, Etha, Ethan, Ethel, Ethelyn, Ethyl, Ettie, Eudora, Eugene, Eugenia, Eula, Eulah, Eulalia, Euna, Eunice, Eusebio, Eva, Evalyn, Evan, Evangeline, Evans, Eve, Eveline, Evelyn, Everardo, Everett, Everette, Evert, Evie, Ewald, Ewell, Ezekiel, Ezequiel, Ezra, Fabian, Fabiola, Fae, Fannie, Fanny, Fatima, Faustino, Fausto, Favian, Fay, Faye, Federico, Felicia, Felicita, Felicity, Felipa, Felipe, Felix, Felton, Fermin, Fern, Fernando, Ferne, Fidel, Filiberto, Filomena, Finn, Fiona, Flavie, Flavio, Fleta, Fletcher, Flo, Florence, Florencio, Florian, Florida, Florine, Flossie, Floy, Floyd, Ford, Forest, Forrest, Foster, Frances, Francesca, Francesco, Francis, Francisca, Francisco, Franco, Frank, Frankie, Franz, Fred, Freda, Freddie, Freddy, Frederic, Frederick, Frederik, Frederique, Fredrick, Fredy, Freeda, Freeman, Freida, Frida, Frieda, Friedrich, Fritz, Furman, Gabe, Gabriel, Gabriella, Gabrielle, Gaetano, Gage, Gail, Gardner, Garett, Garfield, Garland, Garnet, Garnett, Garret, Garrett, Garrick, Garrison, Garry, Garth, Gaston, Gavin, Gay, Gayle, Gaylord, Gene, General, Genesis, Genevieve, Gennaro, Genoveva, Geo, Geoffrey, George, Georgette, Georgiana, Georgianna, Geovanni, Geovanny, Geovany, Gerald, Geraldine, Gerard, Gerardo, Gerda, Gerhard, Germaine, German, Gerry, Gerson, Gertrude, Gia, Gianni, Gideon, Gilbert, Gilberto, Gilda, Giles, Gillian, Gina, Gino, Giovani, Giovanna, Giovanni, Giovanny, Gisselle, Giuseppe, Gladyce, Gladys, Glen, Glenda, Glenna, Glennie, Gloria, Godfrey, Golda, Golden, Gonzalo, Gordon, Grace, Gracie, Graciela, Grady, Graham, Grant, Granville, Grayce, Grayson, Green, Greg, Gregg, Gregoria, Gregorio, Gregory, Greta, Gretchen, Greyson, Griffin, Grover, Guadalupe, Gudrun, Guido, Guillermo, Guiseppe, Gunnar, Gunner, Gus, Gussie, Gust, Gustave, Guy, Gwen, Gwendolyn, Hadley, Hailee, Hailey, Hailie, Hal, Haleigh, Haley, Halie, Halle, Hallie, Hank, Hanna, Hannah, Hans, Hardy, Harley, Harmon, Harmony, Harold, Harrison, Harry, Harvey, Haskell, Hassan, Hassie, Hattie, Haven, Hayden, Haylee, Hayley, Haylie, Hazel, Hazle, Heath, Heather, Heaven, Heber, Hector, Heidi, Helen, Helena, Helene, Helga, Hellen, Helmer, Heloise, Henderson, Henri, Henriette, Henry, Herbert, Herman, Hermann, Hermina, Herminia, Herminio, Hershel, Herta, Hertha, Hester, Hettie, Hilario, Hilbert, Hilda, Hildegard, Hillard, Hillary, Hilma, Hilton, Hipolito, Hiram, Hobart, Holden, Hollie, Hollis, Holly, Hope, Horace, Horacio, Hortense, Hosea, Houston, Howard, Howell, Hoyt, Hubert, Hudson, Hugh, Hulda, Humberto, Hunter, Hyman, Ian, Ibrahim, Icie, Ida, Idell, Idella, Ignacio, Ignatius, Ike, Ila, Ilene, Iliana, Ima, Imani, Imelda, Immanuel, Imogene, Ines, Irma, Irving, Irwin, Isaac, Isabel, Isabell, Isabella, Isabelle, Isac, Isadore, Isai, Isaiah, Isaias, Isidro, Ismael, Isobel, Isom, Israel, Issac, Itzel, Iva, Ivah, Ivory, Ivy, Izabella, Izaiah, Jabari, Jace, Jacey, Jacinthe, Jacinto, Jack, Jackeline, Jackie, Jacklyn, Jackson, Jacky, Jaclyn, Jacquelyn, Jacques, Jacynthe, Jada, Jade, Jaden, Jadon, Jadyn, Jaeden, Jaida, Jaiden, Jailyn, Jaime, Jairo, Jakayla, Jake, Jakob, Jaleel, Jalen, Jalon, Jalyn, Jamaal, Jamal, Jamar, Jamarcus, Jamel, Jameson, Jamey, Jamie, Jamil, Jamir, Jamison, Jammie, Jan, Jana, Janae, Jane, Janelle, Janessa, Janet, Janice, Janick, Janie, Janis, Janiya, Jannie, Jany, Jaquan, Jaquelin, Jaqueline, Jared, Jaren, Jarod, Jaron, Jarred, Jarrell, Jarret, Jarrett, Jarrod, Jarvis, Jasen, Jasmin, Jason, Jasper, Jaunita, Javier, Javon, Javonte, Jay, Jayce, Jaycee, Jayda, Jayde, Jayden, Jaydon, Jaylan, Jaylen, Jaylin, Jaylon, Jayme, Jayne, Jayson, Jazlyn, Jazmin, Jazmyn, Jazmyne, Jean, Jeanette, Jeanie, Jeanne, Jed, Jedediah, Jedidiah, Jeff, Jefferey, Jeffery, Jeffrey, Jeffry, Jena, Jenifer, Jennie, Jennifer, Jennings, Jennyfer, Jensen, Jerad, Jerald, Jeramie, Jeramy, Jerel, Jeremie, Jeremy, Jermain, Jermaine, Jermey, Jerod, Jerome, Jeromy, Jerrell, Jerrod, Jerrold, Jerry, Jess, Jesse, Jessica, Jessie, Jessika, Jessy, Jessyca, Jesus, Jett, Jettie, Jevon, Jewel, Jewell, Jillian, Jimmie, Jimmy, Jo, Joan, Joana, Joanie, Joanne, Joannie, Joanny, Joany, Joaquin, Jocelyn, Jodie, Jody, Joe, Joel, Joelle, Joesph, Joey, Johan, Johann, Johanna, Johathan, John, Johnathan, Johnathon, Johnnie, Johnny, Johnpaul, Johnson, Jolie, Jon, Jonas, Jonatan, Jonathan, Jonathon, Jordan, Jordane, Jordi, Jordon, Jordy, Jordyn, Jorge, Jose, Josefa, Josefina, Joseph, Josephine, Josh, Joshua, Joshuah, Josiah, Josiane, Josianne, Josie, Josue, Jovan, Jovani, Jovanny, Jovany, Joy, Joyce, Juana, Juanita, Judah, Judd, Jude, Judge, Judson, Judy, Jules, Julia, Julian, Juliana, Julianne, Julie, Julien, Juliet, Julio, Julius, June, Junior, Junius, Justen, Justice, Justina, Justine, Juston, Justus, Justyn, Juvenal, Juwan, Kacey, Kaci, Kacie, Kade, Kaden, Kadin, Kaela, Kaelyn, Kaia, Kailee, Kailey, Kailyn, Kaitlin, Kaitlyn, Kale, Kaleb, Kaleigh, Kaley, Kali, Kallie, Kameron, Kamille, Kamren, Kamron, Kamryn, Kane, Kara, Kareem, Karelle, Karen, Kari, Kariane, Karianne, Karina, Karine, Karl, Karlee, Karley, Karli, Karlie, Karolann, Karson, Kasandra, Kasey, Kassandra, Katarina, Katelin, Katelyn, Katelynn, Katharina, Katherine, Katheryn, Kathleen, Kathlyn, Kathryn, Kathryne, Katlyn, Katlynn, Katrina, Katrine, Kattie, Kavon, Kay, Kaya, Kaycee, Kayden, Kayla, Kaylah, Kaylee, Kayleigh, Kayley, Kayli, Kaylie, Kaylin, Keagan, Keanu, Keara, Keaton, Keegan, Keeley, Keely, Keenan, Keira, Keith, Kellen, Kelley, Kelli, Kellie, Kelly, Kelsi, Kelsie, Kelton, Kelvin, Ken, Kendall, Kendra, Kendrick, Kenna, Kennedi, Kennedy, Kenneth, Kennith, Kenny, Kenton, Kenya, Kenyatta, Kenyon, Keon, Keshaun, Keshawn, Keven, Kevin, Kevon, Keyon, Keyshawn, Khalid, Khalil, Kian, Kiana, Kianna, Kiara, Kiarra, Kiel, Kiera, Kieran, Kiley, Kim, Kimberly, King, Kip, Kira, Kirk, Kirsten, Kirstin, Kitty, Kobe, Koby, Kody, Kolby, Kole, Korbin, Korey, Kory, Kraig, Kris, Krista, Kristian, Kristin, Kristina, Kristofer, Kristoffer, Kristopher, Kristy, Krystal, Krystel, Krystina, Kurt, Kurtis, Kyla, Kyle, Kylee, Kyleigh, Kyler, Kylie, Kyra, Lacey, Lacy, Ladarius, Lafayette, Laila, Laisha, Lamar, Lambert, Lamont, Lance, Landen, Lane, Laney, Larissa, Laron, Larry, Larue, Laura, Laurel, Lauren, Laurence, Lauretta, Lauriane, Laurianne, Laurie, Laurine, Laury, Lauryn, Lavada, Lavern, Laverna, Laverne, Lavina, Lavinia, Lavon, Lavonne, Lawrence, Lawson, Layla, Layne, Lazaro, Lea, Leann, Leanna, Leanne, Leatha, Leda, Lee, Leif, Leila, Leilani, Lela, Lelah, Leland, Lelia, Lempi, Lemuel, Lenna, Lennie, Lenny, Lenora, Lenore, Leo, Leola, Leon, Leonard, Leonardo, Leone, Leonel, Leonie, Leonor, Leonora, Leopold, Leopoldo, Leora, Lera, Lesley, Leslie, Lesly, Lessie, Lester, Leta, Letha, Letitia, Levi, Lew, Lewis, Lexi, Lexie, Lexus, Lia, Liam, Liana, Libbie, Libby, Lila, Lilian, Liliana, Liliane, Lilla, Lillian, Lilliana, Lillie, Lilly, Lily, Lilyan, Lina, Lincoln, Linda, Lindsay, Lindsey, Linnea, Linnie, Linwood, Lionel, Lisa, Lisandro, Lisette, Litzy, Liza, Lizeth, Lizzie, Llewellyn, Lloyd, Logan, Lois, Lola, Lolita, Loma, Lon, London, Lonie, Lonnie, Lonny, Lonzo, Lora, Loraine, Loren, Lorena, Lorenz, Lorenza, Lorenzo, Lori, Lorine, Lorna, Lottie, Lou, Louie, Louisa, Lourdes, Louvenia, Lowell, Loy, Loyal, Loyce, Lucas, Luciano, Lucie, Lucienne, Lucile, Lucinda, Lucio, Lucious, Lucius, Lucy, Ludie, Ludwig, Lue, Luella, Luigi, Luis, Luisa, Lukas, Lula, Lulu, Luna, Lupe, Lura, Lurline, Luther, Luz, Lyda, Lydia, Lyla, Lynn, Lyric, Lysanne, Mabel, Mabelle, Mable, Mac, Macey, Maci, Macie, Mack, Mackenzie, Macy, Madaline, Madalyn, Maddison, Madeline, Madelyn, Madelynn, Madge, Madie, Madilyn, Madisen, Madison, Madisyn, Madonna, Madyson, Mae, Maegan, Maeve, Mafalda, Magali, Magdalen, Magdalena, Maggie, Magnolia, Magnus, Maia, Maida, Maiya, Major, Makayla, Makenna, Makenzie, Malachi, Malcolm, Malika, Malinda, Mallie, Mallory, Malvina, Mandy, Manley, Manuel, Manuela, Mara, Marc, Marcel, Marcelina, Marcelino, Marcella, Marcelle, Marcellus, Marcelo, Marcia, Marco, Marcos, Marcus, Margaret, Margarete, Margarett, Margaretta, Margarette, Margarita, Marge, Margie, Margot, Margret, Marguerite, Maria, Mariah, Mariam, Marian, Mariana, Mariane, Marianna, Marianne, Mariano, Maribel, Marie, Mariela, Marielle, Marietta, Marilie, Marilou, Marilyne, Marina, Mario, Marion, Marisa, Marisol, Maritza, Marjolaine, Marjorie, Marjory, Mark, Markus, Marlee, Marlen, Marlene, Marley, Marlin, Marlon, Marques, Marquis, Marquise, Marshall, Marta, Martin, Martina, Martine, Marty, Marvin, Mary, Maryam, Maryjane, Maryse, Mason, Mateo, Mathew, Mathias, Mathilde, Matilda, Matilde, Matt, Matteo, Mattie, Maud, Maude, Maudie, Maureen, Maurice, Mauricio, Maurine, Maverick, Mavis, Max, Maxie, Maxime, Maximilian, Maximillia, Maximillian, Maximo, Maximus, Maxine, Maxwell, May, Maya, Maybell, Maybelle, Maye, Maymie, Maynard, Mayra, Mazie, Mckayla, Mckenna, Mckenzie, Meagan, Meaghan, Meda, Megane, Meggie, Meghan, Mekhi, Melany, Melba, Melisa, Melissa, Mellie, Melody, Melvin, Melvina, Melyna, Melyssa, Mercedes, Meredith, Merl, Merle, Merlin, Merritt, Mertie, Mervin, Meta, Mia, Micaela, Micah, Michael, Michaela, Michale, Micheal, Michel, Michele, Michelle, Miguel, Mikayla, Mike, Mikel, Milan, Miles, Milford, Miller, Millie, Milo, Milton, Mina, Minerva, Minnie, Miracle, Mireille, Mireya, Misael, Missouri, Misty, Mitchel, Mitchell, Mittie, Modesta, Modesto, Mohamed, Mohammad, Mohammed, Moises, Mollie, Molly, Mona, Monica, Monique, Monroe, Monserrat, Monserrate, Montana, Monte, Monty, Morgan, Moriah, Morris, Mortimer, Morton, Mose, Moses, Moshe, Mossie, Mozell, Mozelle, Muhammad, Muriel, Murl, Murphy, Murray, Mustafa, Mya, Myah, Mylene, Myles, Myra, Myriam, Myrl, Myrna, Myron, Myrtice, Myrtie, Myrtis, Myrtle, Nadia, Nakia, Name, Nannie, Naomi, Naomie, Napoleon, Narciso, Nash, Nasir, Nat, Natalia, Natalie, Natasha, Nathan, Nathanael, Nathanial, Nathaniel, Nathen, Nayeli, Neal, Ned, Nedra, Neha, Neil, Nelda, Nella, Nelle, Nellie, Nels, Nelson, Neoma, Nestor, Nettie, Neva, Newell, Newton, Nia, Nicholas, Nicholaus, Nichole, Nick, Nicklaus, Nickolas, Nico, Nicola, Nicolas, Nicole, Nicolette, Nigel, Nikita, Nikki, Nikko, Niko, Nikolas, Nils, Nina, Noah, Noble, Noe, Noel, Noelia, Noemi, Noemie, Noemy, Nola, Nolan, Nona, Nora, Norbert, Norberto, Norene, Norma, Norris, Norval, Norwood, Nova, Novella, Nya, Nyah, Nyasia, Obie, Oceane, Ocie, Octavia, Oda, Odell, Odessa, Odie, Ofelia, Okey, Ola, Olaf, Ole, Olen, Oleta, Olga, Olin, Oliver, Ollie, Oma, Omari, Omer, Ona, Onie, Opal, Ophelia, Ora, Oral, Oran, Oren, Orie, Orin, Orion, Orland, Orlando, Orlo, Orpha, Orrin, Orval, Orville, Osbaldo, Osborne, Oscar, Osvaldo, Oswald, Oswaldo, Otha, Otho, Otilia, Otis, Ottilie, Ottis, Otto, Ova, Owen, Ozella, Ozzie, Pablo, Paige, Palma, Pamela, Pansy, Paolo, Paris, Parker, Pascale, Pasquale, Pat, Patience, Patricia, Patrick, Patsy, Pattie, Paul, Paula, Pauline, Paxton, Payton, Pearl, Pearlie, Pearline, Pedro, Peggie, Penelope, Percival, Percy, Perry, Pete, Peter, Petra, Peyton, Philip, Phoebe, Phyllis, Pierce, Pierre, Pietro, Pink, Pinkie, Piper, Polly, Porter, Precious, Presley, Preston, Price, Prince, Princess, Priscilla, Providenci, Prudence, Queen, Queenie, Quentin, Quincy, Quinn, Quinten, Quinton, Rachael, Rachel, Rachelle, Rae, Raegan, Rafael, Rafaela, Raheem, Rahsaan, Rahul, Raina, Raleigh, Ralph, Ramiro, Ramon, Ramona, Randal, Randall, Randi, Randy, Ransom, Raoul, Raphael, Raphaelle, Raquel, Rashad, Rashawn, Rasheed, Raul, Raven, Ray, Raymond, Raymundo, Reagan, Reanna, Reba, Rebeca, Rebecca, Rebeka, Rebekah, Reece, Reed, Reese, Regan, Reggie, Reginald, Reid, Reilly, Reina, Reinhold, Remington, Rene, Renee, Ressie, Reta, Retha, Retta, Reuben, Reva, Rex, Rey, Reyes, Reymundo, Reyna, Reynold, Rhea, Rhett, Rhianna, Rhiannon, Rhoda, Ricardo, Richard, Richie, Richmond, Rick, Rickey, Rickie, Ricky, Rico, Rigoberto, Riley, Rita, River, Robb, Robbie, Robert, Roberta, Roberto, Robin, Robyn, Rocio, Rocky, Rod, Roderick, Rodger, Rodolfo, Rodrick, Rodrigo, Roel, Rogelio, Roger, Rogers, Rolando, Rollin, Roma, Romaine, Roman, Ron, Ronaldo, Ronny, Roosevelt, Rory, Rosa, Rosalee, Rosalia, Rosalind, Rosalinda, Rosalyn, Rosamond, Rosanna, Rosario, Roscoe, Rose, Rosella, Roselyn, Rosemarie, Rosemary, Rosendo, Rosetta, Rosie, Rosina, Roslyn, Ross, Rossie, Rowan, Rowena, Rowland, Roxane, Roxanne, Roy, Royal, Royce, Rozella, Ruben, Rubie, Ruby, Rubye, Rudolph, Rudy, Rupert, Russ, Russel, Russell, Rusty, Ruth, Ruthe, Ruthie, Ryan, Ryann, Ryder, Rylan, Rylee, Ryleigh, Ryley, Sabina, Sabrina, Sabryna, Sadie, Sadye, Sage, Saige, Sallie, Sally, Salma, Salvador, Salvatore, Sam, Samanta, Samantha, Samara, Samir, Sammie, Sammy, Samson, Sandra, Sandrine, Sandy, Sanford, Santa, Santiago, Santina, Santino, Santos, Sarah, Sarai, Sarina, Sasha, Saul, Savanah, Savanna, Savannah, Savion, Scarlett, Schuyler, Scot, Scottie, Scotty, Seamus, Sean, Sebastian, Sedrick, Selena, Selina, Selmer, Serena, Serenity, Seth, Shad, Shaina, Shakira, Shana, Shane, Shanel, Shanelle, Shania, Shanie, Shaniya, Shanna, Shannon, Shanny, Shanon, Shany, Sharon, Shaun, Shawn, Shawna, Shaylee, Shayna, Shayne, Shea, Sheila, Sheldon, Shemar, Sheridan, Sherman, Sherwood, Shirley, Shyann, Shyanne, Sibyl, Sid, Sidney, Sienna, Sierra, Sigmund, Sigrid, Sigurd, Silas, Sim, Simeon, Simone, Sincere, Sister, Skye, Skyla, Skylar, Sofia, Soledad, Solon, Sonia, Sonny, Sonya, Sophia, Sophie, Spencer, Stacey, Stacy, Stan, Stanford, Stanley, Stanton, Stefan, Stefanie, Stella, Stephan, Stephania, Stephanie, Stephany, Stephen, Stephon, Sterling, Steve, Stevie, Stewart, Stone, Stuart, Summer, Sunny, Susan, Susana, Susanna, Susie, Suzanne, Sven, Syble, Sydnee, Sydney, Sydni, Sydnie, Sylvan, Sylvester, Sylvia, Tabitha, Tad, Talia, Talon, Tamara, Tamia, Tania, Tanner, Tanya, Tara, Taryn, Tate, Tatum, Tatyana, Taurean, Tavares, Taya, Taylor, Teagan, Ted, Telly, Terence, Teresa, Terrance, Terrell, Terrence, Terrill, Terry, Tess, Tessie, Tevin, Thad, Thaddeus, Thalia, Thea, Thelma, Theo, Theodora, Theodore, Theresa, Therese, Theresia, Theron, Thomas, Thora, Thurman, Tia, Tiana, Tianna, Tiara, Tierra, Tiffany, Tillman, Timmothy, Timmy, Timothy, Tina, Tito, Titus, Tobin, Toby, Tod, Tom, Tomas, Tomasa, Tommie, Toney, Toni, Tony, Torey, Torrance, Torrey, Toy, Trace, Tracey, Tracy, Travis, Travon, Tre, Tremaine, Tremayne, Trent, Trenton, Tressa, Tressie, Treva, Trever, Trevion, Trevor, Trey, Trinity, Trisha, Tristian, Tristin, Triston, Troy, Trudie, Trycia, Trystan, Turner, Twila, Tyler, Tyra, Tyree, Tyreek, Tyrel, Tyrell, Tyrese, Tyrique, Tyshawn, Tyson, Ubaldo, Ulices, Ulises, Una, Unique, Urban, Uriah, Uriel, Ursula, Vada, Valentin, Valentina, Valentine, Valerie, Vallie, Van, Vance, Vanessa, Vaughn, Veda, Velda, Vella, Velma, Velva, Vena, Verda, Verdie, Vergie, Verla, Verlie, Vern, Verna, Verner, Vernice, Vernie, Vernon, Verona, Veronica, Vesta, Vicenta, Vicente, Vickie, Vicky, Victor, Victoria, Vida, Vidal, Vilma, Vince, Vincent, Vincenza, Vincenzo, Vinnie, Viola, Violet, Violette, Virgie, Virgil, Virginia, Virginie, Vita, Vito, Viva, Vivian, Viviane, Vivianne, Vivien, Vivienne, Vladimir, Wade, Waino, Waldo, Walker, Wallace, Walter, Walton, Wanda, Ward, Warren, Watson, Wava, Waylon, Wayne, Webster, Weldon, Wellington, Wendell, Wendy, Werner, Westley, Weston, Whitney, Wilber, Wilbert, Wilburn, Wiley, Wilford, Wilfred, Wilfredo, Wilfrid, Wilhelm, Wilhelmine, Will, Willa, Willard, William, Willie, Willis, Willow, Willy, Wilma, Wilmer, Wilson, Wilton, Winfield, Winifred, Winnifred, Winona, Winston, Woodrow, Wyatt, Wyman, Xander, Xavier, Xzavier, Yadira, Yasmeen, Yasmin, Yasmine, Yazmin, Yesenia, Yessenia, Yolanda, Yoshiko, Yvette, Yvonne, Zachariah, Zachary, Zachery, Zack, Zackary, Zackery, Zakary, Zander, Zane, Zaria, Zechariah, Zelda, Zella, Zelma, Zena, Zetta, Zion, Zita, Zoe, Zoey, Zoie, Zoila, Zola, Zora, Zula] - last_name: [Abbott, Abernathy, Abshire, Adams, Altenwerth, Anderson, Ankunding, Armstrong, Auer, Aufderhar, Bahringer, Bailey, Balistreri, Barrows, Bartell, Bartoletti, Barton, Bashirian, Batz, Bauch, Baumbach, Bayer, Beahan, Beatty, Bechtelar, Becker, Bednar, Beer, Beier, Berge, Bergnaum, Bergstrom, Bernhard, Bernier, Bins, Blanda, Blick, Block, Bode, Boehm, Bogan, Bogisich, Borer, Bosco, Botsford, Boyer, Boyle, Bradtke, Brakus, Braun, Breitenberg, Brekke, Brown, Bruen, Buckridge, Carroll, Carter, Cartwright, Casper, Cassin, Champlin, Christiansen, Cole, Collier, Collins, Conn, Connelly, Conroy, Considine, Corkery, Cormier, Corwin, Cremin, Crist, Crona, Cronin, Crooks, Cruickshank, Cummerata, Cummings, Dach, D'Amore, Daniel, Dare, Daugherty, Davis, Deckow, Denesik, Dibbert, Dickens, Dicki, Dickinson, Dietrich, Donnelly, Dooley, Douglas, Doyle, DuBuque, Durgan, Ebert, Effertz, Eichmann, Emard, Emmerich, Erdman, Ernser, Fadel, Fahey, Farrell, Fay, Feeney, Feest, Feil, Ferry, Fisher, Flatley, Frami, Franecki, Friesen, Fritsch, Funk, Gaylord, Gerhold, Gerlach, Gibson, Gislason, Gleason, Gleichner, Glover, Goldner, Goodwin, Gorczany, Gottlieb, Goyette, Grady, Graham, Grant, Green, Greenfelder, Greenholt, Grimes, Gulgowski, Gusikowski, Gutkowski, Gutmann, Haag, Hackett, Hagenes, Hahn, Haley, Halvorson, Hamill, Hammes, Hand, Hane, Hansen, Harber, Harris, Hartmann, Harvey, Hauck, Hayes, Heaney, Heathcote, Hegmann, Heidenreich, Heller, Herman, Hermann, Hermiston, Herzog, Hessel, Hettinger, Hickle, Hilll, Hills, Hilpert, Hintz, Hirthe, Hodkiewicz, Hoeger, Homenick, Hoppe, Howe, Howell, Hudson, Huel, Huels, Hyatt, Jacobi, Jacobs, Jacobson, Jakubowski, Jaskolski, Jast, Jenkins, Jerde, Johns, Johnson, Johnston, Jones, Kassulke, Kautzer, Keebler, Keeling, Kemmer, Kerluke, Kertzmann, Kessler, Kiehn, Kihn, Kilback, King, Kirlin, Klein, Kling, Klocko, Koch, Koelpin, Koepp, Kohler, Konopelski, Koss, Kovacek, Kozey, Krajcik, Kreiger, Kris, Kshlerin, Kub, Kuhic, Kuhlman, Kuhn, Kulas, Kunde, Kunze, Kuphal, Kutch, Kuvalis, Labadie, Lakin, Lang, Langosh, Langworth, Larkin, Larson, Leannon, Lebsack, Ledner, Leffler, Legros, Lehner, Lemke, Lesch, Leuschke, Lind, Lindgren, Littel, Little, Lockman, Lowe, Lubowitz, Lueilwitz, Luettgen, Lynch, Macejkovic, MacGyver, Maggio, Mann, Mante, Marks, Marquardt, Marvin, Mayer, Mayert, McClure, McCullough, McDermott, McGlynn, McKenzie, McLaughlin, Medhurst, Mertz, Metz, Miller, Mills, Mitchell, Moen, Mohr, Monahan, Moore, Morar, Morissette, Mosciski, Mraz, Mueller, Muller, Murazik, Murphy, Murray, Nader, Nicolas, Nienow, Nikolaus, Nitzsche, Nolan, Oberbrunner, O'Connell, O'Conner, O'Hara, O'Keefe, O'Kon, Okuneva, Olson, Ondricka, O'Reilly, Orn, Ortiz, Osinski, Pacocha, Padberg, Pagac, Parisian, Parker, Paucek, Pfannerstill, Pfeffer, Pollich, Pouros, Powlowski, Predovic, Price, Prohaska, Prosacco, Purdy, Quigley, Quitzon, Rath, Ratke, Rau, Raynor, Reichel, Reichert, Reilly, Reinger, Rempel, Renner, Reynolds, Rice, Rippin, Ritchie, Robel, Roberts, Rodriguez, Rogahn, Rohan, Rolfson, Romaguera, Roob, Rosenbaum, Rowe, Ruecker, Runolfsdottir, Runolfsson, Runte, Russel, Rutherford, Ryan, Sanford, Satterfield, Sauer, Sawayn, Schaden, Schaefer, Schamberger, Schiller, Schimmel, Schinner, Schmeler, Schmidt, Schmitt, Schneider, Schoen, Schowalter, Schroeder, Schulist, Schultz, Schumm, Schuppe, Schuster, Senger, Shanahan, Shields, Simonis, Sipes, Skiles, Smith, Smitham, Spencer, Spinka, Sporer, Stamm, Stanton, Stark, Stehr, Steuber, Stiedemann, Stokes, Stoltenberg, Stracke, Streich, Stroman, Strosin, Swaniawski, Swift, Terry, Thiel, Thompson, Tillman, Torp, Torphy, Towne, Toy, Trantow, Tremblay, Treutel, Tromp, Turcotte, Turner, Ullrich, Upton, Vandervort, Veum, Volkman, Von, VonRueden, Waelchi, Walker, Walsh, Walter, Ward, Waters, Watsica, Weber, Wehner, Weimann, Weissnat, Welch, West, White, Wiegand, Wilderman, Wilkinson, Will, Williamson, Willms, Windler, Wintheiser, Wisoky, Wisozk, Witting, Wiza, Wolf, Wolff, Wuckert, Wunsch, Wyman, Yost, Yundt, Zboncak, Zemlak, Ziemann, Zieme, Zulauf] - prefix: [Mr., Mrs., Ms., Miss, Dr.] - suffix: [Jr., Sr., I, II, III, IV, V, MD, DDS, PhD, DVM] - title: - descriptor: [Lead, Senior, Direct, Corporate, Dynamic, Future, Product, National, Regional, District, Central, Global, Customer, Investor, Dynamic, International, Legacy, Forward, Internal, Human, Chief, Principal] - level: [Solutions, Program, Brand, Security, Research, Marketing, Directives, Implementation, Integration, Functionality, Response, Paradigm, Tactics, Identity, Markets, Group, Division, Applications, Optimization, Operations, Infrastructure, Intranet, Communications, Web, Branding, Quality, Assurance, Mobility, Accounts, Data, Creative, Configuration, Accountability, Interactions, Factors, Usability, Metrics] - job: [Supervisor, Associate, Executive, Liaison, Officer, Manager, Engineer, Specialist, Director, Coordinator, Administrator, Architect, Analyst, Designer, Planner, Orchestrator, Technician, Developer, Producer, Consultant, Assistant, Facilitator, Agent, Representative, Strategist] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{last_name} #{suffix}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - phone_number: - formats: ['###-###-####', '(###) ###-####', '1-###-###-####', '###.###.####', '###-###-####', '(###) ###-####', '1-###-###-####', '###.###.####', '###-###-#### x###', '(###) ###-#### x###', '1-###-###-#### x###', '###.###.#### x###', '###-###-#### x####', '(###) ###-#### x####', '1-###-###-#### x####', '###.###.#### x####', '###-###-#### x#####', '(###) ###-#### x#####', '1-###-###-#### x#####', '###.###.#### x#####'] - cell_phone: - formats: ['###-###-####', '(###) ###-####', '1-###-###-####', '###.###.####'] - - business: - credit_card_numbers: ['1234-2121-1221-1211', '1212-1221-1121-1234', '1211-1221-1234-2201', '1228-1221-1221-1431'] - credit_card_expiry_dates: ['2011-10-12', '2012-11-12', '2015-11-11', '2013-9-12'] - credit_card_types: ['visa', 'mastercard', 'americanexpress', 'discover'] - - commerce: - color: [red, green, blue, yellow, purple, mint green, teal, white, black, orange, pink, grey, maroon, violet, turquoise, tan, sky blue, salmon, plum, orchid, olive, magenta, lime, ivory, indigo, gold, fuchsia, cyan, azure, lavender, silver] - department: ["Books", "Movies", "Music", "Games", "Electronics", "Computers", "Home", "Garden", "Tools", "Grocery", "Health", "Beauty", "Toys", "Kids", "Baby", "Clothing", "Shoes", "Jewelery", "Sports", "Outdoors", "Automotive", "Industrial"] - product_name: - adjective: [Small, Ergonomic, Rustic, Intelligent, Gorgeous, Incredible, Fantastic, Practical, Sleek, Awesome, Enormous, Mediocre, Synergistic, Heavy Duty, Lightweight, Aerodynamic, Durable] - material: [Steel, Wooden, Concrete, Plastic, Cotton, Granite, Rubber, Leather, Silk, Wool, Linen, Marble, Iron, Bronze, Copper, Aluminum, Paper] - product: [Chair, Car, Computer, Gloves, Pants, Shirt, Table, Shoes, Hat, Plate, Knife, Bottle, Coat, Lamp, Keyboard, Bag, Bench, Clock, Watch, Wallet] - - team: - creature: ['ants', 'bats', 'bears', 'bees', 'birds', 'buffalo', 'cats', 'chickens', 'cattle', 'dogs', 'dolphins', 'ducks', 'elephants', 'fishes', 'foxes', 'frogs', 'geese', 'goats', 'horses', 'kangaroos', 'lions', 'monkeys', 'owls', 'oxen', 'penguins', 'people', 'pigs', 'rabbits', 'sheep', 'tigers', 'whales', 'wolves', 'zebras', 'banshees', 'crows', 'black cats', 'chimeras', 'ghosts', 'conspirators', 'dragons', 'dwarves', 'elves', 'enchanters', 'exorcists', 'sons', 'foes', 'giants', 'gnomes', 'goblins', 'gooses', 'griffins', 'lycanthropes', 'nemesis', 'ogres', 'oracles', 'prophets', 'sorcerors', 'spiders', 'spirits', 'vampires', 'warlocks', 'vixens', 'werewolves', 'witches', 'worshipers', 'zombies', 'druids'] - name: - - "#{Address.state} #{creature}" - sport: ['baseball', 'basketball', 'football', 'hockey', 'rugby', 'lacrosse', 'soccer'] - - hacker: - abbreviation: [TCP,HTTP,SDD,RAM,GB,CSS,SSL,AGP,SQL,FTP,PCI,AI,ADP,RSS,XML,EXE,COM,HDD,THX,SMTP,SMS,USB,PNG,SAS,IB,SCSI,JSON,XSS,JBOD] - adjective: [auxiliary,primary,back-end,digital,open-source,virtual,cross-platform,redundant,online,haptic,multi-byte,bluetooth,wireless,1080p,neural, optical,solid state,mobile] - noun: [driver,protocol,bandwidth,panel,microchip,program,port,card,array,interface,system,sensor,firewall,hard drive,pixel,alarm,feed,monitor,application,transmitter,bus,circuit,capacitor,matrix] - verb: [back up,bypass,hack,override,compress,copy,navigate,index,connect,generate,quantify,calculate,synthesize,input,transmit,program,reboot,parse] - ingverb: [backing up,bypassing,hacking,overriding,compressing,copying,navigating,indexing,connecting,generating,quantifying,calculating, synthesizing,transmitting,programming,parsing] - - app: - name: ['Redhold', 'Treeflex', 'Trippledex', 'Kanlam', 'Bigtax', 'Daltfresh', 'Toughjoyfax', 'Mat Lam Tam', 'Otcom', 'Tres-Zap', 'Y-Solowarm', 'Tresom', 'Voltsillam', 'Biodex', 'Greenlam', 'Viva', 'Matsoft', 'Temp', 'Zoolab', 'Subin', 'Rank', 'Job', 'Stringtough', 'Tin', 'It', 'Home Ing', 'Zamit', 'Sonsing', 'Konklab', 'Alpha', 'Latlux', 'Voyatouch', 'Alphazap', 'Holdlamis', 'Zaam-Dox', 'Sub-Ex', 'Quo Lux', 'Bamity', 'Ventosanzap', 'Lotstring', 'Hatity', 'Tempsoft', 'Overhold', 'Fixflex', 'Konklux', 'Zontrax', 'Tampflex', 'Span', 'Namfix', 'Transcof', 'Stim', 'Fix San', 'Sonair', 'Stronghold', 'Fintone', 'Y-find', 'Opela', 'Lotlux', 'Ronstring', 'Zathin', 'Duobam', 'Keylex', 'Andalax', 'Solarbreeze', 'Cookley', 'Vagram', 'Aerified', 'Pannier', 'Asoka', 'Regrant', 'Wrapsafe', 'Prodder', 'Bytecard', 'Bitchip', 'Veribet', 'Gembucket', 'Cardguard', 'Bitwolf', 'Cardify', 'Domainer', 'Flowdesk', 'Flexidy'] - version: ['0.#.#', '0.##', '#.##', '#.#', '#.#.#'] - author: - - "#{Name.name}" - - "#{Company.name}" - - slack_emoji: - people: [':grinning:', ':grin:', ':joy:', ':smiley:', ':smile:', ':sweat_smile:', ':satisfied:', ':innocent:', ':smiling_imp:', ':imp:', ':wink:', ':blush:', ':relaxed:', ':yum:', ':relieved:', ':heart_eyes:', ':sunglasses:', ':smirk:', ':neutral_face:', ':expressionless:', ':unamused:', ':sweat:', ':pensive:', ':confused:', ':confounded:', ':kissing:', ':kissing_heart:', ':kissing_smiling_eyes:', ':kissing_closed_eyes:', ':stuck_out_tongue:', ':stuck_out_tongue_winking_eye:', ':stuck_out_tongue_closed_eyes:', ':disappointed:', ':worried:', ':angry:', ':rage:', ':cry:', ':persevere:', ':triumph:', ':disappointed_relieved:', ':frowning:', ':anguished:', ':fearful:', ':weary:', ':sleepy:', ':tired_face:', ':grimacing:', ':sob:', ':open_mouth:', ':hushed:', ':cold_sweat:', ':scream:', ':astonished:', ':flushed:', ':sleeping:', ':dizzy_face:', ':no_mouth:', ':mask:', ':smile_cat:', ':joy_cat:', ':smiley_cat:', ':heart_eyes_cat:', ':smirk_cat:', ':kissing_cat:', ':pouting_cat:', ':crying_cat_face:', ':scream_cat:', ':footprints:', ':bust_in_silhouette:', ':busts_in_silhouette:', ':baby:', ':boy:', ':girl:', ':man:', ':woman:', ':family:', ':couple:', ':two_men_holding_hands:', ':two_women_holding_hands:', ':dancers:', ':bride_with_veil:', ':person_with_blond_hair:', ':man_with_gua_pi_mao:', ':man_with_turban:', ':older_man:', ':older_woman:', ':cop:', ':construction_worker:', ':princess:', ':guardsman:', ':angel:', ':santa:', ':ghost:', ':japanese_ogre:', ':japanese_goblin:', ':shit:', ':skull:', ':alien:', ':space_invader:', ':bow:', ':information_desk_person:', ':no_good:', ':ok_woman:', ':raising_hand:', ':person_with_pouting_face:', ':person_frowning:', ':massage:', ':haircut:', ':couple_with_heart:', ':couplekiss:', ':raised_hands:', ':clap:', ':ear:', ':eyes:', ':nose:', ':lips:', ':kiss:', ':tongue:', ':nail_care:', ':wave:', ':thumbsup:', ':thumbsdown:', ':point_up:', ':point_up_2:', ':point_down:', ':point_left:', ':point_right:', ':ok_hand:', ':v:', ':punch:', ':fist:', ':raised_hand:', ':muscle:', ':open_hands:', ':pray:'] - nature: [':seedling:', ':evergreen_tree:', ':deciduous_tree:', ':palm_tree:', ':cactus:', ':tulip:', ':cherry_blossom:', ':rose:', ':hibiscus:', ':sunflower:', ':blossom:', ':bouquet:', ':ear_of_rice:', ':herb:', ':four_leaf_clover:', ':maple_leaf:', ':fallen_leaf:', ':leaves:', ':mushroom:', ':chestnut:', ':rat:', ':mouse2:', ':mouse:', ':hamster:', ':ox:', ':water_buffalo:', ':cow2:', ':cow:', ':tiger2:', ':leopard:', ':tiger:', ':rabbit2:', ':rabbit:', ':cat2:', ':cat:', ':racehorse:', ':horse:', ':ram:', ':sheep:', ':goat:', ':rooster:', ':chicken:', ':baby_chick:', ':hatching_chick:', ':hatched_chick:', ':bird:', ':penguin:', ':elephant:', ':dromedary_camel:', ':camel:', ':boar:', ':pig2:', ':pig:', ':pig_nose:', ':dog2:', ':poodle:', ':dog:', ':wolf:', ':bear:', ':koala:', ':panda_face:', ':monkey_face:', ':see_no_evil:', ':hear_no_evil:', ':speak_no_evil:', ':monkey:', ':dragon:', ':dragon_face:', ':crocodile:', ':snake:', ':turtle:', ':frog:', ':whale2:', ':whale:', ':flipper:', ':octopus:', ':fish:', ':tropical_fish:', ':blowfish:', ':shell:', ':snail:', ':bug:', ':ant:', ':honeybee:', ':beetle:', ':paw_prints:', ':zap:', ':fire:', ':crescent_moon:', ':sunny:', ':partly_sunny:', ':cloud:', ':droplet:', ':sweat_drops:', ':umbrella:', ':dash:', ':snowflake:', ':star2:', ':star:', ':stars:', ':sunrise_over_mountains:', ':sunrise:', ':rainbow:', ':ocean:', ':volcano:', ':milky_way:', ':mount_fuji:', ':japan:', ':globe_with_meridians:', ':earth_africa:', ':earth_americas:', ':earth_asia:', ':new_moon:', ':waxing_crescent_moon:', ':first_quarter_moon:', ':waxing_gibbous_moon:', ':full_moon:', ':waning_gibbous_moon:', ':last_quarter_moon:', ':waning_crescent_moon:', ':new_moon_with_face:', ':full_moon_with_face:', ':first_quarter_moon_with_face:', ':last_quarter_moon_with_face:', ':sun_with_face:'] - food_and_drink: [':tomato:', ':eggplant:', ':corn:', ':sweet_potato:', ':grapes:', ':melon:', ':watermelon:', ':tangerine:', ':lemon:', ':banana:', ':pineapple:', ':apple:', ':green_apple:', ':pear:', ':peach:', ':cherries:', ':strawberry:', ':hamburger:', ':pizza:', ':meat_on_bone:', ':poultry_leg:', ':rice_cracker:', ':rice_ball:', ':rice:', ':curry:', ':ramen:', ':spaghetti:', ':bread:', ':fries:', ':dango:', ':oden:', ':sushi:', ':fried_shrimp:', ':fish_cake:', ':icecream:', ':shaved_ice:', ':ice_cream:', ':doughnut:', ':cookie:', ':chocolate_bar:', ':candy:', ':lollipop:', ':custard:', ':honey_pot:', ':cake:', ':bento:', ':stew:', ':egg:', ':fork_and_knife:', ':tea:', ':coffee:', ':sake:', ':wine_glass:', ':cocktail:', ':tropical_drink:', ':beer:', ':beers:', ':baby_bottle:'] - celebration: [':ribbon:', ':gift:', ':birthday:', ':jack_o_lantern:', ':christmas_tree:', ':tanabata_tree:', ':bamboo:', ':rice_scene:', ':fireworks:', ':sparkler:', ':tada:', ':confetti_ball:', ':balloon:', ':dizzy:', ':sparkles:', ':collision:', ':mortar_board:', ':crown:', ':dolls:', ':flags:', ':wind_chime:', ':crossed_flags:', ':lantern:', ':ring:', ':heart:', ':broken_heart:', ':love_letter:', ':two_hearts:', ':revolving_hearts:', ':heartbeat:', ':heartpulse:', ':sparkling_heart:', ':cupid:', ':gift_heart:', ':heart_decoration:', ':purple_heart:', ':yellow_heart:', ':green_heart:', ':blue_heart:'] - activity: [':running:', ':walking:', ':dancer:', ':rowboat:', ':swimmer:', ':surfer:', ':bath:', ':snowboarder:', ':ski:', ':snowman:', ':bicyclist:', ':mountain_bicyclist:', ':horse_racing:', ':tent:', ':fishing_pole_and_fish:', ':soccer:', ':basketball:', ':football:', ':baseball:', ':tennis:', ':rugby_football:', ':golf:', ':trophy:', ':running_shirt_with_sash:', ':checkered_flag:', ':musical_keyboard:', ':guitar:', ':violin:', ':saxophone:', ':trumpet:', ':musical_note:', ':notes:', ':musical_score:', ':headphones:', ':microphone:', ':performing_arts:', ':ticket:', ':tophat:', ':circus_tent:', ':clapper:', ':art:', ':dart:', ':8ball:', ':bowling:', ':slot_machine:', ':game_die:', ':video_game:', ':flower_playing_cards:', ':black_joker:', ':mahjong:', ':carousel_horse:', ':ferris_wheel:', ':roller_coaster:'] - travel_and_places: [':train:', ':mountain_railway:', ':steam_locomotive:', ':monorail:', ':bullettrain_side:', ':bullettrain_front:', ':train2:', ':metro:', ':light_rail:', ':station:', ':tram:', ':bus:', ':oncoming_bus:', ':trolleybus:', ':minibus:', ':ambulance:', ':fire_engine:', ':police_car:', ':oncoming_police_car:', ':rotating_light:', ':taxi:', ':oncoming_taxi:', ':red_car:', ':oncoming_automobile:', ':blue_car:', ':truck:', ':articulated_lorry:', ':tractor:', ':bike:', ':busstop:', ':fuelpump:', ':construction:', ':vertical_traffic_light:', ':traffic_light:', ':rocket:', ':helicopter:', ':airplane:', ':seat:', ':anchor:', ':ship:', ':speedboat:', ':sailboat:', ':aerial_tramway:', ':mountain_cableway:', ':suspension_railway:', ':passport_control:', ':customs:', ':baggage_claim:', ':left_luggage:', ':yen:', ':euro:', ':pound:', ':dollar:', ':statue_of_liberty:', ':moyai:', ':foggy:', ':tokyo_tower:', ':fountain:', ':european_castle:', ':japanese_castle:', ':city_sunrise:', ':city_sunset:', ':night_with_stars:', ':bridge_at_night:', ':house:', ':house_with_garden:', ':office:', ':department_store:', ':factory:', ':post_office:', ':european_post_office:', ':hospital:', ':bank:', ':hotel:', ':love_hotel:', ':convenience_store:', ':school:', ':cn:', ':de:', ':es:', ':fr:', ':uk:', ':it:', ':jp:', ':kr:', ':ru:', ':us:'] - objects_and_symbols: [':watch:', ':iphone:', ':calling:', ':computer:', ':alarm_clock:', ':hourglass_flowing_sand:', ':hourglass:', ':camera:', ':video_camera:', ':movie_camera:', ':tv:', ':radio:', ':pager:', ':telephone_receiver:', ':telephone:', ':fax:', ':minidisc:', ':floppy_disk:', ':cd:', ':dvd:', ':vhs:', ':battery:', ':electric_plug:', ':bulb:', ':flashlight:', ':satellite:', ':credit_card:', ':money_with_wings:', ':moneybag:', ':gem:', ':closed_umbrella:', ':pouch:', ':purse:', ':handbag:', ':briefcase:', ':school_satchel:', ':lipstick:', ':eyeglasses:', ':womans_hat:', ':sandal:', ':high_heel:', ':boot:', ':shoe:', ':athletic_shoe:', ':bikini:', ':dress:', ':kimono:', ':womans_clothes:', ':tshirt:', ':necktie:', ':jeans:', ':door:', ':shower:', ':bathtub:', ':toilet:', ':barber:', ':syringe:', ':pill:', ':microscope:', ':telescope:', ':crystal_ball:', ':wrench:', ':hocho:', ':nut_and_bolt:', ':hammer:', ':bomb:', ':smoking:', ':gun:', ':bookmark:', ':newspaper:', ':key:', ':envelope:', ':envelope_with_arrow:', ':incoming_envelope:', ':e-mail:', ':inbox_tray:', ':outbox_tray:', ':package:', ':postal_horn:', ':postbox:', ':mailbox_closed:', ':mailbox:', ':mailbox_with_mail:', ':mailbox_with_no_mail:', ':page_facing_up:', ':page_with_curl:', ':bookmark_tabs:', ':chart_with_upwards_trend:', ':chart_with_downwards_trend:', ':bar_chart:', ':date:', ':calendar:', ':low_brightness:', ':high_brightness:', ':scroll:', ':clipboard:', ':open_book:', ':notebook:', ':notebook_with_decorative_cover:', ':ledger:', ':closed_book:', ':green_book:', ':blue_book:', ':orange_book:', ':books:', ':card_index:', ':link:', ':paperclip:', ':pushpin:', ':scissors:', ':triangular_ruler:', ':round_pushpin:', ':straight_ruler:', ':triangular_flag_on_post:', ':file_folder:', ':open_file_folder:', ':black_nib:', ':pencil2:', ':pencil:', ':lock_with_ink_pen:', ':closed_lock_with_key:', ':lock:', ':unlock:', ':mega:', ':loudspeaker:', ':sound:', ':speaker:', ':mute:', ':zzz:', ':bell:', ':no_bell:', ':thought_balloon:', ':speech_balloon:', ':children_crossing:', ':mag:', ':mag_right:', ':no_entry_sign:', ':no_entry:', ':name_badge:', ':no_pedestrians:', ':do_not_litter:', ':no_bicycles:', ':non-potable_water:', ':no_mobile_phones:', ':underage:', ':accept:', ':ideograph_advantage:', ':white_flower:', ':secret:', ':congratulations:', ':u5408:', ':u6e80:', ':u7981:', ':u6709:', ':u7121:', ':u7533:', ':u55b6:', ':u6708:', ':u5272:', ':u7a7a:', ':sa:', ':koko:', ':u6307:', ':chart:', ':sparkle:', ':eight_spoked_asterisk:', ':negative_squared_cross_mark:', ':white_check_mark:', ':eight_pointed_black_star:', ':vibration_mode:', ':mobile_phone_off:', ':vs:', ':a:', ':b:', ':ab:', ':cl:', ':o2:', ':sos:', ':id:', ':parking:', ':wc:', ':cool:', ':free:', ':new:', ':ng:', ':ok:', ':up:', ':atm:', ':aries:', ':taurus:', ':gemini:', ':cancer:', ':leo:', ':virgo:', ':libra:', ':scorpius:', ':sagittarius:', ':capricorn:', ':aquarius:', ':pisces:', ':restroom:', ':mens:', ':womens:', ':baby_symbol:', ':wheelchair:', ':potable_water:', ':no_smoking:', ':put_litter_in_its_place:', ':arrow_forward:', ':arrow_backward:', ':arrow_up_small:', ':arrow_down_small:', ':fast_forward:', ':rewind:', ':arrow_double_up:', ':arrow_double_down:', ':arrow_right:', ':arrow_left:', ':arrow_up:', ':arrow_down:', ':arrow_upper_right:', ':arrow_lower_right:', ':arrow_lower_left:', ':arrow_upper_left:', ':arrow_up_down:', ':left_right_arrow:', ':arrows_counterclockwise:', ':arrow_right_hook:', ':leftwards_arrow_with_hook:', ':arrow_heading_up:', ':arrow_heading_down:', ':twisted_rightwards_arrows:', ':repeat:', ':repeat_one:', ':zero:', ':one:', ':two:', ':three:', ':four:', ':five:', ':six:', ':seven:', ':eight:', ':nine:', ':keycap_ten:', ':1234:', ':abc:', ':abcd:', ':capital_abcd:', ':information_source:', ':signal_strength:', ':cinema:', ':symbols:', ':heavy_plus_sign:', ':heavy_minus_sign:', ':wavy_dash:', ':heavy_division_sign:', ':heavy_multiplication_x:', ':heavy_check_mark:', ':arrows_clockwise:', ':tm:', ':copyright:', ':registered:', ':currency_exchange:', ':heavy_dollar_sign:', ':curly_loop:', ':loop:', ':part_alternation_mark:', ':heavy_exclamation_mark:', ':question:', ':grey_exclamation:', ':grey_question:', ':interrobang:', ':x:', ':o:', ':100:', ':end:', ':back:', ':on:', ':top:', ':soon:', ':cyclone:', ':m:', ':ophiuchus:', ':six_pointed_star:', ':beginner:', ':trident:', ':warning:', ':hotsprings:', ':recycle:', ':anger:', ':diamond_shape_with_a_dot_inside:', ':spades:', ':clubs:', ':hearts:', ':diamonds:', ':ballot_box_with_check:', ':white_circle:', ':black_circle:', ':radio_button:', ':red_circle:', ':large_blue_circle:', ':small_red_triangle:', ':small_red_triangle_down:', ':small_orange_diamond:', ':small_blue_diamond:', ':large_orange_diamond:', ':large_blue_diamond:', ':black_small_square:', ':white_small_square:', ':black_large_square:', ':white_large_square:', ':black_medium_square:', ':white_medium_square:', ':black_medium_small_square:', ':white_medium_small_square:', ':black_square_button:', ':white_square_button:', ':clock1:', ':clock2:', ':clock3:', ':clock4:', ':clock5:', ':clock6:', ':clock7:', ':clock8:', ':clock9:', ':clock10:', ':clock11:', ':clock12:', ':clock130:', ':clock230:', ':clock330:', ':clock430:', ':clock530:', ':clock630:', ':clock730:', ':clock830:', ':clock930:', ':clock1030:', ':clock1130:', ':clock1230:'] - custom: [':beryl:', ':bowtie:', ':crab:', ':cubimal_chick:', ':dusty_stick:', ':feelsgood:', ':finnadie:', ':fu:', ':goberserk:', ':godmode:', ':hurtrealbad:', ':metal:', ':neckbeard:', ':octocat:', ':piggy:', ':pride:', ':rage1:', ':rage2:', ':rage3:', ':rage4:', ':rube:', ':simple_smile:', ':slack:', ':squirrel:', ':suspect:', ':taco:', ':trollface:'] - emoji: - - "#{people}" - - "#{nature}" - - "#{food_and_drink}" - - "#{celebration}" - - "#{activity}" - - "#{travel_and_places}" - - "#{objects_and_symbols}" - - "#{custom}" - - book: - title: ['A Year of Walking', 'Candy For Two', 'Walking and Running', 'The Frog Catchers Field Manual', 'Tomato in the Window', 'A Dozen Heros', 'Finding a New Sun', 'Stop Asking, Just Do', 'What Lives on Pluto', 'Fishing With Chips', 'No Lonely Stars', 'Free Parking', 'Next Day Previous Night', 'Burning Water', 'Slicker Than Rain', 'Future Discretions', 'Covered and Warm', 'The Odd Sister', 'Falling Flags', 'Keyboard For Hire', 'Ready, Set, Die', 'Same Way Through', 'The Zookeeper and Her Tiger'] - author: "#{Name.name}" - publisher: ['Parker Publishing', 'Page Crunch', 'Word Burner', 'Printed Works', 'Opus Reader', 'Booklet', 'Offprint', 'Bookfolio', 'Book Crunch', 'Page Feeder'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/es.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/es.yml deleted file mode 100644 index d8a817d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/es.yml +++ /dev/null @@ -1,62 +0,0 @@ -# encoding: utf-8 -es: - faker: - address: - city_prefix: [Parla, Telde, Baracaldo, San Fernando, Torrevieja, Lugo, Santiago de Compostela, Gerona, Cáceres, Lorca, Coslada, Talavera de la Reina, El Puerto de Santa María, Cornellá de Llobregat, Avilés, Palencia, Gecho, Orihuela, Pontevedra, Pozuelo de Alarcón, Toledo, El Ejido, Guadalajara, Gandía, Ceuta, Ferrol, Chiclana de la Frontera, Manresa, Roquetas de Mar, Ciudad Real, Rubí, Benidorm, San Sebastían de los Reyes, Ponferrada, Zamora, Alcalá de Guadaira, Fuengirola, Mijas, Sanlúcar de Barrameda, La Línea de la Concepción, Majadahonda, Sagunto, El Prat de LLobregat, Viladecans, Linares, Alcoy, Irún, Estepona, Torremolinos, Rivas-Vaciamadrid, Molina de Segura, Paterna, Granollers, Santa Lucía de Tirajana, Motril, Cerdañola del Vallés, Arrecife, Segovia, Torrelavega, Elda, Mérida, Ávila, Valdemoro, Cuenta, Collado Villalba, Benalmádena, Mollet del Vallés, Puertollano, Madrid, Barcelona, Valencia, Sevilla, Zaragoza, Málaga, Murcia, Palma de Mallorca, Las Palmas de Gran Canaria, Bilbao, Córdoba, Alicante, Valladolid, Vigo, Gijón, Hospitalet de LLobregat, La Coruña, Granada, Vitoria, Elche, Santa Cruz de Tenerife, Oviedo, Badalona, Cartagena, Móstoles, Jerez de la Frontera, Tarrasa, Sabadell, Alcalá de Henares, Pamplona, Fuenlabrada, Almería, San Sebastián, Leganés, Santander, Burgos, Castellón de la Plana, Alcorcón, Albacete, Getafe, Salamanca, Huelva, Logroño, Badajoz, San Cristróbal de la Laguna, León, Tarragona, Cádiz, Lérida, Marbella, Mataró, Dos Hermanas, Santa Coloma de Gramanet, Jaén, Algeciras, Torrejón de Ardoz, Orense, Alcobendas, Reus, Calahorra, Inca] - country: [Afganistán, Albania, Argelia, Andorra, Angola, Argentina, Armenia, Aruba, Australia, Austria, Azerbayán, Bahamas, Barein, Bangladesh, Barbados, Bielorusia, Bélgica, Belice, Bermuda, Bután, Bolivia, Bosnia Herzegovina, Botswana, Brasil, Bulgaria, Burkina Faso, Burundi, Camboya, Camerún, Canada, Cabo Verde, Islas Caimán, Chad, Chile, China, Isla de Navidad, Colombia, Comodos, Congo, Costa Rica, Costa de Marfil, Croacia, Cuba, Chipre, República Checa, Dinamarca, Dominica, República Dominicana, Ecuador, Egipto, El Salvador, Guinea Ecuatorial, Eritrea, Estonia, Etiopía, Islas Faro, Fiji, Finlandia, Francia, Gabón, Gambia, Georgia, Alemania, Ghana, Grecia, Groenlandia, Granada, Guadalupe, Guam, Guatemala, Guinea, Guinea-Bisau, Guayana, Haiti, Honduras, Hong Kong, Hungria, Islandia, India, Indonesia, Iran, Irak, Irlanda, Italia, Jamaica, Japón, Jordania, Kazajistan, Kenia, Kiribati, Corea, Kuwait, Letonia, Líbano, Liberia, Liechtenstein, Lituania, Luxemburgo, Macao, Macedonia, Madagascar, Malawi, Malasia, Maldivas, Mali, Malta, Martinica, Mauritania, Méjico, Micronesia, Moldavia, Mónaco, Mongolia, Montenegro, Montserrat, Marruecos, Mozambique, Namibia, Nauru, Nepal, Holanda, Nueva Zelanda, Nicaragua, Niger, Nigeria, Noruega, Omán, Pakistan, Panamá, Papúa Nueva Guinea, Paraguay, Perú, Filipinas, Poland, Portugal, Puerto Rico, Rusia, Ruanda, Samoa, San Marino, Santo Tomé y Principe, Arabia Saudí, Senegal, Serbia, Seychelles, Sierra Leona, Singapur, Eslovaquia, Eslovenia, Somalia, España, Sri Lanka, Sudán, Suriname, Suecia, Suiza, Siria, Taiwan, Tajikistan, Tanzania, Tailandia, Timor-Leste, Togo, Tonga, Trinidad y Tobago, Tunez, Turquia, Uganda, Ucrania, Emiratos Árabes Unidos, Reino Unido, Estados Unidos de América, Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, Yemen, Zambia, Zimbabwe] - building_number: [' s/n.', ', #', ', ##', ' #', ' ##'] - street_suffix: [Aldea, Apartamento, Arrabal, Arroyo, Avenida, Bajada, Barranco, Barrio, Bloque, Calle, Calleja, Camino, Carretera, Caserio, Colegio, Colonia, Conjunto, Cuesta, Chalet, Edificio, Entrada, Escalinata, Explanada, Extramuros, Extrarradio, Ferrocarril, Glorieta, Gran Subida, Grupo, Huerta, Jardines, Lado, Lugar, Manzana, Masía, Mercado, Monte, Muelle, Municipio, Parcela, Parque, Partida, Pasaje, Paseo, Plaza, Poblado, Polígono, Prolongación, Puente, Puerta, Quinta, Ramal, Rambla, Rampa, Riera, Rincón, Ronda, Rua, Salida, Sector, Sección, Senda, Solar, Subida, Terrenos, Torrente, Travesía, Urbanización, Vía, Vía Pública] - secondary_address: ['Esc. ###', 'Puerta ###'] - # Though these are US-specific, they are here (in the default locale) for backwards compatibility - postcode: ['#####'] - province: [Álava, Albacete, Alicante, Almería, Asturias, Ávila, Badajoz, Barcelona, Burgos, Cantabria, Castellón, Ciudad Real, Cuenca, Cáceres, Cádiz, Córdoba, Gerona, Granada, Guadalajara, Guipúzcoa, Huelva, Huesca, Islas Baleares, Jaén, La Coruña, La Rioja, Las Palmas, León, Lugo, lérida, Madrid, Murcia, Málaga, Navarra, Orense, Palencia, Pontevedra, Salamanca, Santa Cruz de Tenerife, Segovia, Sevilla, Soria, Tarragona, Teruel, Toledo, Valencia, Valladolid, Vizcaya, Zamora, Zaragoza] - state: [Andalucía, Aragón, Principado de Asturias, Baleares, Canarias, Cantabria, Castilla-La Mancha, Castilla y León, Cataluña, Comunidad Valenciana, Extremadura, Galicia, La Rioja, Comunidad de Madrid, Navarra, País Vasco, Región de Murcia] - state_abbr: [And, Ara, Ast, Bal, Can, Cbr, Man, Leo, Cat, Com, Ext, Gal, Rio, Mad, Nav, Vas, Mur] - time_zone: [Pacífico/Midway, Pacífico/Pago_Pago, Pacífico/Honolulu, America/Juneau, America/Los_Angeles, America/Tijuana, America/Denver, America/Phoenix, America/Chihuahua, America/Mazatlan, America/Chicago, America/Regina, America/Mexico_City, America/Mexico_City, America/Monterrey, America/Guatemala, America/New_York, America/Indiana/Indianapolis, America/Bogota, America/Lima, America/Lima, America/Halifax, America/Caracas, America/La_Paz, America/Santiago, America/St_Johns, America/Sao_Paulo, America/Argentina/Buenos_Aires, America/Guyana, America/Godthab, Atlantic/South_Georgia, Atlantic/Azores, Atlantic/Cape_Verde, Europa/Dublin, Europa/London, Europa/Lisbon, Europa/London, Africa/Casablanca, Africa/Monrovia, Etc/UTC, Europa/Belgrade, Europa/Bratislava, Europa/Budapest, Europa/Ljubljana, Europa/Prague, Europa/Sarajevo, Europa/Skopje, Europa/Warsaw, Europa/Zagreb, Europa/Brussels, Europa/Copenhagen, Europa/Madrid, Europa/Paris, Europa/Amsterdam, Europa/Berlin, Europa/Berlin, Europa/Rome, Europa/Stockholm, Europa/Vienna, Africa/Algiers, Europa/Bucharest, Africa/Cairo, Europa/Helsinki, Europa/Kiev, Europa/Riga, Europa/Sofia, Europa/Tallinn, Europa/Vilnius, Europa/Athens, Europa/Istanbul, Europa/Minsk, Asia/Jerusalen, Africa/Harare, Africa/Johannesburg, Europa/Moscú, Europa/Moscú, Europa/Moscú, Asia/Kuwait, Asia/Riyadh, Africa/Nairobi, Asia/Baghdad, Asia/Tehran, Asia/Muscat, Asia/Muscat, Asia/Baku, Asia/Tbilisi, Asia/Yerevan, Asia/Kabul, Asia/Yekaterinburg, Asia/Karachi, Asia/Karachi, Asia/Tashkent, Asia/Kolkata, Asia/Kolkata, Asia/Kolkata, Asia/Kolkata, Asia/Kathmandu, Asia/Dhaka, Asia/Dhaka, Asia/Colombo, Asia/Almaty, Asia/Novosibirsk, Asia/Rangoon, Asia/Bangkok, Asia/Bangkok, Asia/Jakarta, Asia/Krasnoyarsk, Asia/Shanghai, Asia/Chongqing, Asia/Hong_Kong, Asia/Urumqi, Asia/Kuala_Lumpur, Asia/Singapore, Asia/Taipei, Australia/Perth, Asia/Irkutsk, Asia/Ulaanbaatar, Asia/Seoul, Asia/Tokyo, Asia/Tokyo, Asia/Tokyo, Asia/Yakutsk, Australia/Darwin, Australia/Adelaide, Australia/Melbourne, Australia/Melbourne, Australia/Sydney, Australia/Brisbane, Australia/Hobart, Asia/Vladivostok, Pacífico/Guam, Pacífico/Port_Moresby, Asia/Magadan, Asia/Magadan, Pacífico/Noumea, Pacífico/Fiji, Asia/Kamchatka, Pacífico/Majuro, Pacífico/Auckland, Pacífico/Auckland, Pacífico/Tongatapu, Pacífico/Fakaofo, Pacífico/Apia] - city: - - "#{city_prefix}" - street_name: - - "#{street_suffix} #{Name.first_name}" - - "#{street_suffix} #{Name.first_name} #{Name.last_name}" - street_address: - - "#{street_name}#{building_number}" - - "#{street_name}#{building_number} #{secondary_address}" - default_country: [España] - - company: - suffix: [S.L., e Hijos, S.A., Hermanos] - # Buzzword wordlist from http://www.1728.com/buzzword.htm - buzzwords: - - ["habilidad", "acceso", "adaptador", "algoritmo", "alianza", "analista", "aplicación", "enfoque", "arquitectura", "archivo", "inteligencia artificial", "array", "actitud", "medición", "gestión presupuestaria", "capacidad", "desafío", "circuito", "colaboración", "complejidad", "concepto", "conglomeración", "contingencia", "núcleo", "fidelidad", "base de datos", "data-warehouse", "definición", "emulación", "codificar", "encriptar", "extranet", "firmware", "flexibilidad", "focus group", "previsión", "base de trabajo", "función", "funcionalidad", "Interfaz Gráfica", "groupware", "Interfaz gráfico de usuario", "hardware", "Soporte", "jerarquía", "conjunto", "implementación", "infraestructura", "iniciativa", "instalación", "conjunto de instrucciones", "interfaz", "intranet", "base del conocimiento", "red de area local", "aprovechar", "matrices", "metodologías", "middleware", "migración", "modelo", "moderador", "monitorizar", "arquitectura abierta", "sistema abierto", "orquestar", "paradigma", "paralelismo", "política", "portal", "estructura de precios", "proceso de mejora", "producto", "productividad", "proyecto", "proyección", "protocolo", "línea segura", "software", "solución", "estandardización", "estrategia", "estructura", "éxito", "superestructura", "soporte", "sinergia", "mediante", "marco de tiempo", "caja de herramientas", "utilización", "website", "fuerza de trabajo"] - - ["24 horas", "24/7", "3rd generación", "4th generación", "5th generación", "6th generación", "analizada", "asimétrica", "asíncrona", "monitorizada por red", "bidireccional", "bifurcada", "generada por el cliente", "cliente servidor", "coherente", "cohesiva", "compuesto", "sensible al contexto", "basado en el contexto", "basado en contenido", "dedicada", "generado por la demanda", "didactica", "direccional", "discreta", "dinámica", "potenciada", "acompasada", "ejecutiva", "explícita", "tolerante a fallos", "innovadora", "amplio ábanico", "global", "heurística", "alto nivel", "holística", "homogénea", "hibrida", "incremental", "intangible", "interactiva", "intermedia", "local", "logística", "maximizada", "metódica", "misión crítica", "móbil", "modular", "motivadora", "multimedia", "multiestado", "multitarea", "nacional", "basado en necesidades", "neutral", "nueva generación", "no-volátil", "orientado a objetos", "óptima", "optimizada", "radical", "tiempo real", "recíproca", "regional", "escalable", "secundaria", "orientada a soluciones", "estable", "estatica", "sistemática", "sistémica", "tangible", "terciaria", "transicional", "uniforme", "valor añadido", "vía web", "defectos cero", "tolerancia cero"] - - ["Adaptativo", "Avanzado", "Asimilado", "Automatizado", "Equilibrado", "Centrado en el negocio", "Centralizado", "Clonado", "Compatible", "Configurable", "Multi grupo", "Multi plataforma", "Centrado en el usuario", "Configurable", "Descentralizado", "Digitalizado", "Distribuido", "Diverso", "Reducido", "Mejorado", "Para toda la empresa", "Ergonomico", "Exclusivo", "Expandido", "Extendido", "Cara a cara", "Enfocado", "Totalmente configurable", "Fundamental", "Orígenes", "Horizontal", "Implementado", "Innovador", "Integrado", "Intuitivo", "Inverso", "Gestionado", "Obligatorio", "Monitorizado", "Multi canal", "Multi lateral", "Multi capa", "En red", "Orientado a objetos", "Open-source", "Operativo", "Optimizado", "Opcional", "Organico", "Organizado", "Perseverando", "Persistente", "en fases", "Polarizado", "Pre-emptivo", "Proactivo", "Enfocado a benficios", "Profundo", "Programable", "Progresivo", "Public-key", "Enfocado en la calidad", "Reactivo", "Realineado", "Re-contextualizado", "Re-implementado", "Reducido", "Ingenieria inversa", "Robusto", "Fácil", "Seguro", "Auto proporciona", "Compartible", "Intercambiable", "Sincronizado", "Orientado a equipos", "Total", "Universal", "Mejorado", "Actualizable", "Centrado en el usuario", "Amigable", "Versatil", "Virtual", "Visionario"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name} y #{Name.last_name}" - - "#{Name.last_name} #{Name.last_name} #{suffix}" - - "#{Name.last_name}, #{Name.last_name} y #{Name.last_name} Asociados" - - internet: - free_email: [gmail.com, yahoo.com, hotmail.com] - domain_suffix: [com, es, info, com.es, org] - - name: - first_name: [Adán, Agustín, Alberto, Alejandro, Alfonso, Alfredo, Andrés, Antonio, Armando, Arturo, Benito, Benjamín, Bernardo, Carlos, César, Claudio, Clemente, Cristian, Cristobal, Daniel, David, Diego, Eduardo, Emilio, Enrique, Ernesto, Esteban, Federico, Felipe, Fernando, Francisco, Gabriel, Gerardo, Germán, Gilberto, Gonzalo, Gregorio, Guillermo, Gustavo, Hernán, Homero, Horacio, Hugo, Ignacio, Jacobo, Jaime, Javier, Jerónimo, Jesús, Joaquín, Jorge, Jorge Luis, José, José Eduardo, José Emilio, José Luis, José María, Juan, Juan Carlos, Julio, Julio César, Lorenzo, Lucas, Luis, Luis Miguel, Manuel, Marco Antonio, Marcos, Mariano, Mario, Martín, Mateo, Miguel, Miguel Ángel, Nicolás, Octavio, Óscar, Pablo, Patricio, Pedro, Rafael, Ramiro, Ramón, Raúl, Ricardo, Roberto, Rodrigo, Rubén, Salvador, Samuel, Sancho, Santiago, Sergio, Teodoro, Timoteo, Tomás, Vicente, Víctor, Adela, Adriana, Alejandra, Alicia, Amalia, Ana, Ana Luisa, Ana María, Andrea, Anita, Ángela, Antonia, Ariadna, Barbara, Beatriz, Berta, Blanca, Caridad, Carla, Carlota, Carmen, Carolina, Catalina, Cecilia, Clara, Claudia, Concepción, Conchita, Cristina, Daniela, Débora, Diana, Dolores, Lola, Dorotea, Elena, Elisa, Eloisa, Elsa, Elvira, Emilia, Esperanza, Estela, Ester, Eva, Florencia, Francisca, Gabriela, Gloria, Graciela, Guadalupe, Guillermina, Inés, Irene, Isabel, Isabela, Josefina, Juana, Julia, Laura, Leonor, Leticia, Lilia, Lorena, Lourdes, Lucia, Luisa, Luz, Magdalena, Manuela, Marcela, Margarita, María, María del Carmen, María Cristina, María Elena, María Eugenia, María José, María Luisa, María Soledad, María Teresa, Mariana, Maricarmen, Marilu, Marisol, Marta, Mayte, Mercedes, Micaela, Mónica, Natalia, Norma, Olivia, Patricia, Pilar, Ramona, Raquel, Rebeca, Reina, Rocio, Rosa, Rosalia, Rosario, Sara, Silvia, Sofia, Soledad, Sonia, Susana, Teresa, Verónica, Victoria, Virginia, Yolanda] - last_name: [ Abeyta, Abrego, Abreu, Acevedo, Acosta, Acuña, Adame, Adorno, Agosto, Aguayo, Águilar, Aguilera, Aguirre, Alanis, Alaniz, Alarcón, Alba, Alcala, Alcántar, Alcaraz, Alejandro, Alemán, Alfaro, Alicea, Almanza, Almaraz, Almonte, Alonso, Alonzo, Altamirano, Alva, Alvarado, Alvarez, Amador, Amaya, Anaya, Anguiano, Angulo, Aparicio, Apodaca, Aponte, Aragón, Araña, Aranda, Arce, Archuleta, Arellano, Arenas, Arevalo, Arguello, Arias, Armas, Armendáriz, Armenta, Armijo, Arredondo, Arreola, Arriaga, Arroyo, Arteaga, Atencio, Ávalos, Ávila, Avilés, Ayala, Baca, Badillo, Báez, Baeza, Bahena, Balderas, Ballesteros, Banda, Bañuelos, Barajas, Barela, Barragán, Barraza, Barrera, Barreto, Barrientos, Barrios, Batista, Becerra, Beltrán, Benavides, Benavídez, Benítez, Bermúdez, Bernal, Berríos, Bétancourt, Blanco, Bonilla, Borrego, Botello, Bravo, Briones, Briseño, Brito, Bueno, Burgos, Bustamante, Bustos, Caballero, Cabán, Cabrera, Cadena, Caldera, Calderón, Calvillo, Camacho, Camarillo, Campos, Canales, Candelaria, Cano, Cantú, Caraballo, Carbajal, Cardenas, Cardona, Carmona, Carranza, Carrasco, Carrasquillo, Carreón, Carrera, Carrero, Carrillo, Carrion, Carvajal, Casanova, Casares, Casárez, Casas, Casillas, Castañeda, Castellanos, Castillo, Castro, Cavazos, Cazares, Ceballos, Cedillo, Ceja, Centeno, Cepeda, Cerda, Cervantes, Cervántez, Chacón, Chapa, Chavarría, Chávez, Cintrón, Cisneros, Collado, Collazo, Colón, Colunga, Concepción, Contreras, Cordero, Córdova, Cornejo, Corona, Coronado, Corral, Corrales, Correa, Cortés, Cortez, Cotto, Covarrubias, Crespo, Cruz, Cuellar, Curiel, Dávila, de Anda, de Jesús, Delacrúz, Delafuente, Delagarza, Delao, Delapaz, Delarosa, Delatorre, Deleón, Delgadillo, Delgado, Delrío, Delvalle, Díaz, Domínguez, Domínquez, Duarte, Dueñas, Duran, Echevarría, Elizondo, Enríquez, Escalante, Escamilla, Escobar, Escobedo, Esparza, Espinal, Espino, Espinosa, Espinoza, Esquibel, Esquivel, Estévez, Estrada, Fajardo, Farías, Feliciano, Fernández, Ferrer, Fierro, Figueroa, Flores, Flórez, Fonseca, Franco, Frías, Fuentes, Gaitán, Galarza, Galindo, Gallardo, Gallegos, Galván, Gálvez, Gamboa, Gamez, Gaona, Garay, García, Garibay, Garica, Garrido, Garza, Gastélum, Gaytán, Gil, Girón, Godínez, Godoy, Gómez, Gonzales, González, Gollum, Gracia, Granado, Granados, Griego, Grijalva, Guajardo, Guardado, Guerra, Guerrero, Guevara, Guillen, Gurule, Gutiérrez, Guzmán, Haro, Henríquez, Heredia, Hernádez, Hernandes, Hernández, Herrera, Hidalgo, Hinojosa, Holguín, Huerta, Hurtado, Ibarra, Iglesias, Irizarry, Jaime, Jaimes, Jáquez, Jaramillo, Jasso, Jiménez, Jimínez, Juárez, Jurado, Laboy, Lara, Laureano, Leal, Lebrón, Ledesma, Leiva,Lemus, León, Lerma, Leyva, Limón, Linares, Lira, Llamas, Loera, Lomeli, Longoria, López, Lovato, Loya, Lozada, Lozano, Lucero, Lucio, Luevano, Lugo, Luna, Macías, Madera, Madrid, Madrigal, Maestas, Magaña, Malave, Maldonado, Manzanares, Mares, Marín, Márquez, Marrero, Marroquín, Martínez, Mascareñas, Mata, Mateo, Matías, Matos, Maya, Mayorga, Medina, Medrano, Mejía, Meléndez, Melgar, Mena, Menchaca, Méndez, Mendoza, Menéndez, Meraz, Mercado, Merino, Mesa, Meza, Miramontes, Miranda, Mireles, Mojica, Molina, Mondragón, Monroy, Montalvo, Montañez, Montaño, Montemayor, Montenegro, Montero, Montes, Montez, Montoya, Mora, Morales, Moreno, Mota, Moya, Munguía, Muñiz, Muñoz, Murillo, Muro, Nájera, Naranjo, Narváez, Nava, Navarrete, Navarro, Nazario, Negrete, Negrón, Nevárez, Nieto, Nieves, Niño, Noriega, Núñez, Ocampo, Ocasio, Ochoa, Ojeda, Olivares, Olivárez, Olivas, Olivera, Olivo, Olmos, Olvera, Ontiveros, Oquendo, Ordóñez, Orellana, Ornelas, Orosco, Orozco, Orta, Ortega, Ortiz, Osorio, Otero, Ozuna, Pabón, Pacheco, Padilla, Padrón, Páez, Pagan, Palacios, Palomino, Palomo, Pantoja, Paredes, Parra, Partida, Patiño, Paz, Pedraza, Pedroza, Pelayo, Peña, Perales, Peralta, Perea, Peres, Pérez, Pichardo, Piña, Pineda, Pizarro, Polanco, Ponce, Porras, Portillo, Posada, Prado, Preciado, Prieto, Puente, Puga, Pulido, Quesada, Quezada, Quiñones, Quiñónez, Quintana, Quintanilla, Quintero, Quiroz, Rael, Ramírez, Ramón, Ramos, Rangel, Rascón, Raya, Razo, Regalado, Rendón, Rentería, Reséndez, Reyes, Reyna, Reynoso, Rico, Rincón, Riojas, Ríos, Rivas, Rivera, Rivero, Robledo, Robles, Rocha, Rodarte, Rodrígez, Rodríguez, Rodríquez, Rojas, Rojo, Roldán, Rolón, Romero, Romo, Roque, Rosado, Rosales, Rosario, Rosas, Roybal, Rubio, Ruelas, Ruiz, Saavedra, Sáenz, Saiz, Salas, Salazar, Salcedo, Salcido, Saldaña, Saldivar, Salgado, Salinas, Samaniego, Sanabria, Sanches, Sánchez, Sandoval, Santacruz, Santana, Santiago, Santillán, Sarabia, Sauceda, Saucedo, Sedillo, Segovia, Segura, Sepúlveda, Serna, Serrano, Serrato, Sevilla, Sierra, Sisneros, Solano, Solís, Soliz, Solorio, Solorzano, Soria, Sosa, Sotelo, Soto, Suárez, Tafoya, Tamayo, Tamez, Tapia, Tejada, Tejeda, Téllez, Tello, Terán, Terrazas, Tijerina, Tirado, Toledo, Toro, Torres, Tórrez, Tovar, Trejo, Treviño, Trujillo, Ulibarri, Ulloa, Urbina, Ureña, Urías, Uribe, Urrutia, Vaca, Valadez, Valdés, Valdez, Valdivia, Valencia, Valentín, Valenzuela, Valladares, Valle, Vallejo, Valles, Valverde, Vanegas, Varela, Vargas, Vásquez, Vázquez, Vega, Vela, Velasco, Velásquez, Velázquez, Vélez, Véliz, Venegas, Vera, Verdugo, Verduzco, Vergara, Viera, Vigil, Villa, Villagómez, Villalobos, Villalpando, Villanueva, Villareal, Villarreal, Villaseñor, Villegas, Yáñez, Ybarra, Zambrano, Zamora, Zamudio, Zapata, Zaragoza, Zarate, Zavala, Zayas, Zelaya, Zepeda, Zúñiga] - prefix: [Sr., Sra., Sta.] - suffix: [Jr., Sr., I, II, III, IV, V, MD, DDS, PhD, DVM] - title: - descriptor: [Jefe, Senior, Directo, Corporativo, Dinánmico, Futuro, Producto, Nacional, Regional, Distrito, Central, Global, Cliente, Inversor, International, Heredado, Adelante, Interno, Humano, Gerente, Director] - level: [Soluciones, Programa, Marca, Seguridada, Investigación, Marketing, Normas, Implementación, Integración, Funcionalidad, Respuesta, Paradigma, Tácticas, Identidad, Mercados, Grupo, División, Aplicaciones, Optimización, Operaciones, Infraestructura, Intranet, Comunicaciones, Web, Calidad, Seguro, Mobilidad, Cuentas, Datos, Creativo, Configuración, Contabilidad, Interacciones, Factores, Usabilidad, Métricas] - job: [Supervisor, Asociado, Ejecutivo, Relacciones, Oficial, Gerente, Ingeniero, Especialista, Director, Coordinador, Administrador, Arquitecto, Analista, Diseñador, Planificador, Técnico, Funcionario, Desarrollador, Productor, Consultor, Asistente, Facilitador, Agente, Representante, Estratega] - name: - - "#{prefix} #{first_name} #{last_name} #{last_name}" - - "#{first_name} #{last_name} #{last_name}" - - "#{first_name} #{last_name} #{last_name}" - - "#{first_name} #{last_name} #{last_name}" - - "#{first_name} #{last_name} #{last_name}" - - phone_number: - formats: ['9##-###-###', '9##.###.###', '9## ### ###', '9########'] - cell_phone: - formats: ['6##-###-###', '6##.###.###', '6## ### ###', '6########'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/fa.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/fa.yml deleted file mode 100644 index 83286b9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/fa.yml +++ /dev/null @@ -1,6 +0,0 @@ -fa: - faker: - name: - first_name: [آبان دخت, آبتین, آتوسا, آفر, آفره دخت, آذرنوش‌, آذین, آراه, آرزو, آرش, آرتین, آرتام, آرتمن, آرشام, آرمان, آرمین, آرمیتا, آریا فر, آریا, آریا مهر, آرین, آزاده, آزرم, آزرمدخت, آزیتا, آناهیتا, آونگ, آهو, آیدا, اتسز, اختر, ارد, ارد شیر, اردوان, ارژن, ارژنگ, ارسلان, ارغوان, ارمغان, ارنواز, اروانه, استر, اسفندیار, اشکان, اشکبوس, افسانه, افسون, افشین, امید, انوش (‌ آنوشا ), انوشروان, اورنگ, اوژن, اوستا, اهورا, ایاز, ایران, ایراندخت, ایرج, ایزدیار, بابک, باپوک, باربد, بارمان, بامداد, بامشاد, بانو, بختیار, برانوش, بردیا, برزو, برزویه, برزین, برمک, بزرگمهر, بنفشه, بوژان, بویان, بهار, بهارک, بهاره, بهتاش, بهداد, بهرام, بهدیس, بهرخ, بهرنگ, بهروز, بهزاد, بهشاد, بهمن, بهناز, بهنام, بهنود, بهنوش, بیتا, بیژن, پارسا, پاکان, پاکتن, پاکدخت, پانته آ, پدرام, پرتو, پرشنگ, پرتو, پرستو, پرویز, پردیس, پرهام, پژمان, پژوا, پرنیا, پشنگ, پروانه, پروین, پری, پریچهر, پریدخت, پریسا, پرناز, پریوش, پریا, پوپک, پوران, پوراندخت, پوریا, پولاد, پویا, پونه, پیام, پیروز, پیمان, تابان, تاباندخت, تاجی, تارا, تاویار, ترانه, تناز, توران, توراندخت, تورج, تورتک, توفان, توژال, تیر داد, تینا, تینو, جابان, جامین, جاوید, جریره, جمشید, جوان, جویا, جهان, جهانبخت, جهانبخش, جهاندار, جهانگیر, جهان بانو, جهاندخت, جهان ناز, جیران, چابک, چالاک, چاوش, چترا, چوبین, چهرزاد, خاوردخت, خداداد, خدایار, خرم, خرمدخت, خسرو, خشایار, خورشید, دادمهر, دارا, داراب, داریا, داریوش, دانوش, داور‌, دایان, دریا, دل آرا, دل آویز, دلارام, دل انگیز, دلبر, دلبند, دلربا, دلشاد, دلکش, دلناز, دلنواز, دورشاسب, دنیا, دیااکو, دیانوش, دیبا, دیبا دخت, رابو, رابین, رادبانو, رادمان, رازبان, راژانه, راسا, رامتین, رامش, رامشگر, رامونا, رامیار, رامیلا, رامین, راویار, رژینا, رخپاک, رخسار, رخشانه, رخشنده, رزمیار, رستم, رکسانا, روبینا, رودابه, روزبه, روشنک, روناک, رهام, رهی, ریبار, راسپینا, زادبخت, زاد به, زاد چهر, زاد فر, زال, زادماسب, زاوا, زردشت, زرنگار, زری, زرین, زرینه, زمانه, زونا, زیبا, زیبار, زیما, زینو, ژاله, ژالان, ژیار, ژینا, ژیوار, سارا, سارک, سارنگ, ساره, ساسان, ساغر, سام, سامان, سانا, ساناز, سانیار, ساویز, ساهی, ساینا, سایه, سپنتا, سپند, سپهر, سپهرداد, سپیدار, سپید بانو, سپیده, ستاره, ستی, سرافراز, سرور, سروش, سرور, سوبا, سوبار, سنبله, سودابه, سوری, سورن, سورنا, سوزان, سوزه, سوسن, سومار, سولان, سولماز, سوگند, سهراب, سهره, سهند, سیامک, سیاوش, سیبوبه ‌, سیما, سیمدخت, سینا, سیمین, سیمین دخت, شاپرک, شادی, شادمهر, شاران, شاهپور, شاهدخت, شاهرخ, شاهین, شاهیندخت, شایسته, شباهنگ, شب بو, شبدیز, شبنم, شراره, شرمین, شروین, شکوفه, شکفته, شمشاد, شمین, شوان, شمیلا, شورانگیز, شوری, شهاب, شهبار, شهباز, شهبال, شهپر, شهداد, شهرآرا, شهرام, شهربانو, شهرزاد, شهرناز, شهرنوش, شهره, شهریار, شهرزاد, شهلا, شهنواز, شهین, شیبا, شیدا, شیده, شیردل, شیرزاد, شیرنگ, شیرو, شیرین دخت, شیما, شینا, شیرین, شیوا, طوس, طوطی, طهماسب, طهمورث, غوغا, غنچه, فتانه, فدا, فراز, فرامرز, فرانک, فراهان, فربد, فربغ, فرجاد, فرخ, فرخ پی, فرخ داد, فرخ رو, فرخ زاد, فرخ لقا, فرخ مهر, فرداد, فردیس, فرین, فرزاد, فرزام, فرزان, فرزانه, فرزین, فرشاد, فرشته, فرشید, فرمان, فرناز, فرنگیس, فرنود, فرنوش, فرنیا, فروتن, فرود, فروز, فروزان, فروزش, فروزنده, فروغ, فرهاد, فرهنگ, فرهود, فربار, فریبا, فرید, فریدخت, فریدون, فریمان, فریناز, فرینوش, فریوش, فیروز, فیروزه, قابوس, قباد, قدسی, کابان, کابوک, کارا, کارو, کاراکو, کامبخت, کامبخش, کامبیز, کامجو, کامدین, کامران, کامراوا, کامک, کامنوش, کامیار, کانیار, کاووس, کاوه, کتایون, کرشمه, کسری, کلاله, کمبوجیه, کوشا, کهبد, کهرام, کهزاد, کیارش, کیان, کیانا, کیانچهر, کیاندخت, کیانوش, کیاوش, کیخسرو, کیقباد, کیکاووس, کیوان, کیوان دخت, کیومرث, کیهان, کیاندخت, کیهانه, گرد آفرید, گردان, گرشا, گرشاسب, گرشین, گرگین, گزل, گشتاسب, گشسب, گشسب بانو, گل, گل آذین, گل آرا‌, گلاره, گل افروز, گلاله, گل اندام, گلاویز, گلباد, گلبار, گلبام, گلبان, گلبانو, گلبرگ, گلبو, گلبهار, گلبیز, گلپاره, گلپر, گلپری, گلپوش, گل پونه, گلچین, گلدخت, گلدیس, گلربا, گلرخ, گلرنگ, گلرو, گلشن, گلریز, گلزاد, گلزار, گلسا, گلشید, گلنار, گلناز, گلنسا, گلنواز, گلنوش, گلی, گودرز, گوماتو, گهر چهر, گوهر ناز, گیتی, گیسو, گیلدا, گیو, لادن, لاله, لاله رخ, لاله دخت, لبخند, لقاء, لومانا, لهراسب, مارال, ماری, مازیار, ماکان, مامک, مانا, ماندانا, مانوش, مانی, مانیا, ماهان, ماهاندخت, ماه برزین, ماه جهان, ماهچهر, ماهدخت, ماهور, ماهرخ, ماهزاد, مردآویز, مرداس, مرزبان, مرمر, مزدک, مژده, مژگان, مستان, مستانه, مشکاندخت, مشکناز, مشکین دخت, منیژه, منوچهر, مهبانو, مهبد, مه داد, مهتاب, مهدیس, مه جبین, مه دخت, مهر آذر, مهر آرا, مهر آسا, مهر آفاق, مهر افرین, مهرآب, مهرداد, مهر افزون, مهرام, مهران, مهراندخت, مهراندیش, مهرانفر, مهرانگیز, مهرداد, مهر دخت, مهرزاده ‌, مهرناز, مهرنوش, مهرنکار, مهرنیا, مهروز, مهری, مهریار, مهسا, مهستی, مه سیما, مهشاد, مهشید, مهنام, مهناز, مهنوش, مهوش, مهیار, مهین, مهین دخت, میترا, میخک, مینا, مینا دخت, مینو, مینودخت, مینو فر, نادر, ناز آفرین, نازبانو, نازپرور, نازچهر, نازفر, نازلی, نازی, نازیدخت, نامور, ناهید, ندا, نرسی, نرگس, نرمک, نرمین, نریمان, نسترن, نسرین, نسرین دخت, نسرین نوش, نکیسا, نگار, نگاره, نگارین, نگین, نوا, نوش, نوش آذر, نوش آور, نوشا, نوش آفرین, نوشدخت, نوشروان, نوشفر, نوشناز, نوشین, نوید, نوین, نوین دخت, نیش ا, نیک بین, نیک پی, نیک چهر, نیک خواه, نیکداد, نیکدخت, نیکدل, نیکزاد, نیلوفر, نیما, وامق, ورجاوند, وریا, وشمگیر, وهرز, وهسودان, ویدا, ویس, ویشتاسب, ویگن, هژیر, هخامنش, هربد( هیربد ), هرمز, همایون, هما, همادخت, همدم, همراز, همراه, هنگامه, هوتن, هور, هورتاش, هورچهر, هورداد, هوردخت, هورزاد, هورمند, هوروش, هوشنگ, هوشیار, هومان, هومن, هونام, هویدا, هیتاسب, هیرمند, هیما, هیوا, یادگار, یاسمن ( یاسمین ), یاشار, یاور, یزدان, یگانه, یوشیتا] - last_name: [عارف, عاشوری, عالی, عبادی, عبدالکریمی, عبدالملکی, عراقی, عزیزی, عصار, عقیلی, علم, علم‌الهدی, علی عسگری, علی‌آبادی, علیا, علی‌پور, علی‌زمانی, عنایت, غضنفری, غنی, فارسی, فاطمی, فانی, فتاحی, فرامرزی, فرج, فرشیدورد, فرمانفرمائیان, فروتن, فرهنگ, فریاد, فنایی, فنی‌زاده, فولادوند, فهمیده, قاضی, قانعی, قانونی, قمیشی, قنبری, قهرمان, قهرمانی, قهرمانیان, قهستانی, کاشی, کاکاوند, کامکار, کاملی, کاویانی, کدیور, کردبچه, کرمانی, کریمی, کلباسی, کمالی, کوشکی, کهنمویی, کیان, کیانی (نام خانوادگی), کیمیایی, گل محمدی, گلپایگانی, گنجی, لاجوردی, لاچینی, لاهوتی, لنکرانی, لوکس, مجاهد, مجتبایی, مجتبوی, مجتهد شبستری, مجتهدی, مجرد, محجوب, محجوبی, محدثی, محمدرضایی, محمدی, مددی, مرادخانی, مرتضوی, مستوفی, مشا, مصاحب, مصباح, مصباح‌زاده, مطهری, مظفر, معارف, معروف, معین, مفتاح, مفتح, مقدم, ملایری, ملک, ملکیان, منوچهری, موحد, موسوی, موسویان, مهاجرانی, مهدی‌پور, میرباقری, میردامادی, میرزاده, میرسپاسی, میزبانی, ناظری, نامور, نجفی, ندوشن, نراقی, نعمت‌زاده, نقدی, نقیب‌زاده, نواب, نوبخت, نوبختی, نهاوندی, نیشابوری, نیلوفری, واثقی, واعظ, واعظ‌زاده, واعظی, وکیلی, هاشمی, هاشمی رفسنجانی, هاشمیان, هامون, هدایت, هراتی, هروی, همایون, همت, همدانی, هوشیار, هومن, یاحقی, یادگار, یثربی, یلدا] - prefix: [آقای, خانم, دکتر] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/fr.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/fr.yml deleted file mode 100644 index 10d407c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/fr.yml +++ /dev/null @@ -1,55 +0,0 @@ -fr: - faker: - address: - building_number: ['####', '###', '##', '#'] - street_prefix: ["Allée, Voie", "Rue", "Avenue", "Boulevard", "Quai", "Passage", "Impasse", "Place"] - secondary_address: ['Apt. ###', '# étage'] - postcode: ['#####'] - state: ['Alsace', 'Aquitaine', 'Auvergne', 'Basse-Normandie', 'Bourgogne', 'Bretagne', 'Centre', 'Champagne-Ardenne', 'Corse', 'Franche-Comté', 'Haute-Normandie', 'Île-de-France', 'Languedoc-Roussillon', 'Limousin', 'Lorraine', 'Midi-Pyrénées', 'Nord-Pas-de-Calais', 'Pays de la Loire', 'Picardie', 'Poitou-Charentes', "Provence-Alpes-Côte d'Azur", 'Rhône-Alpes'] - city_name: ["Paris", "Marseille", "Lyon", "Toulouse", "Nice", "Nantes", "Strasbourg", "Montpellier", "Bordeaux", "Lille13", "Rennes", "Reims", "Le Havre", "Saint-Étienne", "Toulon", "Grenoble", "Dijon", "Angers", "Saint-Denis", "Villeurbanne", "Le Mans", "Aix-en-Provence", "Brest", "Nîmes", "Limoges", "Clermont-Ferrand", "Tours", "Amiens", "Metz", "Perpignan", "Besançon", "Orléans", "Boulogne-Billancourt", "Mulhouse", "Rouen", "Caen", "Nancy", "Saint-Denis", "Saint-Paul", "Montreuil", "Argenteuil", "Roubaix", "Dunkerque14", "Tourcoing", "Nanterre", "Avignon", "Créteil", "Poitiers", "Fort-de-France", "Courbevoie", "Versailles", "Vitry-sur-Seine", "Colombes", "Pau", "Aulnay-sous-Bois", "Asnières-sur-Seine", "Rueil-Malmaison", "Saint-Pierre", "Antibes", "Saint-Maur-des-Fossés", "Champigny-sur-Marne", "La Rochelle", "Aubervilliers", "Calais", "Cannes", "Le Tampon", "Béziers", "Colmar", "Bourges", "Drancy", "Mérignac", "Saint-Nazaire", "Valence", "Ajaccio", "Issy-les-Moulineaux", "Villeneuve-d'Ascq", "Levallois-Perret", "Noisy-le-Grand", "Quimper", "La Seyne-sur-Mer", "Antony", "Troyes", "Neuilly-sur-Seine", "Sarcelles", "Les Abymes", "Vénissieux", "Clichy", "Lorient", "Pessac", "Ivry-sur-Seine", "Cergy", "Cayenne", "Niort", "Chambéry", "Montauban", "Saint-Quentin", "Villejuif", "Hyères", "Beauvais", "Cholet"] - city: - - "#{city_name}" - street_suffix: ["de l'Abbaye", "Adolphe Mille", "d'Alésia", "d'Argenteuil", "d'Assas", "du Bac", "de Paris", "La Boétie", "Bonaparte", "de la Bûcherie", "de Caumartin", "Charlemagne", "du Chat-qui-Pêche", "de la Chaussée-d'Antin", "du Dahomey", "Dauphine", "Delesseux", "du Faubourg Saint-Honoré", "du Faubourg-Saint-Denis", "de la Ferronnerie", "des Francs-Bourgeois", "des Grands Augustins", "de la Harpe", "du Havre", "de la Huchette", "Joubert", "Laffitte", "Lepic", "des Lombards", "Marcadet", "Molière", "Monsieur-le-Prince", "de Montmorency", "Montorgueil", "Mouffetard", "de Nesle", "Oberkampf", "de l'Odéon", "d'Orsel", "de la Paix", "des Panoramas", "Pastourelle", "Pierre Charron", "de la Pompe", "de Presbourg", "de Provence", "de Richelieu", "de Rivoli", "des Rosiers", "Royale", "d'Abbeville", "Saint-Honoré", "Saint-Bernard", "Saint-Denis", "Saint-Dominique", "Saint-Jacques", "Saint-Séverin", "des Saussaies", "de Seine", "de Solférino", "Du Sommerard", "de Tilsitt", "Vaneau", "de Vaugirard", "de la Victoire", "Zadkine"] - street_name: - - "#{street_prefix} #{street_suffix}" - street_address: - - "#{building_number} #{street_name}" - default_country: [France] - - company: - suffix: [SARL, SA, EURL, SAS, SEM, SCOP, GIE, EI] - # Buzzword wordlist from http://www.1728.com/buzzword.htm - buzzwords: - - ["Adaptive", "Advanced", "Ameliorated", "Assimilated", "Automated", "Balanced", "Business-focused", "Centralized", "Cloned", "Compatible", "Configurable", "Cross-group", "Cross-platform", "Customer-focused", "Customizable", "Decentralized", "De-engineered", "Devolved", "Digitized", "Distributed", "Diverse", "Down-sized", "Enhanced", "Enterprise-wide", "Ergonomic", "Exclusive", "Expanded", "Extended", "Face to face", "Focused", "Front-line", "Fully-configurable", "Function-based", "Fundamental", "Future-proofed", "Grass-roots", "Horizontal", "Implemented", "Innovative", "Integrated", "Intuitive", "Inverse", "Managed", "Mandatory", "Monitored", "Multi-channelled", "Multi-lateral", "Multi-layered", "Multi-tiered", "Networked", "Object-based", "Open-architected", "Open-source", "Operative", "Optimized", "Optional", "Organic", "Organized", "Persevering", "Persistent", "Phased", "Polarised", "Pre-emptive", "Proactive", "Profit-focused", "Profound", "Programmable", "Progressive", "Public-key", "Quality-focused", "Reactive", "Realigned", "Re-contextualized", "Re-engineered", "Reduced", "Reverse-engineered", "Right-sized", "Robust", "Seamless", "Secured", "Self-enabling", "Sharable", "Stand-alone", "Streamlined", "Switchable", "Synchronised", "Synergistic", "Synergized", "Team-oriented", "Total", "Triple-buffered", "Universal", "Up-sized", "Upgradable", "User-centric", "User-friendly", "Versatile", "Virtual", "Visionary", "Vision-oriented"] - - ["24 hour", "24/7", "3rd generation", "4th generation", "5th generation", "6th generation", "actuating", "analyzing", "asymmetric", "asynchronous", "attitude-oriented", "background", "bandwidth-monitored", "bi-directional", "bifurcated", "bottom-line", "clear-thinking", "client-driven", "client-server", "coherent", "cohesive", "composite", "context-sensitive", "contextually-based", "content-based", "dedicated", "demand-driven", "didactic", "directional", "discrete", "disintermediate", "dynamic", "eco-centric", "empowering", "encompassing", "even-keeled", "executive", "explicit", "exuding", "fault-tolerant", "foreground", "fresh-thinking", "full-range", "global", "grid-enabled", "heuristic", "high-level", "holistic", "homogeneous", "human-resource", "hybrid", "impactful", "incremental", "intangible", "interactive", "intermediate", "leading edge", "local", "logistical", "maximized", "methodical", "mission-critical", "mobile", "modular", "motivating", "multimedia", "multi-state", "multi-tasking", "national", "needs-based", "neutral", "next generation", "non-volatile", "object-oriented", "optimal", "optimizing", "radical", "real-time", "reciprocal", "regional", "responsive", "scalable", "secondary", "solution-oriented", "stable", "static", "systematic", "systemic", "system-worthy", "tangible", "tertiary", "transitional", "uniform", "upward-trending", "user-facing", "value-added", "web-enabled", "well-modulated", "zero administration", "zero defect", "zero tolerance"] - - ["ability", "access", "adapter", "algorithm", "alliance", "analyzer", "application", "approach", "architecture", "archive", "artificial intelligence", "array", "attitude", "benchmark", "budgetary management", "capability", "capacity", "challenge", "circuit", "collaboration", "complexity", "concept", "conglomeration", "contingency", "core", "customer loyalty", "database", "data-warehouse", "definition", "emulation", "encoding", "encryption", "extranet", "firmware", "flexibility", "focus group", "forecast", "frame", "framework", "function", "functionalities", "Graphic Interface", "groupware", "Graphical User Interface", "hardware", "help-desk", "hierarchy", "hub", "implementation", "info-mediaries", "infrastructure", "initiative", "installation", "instruction set", "interface", "internet solution", "intranet", "knowledge user", "knowledge base", "local area network", "leverage", "matrices", "matrix", "methodology", "middleware", "migration", "model", "moderator", "monitoring", "moratorium", "neural-net", "open architecture", "open system", "orchestration", "paradigm", "parallelism", "policy", "portal", "pricing structure", "process improvement", "product", "productivity", "project", "projection", "protocol", "secured line", "service-desk", "software", "solution", "standardization", "strategy", "structure", "success", "superstructure", "support", "synergy", "system engine", "task-force", "throughput", "time-frame", "toolset", "utilisation", "website", "workforce"] - # BS wordlist from http://dack.com/web/bullshit.html - bs: - - ["implement", "utilize", "integrate", "streamline", "optimize", "evolve", "transform", "embrace", "enable", "orchestrate", "leverage", "reinvent", "aggregate", "architect", "enhance", "incentivize", "morph", "empower", "envisioneer", "monetize", "harness", "facilitate", "seize", "disintermediate", "synergize", "strategize", "deploy", "brand", "grow", "target", "syndicate", "synthesize", "deliver", "mesh", "incubate", "engage", "maximize", "benchmark", "expedite", "reintermediate", "whiteboard", "visualize", "repurpose", "innovate", "scale", "unleash", "drive", "extend", "engineer", "revolutionize", "generate", "exploit", "transition", "e-enable", "iterate", "cultivate", "matrix", "productize", "redefine", "recontextualize"] - - ["clicks-and-mortar", "value-added", "vertical", "proactive", "robust", "revolutionary", "scalable", "leading-edge", "innovative", "intuitive", "strategic", "e-business", "mission-critical", "sticky", "one-to-one", "24/7", "end-to-end", "global", "B2B", "B2C", "granular", "frictionless", "virtual", "viral", "dynamic", "24/365", "best-of-breed", "killer", "magnetic", "bleeding-edge", "web-enabled", "interactive", "dot-com", "sexy", "back-end", "real-time", "efficient", "front-end", "distributed", "seamless", "extensible", "turn-key", "world-class", "open-source", "cross-platform", "cross-media", "synergistic", "bricks-and-clicks", "out-of-the-box", "enterprise", "integrated", "impactful", "wireless", "transparent", "next-generation", "cutting-edge", "user-centric", "visionary", "customized", "ubiquitous", "plug-and-play", "collaborative", "compelling", "holistic", "rich"] - - ["synergies", "web-readiness", "paradigms", "markets", "partnerships", "infrastructures", "platforms", "initiatives", "channels", "eyeballs", "communities", "ROI", "solutions", "e-tailers", "e-services", "action-items", "portals", "niches", "technologies", "content", "vortals", "supply-chains", "convergence", "relationships", "architectures", "interfaces", "e-markets", "e-commerce", "systems", "bandwidth", "infomediaries", "models", "mindshare", "deliverables", "users", "schemas", "networks", "applications", "metrics", "e-business", "functionalities", "experiences", "web services", "methodologies"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name} et #{Name.last_name}" - - internet: - free_email: [gmail.com, yahoo.fr, hotmail.fr] - domain_suffix: [com, fr, eu, info, name, net, org] - - lorem: - words: [alias, consequatur, aut, perferendis, sit, voluptatem, accusantium, doloremque, aperiam, eaque, ipsa, quae, ab, illo, inventore, veritatis, et, quasi, architecto, beatae, vitae, dicta, sunt, explicabo, aspernatur, aut, odit, aut, fugit, sed, quia, consequuntur, magni, dolores, eos, qui, ratione, voluptatem, sequi, nesciunt, neque, dolorem, ipsum, quia, dolor, sit, amet, consectetur, adipisci, velit, sed, quia, non, numquam, eius, modi, tempora, incidunt, ut, labore, et, dolore, magnam, aliquam, quaerat, voluptatem, ut, enim, ad, minima, veniam, quis, nostrum, exercitationem, ullam, corporis, nemo, enim, ipsam, voluptatem, quia, voluptas, sit, suscipit, laboriosam, nisi, ut, aliquid, ex, ea, commodi, consequatur, quis, autem, vel, eum, iure, reprehenderit, qui, in, ea, voluptate, velit, esse, quam, nihil, molestiae, et, iusto, odio, dignissimos, ducimus, qui, blanditiis, praesentium, laudantium, totam, rem, voluptatum, deleniti, atque, corrupti, quos, dolores, et, quas, molestias, excepturi, sint, occaecati, cupiditate, non, provident, sed, ut, perspiciatis, unde, omnis, iste, natus, error, similique, sunt, in, culpa, qui, officia, deserunt, mollitia, animi, id, est, laborum, et, dolorum, fuga, et, harum, quidem, rerum, facilis, est, et, expedita, distinctio, nam, libero, tempore, cum, soluta, nobis, est, eligendi, optio, cumque, nihil, impedit, quo, porro, quisquam, est, qui, minus, id, quod, maxime, placeat, facere, possimus, omnis, voluptas, assumenda, est, omnis, dolor, repellendus, temporibus, autem, quibusdam, et, aut, consequatur, vel, illum, qui, dolorem, eum, fugiat, quo, voluptas, nulla, pariatur, at, vero, eos, et, accusamus, officiis, debitis, aut, rerum, necessitatibus, saepe, eveniet, ut, et, voluptates, repudiandae, sint, et, molestiae, non, recusandae, itaque, earum, rerum, hic, tenetur, a, sapiente, delectus, ut, aut, reiciendis, voluptatibus, maiores, doloribus, asperiores, repellat] - supplemental: [abbas, abduco, abeo, abscido, absconditus, absens, absorbeo, absque, abstergo, absum, abundans, abutor, accedo, accendo, acceptus, accipio, accommodo, accusator, acer, acerbitas, acervus, acidus, acies, acquiro, acsi, adamo, adaugeo, addo, adduco, ademptio, adeo, adeptio, adfectus, adfero, adficio, adflicto, adhaero, adhuc, adicio, adimpleo, adinventitias, adipiscor, adiuvo, administratio, admiratio, admitto, admoneo, admoveo, adnuo, adopto, adsidue, adstringo, adsuesco, adsum, adulatio, adulescens, adultus, aduro, advenio, adversus, advoco, aedificium, aeger, aegre, aegrotatio, aegrus, aeneus, aequitas, aequus, aer, aestas, aestivus, aestus, aetas, aeternus, ager, aggero, aggredior, agnitio, agnosco, ago, ait, aiunt, alienus, alii, alioqui, aliqua, alius, allatus, alo, alter, altus, alveus, amaritudo, ambitus, ambulo, amicitia, amiculum, amissio, amita, amitto, amo, amor, amoveo, amplexus, amplitudo, amplus, ancilla, angelus, angulus, angustus, animadverto, animi, animus, annus, anser, ante, antea, antepono, antiquus, aperio, aperte, apostolus, apparatus, appello, appono, appositus, approbo, apto, aptus, apud, aqua, ara, aranea, arbitro, arbor, arbustum, arca, arceo, arcesso, arcus, argentum, argumentum, arguo, arma, armarium, armo, aro, ars, articulus, artificiose, arto, arx, ascisco, ascit, asper, aspicio, asporto, assentator, astrum, atavus, ater, atqui, atrocitas, atrox, attero, attollo, attonbitus, auctor, auctus, audacia, audax, audentia, audeo, audio, auditor, aufero, aureus, auris, aurum, aut, autem, autus, auxilium, avaritia, avarus, aveho, averto, avoco, baiulus, balbus, barba, bardus, basium, beatus, bellicus, bellum, bene, beneficium, benevolentia, benigne, bestia, bibo, bis, blandior, bonus, bos, brevis, cado, caecus, caelestis, caelum, calamitas, calcar, calco, calculus, callide, campana, candidus, canis, canonicus, canto, capillus, capio, capitulus, capto, caput, carbo, carcer, careo, caries, cariosus, caritas, carmen, carpo, carus, casso, caste, casus, catena, caterva, cattus, cauda, causa, caute, caveo, cavus, cedo, celebrer, celer, celo, cena, cenaculum, ceno, censura, centum, cerno, cernuus, certe, certo, certus, cervus, cetera, charisma, chirographum, cibo, cibus, cicuta, cilicium, cimentarius, ciminatio, cinis, circumvenio, cito, civis, civitas, clam, clamo, claro, clarus, claudeo, claustrum, clementia, clibanus, coadunatio, coaegresco, coepi, coerceo, cogito, cognatus, cognomen, cogo, cohaero, cohibeo, cohors, colligo, colloco, collum, colo, color, coma, combibo, comburo, comedo, comes, cometes, comis, comitatus, commemoro, comminor, commodo, communis, comparo, compello, complectus, compono, comprehendo, comptus, conatus, concedo, concido, conculco, condico, conduco, confero, confido, conforto, confugo, congregatio, conicio, coniecto, conitor, coniuratio, conor, conqueror, conscendo, conservo, considero, conspergo, constans, consuasor, contabesco, contego, contigo, contra, conturbo, conventus, convoco, copia, copiose, cornu, corona, corpus, correptius, corrigo, corroboro, corrumpo, coruscus, cotidie, crapula, cras, crastinus, creator, creber, crebro, credo, creo, creptio, crepusculum, cresco, creta, cribro, crinis, cruciamentum, crudelis, cruentus, crur, crustulum, crux, cubicularis, cubitum, cubo, cui, cuius, culpa, culpo, cultellus, cultura, cum, cunabula, cunae, cunctatio, cupiditas, cupio, cuppedia, cupressus, cur, cura, curatio, curia, curiositas, curis, curo, curriculum, currus, cursim, curso, cursus, curto, curtus, curvo, curvus, custodia, damnatio, damno, dapifer, debeo, debilito, decens, decerno, decet, decimus, decipio, decor, decretum, decumbo, dedecor, dedico, deduco, defaeco, defendo, defero, defessus, defetiscor, deficio, defigo, defleo, defluo, defungo, degenero, degero, degusto, deinde, delectatio, delego, deleo, delibero, delicate, delinquo, deludo, demens, demergo, demitto, demo, demonstro, demoror, demulceo, demum, denego, denique, dens, denuncio, denuo, deorsum, depereo, depono, depopulo, deporto, depraedor, deprecator, deprimo, depromo, depulso, deputo, derelinquo, derideo, deripio, desidero, desino, desipio, desolo, desparatus, despecto, despirmatio, infit, inflammatio, paens, patior, patria, patrocinor, patruus, pauci, paulatim, pauper, pax, peccatus, pecco, pecto, pectus, pecunia, pecus, peior, pel, ocer, socius, sodalitas, sol, soleo, solio, solitudo, solium, sollers, sollicito, solum, solus, solutio, solvo, somniculosus, somnus, sonitus, sono, sophismata, sopor, sordeo, sortitus, spargo, speciosus, spectaculum, speculum, sperno, spero, spes, spiculum, spiritus, spoliatio, sponte, stabilis, statim, statua, stella, stillicidium, stipes, stips, sto, strenuus, strues, studio, stultus, suadeo, suasoria, sub, subito, subiungo, sublime, subnecto, subseco, substantia, subvenio, succedo, succurro, sufficio, suffoco, suffragium, suggero, sui, sulum, sum, summa, summisse, summopere, sumo, sumptus, supellex, super, suppellex, supplanto, suppono, supra, surculus, surgo, sursum, suscipio, suspendo, sustineo, suus, synagoga, tabella, tabernus, tabesco, tabgo, tabula, taceo, tactus, taedium, talio, talis, talus, tam, tamdiu, tamen, tametsi, tamisium, tamquam, tandem, tantillus, tantum, tardus, tego, temeritas, temperantia, templum, temptatio, tempus, tenax, tendo, teneo, tener, tenuis, tenus, tepesco, tepidus, ter, terebro, teres, terga, tergeo, tergiversatio, tergo, tergum, termes, terminatio, tero, terra, terreo, territo, terror, tersus, tertius, testimonium, texo, textilis, textor, textus, thalassinus, theatrum, theca, thema, theologus, thermae, thesaurus, thesis, thorax, thymbra, thymum, tibi, timidus, timor, titulus, tolero, tollo, tondeo, tonsor, torqueo, torrens, tot, totidem, toties, totus, tracto, trado, traho, trans, tredecim, tremo, trepide, tres, tribuo, tricesimus, triduana, triginta, tripudio, tristis, triumphus, trucido, truculenter, tubineus, tui, tum, tumultus, tunc, turba, turbo, turpe, turpis, tutamen, tutis, tyrannus, uberrime, ubi, ulciscor, ullus, ulterius, ultio, ultra, umbra, umerus, umquam, una, unde, undique, universe, unus, urbanus, urbs, uredo, usitas, usque, ustilo, ustulo, usus, uter, uterque, utilis, utique, utor, utpote, utrimque, utroque, utrum, uxor, vaco, vacuus, vado, vae, valde, valens, valeo, valetudo, validus, vallum, vapulus, varietas, varius, vehemens, vel, velociter, velum, velut, venia, venio, ventito, ventosus, ventus, venustas, ver, verbera, verbum, vere, verecundia, vereor, vergo, veritas, vero, versus, verto, verumtamen, verus, vesco, vesica, vesper, vespillo, vester, vestigium, vestrum, vetus, via, vicinus, vicissitudo, victoria, victus, videlicet, video, viduata, viduo, vigilo, vigor, vilicus, vilis, vilitas, villa, vinco, vinculum, vindico, vinitor, vinum, vir, virga, virgo, viridis, viriliter, virtus, vis, viscus, vita, vitiosus, vitium, vito, vivo, vix, vobis, vociferor, voco, volaticus, volo, volubilis, voluntarius, volup, volutabrum, volva, vomer, vomica, vomito, vorago, vorax, voro, vos, votum, voveo, vox, vulariter, vulgaris, vulgivagus, vulgo, vulgus, vulnero, vulnus, vulpes, vulticulus, vultuosus, xiphias] - - name: - first_name: [Enzo, Lucas, Mathis, Nathan, Thomas, Hugo, Théo, Tom, Louis, Raphaël, Clément, Léo, Mathéo, Maxime, Alexandre, Antoine, Yanis, Paul, Baptiste, Alexis, Gabriel, Arthur, Jules, Ethan, Noah, Quentin, Axel, Evan, Mattéo, Romain, Valentin, Maxence, Noa, Adam, Nicolas, Julien, Mael, Pierre, Rayan, Victor, Mohamed, Adrien, Kylian, Sacha, Benjamin, Léa, Clara, Manon, Chloé, Camille, Ines, Sarah, Jade, Lola, Anaïs, Lucie, Océane, Lilou, Marie, Eva, Romane, Lisa, Zoe, Julie, Mathilde, Louise, Juliette, Clémence, Célia, Laura, Lena, Maëlys, Charlotte, Ambre, Maeva, Pauline, Lina, Jeanne, Lou, Noémie, Justine, Louna, Elisa, Alice, Emilie, Carla, Maëlle, Alicia, Mélissa] - last_name: [Martin, Bernard, Dubois, Thomas, Robert, Richard, Petit, Durand, Leroy, Moreau, Simon, Laurent, Lefebvre, Michel, Garcia, David, Bertrand, Roux, Vincent, Fournier, Morel, Girard, Andre, Lefevre, Mercier, Dupont, Lambert, Bonnet, Francois, Martinez, Legrand, Garnier, Faure, Rousseau, Blanc, Guerin, Muller, Henry, Roussel, Nicolas, Perrin, Morin, Mathieu, Clement, Gauthier, Dumont, Lopez, Fontaine, Chevalier, Robin, Masson, Sanchez, Gerard, Nguyen, Boyer, Denis, Lemaire, Duval, Joly, Gautier, Roger, Roche, Roy, Noel, Meyer, Lucas, Meunier, Jean, Perez, Marchand, Dufour, Blanchard, Marie, Barbier, Brun, Dumas, Brunet, Schmitt, Leroux, Colin, Fernandez, Pierre, Renard, Arnaud, Rolland, Caron, Aubert, Giraud, Leclerc, Vidal, Bourgeois, Renaud, Lemoine, Picard, Gaillard, Philippe, Leclercq, Lacroix, Fabre, Dupuis, Olivier, Rodriguez, Da silva, Hubert, Louis, Charles, Guillot, Riviere, Le gall, Guillaume, Adam, Rey, Moulin, Gonzalez, Berger, Lecomte, Menard, Fleury, Deschamps, Carpentier, Julien, Benoit, Paris, Maillard, Marchal, Aubry, Vasseur, Le roux, Renault, Jacquet, Collet, Prevost, Poirier, Charpentier, Royer, Huet, Baron, Dupuy, Pons, Paul, Laine, Carre, Breton, Remy, Schneider, Perrot, Guyot, Barre, Marty, Cousin] - prefix: [M, Mme, Mlle, Dr, Prof] - title: - job: [Superviseur, Executif, Manager, Ingenieur, Specialiste, Directeur, Coordinateur, Administrateur, Architecte, Analyste, Designer, Technicien, Developpeur, Producteur, Consultant, Assistant, Agent, Stagiaire] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{last_name} #{first_name}" - - phone_number: - formats: ['01########', '02########', '03########', '04########', '05########', '06########', '07########', '+33 1########', '+33 2########', '+33 3########', '+33 4########', '+33 5########', '+33 6########', '+33 7########'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/it.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/it.yml deleted file mode 100644 index cb9ea86..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/it.yml +++ /dev/null @@ -1,59 +0,0 @@ -it: - faker: - address: - city_prefix: [San, Borgo, Sesto, Quarto, Settimo] - city_suffix: [a mare, lido, ligure, del friuli, salentino, calabro, veneto, nell'emilia, umbro, laziale, terme, sardo] - country: [Afghanistan, Albania, Algeria, American Samoa, Andorra, Angola, Anguilla, Antartide (territori a sud del 60° parallelo), Antigua e Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Bielorussia, Belgio, Belize, Benin, Bermuda, Bhutan, Bolivia, Bosnia e Herzegovina, Botswana, Bouvet Island (Bouvetoya), Brasile, Territorio dell'arcipelago indiano, Isole Vergini Britanniche, Brunei Darussalam, Bulgaria, Burkina Faso, Burundi, Cambogia, Cameroon, Canada, Capo Verde, Isole Cayman, Repubblica Centrale Africana, Chad, Cile, Cina, Isola di Pasqua, Isola di Cocos (Keeling), Colombia, Comoros, Congo, Isole Cook, Costa Rica, Costa d'Avorio, Croazia, Cuba, Cipro, Repubblica Ceca, Danimarca, Gibuti, Repubblica Dominicana, Equador, Egitto, El Salvador, Guinea Equatoriale, Eritrea, Estonia, Etiopia, Isole Faroe, Isole Falkland (Malvinas), Fiji, Finlandia, Francia, Guyana Francese, Polinesia Francese, Territori Francesi del sud, Gabon, Gambia, Georgia, Germania, Ghana, Gibilterra, Grecia, Groenlandia, Grenada, Guadalupa, Guam, Guatemala, Guernsey, Guinea, Guinea-Bissau, Guyana, Haiti, Heard Island and McDonald Islands, Città del Vaticano, Honduras, Hong Kong, Ungheria, Islanda, India, Indonesia, Iran, Iraq, Irlanda, Isola di Man, Israele, Italia, Giamaica, Giappone, Jersey, Giordania, Kazakhstan, Kenya, Kiribati, Korea, Kuwait, Republicca Kirgiza, Repubblica del Laos, Latvia, Libano, Lesotho, Liberia, Libyan Arab Jamahiriya, Liechtenstein, Lituania, Lussemburgo, Macao, Macedonia, Madagascar, Malawi, Malesia, Maldive, Mali, Malta, Isole Marshall, Martinica, Mauritania, Mauritius, Mayotte, Messico, Micronesia, Moldova, Principato di Monaco, Mongolia, Montenegro, Montserrat, Marocco, Mozambico, Myanmar, Namibia, Nauru, Nepal, Antille Olandesi, Olanda, Nuova Caledonia, Nuova Zelanda, Nicaragua, Niger, Nigeria, Niue, Isole Norfolk, Northern Mariana Islands, Norvegia, Oman, Pakistan, Palau, Palestina, Panama, Papua Nuova Guinea, Paraguay, Peru, Filippine, Pitcairn Islands, Polonia, Portogallo, Porto Rico, Qatar, Reunion, Romania, Russia, Rwanda, San Bartolomeo, Sant'Elena, Saint Kitts and Nevis, Saint Lucia, Saint Martin, Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Samoa, San Marino, Sao Tome and Principe, Arabia Saudita, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovenia, Isole Solomon, Somalia, Sud Africa, Georgia del sud e South Sandwich Islands, Spagna, Sri Lanka, Sudan, Suriname, Svalbard & Jan Mayen Islands, Swaziland, Svezia, Svizzera, Siria, Taiwan, Tajikistan, Tanzania, Tailandia, Timor-Leste, Togo, Tokelau, Tonga, Trinidad e Tobago, Tunisia, Turchia, Turkmenistan, Isole di Turks and Caicos, Tuvalu, Uganda, Ucraina, Emirati Arabi Uniti, Regno Unito, Stati Uniti d'America, United States Minor Outlying Islands, Isole Vergini Statunitensi, Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, Wallis and Futuna, Western Sahara, Yemen, Zambia, Zimbabwe] - building_number: ['###', '##', '#'] - street_suffix: [Piazza, Strada, Via, Borgo, Contrada, Rotonda, Incrocio] - secondary_address: ['Appartamento ##', 'Piano #'] - postcode: ['#####'] - state: [Agrigento, Alessandria, Ancona, Aosta, Arezzo, Ascoli Piceno, Asti, Avellino, Bari, Barletta-Andria-Trani, Belluno, Benevento, Bergamo, Biella, Bologna, Bolzano, Brescia, Brindisi, Cagliari, Caltanissetta, Campobasso, Carbonia-Iglesias, Caserta, Catania, Catanzaro, Chieti, Como, Cosenza, Cremona, Crotone, Cuneo, Enna, Fermo, Ferrara, Firenze, Foggia, Forlì-Cesena, Frosinone, Genova, Gorizia, Grosseto, Imperia, Isernia, La Spezia, L'Aquila, Latina, Lecce, Lecco, Livorno, Lodi, Lucca, Macerata, Mantova, Massa-Carrara, Matera, Messina, Milano, Modena, Monza e della Brianza, Napoli, Novara, Nuoro, Olbia-Tempio, Oristano, Padova, Palermo, Parma, Pavia, Perugia, Pesaro e Urbino, Pescara, Piacenza, Pisa, Pistoia, Pordenone, Potenza, Prato, Ragusa, Ravenna, Reggio Calabria, Reggio Emilia, Rieti, Rimini, Roma, Rovigo, Salerno, Medio Campidano, Sassari, Savona, Siena, Siracusa, Sondrio, Taranto, Teramo, Terni, Torino, Ogliastra, Trapani, Trento, Treviso, Trieste, Udine, Varese, Venezia, Verbano-Cusio-Ossola, Vercelli, Verona, Vibo Valentia, Vicenza, Viterbo] - state_abbr: [AG, AL, AN, AO, AR, AP, AT, AV, BA, BT, BL, BN, BG, BI, BO, BZ, BS, BR, CA, CL, CB, CI, CE, CT, CZ, CH, CO, CS, CR, KR, CN, EN, FM, FE, FI, FG, FC, FR, GE, GO, GR, IM, IS, SP, AQ, LT, LE, LC, LI, LO, LU, MC, MN, MS, MT, ME, MI, MO, MB, NA, NO, NU, OT, OR, PD, PA, PR, PV, PG, PU, PE, PC, PI, PT, PN, PZ, PO, RG, RA, RC, RE, RI, RN, RM, RO, SA, VS, SS, SV, SI, SR, SO, TA, TE, TR, TO, OG, TP, TN, TV, TS, UD, VA, VE, VB, VC, VR, VV, VI, VT] - city: - - "#{city_prefix} #{Name.first_name} #{city_suffix}" - - "#{city_prefix} #{Name.first_name}" - - "#{Name.first_name} #{city_suffix}" - - "#{Name.last_name} #{city_suffix}" - street_name: - - "#{street_suffix} #{Name.first_name}" - - "#{street_suffix} #{Name.last_name}" - street_address: - - "#{street_name} #{building_number}" - - "#{street_name} #{building_number}, #{secondary_address}" - default_country: [Italia] - - company: - suffix: [SPA, e figli, Group, s.r.l.] - buzzwords: - - ["Abilità", "Access", "Adattatore", "Algoritmo", "Alleanza", "Analizzatore", "Applicazione", "Approccio", "Architettura", "Archivio", "Intelligenza artificiale", "Array", "Attitudine", "Benchmark", "Capacità", "Sfida", "Circuito", "Collaborazione", "Complessità", "Concetto", "Conglomerato", "Contingenza", "Core", "Database", "Data-warehouse", "Definizione", "Emulazione", "Codifica", "Criptazione", "Firmware", "Flessibilità", "Previsione", "Frame", "framework", "Funzione", "Funzionalità", "Interfaccia grafica", "Hardware", "Help-desk", "Gerarchia", "Hub", "Implementazione", "Infrastruttura", "Iniziativa", "Installazione", "Set di istruzioni", "Interfaccia", "Soluzione internet", "Intranet", "Conoscenza base", "Matrici", "Matrice", "Metodologia", "Middleware", "Migrazione", "Modello", "Moderazione", "Monitoraggio", "Moratoria", "Rete", "Architettura aperta", "Sistema aperto", "Orchestrazione", "Paradigma", "Parallelismo", "Policy", "Portale", "Struttura di prezzo", "Prodotto", "Produttività", "Progetto", "Proiezione", "Protocollo", "Servizio clienti", "Software", "Soluzione", "Standardizzazione", "Strategia", "Struttura", "Successo", "Sovrastruttura", "Supporto", "Sinergia", "Task-force", "Finestra temporale", "Strumenti", "Utilizzazione", "Sito web", "Forza lavoro"] - - ["adattiva", "avanzata", "migliorata", "assimilata", "automatizzata", "bilanciata", "centralizzata", "compatibile", "configurabile", "cross-platform", "decentralizzata", "digitalizzata", "distribuita", "piccola", "ergonomica", "esclusiva", "espansa", "estesa", "configurabile", "fondamentale", "orizzontale", "implementata", "innovativa", "integrata", "intuitiva", "inversa", "gestita", "obbligatoria", "monitorata", "multi-canale", "multi-laterale", "open-source", "operativa", "ottimizzata", "organica", "persistente", "polarizzata", "proattiva", "programmabile", "progressiva", "reattiva", "riallineata", "ricontestualizzata", "ridotta", "robusta", "sicura", "condivisibile", "stand-alone", "switchabile", "sincronizzata", "sinergica", "totale", "universale", "user-friendly", "versatile", "virtuale", "visionaria"] - - ["24 ore", "24/7", "terza generazione", "quarta generazione", "quinta generazione", "sesta generazione", "asimmetrica", "asincrona", "background", "bi-direzionale", "biforcata", "bottom-line", "coerente", "coesiva", "composita", "sensibile al contesto", "basta sul contesto", "basata sul contenuto", "dedicata", "didattica", "direzionale", "discreta", "dinamica", "eco-centrica", "esecutiva", "esplicita", "full-range", "globale", "euristica", "alto livello", "olistica", "omogenea", "ibrida", "impattante", "incrementale", "intangibile", "interattiva", "intermediaria", "locale", "logistica", "massimizzata", "metodica", "mission-critical", "mobile", "modulare", "motivazionale", "multimedia", "multi-tasking", "nazionale", "neutrale", "nextgeneration", "non-volatile", "object-oriented", "ottima", "ottimizzante", "radicale", "real-time", "reciproca", "regionale", "responsiva", "scalabile", "secondaria", "stabile", "statica", "sistematica", "sistemica", "tangibile", "terziaria", "uniforme", "valore aggiunto"] - bs: - - ["partnerships", "comunità", "ROI", "soluzioni", "e-services", "nicchie", "tecnologie", "contenuti", "supply-chains", "convergenze", "relazioni", "architetture", "interfacce", "mercati", "e-commerce", "sistemi", "modelli", "schemi", "reti", "applicazioni", "metriche", "e-business", "funzionalità", "esperienze", "webservices", "metodologie"] - - ["implementate", "utilizzo", "integrate", "ottimali", "evolutive", "abilitate", "reinventate", "aggregate", "migliorate", "incentivate", "monetizzate", "sinergizzate", "strategiche", "deploy", "marchi", "accrescitive", "target", "sintetizzate", "spedizioni", "massimizzate", "innovazione", "guida", "estensioni", "generate", "exploit", "transizionali", "matrici", "ricontestualizzate"] - - ["valore aggiunto", "verticalizzate", "proattive", "forti", "rivoluzionari", "scalabili", "innovativi", "intuitivi", "strategici", "e-business", "mission-critical", "24/7", "globali", "B2B", "B2C", "granulari", "virtuali", "virali", "dinamiche", "magnetiche", "web", "interattive", "sexy", "back-end", "real-time", "efficienti", "front-end", "distributivi", "estensibili", "mondiali", "open-source", "cross-platform", "sinergiche", "out-of-the-box", "enterprise", "integrate", "di impatto", "wireless", "trasparenti", "next-generation", "cutting-edge", "visionari", "plug-and-play", "collaborative", "olistiche", "ricche"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name} #{suffix}" - - "#{Name.last_name}, #{Name.last_name} e #{Name.last_name} #{suffix}" - - internet: - free_email: [gmail.com, yahoo.com, hotmail.com, email.it, libero.it, yahoo.it] - domain_suffix: [com, com, com, net, org, it, it, it] - - name: - first_name: [Aaron, Akira, Alberto, Alessandro, Alighieri, Amedeo, Amos, Anselmo, Antonino, Arcibaldo, Armando, Artes, Audenico, Ausonio, Bacchisio, Battista, Bernardo, Boris, Caio, Carlo, Cecco, Cirino, Cleros, Costantino, Damiano, Danny, Davide, Demian, Dimitri, Domingo, Dylan, Edilio, Egidio, Elio, Emanuel, Enrico, Ercole, Ermes, Ethan, Eusebio, Evangelista, Fabiano, Ferdinando, Fiorentino, Flavio, Fulvio, Gabriele, Gastone, Germano, Giacinto, Gianantonio, Gianleonardo, Gianmarco, Gianriccardo, Gioacchino, Giordano, Giuliano, Graziano, Guido, Harry, Iacopo, Ilario, Ione, Italo, Jack, Jari, Joey, Joseph, Kai, Kociss, Laerte, Lauro, Leonardo, Liborio, Lorenzo, Ludovico, Maggiore, Manuele, Mariano, Marvin, Matteo, Mauro, Michael, Mirco, Modesto, Muzio, Nabil, Nathan, Nick, Noah, Odino, Olo, Oreste, Osea, Pablo, Patrizio, Piererminio, Pierfrancesco, Piersilvio, Priamo, Quarto, Quirino, Radames, Raniero, Renato, Rocco, Romeo, Rosalino, Rudy, Sabatino, Samuel, Santo, Sebastian, Serse, Silvano, Sirio, Tancredi, Terzo, Timoteo, Tolomeo, Trevis, Ubaldo, Ulrico, Valdo, Neri, Vinicio, Walter, Xavier, Yago, Zaccaria, Abramo, Adriano, Alan, Albino, Alessio, Alighiero, Amerigo, Anastasio, Antimo, Antonio, Arduino, Aroldo, Arturo, Augusto, Avide, Baldassarre, Bettino, Bortolo, Caligola, Carmelo, Celeste, Ciro, Costanzo, Dante, Danthon, Davis, Demis, Dindo, Domiziano, Edipo, Egisto, Eliziario, Emidio, Enzo, Eriberto, Erminio, Ettore, Eustachio, Fabio, Fernando, Fiorenzo, Folco, Furio, Gaetano, Gavino, Gerlando, Giacobbe, Giancarlo, Gianmaria, Giobbe, Giorgio, Giulio, Gregorio, Hector, Ian, Ippolito, Ivano, Jacopo, Jarno, Joannes, Joshua, Karim, Kris, Lamberto, Lazzaro, Leone, Lino, Loris, Luigi, Manfredi, Marco, Marino, Marzio, Mattia, Max, Michele, Mirko, Moreno, Nadir, Nazzareno, Nestore, Nico, Noel, Odone, Omar, Orfeo, Osvaldo, Pacifico, Pericle, Pietro, Primo, Quasimodo, Radio, Raoul, Renzo, Rodolfo, Romolo, Rosolino, Rufo, Sabino, Sandro, Sasha, Secondo, Sesto, Silverio, Siro, Tazio, Teseo, Timothy, Tommaso, Tristano, Umberto, Ariel, Artemide, Assia, Azue, Benedetta, Bibiana, Brigitta, Carmela, Cassiopea, Cesidia, Cira, Clea, Cleopatra, Clodovea, Concetta, Cosetta, Cristyn, Damiana, Danuta, Deborah, Demi, Diamante, Diana, Donatella, Doriana, Edvige, Elda, Elga, Elsa, Emilia, Enrica, Erminia, Eufemia, Evita, Fatima, Felicia, Filomena, Flaviana, Fortunata, Gelsomina, Genziana, Giacinta, Gilda, Giovanna, Giulietta, Grazia, Guendalina, Helga, Ileana, Ingrid, Irene, Isabel, Isira, Ivonne, Jelena, Jole, Claudia, Kayla, Kristel, Laura, Lucia, Lia, Lidia, Lisa, Loredana, Loretta, Luce, Lucrezia, Luna, Maika, Marcella, Maria, Mariagiulia, Marianita, Mariapia, Marieva, Marina, Maristella, Maruska, Matilde, Mecren, Mercedes, Mietta, Miriana, Miriam, Monia, Morgana, Naomi, Nayade, Nicoletta, Ninfa, Noemi, Nunzia, Olimpia, Oretta, Ortensia, Penelope, Piccarda, Prisca, Rebecca, Rita, Rosalba, Rosaria, Rosita, Ruth, Samira, Sarita, Selvaggia, Shaira, Sibilla, Soriana, Thea, Tosca, Ursula, Vania, Vera, Vienna, Violante, Vitalba, Zelida] - last_name: [Amato, Barbieri, Barone, Basile, Battaglia, Bellini, Benedetti, Bernardi, Bianc, Bianchi, Bruno, Caputo, Carbon, Caruso, Cattaneo, Colombo, Cont, Conte, Coppola, Costa, Costantin, D'amico, D'angelo, Damico, De Angelis, De luca, De rosa, De Santis, Donati, Esposito, Fabbri, Farin, Ferrara, Ferrari, Ferraro, Ferretti, Ferri, Fior, Fontana, Galli, Gallo, Gatti, Gentile, Giordano, Giuliani, Grassi, Grasso, Greco, Guerra, Leone, Lombardi, Lombardo, Longo, Mancini, Marchetti, Marian, Marini, Marino, Martinelli, Martini, Martino, Mazza, Messina, Milani, Montanari, Monti, Morelli, Moretti, Negri, Neri, Orlando, Pagano, Palmieri, Palumbo, Parisi, Pellegrini, Pellegrino, Piras, Ricci, Rinaldi, Riva, Rizzi, Rizzo, Romano, Ross, Rossetti, Ruggiero, Russo, Sala, Sanna, Santoro, Sartori, Serr, Silvestri, Sorrentino, Testa, Valentini, Villa, Vitale, Vitali] - prefix: [Sig., Dott., Dr., Ing.] - suffix: [] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - phone_number: - formats: ['+## ### ## ## ####', '+## ## #######', '+## ## ########', '+## ### #######', '+## ### ########', '+## #### #######', '+## #### ########', '0## ### ####', '+39 0## ### ###', '3## ### ###', '+39 3## ### ###'] \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ja.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ja.yml deleted file mode 100644 index e4c6f6f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ja.yml +++ /dev/null @@ -1,25 +0,0 @@ -ja: - faker: - address: - postcode: ["###-####"] - state: ["北海道", "青森県", "岩手県", "宮城県", "秋田県", "山形県", "福島県", "茨城県", "栃木県", "群馬県", "埼玉県", "千葉県", "東京都", "神奈川県", "新潟県", "富山県", "石川県", "福井県", "山梨県", "長野県", "岐阜県", "静岡県", "愛知県", "三重県", "滋賀県", "京都府", "大阪府", "兵庫県", "奈良県", "和歌山県", "鳥取県", "島根県", "岡山県", "広島県", "山口県", "徳島県", "香川県", "愛媛県", "高知県", "福岡県", "佐賀県", "長崎県", "熊本県", "大分県", "宮崎県", "鹿児島県", "沖縄県"] - state_abbr: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47"] - city_prefix: ["北", "東", "西", "南", "新", "湖", "港"] - city_suffix: ["市", "区", "町", "村"] - city: - - "#{city_prefix}#{Name.first_name}#{city_suffix}" - - "#{Name.first_name}#{city_suffix}" - - "#{city_prefix}#{Name.last_name}#{city_suffix}" - - "#{Name.last_name}#{city_suffix}" - street_name: - - "#{Name.first_name}#{street_suffix}" - - "#{Name.last_name}#{street_suffix}" - phone_number: - formats: ['0####-#-####', '0###-##-####', '0##-###-####', '0#-####-####'] - cell_phone: - formats: ['090-####-####', '080-####-####', '070-####-####'] - name: - last_name: ["佐藤", "鈴木", "高橋", "田中", "渡辺", "伊藤", "山本", "中村", "小林", "加藤", "吉田", "山田", "佐々木", "山口", "斎藤", "松本", "井上", "木村", "林", "清水"] - first_name: ["大翔", "蓮", "颯太", "樹", "大和", "陽翔", "陸斗", "太一", "海翔", "蒼空", "翼", "陽菜", "結愛", "結衣", "杏", "莉子", "美羽", "結菜", "心愛", "愛菜", "美咲"] - name: - - "#{last_name} #{first_name}" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ko.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ko.yml deleted file mode 100644 index 6e1d502..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ko.yml +++ /dev/null @@ -1,37 +0,0 @@ -ko: - faker: - address: - postcode: ["###-###"] - state: ["강원", "경기", "경남", "경북", "광주", "대구", "대전", "부산", "서울", "울산", "인천", "전남", "전북", "제주", "충남", "충북", "세종"] - state_abbr: ["강원", "경기", "경남", "경북", "광주", "대구", "대전", "부산", "서울", "울산", "인천", "전남", "전북", "제주", "충남", "충북", "세종"] - city_suffix: ["구", "시", "군"] - city_name: ["강릉", "양양", "인제", "광주", "구리", "부천", "밀양", "통영", "창원", "거창", "고성", "양산", "김천", "구미", "영주", "광산", "남", "북", "고창", "군산", "남원", "동작", "마포", "송파", "용산", "부평", "강화", "수성"] - city: - - "#{city_name}#{city_suffix}" - street_root: ["상계", "화곡", "신정", "목", "잠실", "면목", "주안", "안양", "중", "정왕", "구로", "신월", "연산", "부평", "창", "만수", "중계", "검단", "시흥", "상도", "방배", "장유", "상", "광명", "신길", "행신", "대명", "동탄"] - street_suffix: ["읍", "면", "동"] - street_name: - - "#{street_root}#{street_suffix}" - - phone_number: - formats: ['0#-#####-####', '0##-###-####', '0##-####-####'] - - company: - suffix: ["연구소", "게임즈", "그룹", "전자", "물산", "코리아"] - prefix: ["주식회사", "한국"] - name: - - "#{prefix} #{Name.first_name}" - - "#{Name.first_name} #{suffix}" - - internet: - free_email: [gmail.com, yahoo.co.kr, hanmail.net, naver.com] - domain_suffix: [co.kr, com, biz, info, ne.kr, net, or.kr, org] - - lorem: - words: ["국가는", "법률이", "정하는", "바에", "의하여", "재외국민을", "보호할", "의무를", "진다.", "모든", "국민은", "신체의", "자유를", "가진다.", "국가는", "전통문화의", "계승·발전과", "민족문화의", "창달에", "노력하여야", "한다.", "통신·방송의", "시설기준과", "신문의", "기능을", "보장하기", "위하여", "필요한", "사항은", "법률로", "정한다.", "헌법에", "의하여", "체결·공포된", "조약과", "일반적으로", "승인된", "국제법규는", "국내법과", "같은", "효력을", "가진다.", "다만,", "현행범인인", "경우와", "장기", "3년", "이상의", "형에", "해당하는", "죄를", "범하고", "도피", "또는", "증거인멸의", "염려가", "있을", "때에는", "사후에", "영장을", "청구할", "수", "있다.", "저작자·발명가·과학기술자와", "예술가의", "권리는", "법률로써", "보호한다.", "형사피고인은", "유죄의", "판결이", "확정될", "때까지는", "무죄로", "추정된다.", "모든", "국민은", "행위시의", "법률에", "의하여", "범죄를", "구성하지", "아니하는", "행위로", "소추되지", "아니하며,", "동일한", "범죄에", "대하여", "거듭", "처벌받지", "아니한다.", "국가는", "평생교육을", "진흥하여야", "한다.", "모든", "국민은", "사생활의", "비밀과", "자유를", "침해받지", "아니한다.", "의무교육은", "무상으로", "한다.", "저작자·발명가·과학기술자와", "예술가의", "권리는", "법률로써", "보호한다.", "국가는", "모성의", "보호를", "위하여", "노력하여야", "한다.", "헌법에", "의하여", "체결·공포된", "조약과", "일반적으로", "승인된", "국제법규는", "국내법과", "같은", "효력을", "가진다."] - - name: - last_name: ["김", "이", "박", "최", "정", "강", "조", "윤", "장", "임", "오", "한", "신", "서", "권", "황", "안", "송", "류", "홍"] - first_name: ["서연", "민서", "서현", "지우", "서윤", "지민", "수빈", "하은", "예은", "윤서", "민준", "지후", "지훈", "준서", "현우", "예준", "건우", "현준", "민재", "우진", "은주"] - name: - - "#{last_name} #{first_name}" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/nb-NO.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/nb-NO.yml deleted file mode 100644 index 99966e0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/nb-NO.yml +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 -nb-NO: - faker: - address: - city_root: ["Fet", "Gjes", "Høy", "Inn", "Fager", "Lille", "Lo", "Mal", "Nord", "Nær", "Sand", "Sme", "Stav", "Stor", "Tand", "Ut", "Vest"] - city_suffix: ["berg", "borg", "by", "bø", "dal", "eid", "fjell", "fjord", "foss", "grunn", "hamn", "havn", "helle", "mark", "nes", "odden", "sand", "sjøen", "stad", "strand", "strøm", "sund", "vik", "vær", "våg", "ø", "øy", "ås"] - street_prefix: ["Øvre", "Nedre", "Søndre", "Gamle", "Østre", "Vestre"] - street_root: ["Eike", "Bjørke", "Gran", "Vass", "Furu", "Litj", "Lille", "Høy", "Fosse", "Elve", "Ku", "Konvall", "Soldugg", "Hestemyr", "Granitt", "Hegge", "Rogne", "Fiol", "Sol", "Ting", "Malm", "Klokker", "Preste", "Dam", "Geiterygg", "Bekke", "Berg", "Kirke", "Kors", "Bru", "Blåveis", "Torg", "Sjø"] - street_suffix: ["alléen", "bakken", "berget", "bråten", "eggen", "engen", "ekra", "faret", "flata", "gata", "gjerdet", "grenda", "gropa", "hagen", "haugen", "havna", "holtet", "høgda", "jordet", "kollen", "kroken", "lia", "lunden", "lyngen", "løkka", "marka", "moen", "myra", "plassen", "ringen", "roa", "røa", "skogen", "skrenten", "spranget", "stien", "stranda", "stubben", "stykket", "svingen", "tjernet", "toppen", "tunet", "vollen", "vika", "åsen"] - common_street_suffix: ["sgate", "svei", "s Gate", "s Vei", "gata", "veien"] - building_number: ["#", "##"] - secondary_address: ['Leil. ###', 'Oppgang A', 'Oppgang B'] - postcode: ["####", "####", "####", "0###"] - state: [Østfold, Akershus, Oslo, Hedmark, Oppland, Buskerud, Vestfold, Telemark, Aust-Agder, Vest-Agder, Rogaland, Hordaland, Sogn og Fjordane, Møre og Romsdal, Sør-Trøndelag, Nord-Trøndelag, Nordland, Troms, Finnmark, Svalbard] - city: - - "#{city_root}#{city_suffix}" - street_name: - - "#{street_root}#{street_suffix}" - - "#{street_prefix} #{street_root}#{street_suffix}" - - "#{Name.first_name}#{common_street_suffix}" - - "#{Name.last_name}#{common_street_suffix}" - street_address: - - "#{street_name} #{building_number}" - default_country: [Norge] - - company: - suffix: ["Gruppen", "AS", "ASA", "BA", "RFH", "og Sønner"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} og #{Name.last_name}" - - internet: - domain_suffix: ["no", "com", "net", "org"] - - name: - first_name: ["Emma", "Sara", "Thea", "Ida", "Julie", "Nora", "Emilie", "Ingrid", "Hanna", "Maria", "Sofie", "Anna", "Malin", "Amalie", "Vilde", "Frida", "Andrea", "Tuva", "Victoria", "Mia", "Karoline", "Mathilde", "Martine", "Linnea", "Marte", "Hedda", "Marie", "Helene", "Silje", "Leah", "Maja", "Elise", "Oda", "Kristine", "Aurora", "Kaja", "Camilla", "Mari", "Maren", "Mina", "Selma", "Jenny", "Celine", "Eline", "Sunniva", "Natalie", "Tiril", "Synne", "Sandra", "Madeleine", "Markus", "Mathias", "Kristian", "Jonas", "Andreas", "Alexander", "Martin", "Sander", "Daniel", "Magnus", "Henrik", "Tobias", "Kristoffer", "Emil", "Adrian", "Sebastian", "Marius", "Elias", "Fredrik", "Thomas", "Sondre", "Benjamin", "Jakob", "Oliver", "Lucas", "Oskar", "Nikolai", "Filip", "Mats", "William", "Erik", "Simen", "Ole", "Eirik", "Isak", "Kasper", "Noah", "Lars", "Joakim", "Johannes", "Håkon", "Sindre", "Jørgen", "Herman", "Anders", "Jonathan", "Even", "Theodor", "Mikkel", "Aksel"] # duplication, unfortunately - feminine_name: ["Emma", "Sara", "Thea", "Ida", "Julie", "Nora", "Emilie", "Ingrid", "Hanna", "Maria", "Sofie", "Anna", "Malin", "Amalie", "Vilde", "Frida", "Andrea", "Tuva", "Victoria", "Mia", "Karoline", "Mathilde", "Martine", "Linnea", "Marte", "Hedda", "Marie", "Helene", "Silje", "Leah", "Maja", "Elise", "Oda", "Kristine", "Aurora", "Kaja", "Camilla", "Mari", "Maren", "Mina", "Selma", "Jenny", "Celine", "Eline", "Sunniva", "Natalie", "Tiril", "Synne", "Sandra", "Madeleine"] - masculine_name: ["Markus", "Mathias", "Kristian", "Jonas", "Andreas", "Alexander", "Martin", "Sander", "Daniel", "Magnus", "Henrik", "Tobias", "Kristoffer", "Emil", "Adrian", "Sebastian", "Marius", "Elias", "Fredrik", "Thomas", "Sondre", "Benjamin", "Jakob", "Oliver", "Lucas", "Oskar", "Nikolai", "Filip", "Mats", "William", "Erik", "Simen", "Ole", "Eirik", "Isak", "Kasper", "Noah", "Lars", "Joakim", "Johannes", "Håkon", "Sindre", "Jørgen", "Herman", "Anders", "Jonathan", "Even", "Theodor", "Mikkel", "Aksel"] - last_name: ["Johansen", "Hansen", "Andersen", "Kristiansen", "Larsen", "Olsen", "Solberg", "Andresen", "Pedersen", "Nilsen", "Berg", "Halvorsen", "Karlsen", "Svendsen", "Jensen", "Haugen", "Martinsen", "Eriksen", "Sørensen", "Johnsen", "Myhrer", "Johannessen", "Nielsen", "Hagen", "Pettersen", "Bakke", "Skuterud", "Løken", "Gundersen", "Strand", "Jørgensen", "Kvarme", "Røed", "Sæther", "Stensrud", "Moe", "Kristoffersen", "Jakobsen", "Holm", "Aas", "Lie", "Moen", "Andreassen", "Vedvik", "Nguyen", "Jacobsen", "Torgersen", "Ruud", "Krogh", "Christiansen", "Bjerke", "Aalerud", "Borge", "Sørlie", "Berge", "Østli", "Ødegård", "Torp", "Henriksen", "Haukelidsæter", "Fjeld", "Danielsen", "Aasen", "Fredriksen", "Dahl", "Berntsen", "Arnesen", "Wold", "Thoresen", "Solheim", "Skoglund", "Bakken", "Amundsen", "Solli", "Smogeli", "Kristensen", "Glosli", "Fossum", "Evensen", "Eide", "Carlsen", "Østby", "Vegge", "Tangen", "Smedsrud", "Olstad", "Lunde", "Kleven", "Huseby", "Bjørnstad", "Ryan", "Rasmussen", "Nygård", "Nordskaug", "Nordby", "Mathisen", "Hopland", "Gran", "Finstad", "Edvardsen"] - prefix: [Dr., Prof.] - suffix: [Jr., Sr., I, II, III, IV, V] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{last_name} #{suffix}" - - "#{feminine_name} #{feminine_name} #{last_name}" - - "#{masculine_name} #{masculine_name} #{last_name}" - - "#{first_name} #{last_name} #{last_name}" - - "#{first_name} #{last_name}" - - phone_number: - formats: ["########", "## ## ## ##", "### ## ###", "+47 ## ## ## ##"] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/nl.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/nl.yml deleted file mode 100644 index 1a57021..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/nl.yml +++ /dev/null @@ -1,77 +0,0 @@ -nl: - faker: - address: - city_prefix: [Noord, Oost, West, Zuid, Nieuw, Oud] - city_suffix: ["dam", "berg", " aan de Rijn", " aan de IJssel", "swaerd", "endrecht", "recht", "ambacht", "enmaes", "wijk", "sland", "stroom", "sluus", "dijk", "dorp", "burg", "veld", "sluis", "koop", "lek", "hout", "geest", "kerk", "woude", "hoven", "hoten", "ingen", "plas", "meer"] - city: - - "#{Name.first_name}#{city_suffix}" - - "#{Name.last_name}#{city_suffix}" - - "#{city_prefix} #{Name.first_name}#{city_suffix}" - - "#{city_prefix} #{Name.last_name}#{city_suffix}" - country: [ "Afghanistan", "Akrotiri", "Albanië", "Algerije", "Amerikaanse Maagdeneilanden", "Amerikaans-Samoa", "Andorra", "Angola", "Anguilla", - "Antarctica", "Antigua en Barbuda", "Noordelijke IJszee", "Argentinië", "Armenië", "Aruba", "Ashmore- en Cartiereilanden", "Atlantische Oceaan", - "Australië", "Azerbeidzjan", "Bahama's", "Bahrein", "Bangladesh", "Barbados", "Belarus", "België", "Belize", "Benin", "Bermuda", "Bhutan", - "Bolivië", "Bosnië-Herzegovina", "Botswana", "Bouveteiland", "Brazilië", "Brits Indische Oceaanterritorium", "Britse Maagdeneilanden", - "Brunei", "Bulgarije", "Burkina Faso", "Burundi", "Cambodja", "Canada", "Caymaneilanden", "Centraal-Afrikaanse Republiek", "Chili", "China", - "Christmaseiland", "Clipperton", "Cocoseilanden", "Colombia", "Comoren (Unie)", "Congo (Democratische Republiek)", - "Congo (Volksrepubliek)", "Cook", "Coral Sea Islands", "Costa Rica", "Cuba", "Cyprus", "Denemarken", "Dhekelia", "Djibouti", "Dominica", - "Dominicaanse Republiek", "Duitsland", "Ecuador", "Egypte", "El Salvador", "Equatoriaal-Guinea", "Eritrea", "Estland", "Ethiopië", - "Europese Unie", "Falkland", "Faeröer", "Fiji", "Filipijnen", "Finland", "Frankrijk", "Frans-Polynesië", - "Franse Zuidelijke en Antarctische Gebieden", "Gabon", "Gambia", "Gaza Strip", "Georgië", "Ghana", "Gibraltar", "Grenada", "Griekenland", - "Groenland", "Guam", "Guatemala", "Guernsey", "Guinea", "Guinee-Bissau", "Guyana", "Haïti", "Heard en McDonaldeilanden", "Heilige Stoel", - "Honduras", "Hongarije", "Hongkong", "Ierland", "IJsland", "India", "Indian Ocean", "Indonesië", "Irak", "Iran", "Isle of Man", "Israël", - "Italië", "Ivoorkust", "Jamaica", "Jan Mayen", "Japan", "Jemen", "Jersey", "Jordanië", "Kaapverdië", "Kameroen", "Kazachstan", "Kenia", - "Kirgizstan", "Kiribati", "Koeweit", "Kroatië", "Laos", "Lesotho", "Letland", "Libanon", "Liberia", "Libië", "Liechtenstein", "Litouwen", - "Luxemburg", "Macao", "Macedonië", "Madagaskar", "Malawi", "Maldiven", "Maleisië", "Mali", "Malta", "Marokko", "Marshalleilanden", "Mauritanië", - "Mauritius", "Mayotte", "Mexico", "Micronesia, Federale Staten van", "Moldavië", "Monaco", "Mongolië", "Montenegro", "Montserrat", "Mozambique", - "Myanmar", "Namibië", "Nauru", "Navassa", "Nederland", "Nederlandse Antillen", "Nepal", "Ngwane", "Nicaragua", "Nieuw-Caledonië", - "Nieuw-Zeeland", "Niger", "Nigeria", "Niue", "Noordelijke Marianen", "Noord-Korea", "Noorwegen", "Norfolk (eiland)", "Oekraïne", "Oezbekistan", - "Oman", "Oostenrijk", "Grote Oceaan", "Pakistan", "Palau", "Panama", "Papoea-Nieuw-Guinea", "Paracel Islands", "Paraguay", "Peru", "Pitcairn", - "Polen", "Portugal", "Puerto Rico", "Qatar", "Roemenië", "Rusland", "Rwanda", "Saint Helena", "Saint Lucia", "Saint Vincent en de Grenadines", - "Saint-Pierre en Miquelon", "Salomon", "Samoa", "San Marino", "São Tomé en Principe", "Saudi-Arabië", "Senegal", "Servië", "Seychellen", - "Sierra Leone", "Singapore", "Sint-Kitts en Nevis", "Slovenië", "Slowakije", "Soedan", "Somalië", "South Georgia and the South Sandwich Islands", - "Zuidelijke Oceaan", "Spanje", "Spratly Islands", "Sri Lanka", "Suriname", "Svalbard", "Syrië", "Tadzjikistan", "Taiwan", "Tanzania", "Thailand", - "Timor Leste", "Togo", "Tokelau", "Tonga", "Trinidad en Tobago", "Tsjaad", "Tsjechië", "Tunesië", "Turkije", "Turkmenistan", - "Turks-en Caicoseilanden", "Tuvalu", "Uganda", "Uruguay", "Vanuatu", "Venezuela", "Verenigd Koninkrijk", "Verenigde Arabische Emiraten", - "Verenigde Staten van Amerika", "Vietnam", "Wake (eiland)", "Wallis en Futuna", "Wereld", "Westelijke Jordaanoever", "Westelijke Sahara", "Zambia", - "Zimbabwe", "Zuid-Afrika", "Zuid-Korea", "Zweden", "Zwitserland"] - building_number: ["#", "##", "###", "###a", "###b", "###c", "### I", "### II", "### III"] - street_suffix: ["straat", "laan", "weg", "plantsoen", "park"] - secondary_address: ["1 hoog", "2 hoog", "3 hoog"] - street_name: - - "#{Name.first_name}#{street_suffix}" - - "#{Name.last_name}#{street_suffix}" - - street_address: - - "#{street_name} #{building_number}" - postcode: ["#### ??"] - state: ["Noord-Holland", "Zuid-Holland", "Utrecht", "Zeeland", "Overijssel", "Gelderland", "Drenthe", "Friesland", "Groningen", "Noord-Braband", "Limburg"] - default_country: [Nederland] - - company: - suffix: [BV, V.O.F., Group, en Zonen] - - internet: - free_email: [gmail.com, yahoo.com, hotmail.nl, live.nl] - domain_suffix: [nl, com, net, org] - - lorem: - words: [alias, consequatur, aut, perferendis, sit, voluptatem, accusantium, doloremque, aperiam, eaque, ipsa, quae, ab, illo, inventore, veritatis, et, quasi, architecto, beatae, vitae, dicta, sunt, explicabo, aspernatur, aut, odit, aut, fugit, sed, quia, consequuntur, magni, dolores, eos, qui, ratione, voluptatem, sequi, nesciunt, neque, dolorem, ipsum, quia, dolor, sit, amet, consectetur, adipisci, velit, sed, quia, non, numquam, eius, modi, tempora, incidunt, ut, labore, et, dolore, magnam, aliquam, quaerat, voluptatem, ut, enim, ad, minima, veniam, quis, nostrum, exercitationem, ullam, corporis, nemo, enim, ipsam, voluptatem, quia, voluptas, sit, suscipit, laboriosam, nisi, ut, aliquid, ex, ea, commodi, consequatur, quis, autem, vel, eum, iure, reprehenderit, qui, in, ea, voluptate, velit, esse, quam, nihil, molestiae, et, iusto, odio, dignissimos, ducimus, qui, blanditiis, praesentium, laudantium, totam, rem, voluptatum, deleniti, atque, corrupti, quos, dolores, et, quas, molestias, excepturi, sint, occaecati, cupiditate, non, provident, sed, ut, perspiciatis, unde, omnis, iste, natus, error, similique, sunt, in, culpa, qui, officia, deserunt, mollitia, animi, id, est, laborum, et, dolorum, fuga, et, harum, quidem, rerum, facilis, est, et, expedita, distinctio, nam, libero, tempore, cum, soluta, nobis, est, eligendi, optio, cumque, nihil, impedit, quo, porro, quisquam, est, qui, minus, id, quod, maxime, placeat, facere, possimus, omnis, voluptas, assumenda, est, omnis, dolor, repellendus, temporibus, autem, quibusdam, et, aut, consequatur, vel, illum, qui, dolorem, eum, fugiat, quo, voluptas, nulla, pariatur, at, vero, eos, et, accusamus, officiis, debitis, aut, rerum, necessitatibus, saepe, eveniet, ut, et, voluptates, repudiandae, sint, et, molestiae, non, recusandae, itaque, earum, rerum, hic, tenetur, a, sapiente, delectus, ut, aut, reiciendis, voluptatibus, maiores, doloribus, asperiores, repellat] - supplemental: [abbas, abduco, abeo, abscido, absconditus, absens, absorbeo, absque, abstergo, absum, abundans, abutor, accedo, accendo, acceptus, accipio, accommodo, accusator, acer, acerbitas, acervus, acidus, acies, acquiro, acsi, adamo, adaugeo, addo, adduco, ademptio, adeo, adeptio, adfectus, adfero, adficio, adflicto, adhaero, adhuc, adicio, adimpleo, adinventitias, adipiscor, adiuvo, administratio, admiratio, admitto, admoneo, admoveo, adnuo, adopto, adsidue, adstringo, adsuesco, adsum, adulatio, adulescens, adultus, aduro, advenio, adversus, advoco, aedificium, aeger, aegre, aegrotatio, aegrus, aeneus, aequitas, aequus, aer, aestas, aestivus, aestus, aetas, aeternus, ager, aggero, aggredior, agnitio, agnosco, ago, ait, aiunt, alienus, alii, alioqui, aliqua, alius, allatus, alo, alter, altus, alveus, amaritudo, ambitus, ambulo, amicitia, amiculum, amissio, amita, amitto, amo, amor, amoveo, amplexus, amplitudo, amplus, ancilla, angelus, angulus, angustus, animadverto, animi, animus, annus, anser, ante, antea, antepono, antiquus, aperio, aperte, apostolus, apparatus, appello, appono, appositus, approbo, apto, aptus, apud, aqua, ara, aranea, arbitro, arbor, arbustum, arca, arceo, arcesso, arcus, argentum, argumentum, arguo, arma, armarium, armo, aro, ars, articulus, artificiose, arto, arx, ascisco, ascit, asper, aspicio, asporto, assentator, astrum, atavus, ater, atqui, atrocitas, atrox, attero, attollo, attonbitus, auctor, auctus, audacia, audax, audentia, audeo, audio, auditor, aufero, aureus, auris, aurum, aut, autem, autus, auxilium, avaritia, avarus, aveho, averto, avoco, baiulus, balbus, barba, bardus, basium, beatus, bellicus, bellum, bene, beneficium, benevolentia, benigne, bestia, bibo, bis, blandior, bonus, bos, brevis, cado, caecus, caelestis, caelum, calamitas, calcar, calco, calculus, callide, campana, candidus, canis, canonicus, canto, capillus, capio, capitulus, capto, caput, carbo, carcer, careo, caries, cariosus, caritas, carmen, carpo, carus, casso, caste, casus, catena, caterva, cattus, cauda, causa, caute, caveo, cavus, cedo, celebrer, celer, celo, cena, cenaculum, ceno, censura, centum, cerno, cernuus, certe, certo, certus, cervus, cetera, charisma, chirographum, cibo, cibus, cicuta, cilicium, cimentarius, ciminatio, cinis, circumvenio, cito, civis, civitas, clam, clamo, claro, clarus, claudeo, claustrum, clementia, clibanus, coadunatio, coaegresco, coepi, coerceo, cogito, cognatus, cognomen, cogo, cohaero, cohibeo, cohors, colligo, colloco, collum, colo, color, coma, combibo, comburo, comedo, comes, cometes, comis, comitatus, commemoro, comminor, commodo, communis, comparo, compello, complectus, compono, comprehendo, comptus, conatus, concedo, concido, conculco, condico, conduco, confero, confido, conforto, confugo, congregatio, conicio, coniecto, conitor, coniuratio, conor, conqueror, conscendo, conservo, considero, conspergo, constans, consuasor, contabesco, contego, contigo, contra, conturbo, conventus, convoco, copia, copiose, cornu, corona, corpus, correptius, corrigo, corroboro, corrumpo, coruscus, cotidie, crapula, cras, crastinus, creator, creber, crebro, credo, creo, creptio, crepusculum, cresco, creta, cribro, crinis, cruciamentum, crudelis, cruentus, crur, crustulum, crux, cubicularis, cubitum, cubo, cui, cuius, culpa, culpo, cultellus, cultura, cum, cunabula, cunae, cunctatio, cupiditas, cupio, cuppedia, cupressus, cur, cura, curatio, curia, curiositas, curis, curo, curriculum, currus, cursim, curso, cursus, curto, curtus, curvo, curvus, custodia, damnatio, damno, dapifer, debeo, debilito, decens, decerno, decet, decimus, decipio, decor, decretum, decumbo, dedecor, dedico, deduco, defaeco, defendo, defero, defessus, defetiscor, deficio, defigo, defleo, defluo, defungo, degenero, degero, degusto, deinde, delectatio, delego, deleo, delibero, delicate, delinquo, deludo, demens, demergo, demitto, demo, demonstro, demoror, demulceo, demum, denego, denique, dens, denuncio, denuo, deorsum, depereo, depono, depopulo, deporto, depraedor, deprecator, deprimo, depromo, depulso, deputo, derelinquo, derideo, deripio, desidero, desino, desipio, desolo, desparatus, despecto, despirmatio, infit, inflammatio, paens, patior, patria, patrocinor, patruus, pauci, paulatim, pauper, pax, peccatus, pecco, pecto, pectus, pecunia, pecus, peior, pel, ocer, socius, sodalitas, sol, soleo, solio, solitudo, solium, sollers, sollicito, solum, solus, solutio, solvo, somniculosus, somnus, sonitus, sono, sophismata, sopor, sordeo, sortitus, spargo, speciosus, spectaculum, speculum, sperno, spero, spes, spiculum, spiritus, spoliatio, sponte, stabilis, statim, statua, stella, stillicidium, stipes, stips, sto, strenuus, strues, studio, stultus, suadeo, suasoria, sub, subito, subiungo, sublime, subnecto, subseco, substantia, subvenio, succedo, succurro, sufficio, suffoco, suffragium, suggero, sui, sulum, sum, summa, summisse, summopere, sumo, sumptus, supellex, super, suppellex, supplanto, suppono, supra, surculus, surgo, sursum, suscipio, suspendo, sustineo, suus, synagoga, tabella, tabernus, tabesco, tabgo, tabula, taceo, tactus, taedium, talio, talis, talus, tam, tamdiu, tamen, tametsi, tamisium, tamquam, tandem, tantillus, tantum, tardus, tego, temeritas, temperantia, templum, temptatio, tempus, tenax, tendo, teneo, tener, tenuis, tenus, tepesco, tepidus, ter, terebro, teres, terga, tergeo, tergiversatio, tergo, tergum, termes, terminatio, tero, terra, terreo, territo, terror, tersus, tertius, testimonium, texo, textilis, textor, textus, thalassinus, theatrum, theca, thema, theologus, thermae, thesaurus, thesis, thorax, thymbra, thymum, tibi, timidus, timor, titulus, tolero, tollo, tondeo, tonsor, torqueo, torrens, tot, totidem, toties, totus, tracto, trado, traho, trans, tredecim, tremo, trepide, tres, tribuo, tricesimus, triduana, triginta, tripudio, tristis, triumphus, trucido, truculenter, tubineus, tui, tum, tumultus, tunc, turba, turbo, turpe, turpis, tutamen, tutis, tyrannus, uberrime, ubi, ulciscor, ullus, ulterius, ultio, ultra, umbra, umerus, umquam, una, unde, undique, universe, unus, urbanus, urbs, uredo, usitas, usque, ustilo, ustulo, usus, uter, uterque, utilis, utique, utor, utpote, utrimque, utroque, utrum, uxor, vaco, vacuus, vado, vae, valde, valens, valeo, valetudo, validus, vallum, vapulus, varietas, varius, vehemens, vel, velociter, velum, velut, venia, venio, ventito, ventosus, ventus, venustas, ver, verbera, verbum, vere, verecundia, vereor, vergo, veritas, vero, versus, verto, verumtamen, verus, vesco, vesica, vesper, vespillo, vester, vestigium, vestrum, vetus, via, vicinus, vicissitudo, victoria, victus, videlicet, video, viduata, viduo, vigilo, vigor, vilicus, vilis, vilitas, villa, vinco, vinculum, vindico, vinitor, vinum, vir, virga, virgo, viridis, viriliter, virtus, vis, viscus, vita, vitiosus, vitium, vito, vivo, vix, vobis, vociferor, voco, volaticus, volo, volubilis, voluntarius, volup, volutabrum, volva, vomer, vomica, vomito, vorago, vorax, voro, vos, votum, voveo, vox, vulariter, vulgaris, vulgivagus, vulgo, vulgus, vulnero, vulnus, vulpes, vulticulus, vultuosus, xiphias] - - name: - first_name: ["Amber", "Anna", "Anne", "Anouk", "Arie", "Bard", "Bas", "Bram", "Britt", "Daan", "Dick", "Emma", "Eva", "Femke", "Finn", "Fleur", "Henk", "Iris", "Isa", "Jan", "Jasper", "Jayden", "Jens", "Jesse", "Johannes", "Julia", "Julian", "Kevin", "Lars", "Lieke", "Lisa", "Lotte", "Lucas", "Luuk", "Maud", "Max", "Mike", "Milan", "Nick", "Niels", "Noa", "Pascal", "Rick", "Roos", "Ruben", "Sander", "Sanne", "Sem", "Sophie", "Stijn", "Sven", "Tessa", "Thijs", "Thijs", "Thomas", "Tim", "Tom"] - tussenvoegsel: ["van", "van de", "van den", "van 't", "van het", "de", "den"] - last_name: ["Bakker", "Beek", "Berg", "Boer", "Bos", "Bosch", "Brink", "Broek", "Brouwer", "Bruin", "Dam", "Dekker", "Dijk", "Dijkstra", "Graaf", "Groot", "Haan", "Hendriks", "Heuvel", "Hoek", "Jacobs", "Jansen", "Janssen", "Jong", "Klein", "Kok", "Koning", "Koster", "Leeuwen", "Linden", "Maas", "Meer", "Meijer", "Mulder", "Peters", "Ruiter", "Schouten", "Smit", "Smits", "Stichting", "Veen", "Ven", "Vermeulen", "Visser", "Vliet", "Vos", "Vries", "Wal", "Willems", "Wit"] - prefix: [Dhr., Mevr. Dr., Bsc, Msc, Prof.] - suffix: [Jr., Sr., I, II, III, IV, V] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{last_name} #{suffix}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{tussenvoegsel} #{last_name}" - - "#{first_name} #{tussenvoegsel} #{last_name}" - - phone_number: - formats: ["(####) ######", "##########", "06########", "06 #### ####"] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/pl.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/pl.yml deleted file mode 100644 index eb094dd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/pl.yml +++ /dev/null @@ -1,66 +0,0 @@ -pl: - faker: - name: - address: - country: [Afganistan, Albania, Algieria, Andora, Angola, Antigua i Barbuda, Arabia Saudyjska, Argentyna, Armenia, Australia, Austria, Azerbejdżan, Bahamy, Bahrajn, Bangladesz, Barbados, Belgia, Belize, Benin, Bhutan, Białoruś, Birma, Boliwia, Sucre, Bośnia i Hercegowina, Botswana, Brazylia, Brunei, Bułgaria, Burkina Faso, Burundi, Chile, Chiny, Chorwacja, Cypr, Czad, Czarnogóra, Czechy, Dania, Demokratyczna Republika Konga, Dominika, Dominikana, Dżibuti, Egipt, Ekwador, Erytrea, Estonia, Etiopia, Fidżi, Filipiny, Finlandia, Francja, Gabon, Gambia, Ghana, Grecja, Grenada, Gruzja, Gujana, Gwatemala, Gwinea, Gwinea Bissau, Gwinea Równikowa, Haiti, Hiszpania, Holandia, Haga, Honduras, Indie, Indonezja, Irak, Iran, Irlandia, Islandia, Izrael, Jamajka, Japonia, Jemen, Jordania, Kambodża, Kamerun, Kanada, Katar, Kazachstan, Kenia, Kirgistan, Kiribati, Kolumbia, Komory, Kongo, Korea Południowa, Korea Północna, Kostaryka, Kuba, Kuwejt, Laos, Lesotho, Liban, Liberia, Libia, Liechtenstein, Litwa, Luksemburg, Łotwa, Macedonia, Madagaskar, Malawi, Malediwy, Malezja, Mali, Malta, Maroko, Mauretania, Mauritius, Meksyk, Mikronezja, Mołdawia, Monako, Mongolia, Mozambik, Namibia, Nauru, Nepal, Niemcy, Niger, Nigeria, Nikaragua, Norwegia, Nowa Zelandia, Oman, Pakistan, Palau, Panama, Papua-Nowa Gwinea, Paragwaj, Peru, Polska, Portugalia, Republika Południowej Afryki, Republika Środkowoafrykańska, Republika Zielonego Przylądka, Rosja, Rumunia, Rwanda, Saint Kitts i Nevis, Saint Lucia, Saint Vincent i Grenadyny, Salwador, Samoa, San Marino, Senegal, Serbia, Seszele, Sierra Leone, Singapur, Słowacja, Słowenia, Somalia, Sri Lanka, Stany Zjednoczone, Suazi, Sudan, Sudan Południowy, Surinam, Syria, Szwajcaria, Szwecja, Tadżykistan, Tajlandia, Tanzania, Timor Wschodni, Togo, Tonga, Trynidad i Tobago, Tunezja, Turcja, Turkmenistan, Tuvalu, Funafuti, Uganda, Ukraina, Urugwaj, Uzbekistan, Vanuatu, Watykan, Wenezuela, Węgry, Wielka Brytania, Wietnam, Włochy, Wybrzeże Kości Słoniowej, Wyspy Marshalla, Wyspy Salomona, Wyspy Świętego Tomasza i Książęca, Zambia, Zimbabwe, Zjednoczone Emiraty Arabskie] - building_number: ['#####', '####', '###'] - street_prefix: ['ul.', 'al.'] - secondary_address: ['Apt. ###', 'Suite ###'] - - postcode: ['##-###'] - state: [Dolnośląskie, Kujawsko-pomorskie, Lubelskie, Lubuskie, Łódzkie, Małopolskie, Mazowieckie, Opolskie, Podkarpackie, Podlaskie, Pomorskie, Śląskie, Świętokrzyskie, Warmińsko-mazurskie, Wielkopolskie, Zachodniopomorskie] - state_abbr: [DŚ, KP, LB, LS, ŁD, MP, MZ, OP, PK, PL, PM, ŚL, ŚK, WM, WP, ZP] - city_name: [Aleksandrów Kujawski, Aleksandrów Łódzki, Alwernia, Andrychów, Annopol, Augustów, Babimost, Baborów, Baranów Sandomierski, Barcin, Barczewo, Bardo, Barlinek, Bartoszyce, Barwice, Bełchatów, Bełżyce, Będzin, Biała, Biała Piska, Biała Podlaska, Biała Rawska, Białobrzegi, Białogard, Biały Bór, Białystok, Biecz, Bielawa, Bielsk Podlaski, Bielsko-Biała, Bieruń, Bierutów, Bieżuń, Biłgoraj, Biskupiec, Bisztynek, Blachownia, Błaszki, Błażowa, Błonie, Bobolice, Bobowa, Bochnia, Bodzentyn, Bogatynia, Boguchwała, Boguszów-Gorce, Bojanowo, Bolesławiec, Bolków, Borek Wielkopolski, Borne Sulinowo, Braniewo, Brańsk, Brodnica, Brok, Brusy, Brwinów, Brzeg, Brzeg Dolny, Brzesko, Brzeszcze, Brześć Kujawski, Brzeziny, Brzostek, Brzozów, Buk, Bukowno, Busko-Zdrój, Bychawa, Byczyna, Bydgoszcz, Bystrzyca Kłodzka, Bytom, Bytom Odrzański, Bytów, Cedynia, Chełm, Chełmek, Chełmno, Chełmża, Chęciny, Chmielnik, Chocianów, Chociwel, Chodecz, Chodzież, Chojna, Chojnice, Chojnów, Choroszcz, Chorzele, Chorzów, Choszczno, Chrzanów, Ciechanowiec, Ciechanów, Ciechocinek, Cieszanów, Cieszyn, Ciężkowice, Cybinka, Czaplinek, Czarna Białostocka, Czarna Woda, Czarne, Czarnków, Czchów, Czechowice-Dziedzice, Czeladź, Czempiń, Czerniejewo, Czersk, Czerwieńsk, Czerwionka-Leszczyny, Częstochowa, Człopa, Człuchów, Czyżew, Ćmielów, Daleszyce, Darłowo, Dąbie, Dąbrowa Białostocka, Dąbrowa Górnicza, Dąbrowa Tarnowska, Debrzno, Dębica, Dęblin, Dębno, Dobczyce, Dobiegniew, Dobra (powiat łobeski), Dobra (powiat turecki), Dobre Miasto, Dobrodzień, Dobrzany, Dobrzyń nad Wisłą, Dolsk, Drawno, Drawsko Pomorskie, Drezdenko, Drobin, Drohiczyn, Drzewica, Dukla, Duszniki-Zdrój, Dynów, Działdowo, Działoszyce, Działoszyn, Dzierzgoń, Dzierżoniów, Dziwnów, Elbląg, Ełk, Frampol, Frombork, Garwolin, Gąbin, Gdańsk, Gdynia, Giżycko, Glinojeck, Gliwice, Głogów, Głogów Małopolski, Głogówek, Głowno, Głubczyce, Głuchołazy, Głuszyca, Gniew, Gniewkowo, Gniezno, Gogolin, Golczewo, Goleniów, Golina, Golub-Dobrzyń, Gołańcz, Gołdap, Goniądz, Gorlice, Gorzów Śląski, Gorzów Wielkopolski, Gostynin, Gostyń, Gościno, Gozdnica, Góra, Góra Kalwaria, Górowo Iławeckie, Górzno, Grabów nad Prosną, Grajewo, Grodków, Grodzisk Mazowiecki, Grodzisk Wielkopolski, Grójec, Grudziądz, Grybów, Gryfice, Gryfino, Gryfów Śląski, Gubin, Hajnówka, Halinów, Hel, Hrubieszów, Iława, Iłowa, Iłża, Imielin, Inowrocław, Ińsko, Iwonicz-Zdrój, Izbica Kujawska, Jabłonowo Pomorskie, Janikowo, Janowiec Wielkopolski, Janów Lubelski, Jarocin, Jarosław, Jasień, Jasło, Jastarnia, Jastrowie, Jastrzębie-Zdrój, Jawor, Jaworzno, Jaworzyna Śląska, Jedlicze, Jedlina-Zdrój, Jedwabne, Jelcz-Laskowice, Jelenia Góra, Jeziorany, Jędrzejów, Jordanów, Józefów (powiat biłgorajski), Józefów (powiat otwocki), Jutrosin, Kalety, Kalisz, Kalisz Pomorski, Kalwaria Zebrzydowska, Kałuszyn, Kamienna Góra, Kamień Krajeński, Kamień Pomorski, Kamieńsk, Kańczuga, Karczew, Kargowa, Karlino, Karpacz, Kartuzy, Katowice, Kazimierz Dolny, Kazimierza Wielka, Kąty Wrocławskie, Kcynia, Kędzierzyn-Koźle, Kępice, Kępno, Kętrzyn, Kęty, Kielce, Kietrz, Kisielice, Kleczew, Kleszczele, Kluczbork, Kłecko, Kłobuck, Kłodawa, Kłodzko, Knurów, Knyszyn, Kobylin, Kobyłka, Kock, Kolbuszowa, Kolno, Kolonowskie, Koluszki, Kołaczyce, Koło, Kołobrzeg, Koniecpol, Konin, Konstancin-Jeziorna, Konstantynów Łódzki, Końskie, Koprzywnica, Korfantów, Koronowo, Korsze, Kosów Lacki, Kostrzyn, Kostrzyn nad Odrą, Koszalin, Kościan, Kościerzyna, Kowal, Kowalewo Pomorskie, Kowary, Koziegłowy, Kozienice, Koźmin Wielkopolski, Kożuchów, Kórnik, Krajenka, Kraków, Krapkowice, Krasnobród, Krasnystaw, Kraśnik, Krobia, Krosno, Krosno Odrzańskie, Krośniewice, Krotoszyn, Kruszwica, Krynica Morska, Krynica-Zdrój, Krynki, Krzanowice, Krzepice, Krzeszowice, Krzywiń, Krzyż Wielkopolski, Książ Wielkopolski, Kudowa-Zdrój, Kunów, Kutno, Kuźnia Raciborska, Kwidzyn, Lądek-Zdrój, Legionowo, Legnica, Lesko, Leszno, Leśna, Leśnica, Lewin Brzeski, Leżajsk, Lębork, Lędziny, Libiąż, Lidzbark, Lidzbark Warmiński, Limanowa, Lipiany, Lipno, Lipsk, Lipsko, Lubaczów, Lubań, Lubartów, Lubawa, Lubawka, Lubień Kujawski, Lubin, Lublin, Lubliniec, Lubniewice, Lubomierz, Luboń, Lubraniec, Lubsko, Lwówek, Lwówek Śląski, Łabiszyn, Łańcut, Łapy, Łasin, Łask, Łaskarzew, Łaszczów, Łaziska Górne, Łazy, Łeba, Łęczna, Łęczyca, Łęknica, Łobez, Łobżenica, Łochów, Łomianki, Łomża, Łosice, Łowicz, Łódź, Łuków, Maków Mazowiecki, Maków Podhalański, Malbork, Małogoszcz, Małomice, Margonin, Marki, Maszewo, Miasteczko Śląskie, Miastko, Michałowo, Miechów, Miejska Górka, Mielec, Mieroszów, Mieszkowice, Międzybórz, Międzychód, Międzylesie, Międzyrzec Podlaski, Międzyrzecz, Międzyzdroje, Mikołajki, Mikołów, Mikstat, Milanówek, Milicz, Miłakowo, Miłomłyn, Miłosław, Mińsk Mazowiecki, Mirosławiec, Mirsk, Mława, Młynary, Mogielnica, Mogilno, Mońki, Morąg, Mordy, Moryń, Mosina, Mrągowo, Mrocza, Mszana Dolna, Mszczonów, Murowana Goślina, Muszyna, Mysłowice, Myszków, Myszyniec, Myślenice, Myślibórz, Nakło nad Notecią, Nałęczów, Namysłów, Narol, Nasielsk, Nekla, Nidzica, Niemcza, Niemodlin, Niepołomice, Nieszawa, Nisko, Nowa Dęba, Nowa Ruda, Nowa Sarzyna, Nowa Sól, Nowe, Nowe Brzesko, Nowe Miasteczko, Nowe Miasto Lubawskie, Nowe Miasto nad Pilicą, Nowe Skalmierzyce, Nowe Warpno, Nowogard, Nowogrodziec, Nowogród, Nowogród Bobrzański, Nowy Dwór Gdański, Nowy Dwór Mazowiecki, Nowy Sącz, Nowy Staw, Nowy Targ, Nowy Tomyśl, Nowy Wiśnicz, Nysa, Oborniki, Oborniki Śląskie, Obrzycko, Odolanów, Ogrodzieniec, Okonek, Olecko, Olesno, Oleszyce, Oleśnica, Olkusz, Olsztyn, Olsztynek, Olszyna, Oława, Opalenica, Opatów, Opoczno, Opole, Opole Lubelskie, Orneta, Orzesze, Orzysz, Osieczna, Osiek, Ostrołęka, Ostroróg, Ostrowiec Świętokrzyski, Ostróda, Ostrów Lubelski, Ostrów Mazowiecka, Ostrów Wielkopolski, Ostrzeszów, Ośno Lubuskie, Oświęcim, Otmuchów, Otwock, Ozimek, Ozorków, Ożarów, Ożarów Mazowiecki, Pabianice, Paczków, Pajęczno, Pakość, Parczew, Pasłęk, Pasym, Pelplin, Pełczyce, Piaseczno, Piaski, Piastów, Piechowice, Piekary Śląskie, Pieniężno, Pieńsk, Pieszyce, Pilawa, Pilica, Pilzno, Piła, Piława Górna, Pińczów, Pionki, Piotrków Kujawski, Piotrków Trybunalski, Pisz, Piwniczna-Zdrój, Pleszew, Płock, Płońsk, Płoty, Pniewy, Pobiedziska, Poddębice, Podkowa Leśna, Pogorzela, Polanica-Zdrój, Polanów, Police, Polkowice, Połaniec, Połczyn-Zdrój, Poniatowa, Poniec, Poręba, Poznań, Prabuty, Praszka, Prochowice, Proszowice, Prószków, Pruchnik, Prudnik, Prusice, Pruszcz Gdański, Pruszków, Przasnysz, Przecław, Przedbórz, Przedecz, Przemków, Przemyśl, Przeworsk, Przysucha, Pszczyna, Pszów, Puck, Puławy, Pułtusk, Puszczykowo, Pyrzyce, Pyskowice, Pyzdry, Rabka-Zdrój, Raciąż, Racibórz, Radków, Radlin, Radłów, Radom, Radomsko, Radomyśl Wielki, Radymno, Radziejów, Radzionków, Radzymin, Radzyń Chełmiński, Radzyń Podlaski, Rajgród, Rakoniewice, Raszków, Rawa Mazowiecka, Rawicz, Recz, Reda, Rejowiec Fabryczny, Resko, Reszel, Rogoźno, Ropczyce, Różan, Ruciane-Nida, Ruda Śląska, Rudnik nad Sanem, Rumia, Rybnik, Rychwał, Rydułtowy, Rydzyna, Ryglice, Ryki, Rymanów, Ryn, Rypin, Rzepin, Rzeszów, Rzgów, Sandomierz, Sanok, Sejny, Serock, Sędziszów, Sędziszów Małopolski, Sępopol, Sępólno Krajeńskie, Sianów, Siechnice, Siedlce, Siemianowice Śląskie, Siemiatycze, Sieniawa, Sieradz, Sieraków, Sierpc, Siewierz, Skalbmierz, Skała, Skarszewy, Skaryszew, Skarżysko-Kamienna, Skawina, Skępe, Skierniewice, Skoczów, Skoki, Skórcz, Skwierzyna, Sława, Sławków, Sławno, Słomniki, Słubice, Słupca, Słupsk, Sobótka, Sochaczew, Sokołów Małopolski, Sokołów Podlaski, Sokółka, Solec Kujawski, Sompolno, Sopot, Sosnowiec, Sośnicowice, Stalowa Wola, Starachowice, Stargard Szczeciński, Starogard Gdański, Stary Sącz, Staszów, Stawiski, Stawiszyn, Stąporków, Stęszew, Stoczek Łukowski, Stronie Śląskie, Strumień, Stryków, Strzegom, Strzelce Krajeńskie, Strzelce Opolskie, Strzelin, Strzelno, Strzyżów, Sucha Beskidzka, Suchań, Suchedniów, Suchowola, Sulechów, Sulejów, Sulejówek, Sulęcin, Sulmierzyce, Sułkowice, Supraśl, Suraż, Susz, Suwałki, Swarzędz, Syców, Szadek, Szamocin, Szamotuły, Szczawnica, Szczawno-Zdrój, Szczebrzeszyn, Szczecin, Szczecinek, Szczekociny, Szczucin, Szczuczyn, Szczyrk, Szczytna, Szczytno, Szepietowo, Szklarska Poręba, Szlichtyngowa, Szprotawa, Sztum, Szubin, Szydłowiec, Ścinawa, Ślesin, Śmigiel, Śrem, Środa Śląska, Środa Wielkopolska, Świątniki Górne, Świdnica, Świdnik, Świdwin, Świebodzice, Świebodzin, Świecie, Świeradów-Zdrój, Świerzawa, Świętochłowice, Świnoujście, Tarczyn, Tarnobrzeg, Tarnogród, Tarnowskie Góry, Tarnów, Tczew, Terespol, Tłuszcz, Tolkmicko, Tomaszów Lubelski, Tomaszów Mazowiecki, Toruń, Torzym, Toszek, Trzcianka, Trzciel, Trzcińsko-Zdrój, Trzebiatów, Trzebinia, Trzebnica, Trzemeszno, Tuchola, Tuchów, Tuczno, Tuliszków, Turek, Tuszyn, Twardogóra, Tychowo, Tychy, Tyczyn, Tykocin, Tyszowce, Ujazd, Ujście, Ulanów, Uniejów, Ustka, Ustroń, Ustrzyki Dolne, Wadowice, Wałbrzych, Wałcz, Warka, Warszawa, Warta, Wasilków, Wąbrzeźno, Wąchock, Wągrowiec, Wąsosz, Wejherowo, Węgliniec, Węgorzewo, Węgorzyno, Węgrów, Wiązów, Wieleń, Wielichowo, Wieliczka, Wieluń, Wieruszów, Więcbork, Wilamowice, Wisła, Witkowo, Witnica, Wleń, Władysławowo, Włocławek, Włodawa, Włoszczowa, Wodzisław Śląski, Wojcieszów, Wojkowice, Wojnicz, Wolbórz, Wolbrom, Wolin, Wolsztyn, Wołczyn, Wołomin, Wołów, Woźniki, Wrocław, Wronki, Września, Wschowa, Wyrzysk, Wysoka, Wysokie Mazowieckie, Wyszków, Wyszogród, Wyśmierzyce, Zabłudów, Zabrze, Zagórów, Zagórz, Zakliczyn, Zakopane, Zakroczym, Zalewo, Zambrów, Zamość, Zator, Zawadzkie, Zawichost, Zawidów, Zawiercie, Ząbki, Ząbkowice Śląskie, Zbąszynek, Zbąszyń, Zduny, Zduńska Wola, Zdzieszowice, Zelów, Zgierz, Zgorzelec, Zielona Góra, Zielonka, Ziębice, Złocieniec, Złoczew, Złotoryja, Złotów, Złoty Stok, Zwierzyniec, Zwoleń, Żabno, Żagań, Żarki, Żarów, Żary, Żelechów, Żerków, Żmigród, Żnin, Żory, Żukowo, Żuromin, Żychlin, Żyrardów, Żywiec] - city: - - "#{city_name}" - street_name: - - "#{street_prefix} #{Name.last_name}" - street_address: - - "#{street_name} #{building_number}" - default_country: [Polska] - - company: - suffix: [Inc, and Sons, LLC, Group] - # Buzzword wordlist from http://www.1728.com/buzzword.htm - buzzwords: - - ["Adaptive", "Advanced", "Ameliorated", "Assimilated", "Automated", "Balanced", "Business-focused", "Centralized", "Cloned", "Compatible", "Configurable", "Cross-group", "Cross-platform", "Customer-focused", "Customizable", "Decentralized", "De-engineered", "Devolved", "Digitized", "Distributed", "Diverse", "Down-sized", "Enhanced", "Enterprise-wide", "Ergonomic", "Exclusive", "Expanded", "Extended", "Face to face", "Focused", "Front-line", "Fully-configurable", "Function-based", "Fundamental", "Future-proofed", "Grass-roots", "Horizontal", "Implemented", "Innovative", "Integrated", "Intuitive", "Inverse", "Managed", "Mandatory", "Monitored", "Multi-channelled", "Multi-lateral", "Multi-layered", "Multi-tiered", "Networked", "Object-based", "Open-architected", "Open-source", "Operative", "Optimized", "Optional", "Organic", "Organized", "Persevering", "Persistent", "Phased", "Polarised", "Pre-emptive", "Proactive", "Profit-focused", "Profound", "Programmable", "Progressive", "Public-key", "Quality-focused", "Reactive", "Realigned", "Re-contextualized", "Re-engineered", "Reduced", "Reverse-engineered", "Right-sized", "Robust", "Seamless", "Secured", "Self-enabling", "Sharable", "Stand-alone", "Streamlined", "Switchable", "Synchronised", "Synergistic", "Synergized", "Team-oriented", "Total", "Triple-buffered", "Universal", "Up-sized", "Upgradable", "User-centric", "User-friendly", "Versatile", "Virtual", "Visionary", "Vision-oriented"] - - ["24 hour", "24/7", "3rd generation", "4th generation", "5th generation", "6th generation", "actuating", "analyzing", "asymmetric", "asynchronous", "attitude-oriented", "background", "bandwidth-monitored", "bi-directional", "bifurcated", "bottom-line", "clear-thinking", "client-driven", "client-server", "coherent", "cohesive", "composite", "context-sensitive", "contextually-based", "content-based", "dedicated", "demand-driven", "didactic", "directional", "discrete", "disintermediate", "dynamic", "eco-centric", "empowering", "encompassing", "even-keeled", "executive", "explicit", "exuding", "fault-tolerant", "foreground", "fresh-thinking", "full-range", "global", "grid-enabled", "heuristic", "high-level", "holistic", "homogeneous", "human-resource", "hybrid", "impactful", "incremental", "intangible", "interactive", "intermediate", "leading edge", "local", "logistical", "maximized", "methodical", "mission-critical", "mobile", "modular", "motivating", "multimedia", "multi-state", "multi-tasking", "national", "needs-based", "neutral", "next generation", "non-volatile", "object-oriented", "optimal", "optimizing", "radical", "real-time", "reciprocal", "regional", "responsive", "scalable", "secondary", "solution-oriented", "stable", "static", "systematic", "systemic", "system-worthy", "tangible", "tertiary", "transitional", "uniform", "upward-trending", "user-facing", "value-added", "web-enabled", "well-modulated", "zero administration", "zero defect", "zero tolerance"] - - ["ability", "access", "adapter", "algorithm", "alliance", "analyzer", "application", "approach", "architecture", "archive", "artificial intelligence", "array", "attitude", "benchmark", "budgetary management", "capability", "capacity", "challenge", "circuit", "collaboration", "complexity", "concept", "conglomeration", "contingency", "core", "customer loyalty", "database", "data-warehouse", "definition", "emulation", "encoding", "encryption", "extranet", "firmware", "flexibility", "focus group", "forecast", "frame", "framework", "function", "functionalities", "Graphic Interface", "groupware", "Graphical User Interface", "hardware", "help-desk", "hierarchy", "hub", "implementation", "info-mediaries", "infrastructure", "initiative", "installation", "instruction set", "interface", "internet solution", "intranet", "knowledge user", "knowledge base", "local area network", "leverage", "matrices", "matrix", "methodology", "middleware", "migration", "model", "moderator", "monitoring", "moratorium", "neural-net", "open architecture", "open system", "orchestration", "paradigm", "parallelism", "policy", "portal", "pricing structure", "process improvement", "product", "productivity", "project", "projection", "protocol", "secured line", "service-desk", "software", "solution", "standardization", "strategy", "structure", "success", "superstructure", "support", "synergy", "system engine", "task-force", "throughput", "time-frame", "toolset", "utilisation", "website", "workforce"] - # BS wordlist from http://dack.com/web/bullshit.html - bs: - - ["implement", "utilize", "integrate", "streamline", "optimize", "evolve", "transform", "embrace", "enable", "orchestrate", "leverage", "reinvent", "aggregate", "architect", "enhance", "incentivize", "morph", "empower", "envisioneer", "monetize", "harness", "facilitate", "seize", "disintermediate", "synergize", "strategize", "deploy", "brand", "grow", "target", "syndicate", "synthesize", "deliver", "mesh", "incubate", "engage", "maximize", "benchmark", "expedite", "reintermediate", "whiteboard", "visualize", "repurpose", "innovate", "scale", "unleash", "drive", "extend", "engineer", "revolutionize", "generate", "exploit", "transition", "e-enable", "iterate", "cultivate", "matrix", "productize", "redefine", "recontextualize"] - - ["clicks-and-mortar", "value-added", "vertical", "proactive", "robust", "revolutionary", "scalable", "leading-edge", "innovative", "intuitive", "strategic", "e-business", "mission-critical", "sticky", "one-to-one", "24/7", "end-to-end", "global", "B2B", "B2C", "granular", "frictionless", "virtual", "viral", "dynamic", "24/365", "best-of-breed", "killer", "magnetic", "bleeding-edge", "web-enabled", "interactive", "dot-com", "sexy", "back-end", "real-time", "efficient", "front-end", "distributed", "seamless", "extensible", "turn-key", "world-class", "open-source", "cross-platform", "cross-media", "synergistic", "bricks-and-clicks", "out-of-the-box", "enterprise", "integrated", "impactful", "wireless", "transparent", "next-generation", "cutting-edge", "user-centric", "visionary", "customized", "ubiquitous", "plug-and-play", "collaborative", "compelling", "holistic", "rich"] - - ["synergies", "web-readiness", "paradigms", "markets", "partnerships", "infrastructures", "platforms", "initiatives", "channels", "eyeballs", "communities", "ROI", "solutions", "e-tailers", "e-services", "action-items", "portals", "niches", "technologies", "content", "vortals", "supply-chains", "convergence", "relationships", "architectures", "interfaces", "e-markets", "e-commerce", "systems", "bandwidth", "infomediaries", "models", "mindshare", "deliverables", "users", "schemas", "networks", "applications", "metrics", "e-business", "functionalities", "experiences", "web services", "methodologies"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} and #{Name.last_name}" - - internet: - free_email: [gmail.com, yahoo.com, hotmail.com] - domain_suffix: [com, pl, com.pl, net, org] - - lorem: - words: [alias, consequatur, aut, perferendis, sit, voluptatem, accusantium, doloremque, aperiam, eaque, ipsa, quae, ab, illo, inventore, veritatis, et, quasi, architecto, beatae, vitae, dicta, sunt, explicabo, aspernatur, aut, odit, aut, fugit, sed, quia, consequuntur, magni, dolores, eos, qui, ratione, voluptatem, sequi, nesciunt, neque, dolorem, ipsum, quia, dolor, sit, amet, consectetur, adipisci, velit, sed, quia, non, numquam, eius, modi, tempora, incidunt, ut, labore, et, dolore, magnam, aliquam, quaerat, voluptatem, ut, enim, ad, minima, veniam, quis, nostrum, exercitationem, ullam, corporis, nemo, enim, ipsam, voluptatem, quia, voluptas, sit, suscipit, laboriosam, nisi, ut, aliquid, ex, ea, commodi, consequatur, quis, autem, vel, eum, iure, reprehenderit, qui, in, ea, voluptate, velit, esse, quam, nihil, molestiae, et, iusto, odio, dignissimos, ducimus, qui, blanditiis, praesentium, laudantium, totam, rem, voluptatum, deleniti, atque, corrupti, quos, dolores, et, quas, molestias, excepturi, sint, occaecati, cupiditate, non, provident, sed, ut, perspiciatis, unde, omnis, iste, natus, error, similique, sunt, in, culpa, qui, officia, deserunt, mollitia, animi, id, est, laborum, et, dolorum, fuga, et, harum, quidem, rerum, facilis, est, et, expedita, distinctio, nam, libero, tempore, cum, soluta, nobis, est, eligendi, optio, cumque, nihil, impedit, quo, porro, quisquam, est, qui, minus, id, quod, maxime, placeat, facere, possimus, omnis, voluptas, assumenda, est, omnis, dolor, repellendus, temporibus, autem, quibusdam, et, aut, consequatur, vel, illum, qui, dolorem, eum, fugiat, quo, voluptas, nulla, pariatur, at, vero, eos, et, accusamus, officiis, debitis, aut, rerum, necessitatibus, saepe, eveniet, ut, et, voluptates, repudiandae, sint, et, molestiae, non, recusandae, itaque, earum, rerum, hic, tenetur, a, sapiente, delectus, ut, aut, reiciendis, voluptatibus, maiores, doloribus, asperiores, repellat] - supplemental: [abbas, abduco, abeo, abscido, absconditus, absens, absorbeo, absque, abstergo, absum, abundans, abutor, accedo, accendo, acceptus, accipio, accommodo, accusator, acer, acerbitas, acervus, acidus, acies, acquiro, acsi, adamo, adaugeo, addo, adduco, ademptio, adeo, adeptio, adfectus, adfero, adficio, adflicto, adhaero, adhuc, adicio, adimpleo, adinventitias, adipiscor, adiuvo, administratio, admiratio, admitto, admoneo, admoveo, adnuo, adopto, adsidue, adstringo, adsuesco, adsum, adulatio, adulescens, adultus, aduro, advenio, adversus, advoco, aedificium, aeger, aegre, aegrotatio, aegrus, aeneus, aequitas, aequus, aer, aestas, aestivus, aestus, aetas, aeternus, ager, aggero, aggredior, agnitio, agnosco, ago, ait, aiunt, alienus, alii, alioqui, aliqua, alius, allatus, alo, alter, altus, alveus, amaritudo, ambitus, ambulo, amicitia, amiculum, amissio, amita, amitto, amo, amor, amoveo, amplexus, amplitudo, amplus, ancilla, angelus, angulus, angustus, animadverto, animi, animus, annus, anser, ante, antea, antepono, antiquus, aperio, aperte, apostolus, apparatus, appello, appono, appositus, approbo, apto, aptus, apud, aqua, ara, aranea, arbitro, arbor, arbustum, arca, arceo, arcesso, arcus, argentum, argumentum, arguo, arma, armarium, armo, aro, ars, articulus, artificiose, arto, arx, ascisco, ascit, asper, aspicio, asporto, assentator, astrum, atavus, ater, atqui, atrocitas, atrox, attero, attollo, attonbitus, auctor, auctus, audacia, audax, audentia, audeo, audio, auditor, aufero, aureus, auris, aurum, aut, autem, autus, auxilium, avaritia, avarus, aveho, averto, avoco, baiulus, balbus, barba, bardus, basium, beatus, bellicus, bellum, bene, beneficium, benevolentia, benigne, bestia, bibo, bis, blandior, bonus, bos, brevis, cado, caecus, caelestis, caelum, calamitas, calcar, calco, calculus, callide, campana, candidus, canis, canonicus, canto, capillus, capio, capitulus, capto, caput, carbo, carcer, careo, caries, cariosus, caritas, carmen, carpo, carus, casso, caste, casus, catena, caterva, cattus, cauda, causa, caute, caveo, cavus, cedo, celebrer, celer, celo, cena, cenaculum, ceno, censura, centum, cerno, cernuus, certe, certo, certus, cervus, cetera, charisma, chirographum, cibo, cibus, cicuta, cilicium, cimentarius, ciminatio, cinis, circumvenio, cito, civis, civitas, clam, clamo, claro, clarus, claudeo, claustrum, clementia, clibanus, coadunatio, coaegresco, coepi, coerceo, cogito, cognatus, cognomen, cogo, cohaero, cohibeo, cohors, colligo, colloco, collum, colo, color, coma, combibo, comburo, comedo, comes, cometes, comis, comitatus, commemoro, comminor, commodo, communis, comparo, compello, complectus, compono, comprehendo, comptus, conatus, concedo, concido, conculco, condico, conduco, confero, confido, conforto, confugo, congregatio, conicio, coniecto, conitor, coniuratio, conor, conqueror, conscendo, conservo, considero, conspergo, constans, consuasor, contabesco, contego, contigo, contra, conturbo, conventus, convoco, copia, copiose, cornu, corona, corpus, correptius, corrigo, corroboro, corrumpo, coruscus, cotidie, crapula, cras, crastinus, creator, creber, crebro, credo, creo, creptio, crepusculum, cresco, creta, cribro, crinis, cruciamentum, crudelis, cruentus, crur, crustulum, crux, cubicularis, cubitum, cubo, cui, cuius, culpa, culpo, cultellus, cultura, cum, cunabula, cunae, cunctatio, cupiditas, cupio, cuppedia, cupressus, cur, cura, curatio, curia, curiositas, curis, curo, curriculum, currus, cursim, curso, cursus, curto, curtus, curvo, curvus, custodia, damnatio, damno, dapifer, debeo, debilito, decens, decerno, decet, decimus, decipio, decor, decretum, decumbo, dedecor, dedico, deduco, defaeco, defendo, defero, defessus, defetiscor, deficio, defigo, defleo, defluo, defungo, degenero, degero, degusto, deinde, delectatio, delego, deleo, delibero, delicate, delinquo, deludo, demens, demergo, demitto, demo, demonstro, demoror, demulceo, demum, denego, denique, dens, denuncio, denuo, deorsum, depereo, depono, depopulo, deporto, depraedor, deprecator, deprimo, depromo, depulso, deputo, derelinquo, derideo, deripio, desidero, desino, desipio, desolo, desparatus, despecto, despirmatio, infit, inflammatio, paens, patior, patria, patrocinor, patruus, pauci, paulatim, pauper, pax, peccatus, pecco, pecto, pectus, pecunia, pecus, peior, pel, ocer, socius, sodalitas, sol, soleo, solio, solitudo, solium, sollers, sollicito, solum, solus, solutio, solvo, somniculosus, somnus, sonitus, sono, sophismata, sopor, sordeo, sortitus, spargo, speciosus, spectaculum, speculum, sperno, spero, spes, spiculum, spiritus, spoliatio, sponte, stabilis, statim, statua, stella, stillicidium, stipes, stips, sto, strenuus, strues, studio, stultus, suadeo, suasoria, sub, subito, subiungo, sublime, subnecto, subseco, substantia, subvenio, succedo, succurro, sufficio, suffoco, suffragium, suggero, sui, sulum, sum, summa, summisse, summopere, sumo, sumptus, supellex, super, suppellex, supplanto, suppono, supra, surculus, surgo, sursum, suscipio, suspendo, sustineo, suus, synagoga, tabella, tabernus, tabesco, tabgo, tabula, taceo, tactus, taedium, talio, talis, talus, tam, tamdiu, tamen, tametsi, tamisium, tamquam, tandem, tantillus, tantum, tardus, tego, temeritas, temperantia, templum, temptatio, tempus, tenax, tendo, teneo, tener, tenuis, tenus, tepesco, tepidus, ter, terebro, teres, terga, tergeo, tergiversatio, tergo, tergum, termes, terminatio, tero, terra, terreo, territo, terror, tersus, tertius, testimonium, texo, textilis, textor, textus, thalassinus, theatrum, theca, thema, theologus, thermae, thesaurus, thesis, thorax, thymbra, thymum, tibi, timidus, timor, titulus, tolero, tollo, tondeo, tonsor, torqueo, torrens, tot, totidem, toties, totus, tracto, trado, traho, trans, tredecim, tremo, trepide, tres, tribuo, tricesimus, triduana, triginta, tripudio, tristis, triumphus, trucido, truculenter, tubineus, tui, tum, tumultus, tunc, turba, turbo, turpe, turpis, tutamen, tutis, tyrannus, uberrime, ubi, ulciscor, ullus, ulterius, ultio, ultra, umbra, umerus, umquam, una, unde, undique, universe, unus, urbanus, urbs, uredo, usitas, usque, ustilo, ustulo, usus, uter, uterque, utilis, utique, utor, utpote, utrimque, utroque, utrum, uxor, vaco, vacuus, vado, vae, valde, valens, valeo, valetudo, validus, vallum, vapulus, varietas, varius, vehemens, vel, velociter, velum, velut, venia, venio, ventito, ventosus, ventus, venustas, ver, verbera, verbum, vere, verecundia, vereor, vergo, veritas, vero, versus, verto, verumtamen, verus, vesco, vesica, vesper, vespillo, vester, vestigium, vestrum, vetus, via, vicinus, vicissitudo, victoria, victus, videlicet, video, viduata, viduo, vigilo, vigor, vilicus, vilis, vilitas, villa, vinco, vinculum, vindico, vinitor, vinum, vir, virga, virgo, viridis, viriliter, virtus, vis, viscus, vita, vitiosus, vitium, vito, vivo, vix, vobis, vociferor, voco, volaticus, volo, volubilis, voluntarius, volup, volutabrum, volva, vomer, vomica, vomito, vorago, vorax, voro, vos, votum, voveo, vox, vulariter, vulgaris, vulgivagus, vulgo, vulgus, vulnero, vulnus, vulpes, vulticulus, vultuosus, xiphias] - - name: - first_name: [Aaron, Abraham, Adam, Adrian, Atanazy, Agaton, Alan, Albert, Aleksander, Aleksy, Alfred, Alwar, Ambroży, Anatol, Andrzej, Antoni, Apollinary, Apollo, Arkady, Arkadiusz, Archibald, Arystarch, Arnold, Arseniusz, Artur, August, Baldwin, Bazyli, Benedykt, Beniamin, Bernard, Bertrand, Bertram, Borys, Brajan, Bruno, Cezary, Cecyliusz, Karol, Krystian, Krzysztof, Klarencjusz, Klaudiusz, Klemens, Konrad, Konstanty, Konstantyn, Kornel, Korneliusz, Korneli, Cyryl, Cyrus, Damian, Daniel, Dariusz, Dawid, Dionizy, Demetriusz, Dominik, Donald, Dorian, Edgar, Edmund, Edward, Edwin, Efrem, Efraim, Eliasz, Eleazar, Emil, Emanuel, Erast, Ernest, Eugeniusz, Eustracjusz, Fabian, Feliks, Florian, Franciszek, Fryderyk, Gabriel, Gedeon, Galfryd, Jerzy, Gerald, Gerazym, Gilbert, Gonsalwy, Grzegorz, Gwido, Harald, Henryk, Herbert, Herman, Hilary, Horacy, Hubert, Hugo, Ignacy, Igor, Hilarion, Innocenty, Hipolit, Ireneusz, Erwin, Izaak, Izajasz, Izydor, Jakub, Jeremi, Jeremiasz, Hieronim, Gerald, Joachim, Jan, Janusz, Jonatan, Józef, Jozue, Julian, Juliusz, Justyn, Kalistrat, Kazimierz, Wawrzyniec, Laurenty, Laurencjusz, Łazarz, Leon, Leonard, Leonid, Leon, Ludwik, Łukasz, Lucjan, Magnus, Makary, Marceli, Marek, Marcin, Mateusz, Maurycy, Maksym, Maksymilian, Michał, Miron, Modest, Mojżesz, Natan, Natanael, Nazariusz, Nazary, Nestor, Mikołaj, Nikodem, Olaf, Oleg, Oliwier, Onufry, Orestes, Oskar, Ansgary, Osmund, Pankracy, Pantaleon, Patryk, Patrycjusz, Patrycy, Paweł, Piotr, Filemon, Filip, Platon, Polikarp, Porfiry, Porfiriusz, Prokles, Prokul, Prokop, Kwintyn, Randolf, Rafał, Rajmund, Reginald, Rajnold, Ryszard, Robert, Roderyk, Roger, Roland, Roman, Romeo, Reginald, Rudolf, Samson, Samuel, Salwator, Sebastian, Serafin, Sergiusz, Seweryn, Zygmunt, Sylwester, Szymon, Salomon, Spirydion, Stanisław, Szczepan, Stefan, Terencjusz, Teodor, Tomasz, Tymoteusz, Tobiasz, Walenty, Walentyn, Walerian, Walery, Wiktor, Wincenty, Witalis, Włodzimierz, Władysław, Błażej, Walter, Walgierz, Wacław, Wilfryd, Wilhelm, Ksawery, Ksenofont, Jerzy, Zachariasz, Zachary, Ada, Adelajda, Agata, Agnieszka, Agrypina, Aida, Aleksandra, Alicja, Alina, Amanda, Anastazja, Angela, Andżelika, Angelina, Anna, Hanna, —, Antonina, Ariadna, Aurora, Barbara, Beatrycze, Berta, Brygida, Kamila, Karolina, Karolina, Kornelia, Katarzyna, Cecylia, Karolina, Chloe, Krystyna, Klara, Klaudia, Klementyna, Konstancja, Koralia, Daria, Diana, Dina, Dorota, Edyta, Eleonora, Eliza, Elżbieta, Izabela, Elwira, Emilia, Estera, Eudoksja, Eudokia, Eugenia, Ewa, Ewelina, Ferdynanda, Florencja, Franciszka, Gabriela, Gertruda, Gloria, Gracja, Jadwiga, Helena, Henryka, Nadzieja, Ida, Ilona, Helena, Irena, Irma, Izabela, Izolda, Jakubina, Joanna, Janina, Żaneta, Joanna, Ginewra, Józefina, Judyta, Julia, Julia, Julita, Justyna, Kira, Cyra, Kleopatra, Larysa, Laura, Laurencja, Laurentyna, Lea, Leila, Eleonora, Liliana, Lilianna, Lilia, Lilla, Liza, Eliza, Laura, Ludwika, Luiza, Łucja, Lucja, Lidia, Amabela, Magdalena, Malwina, Małgorzata, Greta, Marianna, Maryna, Marta, Martyna, Maria, Matylda, Maja, Maja, Melania, Michalina, Monika, Nadzieja, Noemi, Natalia, Nikola, Nina, Olga, Olimpia, Oliwia, Ofelia, Patrycja, Paula, Pelagia, Penelopa, Filipa, Paulina, Rachela, Rebeka, Regina, Renata, Rozalia, Róża, Roksana, Rufina, Ruta, Sabina, Sara, Serafina, Sybilla, Sylwia, Zofia, Stella, Stefania, Zuzanna, Tamara, Tacjana, Tekla, Teodora, Teresa, Walentyna, Waleria, Wanesa, Wiara, Weronika, Wiktoria, Wirginia, Bibiana, Bibianna, Wanda, Wilhelmina, Ksawera, Ksenia, Zoe] - last_name: [Adamczak, Adamczyk, Adamek, Adamiak, Adamiec, Adamowicz, Adamski, Adamus, Aleksandrowicz, Andrzejczak, Andrzejewski, Antczak, Augustyn, Augustyniak, Bagiński, Balcerzak, Banach, Banasiak, Banasik, Banaś, Baran, Baranowski, Barański, Bartczak, Bartkowiak, Bartnik, Bartosik, Bednarczyk, Bednarek, Bednarski, Bednarz, Białas, Białek, Białkowski, Bielak, Bielawski, Bielecki, Bielski, Bieniek, Biernacki, Biernat, Bieńkowski, Bilski, Bober, Bochenek, Bogucki, Bogusz, Borek, Borkowski, Borowiec, Borowski, Bożek, Broda, Brzeziński, Brzozowski, Buczek, Buczkowski, Buczyński, Budziński, Budzyński, Bujak, Bukowski, Burzyński, Bąk, Bąkowski, Błaszczak, Błaszczyk, Cebula, Chmiel, Chmielewski, Chmura, Chojnacki, Chojnowski, Cholewa, Chrzanowski, Chudzik, Cichocki, Cichoń, Cichy, Ciesielski, Cieśla, Cieślak, Cieślik, Ciszewski, Cybulski, Cygan, Czaja, Czajka, Czajkowski, Czapla, Czarnecki, Czech, Czechowski, Czekaj, Czerniak, Czerwiński, Czyż, Czyżewski, Dec, Dobosz, Dobrowolski, Dobrzyński, Domagała, Domański, Dominiak, Drabik, Drozd, Drozdowski, Drzewiecki, Dróżdż, Dubiel, Duda, Dudek, Dudziak, Dudzik, Dudziński, Duszyński, Dziedzic, Dziuba, Dąbek, Dąbkowski, Dąbrowski, Dębowski, Dębski, Długosz, Falkowski, Fijałkowski, Filipek, Filipiak, Filipowicz, Flak, Flis, Florczak, Florek, Frankowski, Frąckowiak, Frączek, Frątczak, Furman, Gadomski, Gajda, Gajewski, Gaweł, Gawlik, Gawron, Gawroński, Gałka, Gałązka, Gil, Godlewski, Golec, Gołąb, Gołębiewski, Gołębiowski, Grabowski, Graczyk, Grochowski, Grudzień, Gruszczyński, Gruszka, Grzegorczyk, Grzelak, Grzesiak, Grzesik, Grześkowiak, Grzyb, Grzybowski, Grzywacz, Gutowski, Guzik, Gwóźdź, Góra, Góral, Górecki, Górka, Górniak, Górny, Górski, Gąsior, Gąsiorowski, Głogowski, Głowacki, Głąb, Hajduk, Herman, Iwański, Izdebski, Jabłoński, Jackowski, Jagielski, Jagiełło, Jagodziński, Jakubiak, Jakubowski, Janas, Janiak, Janicki, Janik, Janiszewski, Jankowiak, Jankowski, Janowski, Janus, Janusz, Januszewski, Jaros, Jarosz, Jarząbek, Jasiński, Jastrzębski, Jaworski, Jaśkiewicz, Jezierski, Jurek, Jurkiewicz, Jurkowski, Juszczak, Jóźwiak, Jóźwik, Jędrzejczak, Jędrzejczyk, Jędrzejewski, Kacprzak, Kaczmarczyk, Kaczmarek, Kaczmarski, Kaczor, Kaczorowski, Kaczyński, Kaleta, Kalinowski, Kalisz, Kamiński, Kania, Kaniewski, Kapusta, Karaś, Karczewski, Karpiński, Karwowski, Kasperek, Kasprzak, Kasprzyk, Kaszuba, Kawa, Kawecki, Kałuża, Kaźmierczak, Kiełbasa, Kisiel, Kita, Klimczak, Klimek, Kmiecik, Kmieć, Knapik, Kobus, Kogut, Kolasa, Komorowski, Konieczna, Konieczny, Konopka, Kopczyński, Koper, Kopeć, Korzeniowski, Kos, Kosiński, Kosowski, Kostecki, Kostrzewa, Kot, Kotowski, Kowal, Kowalczuk, Kowalczyk, Kowalewski, Kowalik, Kowalski, Koza, Kozak, Kozieł, Kozioł, Kozłowski, Kołakowski, Kołodziej, Kołodziejczyk, Kołodziejski, Krajewski, Krakowiak, Krawczyk, Krawiec, Kruk, Krukowski, Krupa, Krupiński, Kruszewski, Krysiak, Krzemiński, Krzyżanowski, Król, Królikowski, Książek, Kubacki, Kubiak, Kubica, Kubicki, Kubik, Kuc, Kucharczyk, Kucharski, Kuchta, Kuciński, Kuczyński, Kujawa, Kujawski, Kula, Kulesza, Kulig, Kulik, Kuliński, Kurek, Kurowski, Kuś, Kwaśniewski, Kwiatkowski, Kwiecień, Kwieciński, Kędzierski, Kędziora, Kępa, Kłos, Kłosowski, Lach, Laskowski, Lasota, Lech, Lenart, Lesiak, Leszczyński, Lewandowski, Lewicki, Leśniak, Leśniewski, Lipiński, Lipka, Lipski, Lis, Lisiecki, Lisowski, Maciejewski, Maciąg, Mackiewicz, Madej, Maj, Majcher, Majchrzak, Majewski, Majka, Makowski, Malec, Malicki, Malinowski, Maliszewski, Marchewka, Marciniak, Marcinkowski, Marczak, Marek, Markiewicz, Markowski, Marszałek, Marzec, Masłowski, Matusiak, Matuszak, Matuszewski, Matysiak, Mazur, Mazurek, Mazurkiewicz, Maćkowiak, Małecki, Małek, Maślanka, Michalak, Michalczyk, Michalik, Michalski, Michałek, Michałowski, Mielczarek, Mierzejewski, Mika, Mikołajczak, Mikołajczyk, Mikulski, Milczarek, Milewski, Miller, Misiak, Misztal, Miśkiewicz, Modzelewski, Molenda, Morawski, Motyka, Mroczek, Mroczkowski, Mrozek, Mróz, Mucha, Murawski, Musiał, Muszyński, Młynarczyk, Napierała, Nawrocki, Nawrot, Niedziela, Niedzielski, Niedźwiecki, Niemczyk, Niemiec, Niewiadomski, Noga, Nowacki, Nowaczyk, Nowak, Nowakowski, Nowicki, Nowiński, Olczak, Olejniczak, Olejnik, Olszewski, Orzechowski, Orłowski, Osiński, Ossowski, Ostrowski, Owczarek, Paczkowski, Pająk, Pakuła, Paluch, Panek, Partyka, Pasternak, Paszkowski, Pawelec, Pawlak, Pawlicki, Pawlik, Pawlikowski, Pawłowski, Pałka, Piasecki, Piechota, Piekarski, Pietras, Pietruszka, Pietrzak, Pietrzyk, Pilarski, Pilch, Piotrowicz, Piotrowski, Piwowarczyk, Piórkowski, Piątek, Piątkowski, Piłat, Pluta, Podgórski, Polak, Popławski, Porębski, Prokop, Prus, Przybylski, Przybysz, Przybył, Przybyła, Ptak, Puchalski, Pytel, Płonka, Raczyński, Radecki, Radomski, Rak, Rakowski, Ratajczak, Robak, Rogala, Rogalski, Rogowski, Rojek, Romanowski, Rosa, Rosiak, Rosiński, Ruciński, Rudnicki, Rudziński, Rudzki, Rusin, Rutkowski, Rybak, Rybarczyk, Rybicki, Rzepka, Różański, Różycki, Sadowski, Sawicki, Serafin, Siedlecki, Sienkiewicz, Sieradzki, Sikora, Sikorski, Sitek, Siwek, Skalski, Skiba, Skibiński, Skoczylas, Skowron, Skowronek, Skowroński, Skrzypczak, Skrzypek, Skóra, Smoliński, Sobczak, Sobczyk, Sobieraj, Sobolewski, Socha, Sochacki, Sokołowski, Sokół, Sosnowski, Sowa, Sowiński, Sołtys, Sołtysiak, Sroka, Stachowiak, Stachowicz, Stachura, Stachurski, Stanek, Staniszewski, Stanisławski, Stankiewicz, Stasiak, Staszewski, Stawicki, Stec, Stefaniak, Stefański, Stelmach, Stolarczyk, Stolarski, Strzelczyk, Strzelecki, Stępień, Stępniak, Surma, Suski, Szafrański, Szatkowski, Szczepaniak, Szczepanik, Szczepański, Szczerba, Szcześniak, Szczygieł, Szczęsna, Szczęsny, Szeląg, Szewczyk, Szostak, Szulc, Szwarc, Szwed, Szydłowski, Szymański, Szymczak, Szymczyk, Szymkowiak, Szyszka, Sławiński, Słowik, Słowiński, Tarnowski, Tkaczyk, Tokarski, Tomala, Tomaszewski, Tomczak, Tomczyk, Tracz, Trojanowski, Trzciński, Trzeciak, Turek, Twardowski, Urban, Urbanek, Urbaniak, Urbanowicz, Urbańczyk, Urbański, Walczak, Walkowiak, Warchoł, Wasiak, Wasilewski, Wawrzyniak, Wesołowski, Wieczorek, Wierzbicki, Wilczek, Wilczyński, Wilk, Winiarski, Witczak, Witek, Witkowski, Wiącek, Więcek, Więckowski, Wiśniewski, Wnuk, Wojciechowski, Wojtas, Wojtasik, Wojtczak, Wojtkowiak, Wolak, Woliński, Wolny, Wolski, Woś, Woźniak, Wrona, Wroński, Wróbel, Wróblewski, Wypych, Wysocki, Wyszyński, Wójcicki, Wójcik, Wójtowicz, Wąsik, Węgrzyn, Włodarczyk, Włodarski, Zaborowski, Zabłocki, Zagórski, Zając, Zajączkowski, Zakrzewski, Zalewski, Zaremba, Zarzycki, Zaręba, Zawada, Zawadzki, Zdunek, Zieliński, Zielonka, Ziółkowski, Zięba, Ziętek, Zwoliński, Zych, Zygmunt, Łapiński, Łuczak, Łukasiewicz, Łukasik, Łukaszewski, Śliwa, Śliwiński, Ślusarczyk, Świderski, Świerczyński, Świątek, Żak, Żebrowski, Żmuda, Żuk, Żukowski, Żurawski, Żurek, Żyła] - prefix: [Pan, Pani] - title: - descriptor: [Lead, Senior, Direct, Corporate, Dynamic, Future, Product, National, Regional, District, Central, Global, Customer, Investor, Dynamic, International, Legacy, Forward, Internal, Human, Chief, Principal] - level: [Solutions, Program, Brand, Security, Research, Marketing, Directives, Implementation, Integration, Functionality, Response, Paradigm, Tactics, Identity, Markets, Group, Division, Applications, Optimization, Operations, Infrastructure, Intranet, Communications, Web, Branding, Quality, Assurance, Mobility, Accounts, Data, Creative, Configuration, Accountability, Interactions, Factors, Usability, Metrics] - job: [Supervisor, Associate, Executive, Liaison, Officer, Manager, Engineer, Specialist, Director, Coordinator, Administrator, Architect, Analyst, Designer, Planner, Orchestrator, Technician, Developer, Producer, Consultant, Assistant, Facilitator, Agent, Representative, Strategist] - name: - - "#{prefix} #{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name}" - - phone_number: - formats: ['12-###-##-##', '13-###-##-##', '14-###-##-##', '15-###-##-##', '16-###-##-##', '17-###-##-##', '18-###-##-##', '22-###-##-##', '23-###-##-##', '24-###-##-##', '25-###-##-##', '29-###-##-##', '32-###-##-##', '33-###-##-##', '34-###-##-##', '41-###-##-##', '42-###-##-##', '43-###-##-##', '44-###-##-##', '46-###-##-##', '48-###-##-##', '52-###-##-##', '54-###-##-##', '55-###-##-##', '56-###-##-##', '58-###-##-##', '59-###-##-##', '61-###-##-##', '62-###-##-##', '63-###-##-##', '65-###-##-##', '67-###-##-##', '68-###-##-##', '71-###-##-##', '74-###-##-##', '75-###-##-##', '76-###-##-##', '77-###-##-##', '81-###-##-##', '82-###-##-##', '83-###-##-##', '84-###-##-##', '85-###-##-##', '86-###-##-##', '87-###-##-##', '89-###-##-##', '91-###-##-##', '94-###-##-##', '95-###-##-##'] - cell_phone: - formats: ['50-###-##-##', '51-###-##-##', '53-###-##-##', '57-###-##-##', '60-###-##-##', '66-###-##-##', '69-###-##-##', '72-###-##-##', '73-###-##-##', '78-###-##-##', '79-###-##-##', '88-###-##-##'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/pt-BR.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/pt-BR.yml deleted file mode 100644 index 7ec8ad9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/pt-BR.yml +++ /dev/null @@ -1,57 +0,0 @@ -pt-BR: - faker: - address: - city_prefix: [Nova, Velha, Grande, Vila, Município de] - city_suffix: [do Descoberto, de Nossa Senhora, do Norte, do Sul] - country: [ "Afeganistão", "Albânia", "Algéria", "Samoa", "Andorra", "Angola", "Anguilla", "Antigua and Barbada", "Argentina", "Armênia", "Aruba", "Austrália", - "Áustria", "Alzerbajão", "Bahamas", "Barém", "Bangladesh", "Barbado", "Belgrado", "Bélgica", "Belize", "Benin", "Bermuda", "Bhutan", "Bolívia", - "Bôsnia", "Botuasuna", "Bouvetoia", "Brasil", "Arquipélago de Chagos", "Ilhas Virgens", "Brunei", "Bulgária", "Burkina Faso", "Burundi", "Cambójia", - "Camarões", "Canadá", "Cabo Verde", "Ilhas Caiman", "República da África Central", "Chad", "Chile", "China", "Ilhas Natal", "Ilhas Cocos", "Colômbia", - "Comoros", "Congo", "Ilhas Cook", "Costa Rica", "Costa do Marfim", "Croácia", "Cuba", "Cyprus", "República Tcheca", "Dinamarca", "Djibouti", "Dominica", - "República Dominicana", "Equador", "Egito", "El Salvador", "Guiné Equatorial", "Eritrea", "Estônia", "Etiópia", "Ilhas Faroe", "Malvinas", "Fiji", - "Finlândia", "França", "Guiné Francesa", "Polinésia Francesa", "Gabão", "Gâmbia", "Georgia", "Alemanha", "Gana", "Gibraltar", "Grécia", "Groelândia", - "Granada", "Guadalupe", "Guano", "Guatemala", "Guernsey", "Guiné", "Guiné-Bissau", "Guiana", "Haiti", "Heard Island and McDonald Islands", "Vaticano", - "Honduras", "Hong Kong", "Hungria", "Iceland", "Índia", "Indonésia", "Irã", "Iraque", "Irlanda", "Ilha de Man", "Israel", "Itália", "Jamaica", "Japão", - "Jersey", "Jordânia", "Cazaquistão", "Quênia", "Kiribati", "Coreia do Norte", "Coreia do Sul", "Kuwait", "Kyrgyz Republic", "República Democrática de Lao People", - "Latvia", "Líbano", "Lesotho", "Libéria", "Libyan Arab Jamahiriya", "Liechtenstein", "Lituânia", "Luxemburgo", "Macao", "Macedônia", "Madagascar", "Malawi", - "Malásia", "Maldives", "Mali", "Malta", "Ilhas Marshall", "Martinica", "Mauritânia", "Mauritius", "Mayotte", "México", "Micronésia", "Moldova", "Mônaco", - "Mongólia", "Montenegro", "Montserrat", "Marrocos", "Moçambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Antilhas Holandesas", "Holanda", "Nova Caledonia", - "Nova Zelândia", "Nicarágua", "Nigéria", "Niue", "Ilha Norfolk", "Northern Mariana Islands", "Noruega", "Oman", "Paquistão", "Palau", "Território da Palestina", - "Panamá", "Nova Guiné Papua", "Paraguai", "Peru", "Filipinas", "Polônia", "Portugal", "Puerto Rico", "Qatar", "Romênia", "Rússia", "Ruanda", "São Bartolomeu", - "Santa Helena", "Santa Lúcia", "Saint Martin", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tomé e Príncipe", - "Arábia Saudita", "Senegal", "Sérvia", "Seychelles", "Serra Leoa", "Singapura", "Eslováquia", "Eslovênia", "Ilhas Salomão", "Somália", - "África do Sul", "South Georgia and the South Sandwich Islands", "Spanha", "Sri Lanka", "Sudão", "Suriname", "Svalbard & Jan Mayen Islands", "Swaziland", - "Suécia", "Suíça", "Síria", "Taiwan", "Tajiquistão", "Tanzânia", "Tailândia", "Timor-Leste", "Togo", "Tokelau", "Tonga", "Trinidá e Tobago", "Tunísia", - "Turquia", "Turcomenistão", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ucrânia", "Emirados Árabes Unidos", "Reino Unido", "Estados Unidos da América", - "Estados Unidos das Ilhas Virgens", "Uruguai", "Uzbequistão", "Vanuatu", "Venezuela", "Vietnã", "Wallis and Futuna", "Sahara", "Yemen", "Zâmbia", "Zimbábue"] - building_number: ["#####", "####", "###"] - street_suffix: ["Rua", "Avenida", "Travessa", "Ponte", "Alameda", "Marginal", "Viela", "Rodovia"] - secondary_address: ["Apto. ###", "Sobrado ##", "Casa #", "Lote ##", "Quadra ##"] - # Though these are US-specific, they are here (in the default locale) for backwards compatibility - postcode: ["#####", "#####-###"] - state: ["Acre", "Alagoas", "Amapá", "Amazonas", "Bahia", "Ceará", "Distrito Federal", "Espírito Santo", "Goiás", "Maranhão", "Mato Grosso", "Mato Grosso do Sul", "Minas Gerais", "Pará", "Paraíba", "Paraná", "Pernambuco", "Piauí", "Rio de Janeiro", "Rio Grande do Norte", "Rio Grande do Sul", "Rondônia", "Roraima", "Santa Catarina", "São Paulo", "Sergipe", "Tocantins"] - state_abbr: [AC, AL, AP, AM, BA, CE, DF, ES, GO, MA, MT, MS, PA, PB, PR, PE, PI, RJ, RN, RS, RO, RR, SC, SP] - default_country: [Brasil] - - company: - suffix: ["S.A.", "LTDA", "e Associados", "Comércio"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} e #{Name.last_name}" - - internet: - free_email: [gmail.com, yahoo.com, hotmail.com, live.com, bol.com.br] - domain_suffix: [br, com, biz, info, name, net, org] - - lorem: - words: [alias, consequatur, aut, perferendis, sit, voluptatem, accusantium, doloremque, aperiam, eaque, ipsa, quae, ab, illo, inventore, veritatis, et, quasi, architecto, beatae, vitae, dicta, sunt, explicabo, aspernatur, aut, odit, aut, fugit, sed, quia, consequuntur, magni, dolores, eos, qui, ratione, voluptatem, sequi, nesciunt, neque, dolorem, ipsum, quia, dolor, sit, amet, consectetur, adipisci, velit, sed, quia, non, numquam, eius, modi, tempora, incidunt, ut, labore, et, dolore, magnam, aliquam, quaerat, voluptatem, ut, enim, ad, minima, veniam, quis, nostrum, exercitationem, ullam, corporis, nemo, enim, ipsam, voluptatem, quia, voluptas, sit, suscipit, laboriosam, nisi, ut, aliquid, ex, ea, commodi, consequatur, quis, autem, vel, eum, iure, reprehenderit, qui, in, ea, voluptate, velit, esse, quam, nihil, molestiae, et, iusto, odio, dignissimos, ducimus, qui, blanditiis, praesentium, laudantium, totam, rem, voluptatum, deleniti, atque, corrupti, quos, dolores, et, quas, molestias, excepturi, sint, occaecati, cupiditate, non, provident, sed, ut, perspiciatis, unde, omnis, iste, natus, error, similique, sunt, in, culpa, qui, officia, deserunt, mollitia, animi, id, est, laborum, et, dolorum, fuga, et, harum, quidem, rerum, facilis, est, et, expedita, distinctio, nam, libero, tempore, cum, soluta, nobis, est, eligendi, optio, cumque, nihil, impedit, quo, porro, quisquam, est, qui, minus, id, quod, maxime, placeat, facere, possimus, omnis, voluptas, assumenda, est, omnis, dolor, repellendus, temporibus, autem, quibusdam, et, aut, consequatur, vel, illum, qui, dolorem, eum, fugiat, quo, voluptas, nulla, pariatur, at, vero, eos, et, accusamus, officiis, debitis, aut, rerum, necessitatibus, saepe, eveniet, ut, et, voluptates, repudiandae, sint, et, molestiae, non, recusandae, itaque, earum, rerum, hic, tenetur, a, sapiente, delectus, ut, aut, reiciendis, voluptatibus, maiores, doloribus, asperiores, repellat] - - name: - first_name: ["Alessandro", "Alessandra", "Alexandre", "Aline", "Antônio", "Breno", "Bruna", "Carlos", "Carla", "Célia", "Cecília", "César", "Danilo", "Dalila", "Deneval", "Eduardo", "Eduarda", "Esther", "Elísio", "Fábio", "Fabrício", "Fabrícia", "Félix", "Felícia", "Feliciano", "Frederico", "Fabiano", "Gustavo", "Guilherme", "Gúbio", "Heitor", "Hélio", "Hugo", "Isabel", "Isabela", "Ígor", "João", "Joana", "Júlio César", "Júlio", "Júlia", "Janaína", "Karla", "Kléber", "Lucas", "Lorena", "Lorraine", "Larissa", "Ladislau", "Marcos", "Meire", "Marcelo", "Marcela", "Margarida", "Mércia", "Márcia", "Marli", "Morgana", "Maria", "Norberto", "Natália", "Nataniel", "Núbia", "Ofélia", "Paulo", "Paula", "Pablo", "Pedro", "Raul", "Rafael", "Rafaela", "Ricardo", "Roberto", "Roberta", "Sílvia", "Sílvia", "Silas", "Suélen", "Sara", "Salvador", "Sirineu", "Talita", "Tertuliano", "Vicente", "Víctor", "Vitória", "Yango", "Yago", "Yuri", "Washington", "Warley"] - last_name: ["Silva", "Souza", "Carvalho", "Santos", "Reis", "Xavier", "Franco", "Braga", "Macedo", "Batista", "Barros", "Moraes", "Costa", "Pereira", "Carvalho", "Melo", "Saraiva", "Nogueira", "Oliveira", "Martins", "Moreira", "Albuquerque"] - prefix: ["Sr.", "Sra.", "Srta.", "Dr."] - suffix: ["Jr.", "Neto", "Filho"] - - phone_number: - formats: ["(##) ####-####", "+55 (##) ####-####", "(##) #####-####"] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ru.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ru.yml deleted file mode 100644 index 0f04e68..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/ru.yml +++ /dev/null @@ -1,65 +0,0 @@ -ru: - faker: - separator: " и " - address: - country: [Австралия, Австрия, Азербайджан, Албания, Алжир, Американское Самоа (не признана), Ангилья, Ангола, Андорра, Антарктика (не признана), Антигуа и Барбуда, Антильские Острова (не признана), Аомынь (не признана), Аргентина, Армения, Афганистан, Багамские Острова, Бангладеш, Барбадос, Бахрейн, Беларусь, Белиз, Бельгия, Бенин, Болгария, Боливия, Босния и Герцеговина, Ботсвана, Бразилия, Бруней, Буркина-Фасо, Бурунди, Бутан, Вануату, Ватикан, Великобритания, Венгрия, Венесуэла, Восточный Тимор, Вьетнам, Габон, Гаити, Гайана, Гамбия, Гана, Гваделупа (не признана), Гватемала, Гвиана (не признана), Гвинея, Гвинея-Бисау, Германия, Гондурас, Гренада, Греция, Грузия, Дания, Джибути, Доминика, Доминиканская Республика, Египет, Замбия, Зимбабве, Израиль, Индия, Индонезия, Иордания, Ирак, Иран, Ирландия, Исландия, Испания, Италия, Йемен, Кабо-Верде, Казахстан, Камбоджа, Камерун, Канада, Катар, Кения, Кипр, Кирибати, Китай, Колумбия, Коморские Острова, Конго, Демократическая Республика, Корея (Северная), Корея (Южная), Косово, Коста-Рика, Кот-д'Ивуар, Куба, Кувейт, Кука острова, Кыргызстан, Лаос, Латвия, Лесото, Либерия, Ливан, Ливия, Литва, Лихтенштейн, Люксембург, Маврикий, Мавритания, Мадагаскар, Македония, Малави, Малайзия, Мали, Мальдивы, Мальта, Маршалловы Острова, Мексика, Микронезия, Мозамбик, Молдова, Монако, Монголия, Марокко, Мьянма, Намибия, Науру, Непал, Нигер, Нигерия, Нидерланды, Никарагуа, Новая Зеландия, Норвегия, Объединенные Арабские Эмираты, Оман, Пакистан, Палау, Панама, Папуа — Новая Гвинея, Парагвай, Перу, Польша, Португалия, Республика Конго, Россия, Руанда, Румыния, Сальвадор, Самоа, Сан-Марино, Сан-Томе и Принсипи, Саудовская Аравия, Свазиленд, Сейшельские острова, Сенегал, Сент-Винсент и Гренадины, Сент-Киттс и Невис, Сент-Люсия, Сербия, Сингапур, Сирия, Словакия, Словения, Соединенные Штаты Америки, Соломоновы Острова, Сомали, Судан, Суринам, Сьерра-Леоне, Таджикистан, Таиланд, Тайвань (не признана), Тамил-Илам (не признана), Танзания, Тёркс и Кайкос (не признана), Того, Токелау (не признана), Тонга, Тринидад и Тобаго, Тувалу, Тунис, Турецкая Республика Северного Кипра (не признана), Туркменистан, Турция, Уганда, Узбекистан, Украина, Уругвай, Фарерские Острова (не признана), Фиджи, Филиппины, Финляндия, Франция, Французская Полинезия (не признана), Хорватия, Центральноафриканская Республика, Чад, Черногория, Чехия, Чили, Швейцария, Швеция, Шри-Ланка, Эквадор, Экваториальная Гвинея, Эритрея, Эстония, Эфиопия, Южно-Африканская Республика, Ямайка, Япония] - building_number: ['###'] - street_suffix: ['ул.', 'улица', 'проспект', 'пр.', 'площадь', 'пл.'] - secondary_address: ['кв. ###'] - postcode: ['######'] - state: [Республика Адыгея, Республика Башкортостан, Республика Бурятия, Республика Алтай Республика Дагестан, Республика Ингушетия, Кабардино-Балкарская Республика, Республика Калмыкия, Республика Карачаево-Черкессия, Республика Карелия, Республика Коми, Республика Марий Эл, Республика Мордовия, Республика Саха (Якутия), Республика Северная Осетия-Алания, Республика Татарстан, Республика Тыва, Удмуртская Республика, Республика Хакасия, Чувашская Республика, Алтайский край, Краснодарский край, Красноярский край, Приморский край, Ставропольский край, Хабаровский край, Амурская область, Архангельская область, Астраханская область, Белгородская область, Брянская область, Владимирская область, Волгоградская область, Вологодская область, Воронежская область, Ивановская область, Иркутская область, Калиниградская область, Калужская область, Камчатская область, Кемеровская область, Кировская область, Костромская область, Курганская область, Курская область, Ленинградская область, Липецкая область, Магаданская область, Московская область, Мурманская область, Нижегородская область, Новгородская область, Новосибирская область, Омская область, Оренбургская область, Орловская область, Пензенская область, Пермская область, Псковская область, Ростовская область, Рязанская область, Самарская область, Саратовская область, Сахалинская область, Свердловская область, Смоленская область, Тамбовская область, Тверская область, Томская область, Тульская область, Тюменская область, Ульяновская область, Челябинская область, Читинская область, Ярославская область, Еврейская автономная область, Агинский Бурятский авт. округ, Коми-Пермяцкий автономный округ, Корякский автономный округ, Ненецкий автономный округ, Таймырский (Долгано-Ненецкий) автономный округ, Усть-Ордынский Бурятский автономный округ, Ханты-Мансийский автономный округ, Чукотский автономный округ, Эвенкийский автономный округ, Ямало-Ненецкий автономный округ, Чеченская Республика] - street_title: [Советская, Молодежная, Центральная, Школьная, Новая, Садовая, Лесная, Набережная, Ленина, Мира, Октябрьская, Зеленая, Комсомольская, Заречная, Первомайская, Гагарина, Полевая, Луговая, Пионерская, Кирова, Юбилейная, Северная, Пролетарская, Степная, Пушкина, Калинина, Южная, Колхозная, Рабочая, Солнечная, Железнодорожная, Восточная, Заводская, Чапаева, Нагорная, Строителей, Береговая, Победы, Горького, Кооперативная, Красноармейская, Совхозная, Речная, Школьный , Спортивная, Озерная, Строительная, Парковая, Чкалова, Мичурина, речень улиц, Подгорная, Дружбы, Почтовая, Партизанская, Вокзальная, Лермонтова, Свободы, Дорожная, Дачная, Маяковского, Западная, Фрунзе, Дзержинского, Московская, Свердлова, Некрасова, Гоголя, Красная, Трудовая, Шоссейная, Чехова, Коммунистическая, Труда, Комарова, Матросова, Островского, Сосновая, Клубная, Куйбышева, Крупской, Березовая, Карла Маркса, 8 Марта, Больничная, Садовый , Интернациональная, Суворова, Цветочная, Трактовая, Ломоносова, Горная, Космонавтов, Энергетиков, Шевченко, Весенняя, Механизаторов, Коммунальная, Лесной , 40 лет Победы, Майская] - city_name: [Москва, Владимир, Санкт-Петербург, Новосибирск, Екатеринбург, Нижний Новгород, Самара, Казань, Омск, Челябинск, Ростов-на-Дону, Уфа, Волгоград, Пермь, Красноярск, Воронеж, Саратов, Краснодар, Тольятти, Ижевск, Барнаул, Ульяновск, Тюмень, Иркутск, Владивосток, Ярославль, Хабаровск, Махачкала, Оренбург, Новокузнецк, Томск, Кемерово, Рязань, Астрахань, Пенза, Липецк, Тула, Киров, Чебоксары, Курск, Брянск, Магнитогорск, Иваново, Тверь, Ставрополь, Белгород, Сочи] - city: - - "#{Address.city_name}" - street_name: - - "#{street_suffix} #{Address.street_title}" - - "#{Address.street_title} #{street_suffix}" - street_address: - - "#{street_name}, #{building_number}" - default_country: [Россия] - - internet: - free_email: [yandex.ru, ya.ru, mail.ru, gmail.com, yahoo.com, hotmail.com] - domain_suffix: [com, ru, info, рф, net, org] - - name: - male_first_name: [Александр, Алексей, Альберт, Анатолий, Андрей, Антон, Аркадий, Арсений, Артём, Борис, Вадим, Валентин, Валерий, Василий, Виктор, Виталий, Владимир, Владислав, Вячеслав, Геннадий, Георгий, Герман, Григорий, Даниил, Денис, Дмитрий, Евгений, Егор, Иван, Игнатий, Игорь, Илья, Константин, Лаврентий, Леонид, Лука, Макар, Максим, Матвей, Михаил, Никита, Николай, Олег, Роман, Семён, Сергей, Станислав, Степан, Фёдор, Эдуард, Юрий, Ярослав] - male_middle_name: [Александрович, Алексеевич, Альбертович, Анатольевич, Андреевич, Антонович, Аркадьевич, Арсеньевич, Артёмович, Борисович, Вадимович, Валентинович, Валерьевич, Васильевич, Викторович, Витальевич, Владимирович, Владиславович, Вячеславович, Геннадьевич, Георгиевич, Германович, Григорьевич, Даниилович, Денисович, Дмитриевич, Евгеньевич, Егорович, Иванович, Игнатьевич, Игоревич, Ильич, Константинович, Лаврентьевич, Леонидович, Лукич, Макарович, Максимович, Матвеевич, Михайлович, Никитич, Николаевич, Олегович, Романович, Семёнович, Сергеевич, Станиславович, Степанович, Фёдорович, Эдуардович, Юрьевич, Ярославович] - male_last_name: [Смирнов, Иванов, Кузнецов, Попов, Соколов, Лебедев, Козлов, Новиков, Морозов, Петров, Волков, Соловьев, Васильев, Зайцев, Павлов, Семенов, Голубев, Виноградов, Богданов, Воробьев, Федоров, Михайлов, Беляев, Тарасов, Белов, Комаров, Орлов, Киселев, Макаров, Андреев, Ковалев, Ильин, Гусев, Титов, Кузьмин, Кудрявцев, Баранов, Куликов, Алексеев, Степанов, Яковлев, Сорокин, Сергеев, Романов, Захаров, Борисов, Королев, Герасимов, Пономарев, Григорьев, Лазарев, Медведев, Ершов, Никитин, Соболев, Рябов, Поляков, Цветков, Данилов, Жуков, Фролов, Журавлев, Николаев, Крылов, Максимов, Сидоров, Осипов, Белоусов, Федотов, Дорофеев, Егоров, Матвеев, Бобров, Дмитриев, Калинин, Анисимов, Петухов, Антонов, Тимофеев, Никифоров, Веселов, Филиппов, Марков, Большаков, Суханов, Миронов, Ширяев, Александров, Коновалов, Шестаков, Казаков, Ефимов, Денисов, Громов, Фомин, Давыдов, Мельников, Щербаков, Блинов, Колесников, Карпов, Афанасьев, Власов, Маслов, Исаков, Тихонов, Аксенов, Гаврилов, Родионов, Котов, Горбунов, Кудряшов, Быков, Зуев, Третьяков, Савельев, Панов, Рыбаков, Суворов, Абрамов, Воронов, Мухин, Архипов, Трофимов, Мартынов, Емельянов, Горшков, Чернов, Овчинников, Селезнев, Панфилов, Копылов, Михеев, Галкин, Назаров, Лобанов, Лукин, Беляков, Потапов, Некрасов, Хохлов, Жданов, Наумов, Шилов, Воронцов, Ермаков, Дроздов, Игнатьев, Савин, Логинов, Сафонов, Капустин, Кириллов, Моисеев, Елисеев, Кошелев, Костин, Горбачев, Орехов, Ефремов, Исаев, Евдокимов, Калашников, Кабанов, Носков, Юдин, Кулагин, Лапин, Прохоров, Нестеров, Харитонов, Агафонов, Муравьев, Ларионов, Федосеев, Зимин, Пахомов, Шубин, Игнатов, Филатов, Крюков, Рогов, Кулаков, Терентьев, Молчанов, Владимиров, Артемьев, Гурьев, Зиновьев, Гришин, Кононов, Дементьев, Ситников, Симонов, Мишин, Фадеев, Комиссаров, Мамонтов, Носов, Гуляев, Шаров, Устинов, Вишняков, Евсеев, Лаврентьев, Брагин, Константинов, Корнилов, Авдеев, Зыков, Бирюков, Шарапов, Никонов, Щукин, Дьячков, Одинцов, Сазонов, Якушев, Красильников, Гордеев, Самойлов, Князев, Беспалов, Уваров, Шашков, Бобылев, Доронин, Белозеров, Рожков, Самсонов, Мясников, Лихачев, Буров, Сысоев, Фомичев, Русаков, Стрелков, Гущин, Тетерин, Колобов, Субботин, Фокин, Блохин, Селиверстов, Пестов, Кондратьев, Силин, Меркушев, Лыткин, Туров] - female_first_name: [Анна, Алёна, Алевтина, Александра, Алина, Алла, Анастасия, Ангелина, Анжела, Анжелика, Антонида, Антонина, Анфиса, Арина, Валентина, Валерия, Варвара, Василиса, Вера, Вероника, Виктория, Галина, Дарья, Евгения, Екатерина, Елена, Елизавета, Жанна, Зинаида, Зоя, Ирина, Кира, Клавдия, Ксения, Лариса, Лидия, Любовь, Людмила, Маргарита, Марина, Мария, Надежда, Наталья, Нина, Оксана, Ольга, Раиса, Регина, Римма, Светлана, София, Таисия, Тамара, Татьяна, Ульяна, Юлия] - female_middle_name: [Александровна, Алексеевна, Альбертовна, Анатольевна, Андреевна, Антоновна, Аркадьевна, Арсеньевна, Артёмовна, Борисовна, Вадимовна, Валентиновна, Валерьевна, Васильевна, Викторовна, Витальевна, Владимировна, Владиславовна, Вячеславовна, Геннадьевна, Георгиевна, Германовна, Григорьевна, Данииловна, Денисовна, Дмитриевна, Евгеньевна, Егоровна, Ивановна, Игнатьевна, Игоревна, Ильинична, Константиновна, Лаврентьевна, Леонидовна, Макаровна, Максимовна, Матвеевна, Михайловна, Никитична, Николаевна, Олеговна, Романовна, Семёновна, Сергеевна, Станиславовна, Степановна, Фёдоровна, Эдуардовна, Юрьевна, Ярославовна] - female_last_name: [Смирнова, Иванова, Кузнецова, Попова, Соколова, Лебедева, Козлова, Новикова, Морозова, Петрова, Волкова, Соловьева, Васильева, Зайцева, Павлова, Семенова, Голубева, Виноградова, Богданова, Воробьева, Федорова, Михайлова, Беляева, Тарасова, Белова, Комарова, Орлова, Киселева, Макарова, Андреева, Ковалева, Ильина, Гусева, Титова, Кузьмина, Кудрявцева, Баранова, Куликова, Алексеева, Степанова, Яковлева, Сорокина, Сергеева, Романова, Захарова, Борисова, Королева, Герасимова, Пономарева, Григорьева, Лазарева, Медведева, Ершова, Никитина, Соболева, Рябова, Полякова, Цветкова, Данилова, Жукова, Фролова, Журавлева, Николаева, Крылова, Максимова, Сидорова, Осипова, Белоусова, Федотова, Дорофеева, Егорова, Матвеева, Боброва, Дмитриева, Калинина, Анисимова, Петухова, Антонова, Тимофеева, Никифорова, Веселова, Филиппова, Маркова, Большакова, Суханова, Миронова, Ширяева, Александрова, Коновалова, Шестакова, Казакова, Ефимова, Денисова, Громова, Фомина, Давыдова, Мельникова, Щербакова, Блинова, Колесникова, Карпова, Афанасьева, Власова, Маслова, Исакова, Тихонова, Аксенова, Гаврилова, Родионова, Котова, Горбунова, Кудряшова, Быкова, Зуева, Третьякова, Савельева, Панова, Рыбакова, Суворова, Абрамова, Воронова, Мухина, Архипова, Трофимова, Мартынова, Емельянова, Горшкова, Чернова, Овчинникова, Селезнева, Панфилова, Копылова, Михеева, Галкина, Назарова, Лобанова, Лукина, Белякова, Потапова, Некрасова, Хохлова, Жданова, Наумова, Шилова, Воронцова, Ермакова, Дроздова, Игнатьева, Савина, Логинова, Сафонова, Капустина, Кириллова, Моисеева, Елисеева, Кошелева, Костина, Горбачева, Орехова, Ефремова, Исаева, Евдокимова, Калашникова, Кабанова, Носкова, Юдина, Кулагина, Лапина, Прохорова, Нестерова, Харитонова, Агафонова, Муравьева, Ларионова, Федосеева, Зимина, Пахомова, Шубина, Игнатова, Филатова, Крюкова, Рогова, Кулакова, Терентьева, Молчанова, Владимирова, Артемьева, Гурьева, Зиновьева, Гришина, Кононова, Дементьева, Ситникова, Симонова, Мишина, Фадеева, Комиссарова, Мамонтова, Носова, Гуляева, Шарова, Устинова, Вишнякова, Евсеева, Лаврентьева, Брагина, Константинова, Корнилова, Авдеева, Зыкова, Бирюкова, Шарапова, Никонова, Щукина, Дьячкова, Одинцова, Сазонова, Якушева, Красильникова, Гордеева, Самойлова, Князева, Беспалова, Уварова, Шашкова, Бобылева, Доронина, Белозерова, Рожкова, Самсонова, Мясникова, Лихачева, Бурова, Сысоева, Фомичева, Русакова, Стрелкова, Гущина, Тетерина, Колобова, Субботина, Фокина, Блохина, Селиверстова, Пестова, Кондратьева, Силина, Меркушева, Лыткина, Турова] - name: - - "#{male_first_name} #{male_last_name}" - - "#{male_last_name} #{male_first_name}" - - "#{male_first_name} #{male_middle_name} #{male_last_name}" - - "#{male_last_name} #{male_first_name} #{male_middle_name}" - - "#{female_first_name} #{female_last_name}" - - "#{female_last_name} #{female_first_name}" - - "#{female_first_name} #{female_middle_name} #{female_last_name}" - - "#{female_last_name} #{female_first_name} #{female_middle_name}" - - phone_number: - formats: ['(9##)###-##-##'] - - commerce: - color: [красный, зеленый, синий, желтый, багровый, мятный, зеленовато-голубой, белый, черный, оранжевый, розовый, серый, красно-коричневый, фиолетовый, бирюзовый, желто-коричневый, небесно голубой, оранжево-розовый, темно-фиолетовый, орхидный, оливковый, пурпурный, лимонный, кремовый, сине-фиолетовый, золотой, красно-пурпурный, голубой, лазурный, лиловый, серебряный] - department: ["Книги", "Фильмы", "музыка", "игры", "Электроника", "компьютеры", "Дом", "садинструмент", "Бакалея", "здоровье", "красота", "Игрушки", "детское", "для малышей", "Одежда", "обувь", "украшения", "Спорт", "туризм", "Автомобильное", "промышленное"] - product_name: - adjective: [Маленький, Эргономичный, Грубый, Интеллектуальный, Великолепный, Невероятный, Фантастический, Практчиный, Лоснящийся, Потрясающий, Огромный, Удовлетворительно, Синергетический, тяжелый, Легкий, Аэродинамический, Прочный] - material: [Стальной, Деревянный, Бетонный, Пластиковый, Хлопковый, Гранитный, Резиновый, Кожа, Шелковый, Шерсть, Белье, Мраморный, Утюг, Бронзовый, Медь, Алюминий, Бумага] - product: [Стул, Автомобиль, Компьютер, Берет, Кулон, Стол, Свитер, Ремень, Ботинок, Тарелка, Нож, Бутылка, Пальто, Лампа, Клавиатура, Сумка, Скамья, Часы, Смотрите, Бумажник] - - company: - prefix: [ИП, ООО, ЗАО, ОАО, НКО, ТСЖ, ОП] - suffix: [Снаб, Торг, Пром, Трейд, Сбыт] - name: - - "#{prefix} #{Name.female_first_name}" - - "#{prefix} #{Name.male_first_name}" - - "#{prefix} #{Name.male_last_name}" - - "#{prefix} #{suffix}#{suffix}" - - "#{prefix} #{suffix}#{suffix}#{suffix}" - - "#{prefix} #{Address.city_name}#{suffix}" - - "#{prefix} #{Address.city_name}#{suffix}#{suffix}" - - "#{prefix} #{Address.city_name}#{suffix}#{suffix}#{suffix}" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/sk.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/sk.yml deleted file mode 100644 index 70b110d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/sk.yml +++ /dev/null @@ -1,72 +0,0 @@ -sk: - faker: - address: - city_prefix: [North, East, West, South, New, Lake, Port] - city_suffix: [town, ton, land, ville, berg, burgh, borough, bury, view, port, mouth, stad, furt, chester, mouth, fort, haven, side, shire] - country: [Afganistan, Afgánsky islamský štát, Albánsko, Albánska republika, Alžírsko, Alžírska demokratická ľudová republika, Andorra, Andorrské kniežatsvo, Angola, Angolská republika, Antigua a Barbuda, Antigua a Barbuda, Argentína, Argentínska republika, Arménsko, Arménska republika, Austrália, Austrálsky zväz, Azerbajdžan, Azerbajdžanská republika, Bahamy, Bahamské spoločenstvo, Bahrajn, Bahrajnské kráľovstvo, Bangladéš, Bangladéšska ľudová republika, Barbados, Barbados, Belgicko , Belgické kráľovstvo, Belize, Belize, Benin, Beninská republika, Bhután, Bhutánske kráľovstvo, Bielorusko, Bieloruská republika, Bolívia, Bolívijská republika, Bosna a Hercegovina, Republika Bosny a Hercegoviny, Botswana, Botswanská republika, Brazília, Brazílska federatívna republika, Brunej, Brunejský sultanát, Bulharsko , Bulharská republika, Burkina Faso, Burkina Faso, Burundi, Burundská republika, Cyprus , Cyperská republika, Čad, Republika Čad, Česko , Česká republika, Čína, Čínska ľudová republika, Dánsko , Dánsko kráľovstvo, Dominika, Spoločenstvo Dominika, Dominikánska republika, Dominikánska republika, Džibutsko, Džibutská republika, Egypt, Egyptská arabská republika, Ekvádor, Ekvádorská republika, Eritrea, Eritrejský štát, Estónsko , Estónska republika, Etiópia, Etiópska federatívna demokratická republika, Fidži, Republika ostrovy Fidži, Filipíny, Filipínska republika, Fínsko , Fínska republika, Francúzsko , Francúzska republika, Gabon, Gabonská republika, Gambia, Gambijská republika, Ghana, Ghanská republika, Grécko , Helénska republika, Grenada, Grenada, Gruzínsko, Gruzínsko, Guatemala, Guatemalská republika, Guinea, Guinejská republika, Guinea-Bissau, Republika Guinea-Bissau, Guayana, Guayanská republika, Haiti, Republika Haiti, Holandsko , Holandské kráľovstvo, Honduras, Honduraská republika, Chile, Čílska republika, Chorvátsko , Chorvátska republika, India, Indická republika, Indonézia, Indonézska republika, Irak, Iracká republika, Irán, Iránska islamská republika, Island, Islandská republika, Izrael, Štát Izrael, Írsko , Írska republika, Jamajka, Jamajka, Japonsko, Japonsko, Jemen, Jemenská republika, Jordánsko, Jordánske hášimovské kráľovstvo, Južná Afrika, Juhoafrická republika, Kambodža, Kambodžské kráľovstvo, Kamerun, Kamerunská republika, Kanada, Kanada, Kapverdy, Kapverdská republika, Katar, Štát Katar, Kazachstan, Kazašská republika, Keňa, Kenská republika, Kirgizsko, Kirgizská republika, Kiribati, Kiribatská republika, Kolumbia, Kolumbijská republika, Komory, Komorská únia, Kongo, Konžská demokratická republika, Kongo ("Brazzaville"), Konžská republika, Kórea ("Južná"), Kórejská republika, Kórea ("Severná"), Kórejská ľudovodemokratická republika, Kostarika, Kostarická republika, Kuba, Kubánska republika, Kuvajt, Kuvajtský štát, Laos, Laoská ľudovodemokratická republika, Lesotho, Lesothské kráľovstvo, Libanon, Libanonská republika, Libéria, Libérijská republika, Líbya, Líbyjská arabská ľudová socialistická džamáhírija, Lichtenštajnsko, Lichtenštajnské kniežatstvo, Litva , Litovská republika, Lotyšsko , Lotyšská republika, Luxembursko , Luxemburské veľkovojvodstvo, Macedónsko, Macedónska republika, Madagaskar, Madagaskarská republika, Maďarsko , Maďarská republika, Malajzia, Malajzia, Malawi, Malawijská republika, Maldivy, Maldivská republika, Mali, Malijská republika, Malta , Malta, Maroko, Marocké kráľovstvo, Marshallove ostrovy, Republika Marshallových ostrovy, Mauritánia, Mauritánska islamská republika, Maurícius, Maurícijská republika, Mexiko, Spojené štáty mexické, Mikronézia, Mikronézske federatívne štáty, Mjanmarsko, Mjanmarský zväz, Moldavsko, Moldavská republika, Monako, Monacké kniežatstvo, Mongolsko, Mongolsko, Mozambik, Mozambická republika, Namíbia, Namíbijská republika, Nauru, Naurská republika, Nemecko , Nemecká spolková republika, Nepál, Nepálske kráľovstvo, Niger, Nigerská republika, Nigéria, Nigérijská federatívna republika, Nikaragua, Nikaragujská republika, Nový Zéland, Nový Zéland, Nórsko, Nórske kráľovstvo, Omán, Ománsky sultanát, Pakistan, Pakistanská islamská republika, Palau, Palauská republika, Panama, Panamská republika, Papua-Nová Guinea, Nezávislý štát Papua-Nová Guinea, Paraguaj, Paraguajská republika, Peru, Peruánska republika, Pobrežie Slonoviny, Republika Pobrežie Slonoviny, Poľsko , Poľská republika, Portugalsko , Portugalská republika, Rakúsko , Rakúska republika, Rovníková Guinea, Republika Rovníková Guinea, Rumunsko , Rumunsko, Rusko, Ruská federácia, Rwanda, Rwandská republika, Salvádor, Salvádorská republika, Samoa, Nezávislý štát Samoa, San Maríno, Sanmarínska republika, Saudská Arábia, Kráľovstvo Saudskej Arábie, Senegal, Senegalská republika, Seychely, Seychelská republika, Sierra Leone, Republika Sierra Leone, Singapur, Singapurska republika, Slovensko , Slovenská republika, Slovinsko , Slovinská republika, Somálsko, Somálska demokratická republika, Spojené arabské emiráty, Spojené arabské emiráty, Spojené štáty americké, Spojené štáty americké, Srbsko a Čierna Hora, Srbsko a Čierna Hora, Srí Lanka, Demokratická socialistická republika Srí Lanka, Stredoafrická republika, Stredoafrická republika, Sudán, Sudánska republika, Surinam, Surinamská republika, Svazijsko, Svazijské kráľovstvo, Svätá Lucia, Svätá Lucia, Svätý Krištof a Nevis, Federácia Svätý Krištof a Nevis, Sv. Tomáš a Princov Ostrov, Demokratická republika Svätý Tomáš a Princov Ostrov, Sv. Vincent a Grenadíny, Svätý Vincent a Grenadíny, Sýria, Sýrska arabská republika, Šalamúnove ostrovy, Šalamúnove ostrovy, Španielsko , Španielske kráľovstvo, Švajčiarsko, Švajčiarska konfederácia, Švédsko , Švédske kráľovstvo, Tadžikistan, Tadžická republika, Taliansko , Talianska republika, Tanzánia, Tanzánijská zjednotená republika, Thajsko, Thajské kráľovstvo, Togo, Tožská republika, Tonga, Tonžské kráľovstvo, Trinidad a Tobago, Republika Trinidad a Tobago, Tunisko, Tuniská republika, Turecko , Turecká republika, Turkménsko, Turkménsko, Tuvalu, Tuvalu, Uganda, Ugandská republika, Ukrajina, Uruguaj, Uruguajská východná republika, Uzbekistan, Vanuatu, Vanuatská republika, Vatikán, Svätá Stolica, Veľká Británia , Spojené kráľovstvo Veľkej Británie a Severného Írska, Venezuela, Venezuelská bolívarovská republika, Vietnam, Vietnamská socialistická republika, Východný Timor, Demokratická republika Východný Timor, Zambia, Zambijská republika, Zimbabwe, Zimbabwianska republika] - building_number: ['#', '##', '###'] - secondary_address: ['Apt. ###', 'Suite ###'] - postcode: ['#####', '### ##', '## ###'] - state: [] - state_abbr: [] - time_zone: [Pacific/Midway, Pacific/Pago_Pago, Pacific/Honolulu, America/Juneau, America/Los_Angeles, America/Tijuana, America/Denver, America/Phoenix, America/Chihuahua, America/Mazatlan, America/Chicago, America/Regina, America/Mexico_City, America/Mexico_City, America/Monterrey, America/Guatemala, America/New_York, America/Indiana/Indianapolis, America/Bogota, America/Lima, America/Lima, America/Halifax, America/Caracas, America/La_Paz, America/Santiago, America/St_Johns, America/Sao_Paulo, America/Argentina/Buenos_Aires, America/Guyana, America/Godthab, Atlantic/South_Georgia, Atlantic/Azores, Atlantic/Cape_Verde, Europe/Dublin, Europe/London, Europe/Lisbon, Europe/London, Africa/Casablanca, Africa/Monrovia, Etc/UTC, Europe/Belgrade, Europe/Bratislava, Europe/Budapest, Europe/Ljubljana, Europe/Prague, Europe/Sarajevo, Europe/Skopje, Europe/Warsaw, Europe/Zagreb, Europe/Brussels, Europe/Copenhagen, Europe/Madrid, Europe/Paris, Europe/Amsterdam, Europe/Berlin, Europe/Berlin, Europe/Rome, Europe/Stockholm, Europe/Vienna, Africa/Algiers, Europe/Bucharest, Africa/Cairo, Europe/Helsinki, Europe/Kiev, Europe/Riga, Europe/Sofia, Europe/Tallinn, Europe/Vilnius, Europe/Athens, Europe/Istanbul, Europe/Minsk, Asia/Jerusalem, Africa/Harare, Africa/Johannesburg, Europe/Moscow, Europe/Moscow, Europe/Moscow, Asia/Kuwait, Asia/Riyadh, Africa/Nairobi, Asia/Baghdad, Asia/Tehran, Asia/Muscat, Asia/Muscat, Asia/Baku, Asia/Tbilisi, Asia/Yerevan, Asia/Kabul, Asia/Yekaterinburg, Asia/Karachi, Asia/Karachi, Asia/Tashkent, Asia/Kolkata, Asia/Kolkata, Asia/Kolkata, Asia/Kolkata, Asia/Kathmandu, Asia/Dhaka, Asia/Dhaka, Asia/Colombo, Asia/Almaty, Asia/Novosibirsk, Asia/Rangoon, Asia/Bangkok, Asia/Bangkok, Asia/Jakarta, Asia/Krasnoyarsk, Asia/Shanghai, Asia/Chongqing, Asia/Hong_Kong, Asia/Urumqi, Asia/Kuala_Lumpur, Asia/Singapore, Asia/Taipei, Australia/Perth, Asia/Irkutsk, Asia/Ulaanbaatar, Asia/Seoul, Asia/Tokyo, Asia/Tokyo, Asia/Tokyo, Asia/Yakutsk, Australia/Darwin, Australia/Adelaide, Australia/Melbourne, Australia/Melbourne, Australia/Sydney, Australia/Brisbane, Australia/Hobart, Asia/Vladivostok, Pacific/Guam, Pacific/Port_Moresby, Asia/Magadan, Asia/Magadan, Pacific/Noumea, Pacific/Fiji, Asia/Kamchatka, Pacific/Majuro, Pacific/Auckland, Pacific/Auckland, Pacific/Tongatapu, Pacific/Fakaofo, Pacific/Apia] - city_name: [Bánovce nad Bebravou, Banská Bystrica, Banská Štiavnica, Bardejov, Bratislava I, Bratislava II, Bratislava III, Bratislava IV, Bratislava V, Brezno, Bytča, Čadca, Detva, Dolný Kubín, Dunajská Streda, Galanta, Gelnica, Hlohovec, Humenné, Ilava, Kežmarok, Komárno, Košice I, Košice II, Košice III, Košice IV, Košice-okolie, Krupina, Kysucké Nové Mesto, Levice, Levoča, Liptovský Mikuláš, Lučenec, Malacky, Martin, Medzilaborce, Michalovce, Myjava, Námestovo, Nitra, Nové Mesto n.Váhom, Nové Zámky, Partizánske, Pezinok, Piešťany, Poltár, Poprad, Považská Bystrica, Prešov, Prievidza, Púchov, Revúca, Rimavská Sobota, Rožňava, Ružomberok, Sabinov, Šaľa, Senec, Senica, Skalica, Snina, Sobrance, Spišská Nová Ves, Stará Ľubovňa, Stropkov, Svidník, Topoľčany, Trebišov, Trenčín, Trnava, Turčianske Teplice, Tvrdošín, Veľký Krtíš, Vranov nad Topľou, Žarnovica, Žiar nad Hronom, Žilina, Zlaté Moravce, Zvolen] - city: - - "#{city_name}" - street: [Adámiho, Ahoj, Albína Brunovského, Albrechtova, Alejová, Alešova, Alibernetová, Alžbetínska, Alžbety Gwerkovej, Ambroseho, Ambrušova, Americká, Americké námestie, Americké námestie, Andreja Mráza, Andreja Plávku, Andrusovova, Anenská, Anenská, Antolská, Astronomická, Astrová, Azalková, Azovská, Babuškova, Bachova, Bajkalská, Bajkalská, Bajkalská, Bajkalská, Bajkalská, Bajkalská, Bajzova, Bancíkovej, Banícka, Baníkova, Banskobystrická, Banšelova, Bardejovská, Bartókova, Bartoňova, Bartoškova, Baštová, Bazová, Bažantia, Beblavého, Beckovská, Bedľová, Belániková, Belehradská, Belinského, Belopotockého, Beňadická, Bencúrova, Benediktiho, Beniakova, Bernolákova, Beskydská, Betliarska, Bezručova, Biela, Bielkova, Björnsonova, Blagoevova, Blatnická, Blumentálska, Blyskáčová, Bočná, Bohrova, Bohúňova, Bojnická, Borodáčova, Borská, Bosákova, Botanická, Bottova, Boženy Němcovej, Bôrik, Bradáčova, Bradlianska, Brančská, Bratská, Brestová, Brezovská, Briežky, Brnianska, Brodná, Brodská, Broskyňová, Břeclavská, Budatínska, Budatínska, Budatínska, Búdkova cesta, Budovateľská, Budyšínska, Budyšínska, Buková, Bukureštská, Bulharská, Bulíkova, Bystrého, Bzovícka, Cablkova, Cesta na Červený most, Cesta na Červený most, Cesta na Senec, Cikkerova, Cintorínska, Cintulova, Cukrová, Cyrilova, Čajakova, Čajkovského, Čaklovská, Čalovská, Čapajevova, Čapkova, Čárskeho, Čavojského, Čečinová, Čelakovského, Čerešňová, Černyševského, Červeňova, Česká, Československých par, Čipkárska, Čmelíkova, Čmeľovec, Čulenova, Daliborovo námestie, Dankovského, Dargovská, Ďatelinová, Daxnerovo námestie, Devínska cesta, Dlhé diely I., Dlhé diely II., Dlhé diely III., Dobrovičova, Dobrovičova, Dobrovského, Dobšinského, Dohnalova, Dohnányho, Doležalova, Dolná, Dolnozemská cesta, Domkárska, Domové role, Donnerova, Donovalova, Dostojevského rad, Dr. Vladimíra Clemen, Drevená, Drieňová, Drieňová, Drieňová, Drotárska cesta, Drotárska cesta, Drotárska cesta, Družicová, Družstevná, Dubnická, Dubová, Dúbravská cesta, Dudova, Dulovo námestie, Dulovo námestie, Dunajská, Dvořákovo nábrežie, Edisonova, Einsteinova, Elektrárenská, Exnárova, F. Kostku, Fadruszova, Fajnorovo nábrežie, Fándlyho, Farebná, Farská, Farského, Fazuľová, Fedinova, Ferienčíkova, Fialkové údolie, Fibichova, Filiálne nádražie, Flöglova, Floriánske námestie, Fraňa Kráľa, Francisciho, Francúzskych partizá, Františkánska, Františkánske námest, Furdekova, Furdekova, Gabčíkova, Gagarinova, Gagarinova, Gagarinova, Gajova, Galaktická, Galandova, Gallova, Galvaniho, Gašparíkova, Gaštanová, Gavlovičova, Gemerská, Gercenova, Gessayova, Gettingová, Godrova, Gogoľova, Goláňova, Gondova, Goralská, Gorazdova, Gorkého, Gregorovej, Grösslingova, Gruzínska, Gunduličova, Gusevova, Haanova, Haburská, Halašova, Hálkova, Hálova, Hamuliakova, Hanácka, Handlovská, Hany Meličkovej, Harmanecká, Hasičská, Hattalova, Havlíčkova, Havrania, Haydnova, Herlianska, Herlianska, Heydukova, Hlaváčikova, Hlavatého, Hlavné námestie, Hlboká cesta, Hlboká cesta, Hlivová, Hlučínska, Hodálova, Hodžovo námestie, Holekova, Holíčska, Hollého, Holubyho, Hontianska, Horárska, Horné Židiny, Horská, Horská, Hrad, Hradné údolie, Hrachová, Hraničná, Hrebendova, Hríbová, Hriňovská, Hrobákova, Hrobárska, Hroboňova, Hudecova, Humenské námestie, Hummelova, Hurbanovo námestie, Hurbanovo námestie, Hviezdoslavovo námes, Hýrošova, Chalupkova, Chemická, Chlumeckého, Chorvátska, Chorvátska, Iľjušinova, Ilkovičova, Inovecká, Inovecká, Iskerníková, Ivana Horvátha, Ivánska cesta, J.C.Hronského, Jabloňová, Jadrová, Jakabova, Jakubovo námestie, Jamnického, Jána Stanislava, Janáčkova, Jančova, Janíkove role, Jankolova, Jánošíkova, Jánoškova, Janotova, Jánska, Jantárová cesta, Jarabinková, Jarná, Jaroslavova, Jarošova, Jaseňová, Jasná, Jasovská, Jastrabia, Jašíkova, Javorinská, Javorová, Jazdecká, Jedlíkova, Jégého, Jelačičova, Jelenia, Jesenná, Jesenského, Jiráskova, Jiskrova, Jozefská, Junácka, Jungmannova, Jurigovo námestie, Jurovského, Jurská, Justičná, K lomu, K Železnej studienke, Kalinčiakova, Kamenárska, Kamenné námestie, Kapicova, Kapitulská, Kapitulský dvor, Kapucínska, Kapušianska, Karadžičova, Karadžičova, Karadžičova, Karadžičova, Karloveská, Karloveské rameno, Karpatská, Kašmírska, Kaštielska, Kaukazská, Kempelenova, Kežmarské námestie, Kladnianska, Klariská, Kláštorská, Klatovská, Klatovská, Klemensova, Klincová, Klobučnícka, Klokočova, Kľukatá, Kmeťovo námestie, Koceľova, Kočánkova, Kohútova, Kolárska, Kolískova, Kollárovo námestie, Kollárovo námestie, Kolmá, Komárňanská, Komárnická, Komárnická, Komenského námestie, Kominárska, Komonicová, Konopná, Konvalinková, Konventná, Kopanice, Kopčianska, Koperníkova, Korabinského, Koreničova, Kostlivého, Kostolná, Košická, Košická, Košická, Kováčska, Kovorobotnícka, Kozia, Koziarka, Kozmonautická, Krajná, Krakovská, Kráľovské údolie, Krasinského, Kraskova, Krásna, Krásnohorská, Krasovského, Krátka, Krčméryho, Kremnická, Kresánkova, Krivá, Križkova, Krížna, Krížna, Krížna, Krížna, Krmanova, Krompašská, Krupinská, Krupkova, Kubániho, Kubínska, Kuklovská, Kukučínova, Kukuričná, Kulíškova, Kultúrna, Kupeckého, Kúpeľná, Kutlíkova, Kutuzovova, Kuzmányho, Kvačalova, Kvetná, Kýčerského, Kyjevská, Kysucká, Laborecká, Lackova, Ladislava Sáru, Ľadová, Lachova, Ľaliová, Lamačská cesta, Lamačská cesta, Lamanského, Landererova, Langsfeldova, Ľanová, Laskomerského, Laučekova, Laurinská, Lazaretská, Lazaretská, Legerského, Legionárska, Legionárska, Lehockého, Lehockého, Lenardova, Lermontovova, Lesná, Leškova, Letecká, Letisko M.R.Štefánik, Letná, Levárska, Levická, Levočská, Lidická, Lietavská, Lichardova, Lipová, Lipovinová, Liptovská, Listová, Líščie nivy, Líščie údolie, Litovská, Lodná, Lombardiniho, Lomonosovova, Lopenícka, Lovinského, Ľubietovská, Ľubinská, Ľubľanská, Ľubochnianska, Ľubovnianska, Lúčna, Ľudové námestie, Ľudovíta Fullu, Luhačovická, Lužická, Lužná, Lýcejná, Lykovcová, M. Hella, Magnetová, Macharova, Majakovského, Majerníkova, Májkova, Májová, Makovického, Malá, Malé pálenisko, Malinová, Malý Draždiak, Malý trh, Mamateyova, Mamateyova, Mánesovo námestie, Mariánska, Marie Curie-Sklodows, Márie Medveďovej, Markova, Marótyho, Martákovej, Martinčekova, Martinčekova, Martinengova, Martinská, Mateja Bela, Matejkova, Matičná, Matúšova, Medená, Medzierka, Medzilaborecká, Merlotová, Mesačná, Mestská, Meteorová, Metodova, Mickiewiczova, Mierová, Michalská, Mikovíniho, Mikulášska, Miletičova, Miletičova, Mišíkova, Mišíkova, Mišíkova, Mliekárenská, Mlynarovičova, Mlynská dolina, Mlynská dolina, Mlynská dolina, Mlynské luhy, Mlynské nivy, Mlynské nivy, Mlynské nivy, Mlynské nivy, Mlynské nivy, Mlyny, Modranská, Mojmírova, Mokráň záhon, Mokrohájska cesta, Moldavská, Molecova, Moravská, Moskovská, Most SNP, Mostová, Mošovského, Motýlia, Moyzesova, Mozartova, Mraziarenská, Mudroňova, Mudroňova, Mudroňova, Muchovo námestie, Murgašova, Muškátová, Muštová, Múzejná, Myjavská, Mýtna, Mýtna, Na Baránku, Na Brezinách, Na Hrebienku, Na Kalvárii, Na Kampárke, Na kopci, Na križovatkách, Na lánoch, Na paši, Na piesku, Na Riviére, Na Sitine, Na Slavíne, Na stráni, Na Štyridsiatku, Na úvrati, Na vŕšku, Na výslní, Nábělkova, Nábrežie arm. gen. L, Nábrežná, Nad Dunajom, Nad lomom, Nad lúčkami, Nad lúčkami, Nad ostrovom, Nad Sihoťou, Námestie 1. mája, Námestie Alexandra D, Námestie Biely kríž, Námestie Hraničiarov, Námestie Jána Pavla, Námestie Ľudovíta Št, Námestie Martina Ben, Nám. M.R.Štefánika, Námestie slobody, Námestie slobody, Námestie SNP, Námestie SNP, Námestie sv. Františ, Narcisová, Nedbalova, Nekrasovova, Neronetová, Nerudova, Nevädzová, Nezábudková, Niťová, Nitrianska, Nížinná, Nobelova, Nobelovo námestie, Nová, Nová Rožňavská , Novackého, Nové pálenisko, Nové záhrady I, Nové záhrady II, Nové záhrady III, Nové záhrady IV, Nové záhrady V, Nové záhrady VI, Nové záhrady VII, Novinárska, Novobanská, Novohradská, Novosvetská, Novosvetská, Novosvetská, Obežná, Obchodná, Očovská, Odbojárov, Odborárska, Odborárske námestie, Odborárske námestie, Ohnicová, Okánikova, Okružná, Olbrachtova, Olejkárska, Ondavská, Ondrejovova, Oravská, Orechová cesta, Orechový rad, Oriešková, Ormisova, Osadná, Ostravská, Ostredková, Osuského, Osvetová, Otonelská, Ovručská, Ovsištské námestie, Pajštúnska, Palackého, Palárikova, Palárikova, Pálavská, Palisády, Palisády, Palisády, Palkovičova, Panenská, Pankúchova, Panónska cesta, Panská, Papánkovo námestie, Papraďová, Páričkova, Parková, Partizánska, Pasienky, Paulínyho, Pavlovičova, Pavlovova, Pavlovská, Pažického, Pažítková, Pečnianska, Pernecká, Pestovateľská, Peterská, Petzvalova, Pezinská, Piesočná, Piešťanská, Pifflova, Pilárikova, Pionierska, Pivoňková, Planckova, Planét, Plátenícka, Pluhová, Plynárenská, Plzenská, Pobrežná, Pod Bôrikom, Pod Kalváriou, Pod lesom, Pod Rovnicami, Pod vinicami, Podhorského, Podjavorinskej, Podlučinského, Podniková, Podtatranského, Pohronská, Polárna, Poloreckého, Poľná, Poľská, Poludníková, Porubského, Poštová, Považská, Povraznícka, Povraznícka, Pražská, Predstaničné námesti, Prepoštská, Prešernova, Prešovská, Prešovská, Prešovská, Pri Bielom kríži, Pri dvore, Pri Dynamitke, Pri Habánskom mlyne, Pri hradnej studni, Pri seči, Pri Starej Prachárni, Pri Starom háji, Pri Starom Mýte, Pri strelnici, Pri Suchom mlyne, Pri zvonici, Pribinova, Pribinova, Pribinova, Pribišova, Pribylinská, Priečna, Priekopy, Priemyselná, Priemyselná, Prievozská, Prievozská, Prievozská, Príkopova, Primaciálne námestie, Prístav, Prístavná, Prokofievova, Prokopa Veľkého, Prokopova, Prúdová, Prvosienková, Púpavová, Pustá, Puškinova, Račianska, Račianska, Račianske mýto, Radarová, Rádiová, Radlinského, Radničná, Radničné námestie, Radvanská, Rajská, Raketová, Rákosová, Rastislavova, Rázusovo nábrežie, Repná, Rešetkova, Revolučná, Révová, Revúcka, Rezedová, Riazanská, Riazanská, Ribayová, Riečna, Rigeleho, Rízlingová, Riznerova, Robotnícka, Romanova, Röntgenova, Rosná, Rovná, Rovniankova, Rovníková, Rozmarínová, Rožňavská, Rožňavská, Rožňavská, Rubinsteinova, Rudnayovo námestie, Rumančeková, Rusovská cesta, Ružičková, Ružinovská, Ružinovská, Ružinovská, Ružomberská, Ružová dolina, Ružová dolina, Rybárska brána, Rybné námestie, Rýdziková, Sabinovská, Sabinovská, Sad Janka Kráľa, Sadová, Sartorisova, Sasinkova, Seberíniho, Sečovská, Sedlárska, Sedmokrásková, Segnerova, Sekulská, Semianova, Senická, Senná, Schillerova, Schody pri starej vo, Sibírska, Sienkiewiczova, Silvánska, Sinokvetná, Skalická cesta, Skalná, Sklenárova, Sklenárska, Sládkovičova, Sladová, Slávičie údolie, Slavín, Slepá, Sliačska, Sliezska, Slivková, Slnečná, Slovanská, Slovinská, Slovnaftská, Slowackého, Smetanova, Smikova, Smolenická, Smolnícka, Smrečianska, Soferove schody, Socháňova, Sokolská, Solivarská, Sološnická, Somolického, Somolického, Sosnová, Spišská, Spojná, Spoločenská, Sputniková, Sreznevského, Srnčia, Stachanovská, Stálicová, Staničná, Stará Černicová, Stará Ivánska cesta, Stará Prievozská, Stará Vajnorská, Stará vinárska, Staré Grunty, Staré ihrisko, Staré záhrady, Starhradská, Starohájska, Staromestská, Staroturský chodník, Staviteľská, Stodolova, Stoklasová, Strakova, Strážnická, Strážny dom, Strečnianska, Stredná, Strelecká, Strmá cesta, Strojnícka, Stropkovská, Struková, Studená, Stuhová, Súbežná, Súhvezdná, Suché mýto, Suchohradská, Súkennícka, Súľovská, Sumbalova, Súmračná, Súťažná, Svätého Vincenta, Svätoplukova, Svätoplukova, Svätovojtešská, Svetlá, Svíbová, Svidnícka, Svoradova, Svrčia, Syslia, Šafárikovo námestie, Šafárikovo námestie, Šafránová, Šagátova, Šalviová, Šancová, Šancová, Šancová, Šancová, Šándorova, Šarišská, Šášovská, Šaštínska, Ševčenkova, Šintavská, Šípková, Škarniclova, Školská, Škovránčia, Škultétyho, Šoltésovej, Špieszova, Špitálska, Športová, Šrobárovo námestie, Šťastná, Štedrá, Štefánikova, Štefánikova, Štefánikova, Štefanovičova, Štefunkova, Štetinova, Štiavnická, Štúrova, Štyndlova, Šulekova, Šulekova, Šulekova, Šumavská, Šuňavcova, Šustekova, Švabinského, Tabaková, Tablicova, Táborská, Tajovského, Tallerova, Tehelná, Technická, Tekovská, Telocvičná, Tematínska, Teplická, Terchovská, Teslova, Tetmayerova, Thurzova, Tichá, Tilgnerova, Timravina, Tobrucká, Tokajícka, Tolstého, Tománkova, Tomášikova, Tomášikova, Tomášikova, Tomášikova, Tomášikova, Topoľčianska, Topoľová, Továrenská, Trebišovská, Trebišovská, Trebišovská, Trenčianska, Treskoňova, Trnavská cesta, Trnavská cesta, Trnavská cesta, Trnavská cesta, Trnavská cesta, Trnavské mýto, Tŕňová, Trojdomy, Tučkova, Tupolevova, Turbínova, Turčianska, Turnianska, Tvarožkova, Tylova, Tyršovo nábrežie, Údernícka, Údolná, Uhorková, Ukrajinská, Ulica 29. augusta, Ulica 29. augusta, Ulica 29. augusta, Ulica 29. augusta, Ulica Imricha Karvaš, Ulica Jozefa Krónera, Ulica Viktora Tegelh, Úprkova, Úradnícka, Uránová, Urbánkova, Ursínyho, Uršulínska, Úzka, V záhradách, Vajanského nábrežie, Vajnorská, Vajnorská, Vajnorská, Vajnorská, Vajnorská, Vajnorská, Vajnorská, Vajnorská, Vajnorská, Valašská, Valchárska, Vansovej, Vápenná, Varínska, Varšavská, Varšavská, Vavilovova, Vavrínova, Vazovova, Včelárska, Velehradská, Veltlínska, Ventúrska, Veterná, Veternicová, Vetvová, Viedenská cesta, Viedenská cesta, Vietnamská, Vígľašská, Vihorlatská, Viktorínova, Vilová, Vincenta Hložníka, Vínna, Vlastenecké námestie, Vlčkova, Vlčkova, Vlčkova, Vodný vrch, Votrubova, Vrábeľská, Vrakunská cesta, Vranovská, Vretenová, Vrchná, Vrútocká, Vyhliadka, Vyhnianska cesta, Vysoká, Vyšehradská, Vyšná, Wattova, Wilsonova, Wolkrova, Za Kasárňou, Za sokolovňou, Za Stanicou, Za tehelňou, Záborského, Zadunajská cesta, Záhorácka, Záhradnícka, Záhradnícka, Záhradnícka, Záhradnícka, Záhrebská, Záhrebská, Zálužická, Zámocká, Zámocké schody, Zámočnícka, Západná, Západný rad, Záporožská, Zátišie, Závodníkova, Zelená, Zelinárska, Zimná, Zlaté piesky, Zlaté schody, Znievska, Zohorská, Zochova, Zrinského, Zvolenská, Žabí majer, Žabotova, Žehrianska, Železná, Železničiarska, Žellova, Žiarska, Židovská, Žilinská, Žilinská, Živnostenská, Žižkova, Župné námestie] - street_name: - - "#{street}" - street_address: - - "#{street_name} #{building_number}" - default_country: [Slovensko] - - company: - suffix: [s.r.o., a.s., v.o.s.] - # Buzzword wordlist from http://www.1728.com/buzzword.htm - buzzwords: - - ["Adaptive", "Advanced", "Ameliorated", "Assimilated", "Automated", "Balanced", "Business-focused", "Centralized", "Cloned", "Compatible", "Configurable", "Cross-group", "Cross-platform", "Customer-focused", "Customizable", "Decentralized", "De-engineered", "Devolved", "Digitized", "Distributed", "Diverse", "Down-sized", "Enhanced", "Enterprise-wide", "Ergonomic", "Exclusive", "Expanded", "Extended", "Face to face", "Focused", "Front-line", "Fully-configurable", "Function-based", "Fundamental", "Future-proofed", "Grass-roots", "Horizontal", "Implemented", "Innovative", "Integrated", "Intuitive", "Inverse", "Managed", "Mandatory", "Monitored", "Multi-channelled", "Multi-lateral", "Multi-layered", "Multi-tiered", "Networked", "Object-based", "Open-architected", "Open-source", "Operative", "Optimized", "Optional", "Organic", "Organized", "Persevering", "Persistent", "Phased", "Polarised", "Pre-emptive", "Proactive", "Profit-focused", "Profound", "Programmable", "Progressive", "Public-key", "Quality-focused", "Reactive", "Realigned", "Re-contextualized", "Re-engineered", "Reduced", "Reverse-engineered", "Right-sized", "Robust", "Seamless", "Secured", "Self-enabling", "Sharable", "Stand-alone", "Streamlined", "Switchable", "Synchronised", "Synergistic", "Synergized", "Team-oriented", "Total", "Triple-buffered", "Universal", "Up-sized", "Upgradable", "User-centric", "User-friendly", "Versatile", "Virtual", "Visionary", "Vision-oriented"] - - ["24 hour", "24/7", "3rd generation", "4th generation", "5th generation", "6th generation", "actuating", "analyzing", "asymmetric", "asynchronous", "attitude-oriented", "background", "bandwidth-monitored", "bi-directional", "bifurcated", "bottom-line", "clear-thinking", "client-driven", "client-server", "coherent", "cohesive", "composite", "context-sensitive", "contextually-based", "content-based", "dedicated", "demand-driven", "didactic", "directional", "discrete", "disintermediate", "dynamic", "eco-centric", "empowering", "encompassing", "even-keeled", "executive", "explicit", "exuding", "fault-tolerant", "foreground", "fresh-thinking", "full-range", "global", "grid-enabled", "heuristic", "high-level", "holistic", "homogeneous", "human-resource", "hybrid", "impactful", "incremental", "intangible", "interactive", "intermediate", "leading edge", "local", "logistical", "maximized", "methodical", "mission-critical", "mobile", "modular", "motivating", "multimedia", "multi-state", "multi-tasking", "national", "needs-based", "neutral", "next generation", "non-volatile", "object-oriented", "optimal", "optimizing", "radical", "real-time", "reciprocal", "regional", "responsive", "scalable", "secondary", "solution-oriented", "stable", "static", "systematic", "systemic", "system-worthy", "tangible", "tertiary", "transitional", "uniform", "upward-trending", "user-facing", "value-added", "web-enabled", "well-modulated", "zero administration", "zero defect", "zero tolerance"] - - ["ability", "access", "adapter", "algorithm", "alliance", "analyzer", "application", "approach", "architecture", "archive", "artificial intelligence", "array", "attitude", "benchmark", "budgetary management", "capability", "capacity", "challenge", "circuit", "collaboration", "complexity", "concept", "conglomeration", "contingency", "core", "customer loyalty", "database", "data-warehouse", "definition", "emulation", "encoding", "encryption", "extranet", "firmware", "flexibility", "focus group", "forecast", "frame", "framework", "function", "functionalities", "Graphic Interface", "groupware", "Graphical User Interface", "hardware", "help-desk", "hierarchy", "hub", "implementation", "info-mediaries", "infrastructure", "initiative", "installation", "instruction set", "interface", "internet solution", "intranet", "knowledge user", "knowledge base", "local area network", "leverage", "matrices", "matrix", "methodology", "middleware", "migration", "model", "moderator", "monitoring", "moratorium", "neural-net", "open architecture", "open system", "orchestration", "paradigm", "parallelism", "policy", "portal", "pricing structure", "process improvement", "product", "productivity", "project", "projection", "protocol", "secured line", "service-desk", "software", "solution", "standardization", "strategy", "structure", "success", "superstructure", "support", "synergy", "system engine", "task-force", "throughput", "time-frame", "toolset", "utilisation", "website", "workforce"] - # BS wordlist from http://dack.com/web/bullshit.html - bs: - - ["implement", "utilize", "integrate", "streamline", "optimize", "evolve", "transform", "embrace", "enable", "orchestrate", "leverage", "reinvent", "aggregate", "architect", "enhance", "incentivize", "morph", "empower", "envisioneer", "monetize", "harness", "facilitate", "seize", "disintermediate", "synergize", "strategize", "deploy", "brand", "grow", "target", "syndicate", "synthesize", "deliver", "mesh", "incubate", "engage", "maximize", "benchmark", "expedite", "reintermediate", "whiteboard", "visualize", "repurpose", "innovate", "scale", "unleash", "drive", "extend", "engineer", "revolutionize", "generate", "exploit", "transition", "e-enable", "iterate", "cultivate", "matrix", "productize", "redefine", "recontextualize"] - - ["clicks-and-mortar", "value-added", "vertical", "proactive", "robust", "revolutionary", "scalable", "leading-edge", "innovative", "intuitive", "strategic", "e-business", "mission-critical", "sticky", "one-to-one", "24/7", "end-to-end", "global", "B2B", "B2C", "granular", "frictionless", "virtual", "viral", "dynamic", "24/365", "best-of-breed", "killer", "magnetic", "bleeding-edge", "web-enabled", "interactive", "dot-com", "sexy", "back-end", "real-time", "efficient", "front-end", "distributed", "seamless", "extensible", "turn-key", "world-class", "open-source", "cross-platform", "cross-media", "synergistic", "bricks-and-clicks", "out-of-the-box", "enterprise", "integrated", "impactful", "wireless", "transparent", "next-generation", "cutting-edge", "user-centric", "visionary", "customized", "ubiquitous", "plug-and-play", "collaborative", "compelling", "holistic", "rich"] - - ["synergies", "web-readiness", "paradigms", "markets", "partnerships", "infrastructures", "platforms", "initiatives", "channels", "eyeballs", "communities", "ROI", "solutions", "e-tailers", "e-services", "action-items", "portals", "niches", "technologies", "content", "vortals", "supply-chains", "convergence", "relationships", "architectures", "interfaces", "e-markets", "e-commerce", "systems", "bandwidth", "infomediaries", "models", "mindshare", "deliverables", "users", "schemas", "networks", "applications", "metrics", "e-business", "functionalities", "experiences", "web services", "methodologies"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name} #{suffix}" - - "#{Name.man_last_name} a #{Name.man_last_name} #{suffix}" - - internet: - free_email: [gmail.com, zoznam.sk, azet.sk] - domain_suffix: [sk, com, net, eu, org] - - lorem: - words: [alias, consequatur, aut, perferendis, sit, voluptatem, accusantium, doloremque, aperiam, eaque, ipsa, quae, ab, illo, inventore, veritatis, et, quasi, architecto, beatae, vitae, dicta, sunt, explicabo, aspernatur, aut, odit, aut, fugit, sed, quia, consequuntur, magni, dolores, eos, qui, ratione, voluptatem, sequi, nesciunt, neque, dolorem, ipsum, quia, dolor, sit, amet, consectetur, adipisci, velit, sed, quia, non, numquam, eius, modi, tempora, incidunt, ut, labore, et, dolore, magnam, aliquam, quaerat, voluptatem, ut, enim, ad, minima, veniam, quis, nostrum, exercitationem, ullam, corporis, nemo, enim, ipsam, voluptatem, quia, voluptas, sit, suscipit, laboriosam, nisi, ut, aliquid, ex, ea, commodi, consequatur, quis, autem, vel, eum, iure, reprehenderit, qui, in, ea, voluptate, velit, esse, quam, nihil, molestiae, et, iusto, odio, dignissimos, ducimus, qui, blanditiis, praesentium, laudantium, totam, rem, voluptatum, deleniti, atque, corrupti, quos, dolores, et, quas, molestias, excepturi, sint, occaecati, cupiditate, non, provident, sed, ut, perspiciatis, unde, omnis, iste, natus, error, similique, sunt, in, culpa, qui, officia, deserunt, mollitia, animi, id, est, laborum, et, dolorum, fuga, et, harum, quidem, rerum, facilis, est, et, expedita, distinctio, nam, libero, tempore, cum, soluta, nobis, est, eligendi, optio, cumque, nihil, impedit, quo, porro, quisquam, est, qui, minus, id, quod, maxime, placeat, facere, possimus, omnis, voluptas, assumenda, est, omnis, dolor, repellendus, temporibus, autem, quibusdam, et, aut, consequatur, vel, illum, qui, dolorem, eum, fugiat, quo, voluptas, nulla, pariatur, at, vero, eos, et, accusamus, officiis, debitis, aut, rerum, necessitatibus, saepe, eveniet, ut, et, voluptates, repudiandae, sint, et, molestiae, non, recusandae, itaque, earum, rerum, hic, tenetur, a, sapiente, delectus, ut, aut, reiciendis, voluptatibus, maiores, doloribus, asperiores, repellat] - supplemental: [abbas, abduco, abeo, abscido, absconditus, absens, absorbeo, absque, abstergo, absum, abundans, abutor, accedo, accendo, acceptus, accipio, accommodo, accusator, acer, acerbitas, acervus, acidus, acies, acquiro, acsi, adamo, adaugeo, addo, adduco, ademptio, adeo, adeptio, adfectus, adfero, adficio, adflicto, adhaero, adhuc, adicio, adimpleo, adinventitias, adipiscor, adiuvo, administratio, admiratio, admitto, admoneo, admoveo, adnuo, adopto, adsidue, adstringo, adsuesco, adsum, adulatio, adulescens, adultus, aduro, advenio, adversus, advoco, aedificium, aeger, aegre, aegrotatio, aegrus, aeneus, aequitas, aequus, aer, aestas, aestivus, aestus, aetas, aeternus, ager, aggero, aggredior, agnitio, agnosco, ago, ait, aiunt, alienus, alii, alioqui, aliqua, alius, allatus, alo, alter, altus, alveus, amaritudo, ambitus, ambulo, amicitia, amiculum, amissio, amita, amitto, amo, amor, amoveo, amplexus, amplitudo, amplus, ancilla, angelus, angulus, angustus, animadverto, animi, animus, annus, anser, ante, antea, antepono, antiquus, aperio, aperte, apostolus, apparatus, appello, appono, appositus, approbo, apto, aptus, apud, aqua, ara, aranea, arbitro, arbor, arbustum, arca, arceo, arcesso, arcus, argentum, argumentum, arguo, arma, armarium, armo, aro, ars, articulus, artificiose, arto, arx, ascisco, ascit, asper, aspicio, asporto, assentator, astrum, atavus, ater, atqui, atrocitas, atrox, attero, attollo, attonbitus, auctor, auctus, audacia, audax, audentia, audeo, audio, auditor, aufero, aureus, auris, aurum, aut, autem, autus, auxilium, avaritia, avarus, aveho, averto, avoco, baiulus, balbus, barba, bardus, basium, beatus, bellicus, bellum, bene, beneficium, benevolentia, benigne, bestia, bibo, bis, blandior, bonus, bos, brevis, cado, caecus, caelestis, caelum, calamitas, calcar, calco, calculus, callide, campana, candidus, canis, canonicus, canto, capillus, capio, capitulus, capto, caput, carbo, carcer, careo, caries, cariosus, caritas, carmen, carpo, carus, casso, caste, casus, catena, caterva, cattus, cauda, causa, caute, caveo, cavus, cedo, celebrer, celer, celo, cena, cenaculum, ceno, censura, centum, cerno, cernuus, certe, certo, certus, cervus, cetera, charisma, chirographum, cibo, cibus, cicuta, cilicium, cimentarius, ciminatio, cinis, circumvenio, cito, civis, civitas, clam, clamo, claro, clarus, claudeo, claustrum, clementia, clibanus, coadunatio, coaegresco, coepi, coerceo, cogito, cognatus, cognomen, cogo, cohaero, cohibeo, cohors, colligo, colloco, collum, colo, color, coma, combibo, comburo, comedo, comes, cometes, comis, comitatus, commemoro, comminor, commodo, communis, comparo, compello, complectus, compono, comprehendo, comptus, conatus, concedo, concido, conculco, condico, conduco, confero, confido, conforto, confugo, congregatio, conicio, coniecto, conitor, coniuratio, conor, conqueror, conscendo, conservo, considero, conspergo, constans, consuasor, contabesco, contego, contigo, contra, conturbo, conventus, convoco, copia, copiose, cornu, corona, corpus, correptius, corrigo, corroboro, corrumpo, coruscus, cotidie, crapula, cras, crastinus, creator, creber, crebro, credo, creo, creptio, crepusculum, cresco, creta, cribro, crinis, cruciamentum, crudelis, cruentus, crur, crustulum, crux, cubicularis, cubitum, cubo, cui, cuius, culpa, culpo, cultellus, cultura, cum, cunabula, cunae, cunctatio, cupiditas, cupio, cuppedia, cupressus, cur, cura, curatio, curia, curiositas, curis, curo, curriculum, currus, cursim, curso, cursus, curto, curtus, curvo, curvus, custodia, damnatio, damno, dapifer, debeo, debilito, decens, decerno, decet, decimus, decipio, decor, decretum, decumbo, dedecor, dedico, deduco, defaeco, defendo, defero, defessus, defetiscor, deficio, defigo, defleo, defluo, defungo, degenero, degero, degusto, deinde, delectatio, delego, deleo, delibero, delicate, delinquo, deludo, demens, demergo, demitto, demo, demonstro, demoror, demulceo, demum, denego, denique, dens, denuncio, denuo, deorsum, depereo, depono, depopulo, deporto, depraedor, deprecator, deprimo, depromo, depulso, deputo, derelinquo, derideo, deripio, desidero, desino, desipio, desolo, desparatus, despecto, despirmatio, infit, inflammatio, paens, patior, patria, patrocinor, patruus, pauci, paulatim, pauper, pax, peccatus, pecco, pecto, pectus, pecunia, pecus, peior, pel, ocer, socius, sodalitas, sol, soleo, solio, solitudo, solium, sollers, sollicito, solum, solus, solutio, solvo, somniculosus, somnus, sonitus, sono, sophismata, sopor, sordeo, sortitus, spargo, speciosus, spectaculum, speculum, sperno, spero, spes, spiculum, spiritus, spoliatio, sponte, stabilis, statim, statua, stella, stillicidium, stipes, stips, sto, strenuus, strues, studio, stultus, suadeo, suasoria, sub, subito, subiungo, sublime, subnecto, subseco, substantia, subvenio, succedo, succurro, sufficio, suffoco, suffragium, suggero, sui, sulum, sum, summa, summisse, summopere, sumo, sumptus, supellex, super, suppellex, supplanto, suppono, supra, surculus, surgo, sursum, suscipio, suspendo, sustineo, suus, synagoga, tabella, tabernus, tabesco, tabgo, tabula, taceo, tactus, taedium, talio, talis, talus, tam, tamdiu, tamen, tametsi, tamisium, tamquam, tandem, tantillus, tantum, tardus, tego, temeritas, temperantia, templum, temptatio, tempus, tenax, tendo, teneo, tener, tenuis, tenus, tepesco, tepidus, ter, terebro, teres, terga, tergeo, tergiversatio, tergo, tergum, termes, terminatio, tero, terra, terreo, territo, terror, tersus, tertius, testimonium, texo, textilis, textor, textus, thalassinus, theatrum, theca, thema, theologus, thermae, thesaurus, thesis, thorax, thymbra, thymum, tibi, timidus, timor, titulus, tolero, tollo, tondeo, tonsor, torqueo, torrens, tot, totidem, toties, totus, tracto, trado, traho, trans, tredecim, tremo, trepide, tres, tribuo, tricesimus, triduana, triginta, tripudio, tristis, triumphus, trucido, truculenter, tubineus, tui, tum, tumultus, tunc, turba, turbo, turpe, turpis, tutamen, tutis, tyrannus, uberrime, ubi, ulciscor, ullus, ulterius, ultio, ultra, umbra, umerus, umquam, una, unde, undique, universe, unus, urbanus, urbs, uredo, usitas, usque, ustilo, ustulo, usus, uter, uterque, utilis, utique, utor, utpote, utrimque, utroque, utrum, uxor, vaco, vacuus, vado, vae, valde, valens, valeo, valetudo, validus, vallum, vapulus, varietas, varius, vehemens, vel, velociter, velum, velut, venia, venio, ventito, ventosus, ventus, venustas, ver, verbera, verbum, vere, verecundia, vereor, vergo, veritas, vero, versus, verto, verumtamen, verus, vesco, vesica, vesper, vespillo, vester, vestigium, vestrum, vetus, via, vicinus, vicissitudo, victoria, victus, videlicet, video, viduata, viduo, vigilo, vigor, vilicus, vilis, vilitas, villa, vinco, vinculum, vindico, vinitor, vinum, vir, virga, virgo, viridis, viriliter, virtus, vis, viscus, vita, vitiosus, vitium, vito, vivo, vix, vobis, vociferor, voco, volaticus, volo, volubilis, voluntarius, volup, volutabrum, volva, vomer, vomica, vomito, vorago, vorax, voro, vos, votum, voveo, vox, vulariter, vulgaris, vulgivagus, vulgo, vulgus, vulnero, vulnus, vulpes, vulticulus, vultuosus, xiphias] - - name: - man_first_name: [Drahoslav, Severín, Alexej, Ernest, Rastislav, Radovan, Dobroslav, Dalibor, Vincent, Miloš, Timotej, Gejza, Bohuš, Alfonz, Gašpar, Emil, Erik, Blažej, Zdenko, Dezider, Arpád, Valentín, Pravoslav, Jaromír, Roman, Matej, Frederik, Viktor, Alexander, Radomír, Albín, Bohumil, Kazimír, Fridrich, Radoslav, Tomáš, Alan, Branislav, Bruno, Gregor, Vlastimil, Boleslav, Eduard, Jozef, Víťazoslav, Blahoslav, Beňadik, Adrián, Gabriel, Marián, Emanuel, Miroslav, Benjamín, Hugo, Richard, Izidor, Zoltán, Albert, Igor, Július, Aleš, Fedor, Rudolf, Valér, Marcel, Ervín, Slavomír, Vojtech, Juraj, Marek, Jaroslav, Žigmund, Florián, Roland, Pankrác, Servác, Bonifác, Svetozár, Bernard, Júlia, Urban, Dušan, Viliam, Ferdinand, Norbert, Róbert, Medard, Zlatko, Anton, Vasil, Vít, Adolf, Vratislav, Alfréd, Alojz, Ján, Tadeáš, Ladislav, Peter, Pavol, Miloslav, Prokop, Cyril, Metod, Patrik, Oliver, Ivan, Kamil, Henrich, Drahomír, Bohuslav, Iľja, Daniel, Vladimír, Jakub, Krištof, Ignác, Gustáv, Jerguš, Dominik, Oskar, Vavrinec, Ľubomír, Mojmír, Leonard, Tichomír, Filip, Bartolomej, Ľudovít, Samuel, Augustín, Belo, Oleg, Bystrík, Ctibor, Ľudomil, Konštantín, Ľuboslav, Matúš, Móric, Ľuboš, Ľubor, Vladislav, Cyprián, Václav, Michal, Jarolím, Arnold, Levoslav, František, Dionýz, Maximilián, Koloman, Boris, Lukáš, Kristián, Vendelín, Sergej, Aurel, Demeter, Denis, Hubert, Karol, Imrich, René, Bohumír, Teodor, Tibor, Maroš, Martin, Svätopluk, Stanislav, Leopold, Eugen, Félix, Klement, Kornel, Milan, Vratko, Ondrej, Andrej, Edmund, Oldrich, Oto, Mikuláš, Ambróz, Radúz, Bohdan, Adam, Štefan, Dávid, Silvester] - woman_first_name: [Alexandra, Karina, Daniela, Andrea, Antónia, Bohuslava, Dáša, Malvína, Kristína, Nataša, Bohdana, Drahomíra, Sára, Zora, Tamara, Ema, Tatiana, Erika, Veronika, Agáta, Dorota, Vanda, Zoja, Gabriela, Perla, Ida, Liana, Miloslava, Vlasta, Lívia, Eleonóra, Etela, Romana, Zlatica, Anežka, Bohumila, Františka, Angela, Matilda, Svetlana, Ľubica, Alena, Soňa, Vieroslava, Zita, Miroslava, Irena, Milena, Estera, Justína, Dana, Danica, Jela, Jaroslava, Jarmila, Lea, Anastázia, Galina, Lesana, Hermína, Monika, Ingrida, Viktória, Blažena, Žofia, Sofia, Gizela, Viola, Gertrúda, Zina, Júlia, Juliana, Želmíra, Ela, Vanesa, Iveta, Vilma, Petronela, Žaneta, Xénia, Karolína, Lenka, Laura, Stanislava, Margaréta, Dobroslava, Blanka, Valéria, Paulína, Sidónia, Adriána, Beáta, Petra, Melánia, Diana, Berta, Patrícia, Lujza, Amália, Milota, Nina, Margita, Kamila, Dušana, Magdaléna, Oľga, Anna, Hana, Božena, Marta, Libuša, Božidara, Dominika, Hortenzia, Jozefína, Štefánia, Ľubomíra, Zuzana, Darina, Marcela, Milica, Elena, Helena, Lýdia, Anabela, Jana, Silvia, Nikola, Ružena, Nora, Drahoslava, Linda, Melinda, Rebeka, Rozália, Regína, Alica, Marianna, Miriama, Martina, Mária, Jolana, Ľudomila, Ľudmila, Olympia, Eugénia, Ľuboslava, Zdenka, Edita, Michaela, Stela, Viera, Natália, Eliška, Brigita, Valentína, Terézia, Vladimíra, Hedviga, Uršuľa, Alojza, Kvetoslava, Sabína, Dobromila, Klára, Simona, Aurélia, Denisa, Renáta, Irma, Agnesa, Klaudia, Alžbeta, Elvíra, Cecília, Emília, Katarína, Henrieta, Bibiána, Barbora, Marína, Izabela, Hilda, Otília, Lucia, Branislava, Bronislava, Ivica, Albína, Kornélia, Sláva, Slávka, Judita, Dagmara, Adela, Nadežda, Eva, Filoména, Ivana, Milada] - man_last_name: [Antal, Babka, Bahna, Bahno, Baláž, Baran, Baranka, Bartovič, Bartoš, Bača, Bernolák, Beňo, Bicek, Bielik, Blaho, Bondra, Bosák, Boška, Brezina, Bukovský, Chalupka, Chudík, Cibula, Cibulka, Cibuľa, Cyprich, Cíger, Danko, Daňko, Daňo, Debnár, Dej, Dekýš, Doležal, Dočolomanský, Droppa, Dubovský, Dudek, Dula, Dulla, Dusík, Dvonč, Dzurjanin, Dávid, Fabian, Fabián, Fajnor, Farkašovský, Fico, Filc, Filip, Finka, Ftorek, Gašpar, Gašparovič, Gocník, Gregor, Greguš, Grznár, Hablák, Habšuda, Halda, Haluška, Halák, Hanko, Hanzal, Haščák, Heretik, Hečko, Hlaváček, Hlinka, Holub, Holuby, Hossa, Hoza, Hraško, Hric, Hrmo, Hrušovský, Huba, Ihnačák, Janeček, Janoška, Jantošovič, Janík, Janček, Jedľovský, Jendek, Jonata, Jurina, Jurkovič, Jurík, Jánošík, Kafenda, Kaliský, Karul, Keníž, Klapka, Kmeť, Kolesár, Kollár, Kolnik, Kolník, Kolár, Korec, Kostka, Kostrec, Kováč, Kováčik, Koza, Kočiš, Krajíček, Krajči, Krajčo, Krajčovič, Krajčír, Králik, Krúpa, Kubík, Kyseľ, Kállay, Labuda, Lepšík, Lipták, Lisický, Lubina, Lukáč, Lupták, Líška, Madej, Majeský, Malachovský, Malíšek, Mamojka, Marcinko, Marián, Masaryk, Maslo, Matiaško, Medveď, Melcer, Mečiar, Michalík, Mihalik, Mihál, Mihálik, Mikloško, Mikulík, Mikuš, Mikúš, Milota, Mináč, Mišík, Mojžiš, Mokroš, Mora, Moravčík, Mydlo, Nemec, Nitra, Novák, Obšut, Ondruš, Otčenáš, Pauko, Pavlikovský, Pavúk, Pašek, Paška, Paško, Pelikán, Petrovický, Petruška, Peško, Plch, Plekanec, Podhradský, Podkonický, Poliak, Pupák, Rak, Repiský, Romančík, Rus, Ružička, Rybníček, Rybár, Rybárik, Samson, Sedliak, Senko, Sklenka, Skokan, Skutecký, Slašťan, Sloboda, Slobodník, Slota, Slovák, Smrek, Stodola, Straka, Strnisko, Svrbík, Sámel, Sýkora, Tatar, Tatarka, Tatár, Tatárka, Thomka, Tomeček, Tomka, Tomko, Truben, Turčok, Uram, Urblík, Vajcík, Vajda, Valach, Valachovič, Valent, Valuška, Vanek, Vesel, Vicen, Višňovský, Vlach, Vojtek, Vydarený, Zajac, Zima, Zimka, Záborský, Zúbrik, Čapkovič, Čaplovič, Čarnogurský, Čierny, Čobrda, Ďaďo, Ďurica, Ďuriš, Šidlo, Šimonovič, Škriniar, Škultéty, Šmajda, Šoltés, Šoltýs, Štefan, Štefanka, Šulc, Šurka, Švehla, Šťastný] - woman_last_name: [Antalová, Babková, Bahnová, Balážová, Baranová, Baranková, Bartovičová, Bartošová, Bačová, Bernoláková, Beňová, Biceková, Bieliková, Blahová, Bondrová, Bosáková, Bošková, Brezinová, Bukovská, Chalupková, Chudíková, Cibulová, Cibulková, Cyprichová, Cígerová, Danková, Daňková, Daňová, Debnárová, Dejová, Dekýšová, Doležalová, Dočolomanská, Droppová, Dubovská, Dudeková, Dulová, Dullová, Dusíková, Dvončová, Dzurjaninová, Dávidová, Fabianová, Fabiánová, Fajnorová, Farkašovská, Ficová, Filcová, Filipová, Finková, Ftoreková, Gašparová, Gašparovičová, Gocníková, Gregorová, Gregušová, Grznárová, Habláková, Habšudová, Haldová, Halušková, Haláková, Hanková, Hanzalová, Haščáková, Heretiková, Hečková, Hlaváčeková, Hlinková, Holubová, Holubyová, Hossová, Hozová, Hrašková, Hricová, Hrmová, Hrušovská, Hubová, Ihnačáková, Janečeková, Janošková, Jantošovičová, Janíková, Jančeková, Jedľovská, Jendeková, Jonatová, Jurinová, Jurkovičová, Juríková, Jánošíková, Kafendová, Kaliská, Karulová, Kenížová, Klapková, Kmeťová, Kolesárová, Kollárová, Kolniková, Kolníková, Kolárová, Korecová, Kostkaová, Kostrecová, Kováčová, Kováčiková, Kozová, Kočišová, Krajíčeková, Krajčová, Krajčovičová, Krajčírová, Králiková, Krúpová, Kubíková, Kyseľová, Kállayová, Labudová, Lepšíková, Liptáková, Lisická, Lubinová, Lukáčová, Luptáková, Líšková, Madejová, Majeská, Malachovská, Malíšeková, Mamojková, Marcinková, Mariánová, Masaryková, Maslová, Matiašková, Medveďová, Melcerová, Mečiarová, Michalíková, Mihaliková, Mihálová, Miháliková, Miklošková, Mikulíková, Mikušová, Mikúšová, Milotová, Mináčová, Mišíková, Mojžišová, Mokrošová, Morová, Moravčíková, Mydlová, Nemcová, Nováková, Obšutová, Ondrušová, Otčenášová, Pauková, Pavlikovská, Pavúková, Pašeková, Pašková, Pelikánová, Petrovická, Petrušková, Pešková, Plchová, Plekanecová, Podhradská, Podkonická, Poliaková, Pupáková, Raková, Repiská, Romančíková, Rusová, Ružičková, Rybníčeková, Rybárová, Rybáriková, Samsonová, Sedliaková, Senková, Sklenková, Skokanová, Skutecká, Slašťanová, Slobodová, Slobodníková, Slotová, Slováková, Smreková, Stodolová, Straková, Strnisková, Svrbíková, Sámelová, Sýkorová, Tatarová, Tatarková, Tatárová, Tatárkaová, Thomková, Tomečeková, Tomková, Trubenová, Turčoková, Uramová, Urblíková, Vajcíková, Vajdová, Valachová, Valachovičová, Valentová, Valušková, Vaneková, Veselová, Vicenová, Višňovská, Vlachová, Vojteková, Vydarená, Zajacová, Zimová, Zimková, Záborská, Zúbriková, Čapkovičová, Čaplovičová, Čarnogurská, Čierná, Čobrdová, Ďaďová, Ďuricová, Ďurišová, Šidlová, Šimonovičová, Škriniarová, Škultétyová, Šmajdová, Šoltésová, Šoltýsová, Štefanová, Štefanková, Šulcová, Šurková, Švehlová, Šťastná] - prefix: [Ing., Mgr., JUDr., MUDr.] - suffix: [Phd.] - title: - descriptor: [Lead, Senior, Direct, Corporate, Dynamic, Future, Product, National, Regional, District, Central, Global, Customer, Investor, Dynamic, International, Legacy, Forward, Internal, Human, Chief, Principal] - level: [Solutions, Program, Brand, Security, Research, Marketing, Directives, Implementation, Integration, Functionality, Response, Paradigm, Tactics, Identity, Markets, Group, Division, Applications, Optimization, Operations, Infrastructure, Intranet, Communications, Web, Branding, Quality, Assurance, Mobility, Accounts, Data, Creative, Configuration, Accountability, Interactions, Factors, Usability, Metrics] - job: [Supervisor, Associate, Executive, Liaison, Officer, Manager, Engineer, Specialist, Director, Coordinator, Administrator, Architect, Analyst, Designer, Planner, Orchestrator, Technician, Developer, Producer, Consultant, Assistant, Facilitator, Agent, Representative, Strategist] - name: - - "#{prefix} #{man_first_name} #{man_last_name}" - - "#{prefix} #{woman_first_name} #{woman_last_name}" - - "#{man_first_name} #{man_last_name} #{suffix}" - - "#{woman_first_name} #{woman_last_name} #{suffix}" - - "#{man_first_name} #{man_last_name}" - - "#{man_first_name} #{man_last_name}" - - "#{man_first_name} #{man_last_name}" - - "#{woman_first_name} #{woman_last_name}" - - "#{woman_first_name} #{woman_last_name}" - - "#{woman_first_name} #{woman_last_name}" - - phone_number: - formats: ['09## ### ###', '0## #### ####', '0# #### ####', '+421 ### ### ###'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/sv.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/sv.yml deleted file mode 100644 index 2fa926a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/sv.yml +++ /dev/null @@ -1,76 +0,0 @@ - -sv: - faker: - address: - city_prefix: [Söder, Norr, Väst, Öster, Aling, Ar, Av, Bo, Br, Bå, Ek, En, Esk, Fal, Gäv, Göte, Ha, Helsing, Karl, Krist, Kram, Kung, Kö, Lyck, Ny] - city_suffix: [stad, land, sås, ås, holm, tuna, sta, berg, löv, borg, mora, hamn, fors, köping, by, hult, torp, fred, vik] - country: [Ryssland, Kanada, Kina, USA, Brasilien, Australien, Indien, Argentina, Kazakstan, Algeriet, DR Kongo, Danmark, Färöarna, Grönland, Saudiarabien, Mexiko, Indonesien, Sudan, Libyen, Iran, Mongoliet, Peru, Tchad, Niger, Angola, Mali, Sydafrika, Colombia, Etiopien, Bolivia, Mauretanien, Egypten, Tanzania, Nigeria, Venezuela, Namibia, Pakistan, Moçambique, Turkiet, Chile, Zambia, Marocko, Västsahara, Burma, Afghanistan, Somalia, Centralafrikanska republiken, Sydsudan, Ukraina, Botswana, Madagaskar, Kenya, Frankrike, Franska Guyana, Jemen, Thailand, Spanien, Turkmenistan, Kamerun, Papua Nya Guinea, Sverige, Uzbekistan, Irak, Paraguay, Zimbabwe, Japan, Tyskland, Kongo, Finland, Malaysia, Vietnam, Norge, Svalbard, Jan Mayen, Elfenbenskusten, Polen, Italien, Filippinerna, Ecuador, Burkina Faso, Nya Zeeland, Gabon, Guinea, Storbritannien, Ghana, Rumänien, Laos, Uganda, Guyana, Oman, Vitryssland, Kirgizistan, Senegal, Syrien, Kambodja, Uruguay, Tunisien, Surinam, Nepal, Bangladesh, Tadzjikistan, Grekland, Nicaragua, Eritrea, Nordkorea, Malawi, Benin, Honduras, Liberia, Bulgarien, Kuba, Guatemala, Island, Sydkorea, Ungern, Portugal, Jordanien, Serbien, Azerbajdzjan, Österrike, Förenade Arabemiraten, Tjeckien, Panama, Sierra Leone, Irland, Georgien, Sri Lanka, Litauen, Lettland, Togo, Kroatien, Bosnien och Hercegovina, Costa Rica, Slovakien, Dominikanska republiken, Bhutan, Estland, Danmark, Färöarna, Grönland, Nederländerna, Schweiz, Guinea-Bissau, Taiwan, Moldavien, Belgien, Lesotho, Armenien, Albanien, Salomonöarna, Ekvatorialguinea, Burundi, Haiti, Rwanda, Makedonien, Djibouti, Belize, Israel, El Salvador, Slovenien, Fiji, Kuwait, Swaziland, Timor-Leste, Montenegro, Bahamas, Vanuatu, Qatar, Gambia, Jamaica, Kosovo, Libanon, Cypern, Brunei, Trinidad och Tobago, Kap Verde, Samoa, Luxemburg, Komorerna, Mauritius, São Tomé och Príncipe, Kiribati, Dominica, Tonga, Mikronesiens federerade stater, Singapore, Bahrain, Saint Lucia, Andorra, Palau, Seychellerna, Antigua och Barbuda, Barbados, Saint Vincent och Grenadinerna, Grenada, Malta, Maldiverna, Saint Kitts och Nevis, Marshallöarna, Liechtenstein, San Marino, Tuvalu, Nauru, Monaco, Vatikanstaten] - - common_street_suffix: ["s Väg", "s Gata"] - street_prefix: [Västra, Östra, Norra, Södra, Övre, Undre] - street_root: [Björk, Järnvägs, Ring, Skol, Skogs, Ny, Gran, Idrotts, Stor, Kyrk, Industri, Park, Strand, Skol, Trädgård, Ängs, Kyrko, Villa, Ek, Kvarn, Stations, Back, Furu, Gen, Fabriks, Åker, Bäck, Asp] - street_suffix: [vägen, gatan, gränden, gärdet, allén] - state: [Blekinge, Dalarna, Gotland, Gävleborg, Göteborg, Halland, Jämtland, Jönköping, Kalmar, Kronoberg, Norrbotten, Skaraborg, Skåne, Stockholm, Södermanland, Uppsala, Värmland, Västerbotten, Västernorrland, Västmanland, Älvsborg, Örebro, Östergötland] - - city: - - "#{city_prefix}#{city_suffix}" - street_name: - - "#{street_root}#{street_suffix}" - - "#{street_prefix} #{street_root}#{street_suffix}" - - "#{Name.first_name}#{common_street_suffix}" - - "#{Name.last_name}#{common_street_suffix}" - postcode: ['#####'] - building_number: ['###', '##', '#'] - secondary_address: ['Lgh. ###', 'Hus ###'] - street_address: - - "#{street_name} #{building_number}" - default_country: [Sverige] - - company: - suffix: ["Gruppen", "AB", "HB", "Group", "Investment", "Kommanditbolag", "Aktiebolag"] - name: - - "#{Name.last_name} #{suffix}" - - "#{Name.last_name}-#{Name.last_name}" - - "#{Name.last_name}, #{Name.last_name} #{suffix}" - - internet: - domain_suffix: [se, nu, info, com, org] - - name: - first_name_women: [Maria, Anna, Margareta, Elisabeth, Eva, Birgitta, Kristina, Karin, Elisabet, Marie] - first_name_men: [Erik, Lars, Karl, Anders, Per, Johan, Nils, Lennart, Emil, Hans ] - last_name: [Johansson, Andersson, Karlsson, Nilsson, Eriksson, Larsson, Olsson, Persson, Svensson, Gustafsson] - prefix: [Dr., Prof., PhD.] - - title: - descriptor: [Lead, Senior, Direct, Corporate, Dynamic, Future, Product, National, Regional, District, Central, Global, Customer, Investor, Dynamic, International, Legacy, Forward, Internal, Human, Chief, Principal] - level: [Solutions, Program, Brand, Security, Research, Marketing, Directives, Implementation, Integration, Functionality, Response, Paradigm, Tactics, Identity, Markets, Group, Division, Applications, Optimization, Operations, Infrastructure, Intranet, Communications, Web, Branding, Quality, Assurance, Mobility, Accounts, Data, Creative, Configuration, Accountability, Interactions, Factors, Usability, Metrics] - job: [Supervisor, Associate, Executive, Liaison, Officer, Manager, Engineer, Specialist, Director, Coordinator, Administrator, Architect, Analyst, Designer, Planner, Orchestrator, Technician, Developer, Producer, Consultant, Assistant, Facilitator, Agent, Representative, Strategist] - name: - - "#{first_name_women} #{last_name}" - - "#{first_name_men} #{last_name}" - - "#{first_name_women} #{last_name}" - - "#{first_name_men} #{last_name}" - - "#{first_name_women} #{last_name}" - - "#{first_name_men} #{last_name}" - - "#{prefix} #{first_name_men} #{last_name}" - - "#{prefix} #{first_name_women} #{last_name}" - - phone_number: - formats: ['####-#####', '####-######'] - cell_phone: - common_cell_prefix: [070, 076, 073] - formats: ['#{common_cell_prefix}-###-####'] - - commerce: - color: [vit, silver, grå, svart, röd, grön, blå, gul, lila, indigo, guld, brun, rosa, purpur, korall] - department: ["Böcker", "Filmer", "Musik", "Spel", "Elektronik", "Datorer", "Hem", "Trädgård", "Verktyg", "Livsmedel", "Hälsa", "Skönhet", "Leksaker", "Klädsel", "Skor", "Smycken", "Sport"] - product_name: - adjective: [Liten, Ergonomisk, Robust, Intelligent, Söt, Otrolig, Fatastisk, Praktisk, Slimmad, Grym, Enorm, Mediokra, Synergistic, Tung, Lätt, Aerodynamisk, Tålig] - material: [Stål, Metall, Trä, Betong, Plast, Bomul, Grnit, Gummi, Latex, Läder , Silke, Ull, Linne, Marmor, Järn, Brons, Koppar, Aluminium, Papper] - product: [Stol, Bil, Dator, Handskar, Pants, Shirt, Table, Shoes, Hat, Plate, Kniv, Flaska, Coat, Lampa. Tangentbord, Bag, Bänk, Klocka, Titta, Plånbok] - - team: - suffix: [IF, FF, BK, HK, AIF, SK, FC, SK, BoIS, FK, BIS, FIF, IK] - name: - - "#{Address.city} #{suffix}" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/uk.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/uk.yml deleted file mode 100644 index 71a9084..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/uk.yml +++ /dev/null @@ -1,75 +0,0 @@ -uk: - faker: - separator: " та " - address: - country: [Австралія, Австрія, Азербайджан, Албанія, Алжир, Ангола, Андорра, Антигуа і Барбуда, Аргентина, Афганістан, Багамські Острови, Бангладеш, Барбадос, Бахрейн, Беліз, Бельгія, Бенін, Білорусь, Болгарія, Болівія, Боснія і Герцеговина, Ботсвана, Бразилія, Бруней, Буркіна-Фасо, Бурунді, Бутан, В’єтнам, Вануату, Ватикан, Велика Британія, Венесуела, Вірменія, Габон, Гаїті, Гайана, Гамбія, Гана, Гватемала, Гвінея, Гвінея-Бісау, Гондурас, Гренада, Греція, Грузія, Данія, Демократична Республіка Конго, Джибуті, Домініка, Домініканська Республіка, Еквадор, Екваторіальна Гвінея, Еритрея, Естонія, Ефіопія, Єгипет, Ємен, Замбія, Зімбабве, Ізраїль, Індія, Індонезія, Ірак, Іран, Ірландія, Ісландія, Іспанія, Італія, Йорданія, Кабо-Верде, Казахстан, Камбоджа, Камерун, Канада, Катар, Кенія, Киргизстан, Китай, Кіпр, Кірибаті, Колумбія, Коморські Острови, Конго, Коста-Рика, "Кот-д’Івуар", Куба, Кувейт, Лаос, Латвія, Лесото, Литва, Ліберія, Ліван, Лівія, Ліхтенштейн, Люксембург, Маврикій, Мавританія, Мадаґаскар, Македонія, Малаві, Малайзія, Малі, Мальдіви, Мальта, Марокко, Маршаллові Острови, Мексика, Мозамбік, Молдова, Монако, Монголія, Намібія, Науру, Непал, Нігер, Нігерія, Нідерланди, Нікарагуа, Німеччина, Нова Зеландія, Норвегія, "Об’єднані Арабські Емірати", Оман, Пакистан, Палау, Панама, Папуа-Нова Гвінея, Парагвай, Перу, Південна Корея, Південний Судан, Південно-Африканська Республіка, Північна Корея, Польща, Португалія, Російська Федерація, Руанда, Румунія, Сальвадор, Самоа, Сан-Марино, Сан-Томе і Принсіпі, Саудівська Аравія, Свазіленд, Сейшельські Острови, Сенеґал, Сент-Вінсент і Гренадини, Сент-Кітс і Невіс, Сент-Люсія, Сербія, Сирія, Сінгапур, Словаччина, Словенія, Соломонові Острови, Сомалі, Судан, Суринам, Східний Тимор, США, Сьєрра-Леоне, Таджикистан, Таїланд, Танзанія, Того, Тонга, Тринідад і Тобаго, Тувалу, Туніс, Туреччина, Туркменістан, Уганда, Угорщина, Узбекистан, Україна, Уругвай, Федеративні Штати Мікронезії, Фіджі, Філіппіни, Фінляндія, Франція, Хорватія, Центральноафриканська Республіка, Чад, Чехія, Чилі, Чорногорія, Швейцарія, Швеція, Шрі-Ланка, Ямайка, Японія] - building_number: ['#', '##', '1##'] - masculine_street_prefix: ['пр.', 'проспект', 'пров.', 'провулок'] - feminine_street_prefix: ['вул.', 'вулиця', 'пл.', 'площа'] - street_prefix: ['вул.', 'вулиця', 'пр.', 'проспект', 'пл.', 'площа', 'пров.', 'провулок'] - street_suffix: "" - secondary_address: ['кв. #', 'кв. ##', 'кв. ###'] - postcode: ['#####'] - state: [АР Крим, Вінницька область, Волинська область, Дніпропетровська область, Донецька область, Житомирська область, Закарпатська область, Запорізька область, Івано-Франківська область, Київська область, Кіровоградська область, Луганська область, Львівська область, Миколаївська область, Одеська область, Полтавська область, Рівненська область, Сумська область, Тернопільська область, Харківська область, Херсонська область, Хмельницька область, Черкаська область, Чернівецька область, Чернігівська область, Київ, Севастополь] - state_abbr: "" - street_title: [Зелена, Молодіжна, Городоцька, Стрийська, Вузька, Нижанківського, Староміська, Ліста, Вічева, Брюховичів, Винників, Рудного, Коліївщини] - masculine_street_title: [Нижанківського, Ліста, Вічева, Рудного] - feminine_street_title: [Зелена, Молодіжна, Городоцька, Стрийська, Вузька, Староміська] - city_name: [Алчевськ, Артемівськ, Бердичів, Бердянськ, Біла Церква, Бровари, Вінниця, Горлівка, Дніпродзержинськ, Дніпропетровськ, Донецьк, Євпаторія, Єнакієве, Житомир, Запоріжжя, Івано-Франківськ, Ізмаїл, Кам’янець-Подільський, Керч, Київ, Кіровоград, Конотоп, Краматорськ, Красний Луч, Кременчук, Кривий Ріг, Лисичанськ, Луганськ, Луцьк, Львів, Макіївка, Маріуполь, Мелітополь, Миколаїв, Мукачеве, Нікополь, Одеса, Олександрія, Павлоград, Полтава, Рівне, Севастополь, Сєвєродонецьк, Сімферополь, Слов’янськ, Суми, Тернопіль, Ужгород, Умань, Харків, Херсон, Хмельницький, Черкаси, Чернівці, Чернігів, Шостка, Ялта] - city_prefix: "" - city_suffix: "" - city: - - "#{city_name}" - street_name: - - "#{feminine_street_prefix} #{feminine_street_title}" - - "#{masculine_street_prefix} #{masculine_street_title}" - street_address: - - "#{street_name}, #{building_number}" - default_country: [Україна] - - internet: - free_email: [ukr.net, ex.ua, e-mail.ua, i.ua, meta.ua, yandex.ua, gmail.com] - domain_suffix: [cherkassy.ua, cherkasy.ua, ck.ua, cn.ua, com.ua, crimea.ua, cv.ua, dn.ua, dnepropetrovsk.ua, dnipropetrovsk.ua, donetsk.ua, dp.ua, if.ua, in.ua, ivano-frankivsk.ua, kh.ua, kharkiv.ua, kharkov.ua, kherson.ua, khmelnitskiy.ua, kiev.ua, kirovograd.ua, km.ua, kr.ua, ks.ua, lg.ua, lt.ua, lugansk.ua, lutsk.ua, lutsk.net, lviv.ua, mk.ua, net.ua, nikolaev.ua, od.ua, odessa.ua, org.ua, pl.ua, pl.ua, poltava.ua, rovno.ua, rv.ua, sebastopol.ua, sm.ua, sumy.ua, te.ua, ternopil.ua, ua, uz.ua, uzhgorod.ua, vinnica.ua, vn.ua, volyn.net, volyn.ua, yalta.ua, zaporizhzhe.ua, zhitomir.ua, zp.ua, zt.ua, укр] - - name: - male_first_name: &male_first_name [Августин, Аврелій, Адам, Адріян, Азарій, Алевтин, Альберт, Анастас, Анастасій, Анатолій, Андрій, Антін, Антон, Антоній, Аркадій, Арсен, Арсеній, Артем, Архип, Аскольд, Афанасій, Біломир, Білослав, Богдан, Божемир, Божен, Болеслав, Боримир, Боримисл, Борис, Борислав, Братимир, Братислав, Братомил, Братослав, Брячислав, Будимир, Буйтур, Буревіст, В’ячеслав, Вадим, Валентин, Валерій, Василь, Велемир, Віктор, Віталій, Влад, Владислав, Володимир, Володислав, Всевлад, Всеволод, Всеслав, Гаврило, Гарнослав, Геннадій, Георгій, Герасим, Гліб, Гнат, Гордій, Горимир, Горислав, Градимир, Григорій, Далемир, Данило, Дарій, Даромир, Денис, Дмитро, Добромир, Добромисл, Доброслав, Євген, Єремій, Захар, Захарій, Зборислав, Звенигор, Звенимир, Звенислав, Земислав, Зеновій, Зиновій, Злат, Златомир, Зоремир, Зореслав, Зорян, Іван, Ігор, Ізяслав, Ілля, Кий, Корнелій, Корнилій, Корнило, Корній, Костянтин, Кузьма, Лаврентій, Лаврін, Лад, Ладислав, Ладо, Ладомир, Левко, Листвич, Лук’ян, Любодар, Любозар, Любомир, Макар, Максим, Мар’ян, Маркіян, Марко, Матвій, Мечислав, Микита, Микола, Мирон, Мирослав, Михайло, Мстислав, Мусій, Назар, Назарій, Натан, Немир, Нестор, Олег, Олександр, Олексій, Олелько, Олесь, Омелян, Орест, Орхип, Остап, Охрім, Павло, Панас, Пантелеймон, Петро, Пилип, Подолян, Потап, Радим, Радимир, Ратибор, Ратимир, Родіон, Родослав, Роксолан, Роман, Ростислав, Руслан, Святополк, Святослав, Семибор, Сергій, Синьоок, Славолюб, Славомир, Славута, Сніжан, Сологуб, Станіслав, Степан, Стефаній, Стожар, Тарас, Тиміш, Тимофій, Тихон, Тур, Устим, Хвалимир, Хорив, Чорнота, Щастислав, Щек, Юліан, Юрій, Юхим, Ян, Ярема, Яровид, Яромил, Яромир, Ярополк, Ярослав] - male_middle_name: [Адамович, Азарович, Алевтинович, Альбертович, Анастасович, Анатолійович, Андрійович, Антонович, Аркадійович, Арсенійович, Арсенович, Артемович, Архипович, Аскольдович, Афанасійович, Білославович, Богданович, Божемирович, Боженович, Болеславович, Боримирович, Борисович, Бориславович, Братиславович, В’ячеславович, Вадимович, Валентинович, Валерійович, Васильович, Вікторович, Віталійович, Владиславович, Володимирович, Всеволодович, Всеславович, Гаврилович, Герасимович, Георгійович, Гнатович, Гордійович, Григорійович, Данилович, Даромирович, Денисович, Дмитрович, Добромирович, Доброславович, Євгенович, Захарович, Захарійович, Збориславович, Звенимирович, Звениславович, Зеновійович, Зиновійович, Златомирович, Зореславович, Іванович, Ігорович, Ізяславович, Корнелійович, Корнилович, Корнійович, Костянтинович, Лаврентійович, Любомирович, Макарович, Максимович, Маркович, Маркіянович, Матвійович, Мечиславович, Микитович, Миколайович, Миронович, Мирославович, Михайлович, Мстиславович, Назарович, Назарійович, Натанович, Немирович, Несторович, Олегович, Олександрович, Олексійович, Олелькович, Омелянович, Орестович, Орхипович, Остапович, Охрімович, Павлович, Панасович, Пантелеймонович, Петрович, Пилипович, Радимирович, Радимович, Родіонович, Романович, Ростиславович, Русланович, Святославович, Сергійович, Славутович, Станіславович, Степанович, Стефанович, Тарасович, Тимофійович, Тихонович, Устимович, Юрійович, Юхимович, Ярославович] - male_last_name: &male_last_name [Андрухович, Бабух, Балабан, Балабух, Балакун, Балицький, Бамбула, Бандера, Барановський, Бачей, Башук, Бердник, Білич, Бондаренко, Борецький, Боровський, Борочко, Боярчук, Брицький, Бурмило, Бутько, Василин, Василишин, Васильківський, Вергун, Вередун, Верещук, Витребенько, Вітряк, Волощук, Гайдук, Гайовий, Гайчук, Галаєнко, Галатей, Галаціон, Гаман, Гамула, Ганич, Гарай, Гарун, Гладківський, Гладух, Глинський, Гнатишин, Гойко, Головець, Горбач, Гордійчук, Горовий, Городоцький, Гречко, Григоришин, Гриневецький, Гриневський, Гришко, Громико, Данилишин, Данилко, Демків, Демчишин, Дзюб’як, Дзюба, Дідух, Дмитришин, Дмитрук, Довгалевський, Дурдинець, Євенко, Євпак, Ємець, Єрмак, Забіла, Зварич, Зінкевич, Зленко, Іванишин, Іванів, Іванців, Калач, Кандиба, Карпух, Каськів, Кивач, Коваленко, Ковальський, Коломієць, Коман, Компанієць, Кононець, Кордун, Корецький, Корнїйчук, Коров’як, Коцюбинський, Кулинич, Кульчицький, Лагойда, Лазірко, Лановий, Латаний, Латанський, Лахман, Левадовський, Ликович, Линдик, Ліхно, Лобачевський, Ломовий, Луговий, Луцький, Луцьків, Лученко, Лучко, Лютий, Лящук, Магера, Мазайло, Мазило, Мазун, Майборода, Майстренко, Маковецький, Малкович, Мамій, Маринич, Марієвський, Марків, Махно, Миклашевський, Миклухо, Милославський, Михайлюк, Міняйло, Могилевський, Москаль, Москалюк, Мотрієнко, Негода, Ногачевський, Опенько, Осадко, Павленко, Павлишин, Павлів, Пагутяк, Паламарчук, Палій, Паращук, Пасічник, Пендик, Петик, Петлюра, Петренко, Петрин, Петришин, Петрів, Плаксій, Погиба, Поліщук, Пономарів, Поривай, Поривайло, Потебенько, Потоцький, Пригода, Приймак, Притула, Прядун, Розпутній, Романишин, Романів, Ромей, Роменець, Ромочко, Савицький, Саєнко, Свидригайло, Семеночко, Семещук, Сердюк, Силецький, Сідлецький, Сідляк, Сірко, Скиба, Скоропадський, Слободян, Сосюра, Сплюх, Спотикач, Стахів, Степанець, Стецьків, Стигайло, Сторожук, Сторчак, Стоян, Сучак, Сушко, Тарасюк, Тиндарей, Ткаченко, Третяк, Троян, Трублаєвський, Трясило, Трясун, Уманець, Унич, Усич, Федоришин, Хитрово, Цимбалістий, Цушко, Червоній, Шамрило, Шевченко, Шестак, Шиндарей, Шиян, Шкараба, Шудрик, Шумило, Шупик, Шухевич, Щербак, Юрчишин, Юхно, Ющик, Ющук, Яворівський, Яловий, Ялюк, Янюк, Ярмак, Яцишин, Яцьків, Ящук] - female_first_name: [Аврелія, Аврора, Агапія, Агата, Агафія, Агнеса, Агнія, Агрипина, Ада, Аделаїда, Аделіна, Адріана, Азалія, Алевтина, Аліна, Алла, Альбіна, Альвіна, Анастасія, Анастасія, Анатолія, Ангеліна, Анжела, Анна, Антонида, Антоніна, Антонія, Анфіса, Аполлінарія, Аполлонія, Аркадія, Артемія, Афанасія, Білослава, Біляна, Благовіста, Богдана, Богуслава, Божена, Болеслава, Борислава, Броніслава, В’ячеслава, Валентина, Валерія, Варвара, Василина, Вікторія, Вілена, Віленіна, Віліна, Віола, Віолетта, Віра, Віргінія, Віта, Віталіна, Влада, Владислава, Власта, Всеслава, Галина, Ганна, Гелена, Далеслава, Дана, Дарина, Дарислава, Діана, Діяна, Добринка, Добромила, Добромира, Добромисла, Доброслава, Долеслава, Доляна, Жанна, Жозефіна, Забава, Звенислава, Зінаїда, Злата, Зореслава, Зорина, Зоряна, Зоя, Іванна, Ілона, Інна, Іннеса, Ірина, Ірма, Калина, Каріна, Катерина, Квітка, Квітослава, Клавдія, Крентта, Ксенія, Купава, Лада, Лариса, Леся, Ликера, Лідія, Лілія, Любава, Любислава, Любов, Любомила, Любомира, Люборада, Любослава, Людмила, Людомила, Майя, Мальва, Мар’яна, Марина, Марічка, Марія, Марта, Меланія, Мечислава, Милодара, Милослава, Мирослава, Мілана, Мокрина, Мотря, Мстислава, Надія, Наталія, Неля, Немира, Ніна, Огняна, Оксана, Олександра, Олена, Олеся, Ольга, Ореста, Орина, Орислава, Орися, Оріяна, Павліна, Палажка, Пелагея, Пелагія, Поліна, Поляна, Потішана, Радміла, Радослава, Раїна, Раїса, Роксолана, Ромена, Ростислава, Руслана, Світлана, Святослава, Слава, Сміяна, Сніжана, Соломія, Соня, Софія, Станислава, Сюзана, Таїсія, Тамара, Тетяна, Устина, Фаїна, Февронія, Федора, Феодосія, Харитина, Христина, Христя, Юліанна, Юлія, Юстина, Юхима, Юхимія, Яна, Ярина, Ярослава] - female_middle_name: [Адамівна, Азарівна, Алевтинівна, Альбертівна, Анастасівна, Анатоліївна, Андріївна, Антонівна, Аркадіївна, Арсенівна, Арсеніївна, Артемівна, Архипівна, Аскольдівна, Афанасіївна, Білославівна, Богданівна, Божемирівна, Боженівна, Болеславівна, Боримирівна, Борисівна, Бориславівна, Братиславівна, В’ячеславівна, Вадимівна, Валентинівна, Валеріївна, Василівна, Вікторівна, Віталіївна, Владиславівна, Володимирівна, Всеволодівна, Всеславівна, Гаврилівна, Гарасимівна, Георгіївна, Гнатівна, Гордіївна, Григоріївна, Данилівна, Даромирівна, Денисівна, Дмитрівна, Добромирівна, Доброславівна, Євгенівна, Захарівна, Захаріївна, Збориславівна, Звенимирівна, Звениславівна, Зеновіївна, Зиновіївна, Златомирівна, Зореславівна, Іванівна, Ігорівна, Ізяславівна, Корнеліївна, Корнилівна, Корніївна, Костянтинівна, Лаврентіївна, Любомирівна, Макарівна, Максимівна, Марківна, Маркіянівна, Матвіївна, Мечиславівна, Микитівна, Миколаївна, Миронівна, Мирославівна, Михайлівна, Мстиславівна, Назарівна, Назаріївна, Натанівна, Немирівна, Несторівна, Олегівна, Олександрівна, Олексіївна, Олельківна, Омелянівна, Орестівна, Орхипівна, Остапівна, Охрімівна, Павлівна, Панасівна, Пантелеймонівна, Петрівна, Пилипівна, Радимирівна, Радимівна, Родіонівна, Романівна, Ростиславівна, Русланівна, Святославівна, Сергіївна, Славутівна, Станіславівна, Степанівна, Стефаніївна, Тарасівна, Тимофіївна, Тихонівна, Устимівна, Юріївна, Юхимівна, Ярославівна] - female_last_name: [Андрухович, Бабух, Балабан, Балабуха, Балакун, Балицька, Бамбула, Бандера, Барановська, Бачей, Башук, Бердник, Білич, Бондаренко, Борецька, Боровська, Борочко, Боярчук, Брицька, Бурмило, Бутько, Василишина, Васильківська, Вергун, Вередун, Верещук, Витребенько, Вітряк, Волощук, Гайдук, Гайова, Гайчук, Галаєнко, Галатей, Галаціон, Гаман, Гамула, Ганич, Гарай, Гарун, Гладківська, Гладух, Глинська, Гнатишина, Гойко, Головець, Горбач, Гордійчук, Горова, Городоцька, Гречко, Григоришина, Гриневецька, Гриневська, Гришко, Громико, Данилишина, Данилко, Демків, Демчишина, Дзюб’як, Дзюба, Дідух, Дмитришина, Дмитрук, Довгалевська, Дурдинець, Євенко, Євпак, Ємець, Єрмак, Забіла, Зварич, Зінкевич, Зленко, Іванишина, Калач, Кандиба, Карпух, Кивач, Коваленко, Ковальська, Коломієць, Коман, Компанієць, Кононець, Кордун, Корецька, Корнїйчук, Коров’як, Коцюбинська, Кулинич, Кульчицька, Лагойда, Лазірко, Ланова, Латан, Латанська, Лахман, Левадовська, Ликович, Линдик, Ліхно, Лобачевська, Ломова, Лугова, Луцька, Луцьків, Лученко, Лучко, Люта, Лящук, Магера, Мазайло, Мазило, Мазун, Майборода, Майстренко, Маковецька, Малкович, Мамій, Маринич, Марієвська, Марків, Махно, Миклашевська, Миклухо, Милославська, Михайлюк, Міняйло, Могилевська, Москаль, Москалюк, Мотрієнко, Негода, Ногачевська, Опенько, Осадко, Павленко, Павлишина, Павлів, Пагутяк, Паламарчук, Палій, Паращук, Пасічник, Пендик, Петик, Петлюра, Петренко, Петрина, Петришина, Петрів, Плаксій, Погиба, Поліщук, Пономарів, Поривай, Поривайло, Потебенько, Потоцька, Пригода, Приймак, Притула, Прядун, Розпутня, Романишина, Ромей, Роменець, Ромочко, Савицька, Саєнко, Свидригайло, Семеночко, Семещук, Сердюк, Силецька, Сідлецька, Сідляк, Сірко, Скиба, Скоропадська, Слободян, Сосюра, Сплюха, Спотикач, Степанець, Стигайло, Сторожук, Сторчак, Стоян, Сучак, Сушко, Тарасюк, Тиндарей, Ткаченко, Третяк, Троян, Трублаєвська, Трясило, Трясун, Уманець, Унич, Усич, Федоришина, Цушко, Червоній, Шамрило, Шевченко, Шестак, Шиндарей, Шиян, Шкараба, Шудрик, Шумило, Шупик, Шухевич, Щербак, Юрчишина, Юхно, Ющик, Ющук, Яворівська, Ялова, Ялюк, Янюк, Ярмак, Яцишина, Яцьків, Ящук] - first_name: *male_first_name - last_name: *male_last_name - name: - - "#{male_first_name} #{male_last_name}" - - "#{male_last_name} #{male_first_name}" - - "#{male_first_name} #{male_middle_name} #{male_last_name}" - - "#{male_last_name} #{male_first_name} #{male_middle_name}" - - "#{female_first_name} #{female_last_name}" - - "#{female_last_name} #{female_first_name}" - - "#{female_first_name} #{female_middle_name} #{female_last_name}" - - "#{female_last_name} #{female_first_name} #{female_middle_name}" - - phone_number: - formats: ['(044) ###-##-##', '(050) ###-##-##', '(063) ###-##-##', '(066) ###-##-##', '(073) ###-##-##', '(091) ###-##-##', '(092) ###-##-##', '(093) ###-##-##', '(094) ###-##-##', '(095) ###-##-##', '(096) ###-##-##', '(097) ###-##-##', '(098) ###-##-##', '(099) ###-##-##'] - cell_phone: - formats: ['(044) ###-##-##', '(050) ###-##-##', '(063) ###-##-##', '(066) ###-##-##', '(073) ###-##-##', '(091) ###-##-##', '(092) ###-##-##', '(093) ###-##-##', '(094) ###-##-##', '(095) ###-##-##', '(096) ###-##-##', '(097) ###-##-##', '(098) ###-##-##', '(099) ###-##-##'] - - commerce: - color: [абрикосовий, аквамариновий, амарантовий, аметистовий, багряний, багряний, баклажановий, барвінковий, бежевий, блаватний, блакитний, блакитно-зелений, блакитно-фіолетовий, блідо-брунатний, блідо-волошковий, блідо-карміновий, блідо-каштановий, блідо-пурпурний, блідо-пісочний, блідо-рожевий, болотний, бронзовий, брунатний, брунатно-малиновий, бузковий, бурий, бурштиновий, білий, бірюзовий, бірюзовий, волошковий, гарбузовий, голубий, гірчичний, джинсовий, жовтий, жовто-зелений, жовто-коричневий, жовто-персиковий, зелений, зеленувато-блакитний, золотаво-березовий, золотий, золотисто-каштановий, каштановий, кобальтовий, кораловий, кремовий, кукурудзяний, лазуровий, лазурово-синій, латунний, лимонний, лимонно-кремовий, ліловий, малахітовий, малиновий, морквяний, мідний, м’ятний, небесно-блакитний, нефритовий, ніжно-блакитний, ніжно-рожевий, оливковий, опівнічно-синій, оранжево-рожевий, пастельно-зелений, пастельно-рожевий, персиковий, помаранчевий, помаранчево-персиковий, пурпурний, пшеничний, рожевий, рожево-ліловий, салатовий, сапфіровий, світло-синій, сиваво-зелений, синьо-фіолетовий, синій, сливовий, смарагдовий, срібний, сірий, темно-брунатний, темно-бірюзовий, темно-зелений, темно-золотий, темно-карміновий, темно-каштановий, темно-кораловий, темно-лососевий, темно-мандариновий, темно-оливковий, темно-персиковий, темно-рожевий, темно-синій, темно-фіолетовий, фіолетовий, червоний, червоно-коричневий, червоно-пурпурний, чорний, шафрановий, шоколадний, яскраво-бурштиновий, яскраво-бірюзовий, яскраво-зелений, яскраво-рожевий, яскраво-фіолетовий, ясно-брунатний, ясно-вишневий] - department: ["Книги", "Фільми", "Музика", "Ігри", "Електроніка", "Комп’ютери", "Дім", "Садові інструменти", "Бакалія", "Здоров’я", "Краса", "Іграшки", "Для дітей", "Для немовлят", "Одяг", "Взуття", "Прикраси", "Спорт", "Туризм", "Для автомобілів", "Промислові інструменти"] - product_name: - adjective: [маленький, ергономічний, грубий, інтелектуальний, прекрасний, неймовірний, фантастичний, практичний, блискучий, вражаючий, величезний, важкий, легкий, аеродинамічний, міцний] - material: [стальний, дерев’яний, бетонний, пластиковий, бавовняний, гранітний, гумовий, шкіряний, шовковий, шерстяний, мармуровий, бронзовий, мідний, алюмінієвий, паперовий] - product: [стілець, автомобіль, комп’ютер, берет, кулон, стіл, светр, ремінь, ніж, піджак, годинник, гаманець, планшет, телефон, телевізор, стіл, холодильник, радіатор, молоток, унітаз, диван] - - company: - prefix: [ТОВ, ПАТ, ПрАТ, ТДВ, КТ, ПТ, ДП, ФОП] - suffix: [постач, торг, пром, трейд, збут] - product: [вапняк, камінь, цемент, бурштин, пісок, метал, мазут, бітум, цегла, скло, дерево] - name: - - "#{prefix} #{Name.female_first_name}" - - "#{prefix} #{Name.male_first_name}" - - "#{prefix} #{Name.male_last_name}" - - "#{prefix} #{Address.city_name}#{product}#{suffix}" - - "#{prefix} #{Address.city_name}#{suffix}" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/vi.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/vi.yml deleted file mode 100644 index f4a2ca7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/vi.yml +++ /dev/null @@ -1,63 +0,0 @@ -# encoding: UTF-8 -vi: - faker: - address: - city_root: ["Bắc Giang", "Bắc Kạn", "Bắc Ninh", "Cao Bằng", "Điện Biên", "Hà Giang", "Hà Nam", "Hà Tây", - "Hải Dương", "TP Hải Phòng", "Hòa Bình", "Hưng Yên", "Lai Châu", "Lào Cai", "Lạng Sơn", "Nam Định", - "Ninh Bình", "Phú Thọ", "Quảng Ninh", "Sơn La", "Thái Bình", "Thái Nguyên", "Tuyên Quang", "Vĩnh Phúc", - "Yên Bái", "TP Đà Nẵng", "Bình Định", "Đắk Lắk", "Đắk Nông", "Gia Lai", "Hà Tĩnh", "Khánh Hòa", "Kon Tum", - "Nghệ An", "Phú Yên", "Quảng Bình", "Quảng Nam", "Quảng Ngãi", "Quảng Trị", "Thanh Hóa", "Thừa Thiên Huế", - "TP TP. Hồ Chí Minh", "An Giang", "Bà Rịa Vũng Tàu", "Bạc Liêu", "Bến Tre", "Bình Dương", "Bình Phước", - "Bình Thuận", "Cà Mau", "TP Cần Thơ", "Đồng Nai", "Đồng Tháp", "Hậu Giang", "Kiên Giang", "Lâm Đồng", - "Long An", "Ninh Thuận", "Sóc Trăng", "Tây Ninh", "Tiền Giang", "Trà Vinh", "Vĩnh Long"] - city: - - "#{city_root}" - postcode: /[A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}/ - county: ["Avon", "Bedfordshire", "Berkshire", "Borders", "Buckinghamshire", "Cambridgeshire", "Central", - "Cheshire", "Cleveland", "Clwyd", "Cornwall", "County Antrim", "County Armagh", "County Down", - "County Fermanagh", "County Londonderry", "County Tyrone", "Cumbria", "Derbyshire", "Devon", - "Dorset", "Dumfries and Galloway", "Durham", "Dyfed", "East Sussex", "Essex", "Fife", "Gloucestershire", - "Grampian", "Greater Manchester", "Gwent", "Gwynedd County", "Hampshire", "Herefordshire", "Hertfordshire", - "Highlands and Islands", "Humberside", "Isle of Wight", "Kent", "Lancashire", "Leicestershire", "Lincolnshire", - "Lothian", "Merseyside", "Mid Glamorgan", "Norfolk", "North Yorkshire", "Northamptonshire", "Northumberland", - "Nottinghamshire", "Oxfordshire", "Powys", "Rutland", "Shropshire", "Somerset", "South Glamorgan", "South Yorkshire", - "Staffordshire", "Strathclyde", "Suffolk", "Surrey", "Tayside", "Tyne and Wear", "Việt Nam", "Warwickshire", - "West Glamorgan", "West Midlands", "West Sussex", "West Yorkshire", "Wiltshire", "Worcestershire"] - default_country: ["Việt Nam"] - internet: - domain_suffix: [com, net, info, vn, com.vn] - phone_number: - formats: ['01#### #####', '01### ######', '01#1 ### ####', '011# ### ####', '02# #### ####', '03## ### ####', '055 #### ####', '056 #### ####', '0800 ### ####', '08## ### ####', '09## ### ####', '016977 ####', '01### #####', '0500 ######', '0800 ######'] - cell_phone: - formats: ['074## ######', '075## ######', '076## ######', '077## ######', '078## ######', '079## ######'] - name: - first_name: ["Phạm", "Nguyễn", "Trần", "Lê", "Lý", "Hoàng", "Phan", "Vũ", "Tăng", - "Đặng", "Bùi", "Đỗ", "Hồ", "Ngô", "Dương", "Đào", "Đoàn", "Vương", - "Trịnh", "Đinh", "Lâm", "Phùng", "Mai", "Tô", "Trương", "Hà"] - last_name: ["Nam", "Trung", "Thanh", "Thị", "Văn", "Dương", "Tăng", "Quốc", "Như", - "Phạm", "Nguyễn", "Trần", "Lê", "Lý", "Hoàng", "Phan", "Vũ", "Tăng", - "Đặng", "Bùi", "Đỗ", "Hồ", "Ngô", "Dương", "Đào", "Đoàn", "Vương", - "Trịnh", "Đinh", "Lâm", "Phùng", "Mai", "Tô", "Trương", "Hà", - "Vinh", "Nhung", "Hòa", "Tiến", "Tâm", "Bửu", "Loan", "Hiền", "Hải", - "Vân", "Kha", "Minh", "Nhân", "Triệu", "Tuân", "Hữu", "Đức", "Phú", "Khoa", - "Thắgn", "Sơn", "Dung", "Tú", "Trinh", "Thảo", "Sa", "Kim", "Long", "Thi", - "Cường", "Ngọc", "Sinh", "Khang", "Phong", "Thắm", "Thu", "Thủy", "Nhàn"] - name: - - "#{first_name} #{last_name}" - - "#{first_name} #{last_name} #{last_name}" - - "#{first_name} #{last_name} #{last_name} #{last_name}" - company: - prefix: ["Công ty", "Cty TNHH", "Cty", "Cửa hàng", "Trung tâm", "Chi nhánh"] - name: - - "#{prefix} #{Name.last_name}" - lorem: - words: ["đã", "đang", "ừ", "ờ", "á", "không", "biết", "gì", "hết", "đâu", "nha", - "thế", "thì", "là", "đánh", "đá", "đập", "phá", "viết", "vẽ", "tô", "thuê", - "mướn", "mượn", "mua", "một", "hai", "ba", "bốn", "năm", "sáu", "bảy", "tám", - "chín", "mười", "thôi", "việc", "nghỉ", "làm", "nhà", "cửa", "xe", "đạp", "ác", - "độc", "khoảng", "khoan", "thuyền", "tàu", "bè", "lầu", "xanh", "đỏ", "tím", "vàng", - "kim", "chỉ", "khâu", "may", "vá", "em", "anh", "yêu", "thương", "thích", "con", "cái", - "bàn", "ghế", "tủ", "quần", "áo", "nón", "dép", "giày", "lỗi", "được", "ghét", "giết", - "chết", "hết", "tôi", "bạn", "tui", "trời", "trăng", "mây", "gió", "máy", "hàng", "hóa", - "leo", "núi", "bơi", "biển", "chìm", "xuồng", "nước", "ngọt", "ruộng", "đồng", "quê", "hương"] - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/zh-CN.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/zh-CN.yml deleted file mode 100644 index 164884b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/zh-CN.yml +++ /dev/null @@ -1,27 +0,0 @@ -# coding: utf-8 -zh-CN: - faker: - address: - city_prefix: [长, 上, 南, 西, 北, 诸, 宁, 珠, 武, 衡, 成, 福, 厦, 贵, 吉, 海, 太, 济, 安, 吉, 包] - city_suffix: [沙市, 京市, 宁市, 安市, 乡县, 海市, 码市, 汉市, 阳市, 都市, 州市, 门市, 阳市, 口市, 原市, 南市, 徽市, 林市, 头市] - building_number: ['#####', '####', '###', '##', '#'] - street_suffix: [巷, 街, 路, 桥, 侬, 旁, 中心, 栋] - postcode: ['######'] - state: [北京市, 上海市, 天津市, 重庆市, 黑龙江省, 吉林省, 辽宁省, 内蒙古, 河北省, 新疆, 甘肃省, 青海省, 陕西省, 宁夏, 河南省, 山东省, 山西省, 安徽省, 湖北省, 湖南省, 江苏省, 四川省, 贵州省, 云南省, 广西省, 西藏, 浙江省, 江西省, 广东省, 福建省, 海南省, 香港, 澳门] - state_abbr: [京, 沪, 津, 渝, 黑, 吉, 辽, 蒙, 冀, 新, 甘, 青, 陕, 宁, 豫, 鲁, 晋, 皖, 鄂, 湘, 苏, 川, 黔, 滇, 桂, 藏, 浙, 赣, 粤, 闽, 琼, 港, 澳] - city: - - "#{city_prefix}#{city_suffix}" - street_name: - - "#{Name.last_name}#{street_suffix}" - street_address: - - "#{street_name}#{building_number}号" - default_country: [中国] - - - name: - last_name: [王, 李, 张, 刘, 陈, 杨, 黄, 吴, 赵, 周, 徐, 孙, 马, 朱, 胡, 林, 郭, 何, 高, 罗, 郑, 梁, 谢, 宋, 唐, 许, 邓, 冯, 韩, 曹, 曾, 彭, 萧, 蔡, 潘, 田, 董, 袁, 于, 余, 叶, 蒋, 杜, 苏, 魏, 程, 吕, 丁, 沈, 任, 姚, 卢, 傅, 钟, 姜, 崔, 谭, 廖, 范, 汪, 陆, 金, 石, 戴, 贾, 韦, 夏, 邱, 方, 侯, 邹, 熊, 孟, 秦, 白, 江, 阎, 薛, 尹, 段, 雷, 黎, 史, 龙, 陶, 贺, 顾, 毛, 郝, 龚, 邵, 万, 钱, 严, 赖, 覃, 洪, 武, 莫, 孔] - first_name: [绍齐, 博文, 梓晨, 胤祥, 瑞霖, 明哲, 天翊, 凯瑞, 健雄, 耀杰, 潇然, 子涵, 越彬, 钰轩, 智辉, 致远, 俊驰, 雨泽, 烨磊, 晟睿, 文昊, 修洁, 黎昕, 远航, 旭尧, 鸿涛, 伟祺, 荣轩, 越泽, 浩宇, 瑾瑜, 皓轩, 擎苍, 擎宇, 志泽, 子轩, 睿渊, 弘文, 哲瀚, 雨泽, 楷瑞, 建辉, 晋鹏, 天磊, 绍辉, 泽洋, 鑫磊, 鹏煊, 昊强, 伟宸, 博超, 君浩, 子骞, 鹏涛, 炎彬, 鹤轩, 越彬, 风华, 靖琪, 明辉, 伟诚, 明轩, 健柏, 修杰, 志泽, 弘文, 峻熙, 嘉懿, 煜城, 懿轩, 烨伟, 苑博, 伟泽, 熠彤, 鸿煊, 博涛, 烨霖, 烨华, 煜祺, 智宸, 正豪, 昊然, 明杰, 立诚, 立轩, 立辉, 峻熙, 弘文, 熠彤, 鸿煊, 烨霖, 哲瀚, 鑫鹏, 昊天, 思聪, 展鹏, 笑愚, 志强, 炫明, 雪松, 思源, 智渊, 思淼, 晓啸, 天宇, 浩然, 文轩, 鹭洋, 振家, 乐驹, 晓博, 文博, 昊焱, 立果, 金鑫, 锦程, 嘉熙, 鹏飞, 子默, 思远, 浩轩, 语堂, 聪健, 明, 文, 果, 思, 鹏, 驰, 涛, 琪, 浩, 航, 彬] - name: - - "#{last_name}#{first_name}" - phone_number: - formats: ['###-########', '####-########', '###########'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/zh-TW.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/zh-TW.yml deleted file mode 100644 index 3637f8e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/lib/locales/zh-TW.yml +++ /dev/null @@ -1,27 +0,0 @@ -# coding: utf-8 -zh-TW: - faker: - address: - city_prefix: [新, 竹, 竹, 新, 關, 峨, 寶, 北, 橫, 芎, 湖, 新, 尖, 五, 苗, 苗, 通, 苑, 竹, 頭, 後, 卓, 西, 頭, 公, 銅, 三, 造, 三, 南, 大, 獅, 泰, 彰, 彰, 員, 和, 鹿, 溪, 二, 田, 北, 花, 芬, 大, 永, 伸, 線, 福, 秀, 埔, 埔, 大, 芳, 竹, 社, 二, 田, 埤, 溪, 南, 南, 埔, 草, 竹, 集, 名, 鹿, 中, 魚, 國, 水, 信, 仁, 雲, 斗, 斗, 虎, 西, 土, 北, 莿, 林, 古, 大, 崙, 二, 麥, 臺, 東, 褒, 四, 口, 水, 元, 嘉, 太, 朴, 布, 大, 民, 溪, 新, 六, 東, 義, 鹿, 水, 中, 竹, 梅, 番, 大, 阿, 屏, 屏, 潮, 東, 恆, 萬, 長, 麟, 九, 里, 鹽, 高, 萬, 內, 竹, 新, 枋, 新, 崁, 林, 南, 佳, 琉, 車, 滿, 枋, 霧, 瑪, 泰, 來, 春, 獅, 牡, 三, 宜, 宜, 羅, 蘇, 頭, 礁, 壯, 員, 冬, 五, 三, 大, 南, 花, 花, 鳳, 玉, 新, 吉, 壽, 秀, 光, 豐, 瑞, 萬, 富, 卓, 臺, 臺, 成, 關, 長, 海, 池, 東, 鹿, 延, 卑, 金, 大, 達, 綠, 蘭, 太, 澎, 馬, 湖, 白, 西, 望, 七, 金, 金, 金, 金, 金, 烈, 烏, 連, 南, 北, 莒, 東] - city_suffix: [竹縣, 北市, 東鎮, 埔鎮, 西鎮, 眉鄉, 山鄉, 埔鄉, 山鄉, 林鄉, 口鄉, 豐鄉, 石鄉, 峰鄉, 栗縣, 栗市, 霄鎮, 裡鎮, 南鎮, 份鎮, 龍鎮, 蘭鎮, 湖鄉, 屋鄉, 館鄉, 鑼鄉, 義鄉, 橋鄉, 灣鄉, 庄鄉, 湖鄉, 潭鄉, 安鄉, 化縣, 化市, 林鎮, 美鎮, 港鎮, 湖鎮, 林鎮, 中鎮, 斗鎮, 壇鄉, 園鄉, 村鄉, 靖鄉, 港鄉, 西鄉, 興鄉, 水鄉, 心鄉, 鹽鄉, 城鄉, 苑鄉, 塘鄉, 頭鄉, 水鄉, 尾鄉, 頭鄉, 州鄉, 投縣, 投市, 里鎮, 屯鎮, 山鎮, 集鎮, 間鄉, 谷鄉, 寮鄉, 池鄉, 姓鄉, 里鄉, 義鄉, 愛鄉, 林縣, 六市, 南鎮, 尾鎮, 螺鎮, 庫鎮, 港鎮, 桐鄉, 內鄉, 坑鄉, 埤鄉, 背鄉, 崙鄉, 寮鄉, 西鄉, 勢鄉, 忠鄉, 湖鄉, 湖鄉, 林鄉, 長鄉, 義縣, 保市, 子市, 袋鎮, 林鎮, 雄鄉, 口鄉, 港鄉, 腳鄉, 石鄉, 竹鄉, 草鄉, 上鄉, 埔鄉, 崎鄉, 山鄉, 路鄉, 埔鄉, 里山鄉, 東縣, 東市, 州鎮, 港鎮, 春鎮, 丹鄉, 治鄉, 洛鄉, 如鄉, 港鄉, 埔鄉, 樹鄉, 巒鄉, 埔鄉, 田鄉, 埤鄉, 寮鄉, 園鄉, 頂鄉, 邊鄉, 州鄉, 冬鄉, 球鄉, 城鄉, 州鄉, 山鄉, 台鄉, 家鄉, 武鄉, 義鄉, 日鄉, 子鄉, 丹鄉, 地門鄉, 蘭縣, 蘭市, 東鎮, 澳鎮, 城鎮, 溪鄉, 圍鄉, 山鄉, 山鄉, 結鄉, 星鄉, 同鄉, 澳鄉, 蓮縣, 蓮市, 林鎮, 里鎮, 城鄉, 安鄉, 豐鄉, 林鄉, 復鄉, 濱鄉, 穗鄉, 榮鄉, 里鄉, 溪鄉, 東縣, 東市, 功鎮, 山鎮, 濱鄉, 端鄉, 上鄉, 河鄉, 野鄉, 平鄉, 南鄉, 峰鄉, 武鄉, 仁鄉, 島鄉, 嶼鄉, 麻里鄉, 湖縣, 公市, 西鄉, 沙鄉, 嶼鄉, 安鄉, 美鄉, 門縣, 城鎮, 湖鎮, 沙鎮, 寧鄉, 嶼鄉, 坵鄉, 江縣, 竿鄉, 竿鄉, 光鄉, 引鄉] - building_number: ['###', '##', '#'] - street_suffix: [大道, 路, 街, 巷, 弄, 衖] - postcode: ['#####'] - state: [臺北市, 新北市, 桃園市, 臺中市, 臺南市, 高雄市, 基隆市, 新竹市, 嘉義市, 新竹縣, 竹北市, 苗栗縣, 苗栗市, 彰化縣, 彰化市, 南投縣, 南投市, 雲林縣, 斗六市, 嘉義縣, 太保市, 屏東縣, 屏東市, 宜蘭縣, 宜蘭市, 臺東縣, 臺東市, 澎湖縣, 金門縣, 連江縣] - state_abbr: [北, 桃, 竹, 苗, 中, 彰, 雲, 嘉, 南, 高, 屏, 東, 花, 宜, 基] - city: - - "#{city_prefix}#{city_suffix}" - street_name: - - "#{Name.last_name}#{street_suffix}" - street_address: - - "#{street_name} #{building_number} 號" - default_country: [台灣] - - - name: - last_name: [趙, 錢, 孫, 李, 周, 吳, 鄭, 王, 馮, 陳, 褚, 衛, 蔣, 沈, 韓, 楊, 朱, 秦, 尤, 許, 何, 呂, 施, 張, 孔, 曹, 嚴, 華, 金, 魏, 陶, 薑, 戚, 謝, 鄒, 喻, 柏, 水, 竇, 章, 雲, 蘇, 潘, 葛, 奚, 範, 彭, 郎, 魯, 韋, 昌, 馬, 苗, 鳳, 花, 方, 俞, 任, 袁, 柳, 酆, 鮑, 史, 唐, 費, 廉, 岑, 薛, 雷, 賀, 倪, 湯, 滕, 殷, 羅, 畢, 郝, 鄔, 安, 常, 樂, 於, 時, 傅, 皮, 卞, 齊, 康, 伍, 餘, 元, 蔔, 顧, 孟, 平, 黃, 和, 穆, 蕭, 尹, 姚, 邵, 湛, 汪, 祁, 毛, 禹, 狄, 米, 貝, 明, 臧, 計, 伏, 成, 戴, 談, 宋, 茅, 龐, 熊, 紀, 舒, 屈, 項, 祝, 董, 梁, 杜, 阮, 藍, 閔, 席, 季, 麻, 強, 賈, 路, 婁, 危, 江, 童, 顏, 郭, 梅, 盛, 林, 刁, 鍾, 徐, 邱, 駱, 高, 夏, 蔡, 田, 樊, 胡, 淩, 霍, 虞, 萬, 支, 柯, 昝, 管, 盧, 莫, 柯, 房, 裘, 繆, 幹, 解, 應, 宗, 丁, 宣, 賁, 鄧, 鬱, 單, 杭, 洪, 包, 諸, 左, 石, 崔, 吉, 鈕, 龔, 程, 嵇, 邢, 滑, 裴, 陸, 榮, 翁, 荀, 羊, 于, 惠, 甄, 曲, 家, 封, 芮, 羿, 儲, 靳, 汲, 邴, 糜, 松, 井, 段, 富, 巫, 烏, 焦, 巴, 弓, 牧, 隗, 山, 穀, 車, 侯, 宓, 蓬, 全, 郗, 班, 仰, 秋, 仲, 伊, 宮, 甯, 仇, 欒, 暴, 甘, 鈄, 曆, 戎, 祖, 武, 符, 劉, 景, 詹, 束, 龍, 葉, 幸, 司, 韶, 郜, 黎, 薊, 溥, 印, 宿, 白, 懷, 蒲, 邰, 從, 鄂, 索, 鹹, 籍, 賴, 卓, 藺, 屠, 蒙, 池, 喬, 陽, 鬱, 胥, 能, 蒼, 雙, 聞, 莘, 党, 翟, 譚, 貢, 勞, 逄, 姬, 申, 扶, 堵, 冉, 宰, 酈, 雍, 卻, 璩, 桑, 桂, 濮, 牛, 壽, 通, 邊, 扈, 燕, 冀, 浦, 尚, 農, 溫, 別, 莊, 晏, 柴, 瞿, 閻, 充, 慕, 連, 茹, 習, 宦, 艾, 魚, 容, 向, 古, 易, 慎, 戈, 廖, 庾, 終, 暨, 居, 衡, 步, 都, 耿, 滿, 弘, 匡, 國, 文, 寇, 廣, 祿, 闕, 東, 歐, 殳, 沃, 利, 蔚, 越, 夔, 隆, 師, 鞏, 厙, 聶, 晁, 勾, 敖, 融, 冷, 訾, 辛, 闞, 那, 簡, 饒, 空, 曾, 毋, 沙, 乜, 養, 鞠, 須, 豐, 巢, 關, 蒯, 相, 查, 後, 荊, 紅, 遊, 竺, 權, 逮, 盍, 益, 桓, 公, 萬俟, 司馬, 上官, 歐陽, 夏侯, 諸葛, 聞人, 東方, 赫連, 皇甫, 尉遲, 公羊, 澹台, 公冶, 宗政, 濮陽, 淳于, 單於, 太叔, 申屠, 公孫, 仲孫, 軒轅, 令狐, 徐離, 宇文, 長孫, 慕容, 司徒, 司空] - first_name: [怡君, 欣怡, 雅雯, 心怡, 志豪, 雅婷, 雅惠, 家豪, 雅玲, 靜怡, 志偉, 俊宏, 建宏, 佩君, 怡婷, 淑芬, 靜宜, 俊傑, 怡如, 家銘, 佳玲, 慧君, 怡伶, 雅芳, 宗翰, 志宏, 淑娟, 信宏, 志強, 淑婷, 佩珊, 佳慧, 佳蓉, 佳穎, 淑惠, 智偉, 欣儀, 嘉玲, 雅慧, 惠雯, 玉婷, 惠如, 惠君, 宜芳, 惠婷, 淑華, 志明, 雅芬, 家榮, 俊賢, 俊豪, 慧玲, 嘉宏, 佩芬, 佳樺, 雅琪, 淑萍, 淑君, 婉婷, 佳琪, 韻如, 詩婷, 建良, 芳儀, 宜君, 佩蓉, 志銘, 雅鈴, 建文, 佩玲, 鈺婷, 雅萍, 立偉, 文傑, 慧如, 淑慧, 佳宏, 志遠, 靜儀, 惠玲, 淑玲, 美君, 怡慧, 千慧, 馨儀, 嘉慧, 家瑋, 美慧, 美玲, 建志, 宗憲, 筱婷, 靜雯, 雅君, 彥廷, 怡靜, 玉玲, 郁婷, 俊男] - name: - - "#{last_name}#{first_name}" - phone_number: - formats: ['###-########', '####-########', '###########'] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_array_sample_method_compat.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_array_sample_method_compat.rb deleted file mode 100644 index e0dd74e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_array_sample_method_compat.rb +++ /dev/null @@ -1,56 +0,0 @@ -require File.dirname(__FILE__) + '/test_helper.rb' - -# when these tests are run under Ruby 1.8.7, they will use the -# self-defined Array#sample method in lib/extensions/array and will test whether it -# behaves as the built-in Array#sample method from Ruby 1.9 or greater. -# Under Ruby 1.9, they simply use the built-in Array#sample method -class TestArraySampleMethodCompatibility < Test::Unit::TestCase - - def test_returns_nil_or_empty_array_with_empty_source - source = [] - - result = source.sample - assert result.nil? - - result = source.sample(1) - assert_equal result, [] - end - - def test_returns_one_array_elem_without_param - source = ['foo', 'bar'] - result = source.sample - assert source.include? result - end - - def test_returns_empty_array_with_param_zero - source = ['foo', 'bar'] - result = source.sample(0) - assert_equal result, [] - end - - def test_returns_an_array_with_integer_param - source = ['foo', 'bar', 'baz'] - result = source.sample(2) - assert result.is_a? Array - assert result.length == 2 - assert((result - source).empty?) - end - - def test_returns_source_array_with_integer_param_equal_or_bigger_than_source_length - source = ['foo','bar'] - result = source.sample(2) - assert result.is_a? Array - assert((source.sort <=> result.sort) == 0) - - result = source.sample(3) - assert result.is_a? Array - assert((source.sort <=> result.sort) == 0) - end - - def test_raises_Argument_Error_with_negative_param - source = ['foo','bar'] - assert_raise ArgumentError do - source.sample(-1) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_avatar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_avatar.rb deleted file mode 100644 index 7de426e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_avatar.rb +++ /dev/null @@ -1,39 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerAvatar < Test::Unit::TestCase - def setup - @tester = Faker::Avatar - end - - def test_avatar - assert @tester.image.match(/http:\/\/robohash\.org\/(.+)\.png/)[1] != nil - end - - def test_avatar_with_param - assert @tester.image('faker').match(/http:\/\/robohash\.org\/(.+)\.png/)[1] == 'faker' - end - - def test_avatar_with_correct_size - assert @tester.image('faker', '150x320').match(/http:\/\/robohash\.org\/faker\.png\?size=(.+)&.*/)[1] == '150x320' - end - - def test_avatar_with_incorrect_size - assert_raise ArgumentError do - @tester.image(nil, '150x320z') - end - end - - def test_avatar_with_supported_format - assert @tester.image('faker', '300x300', 'jpg').match(/http:\/\/robohash\.org\/faker\.jpg/) - end - - def test_avatar_with_incorrect_format - assert_raise ArgumentError do - @tester.image(nil, '300x300', 'wrong_format') - end - end - - def test_avatar_with_set - assert @tester.image('faker', '300x300', 'jpg', 'set2').match(/http:\/\/robohash\.org\/faker\.jpg.*set=set2/) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_au_ocker_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_au_ocker_locale.rb deleted file mode 100644 index 1cbb802..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_au_ocker_locale.rb +++ /dev/null @@ -1,23 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestEnUsLocale < Test::Unit::TestCase - def setup - Faker::Config.locale = nil - end - - def teardown - Faker::Config.locale = nil - end - - def test_au_ocker_methods_with_en_au_ocker_locale - Faker::Config.locale = 'en-au-ocker' - - assert Faker::Name.first_name.is_a? String - assert Faker::Name.last_name.is_a? String - assert Faker::Name.ocker_first_name.is_a? String - assert Faker::Address.street_name.is_a? String - assert Faker::Address.city.is_a? String - assert Faker::Address.region.is_a? String - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_ca_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_ca_locale.rb deleted file mode 100644 index d5d9e89..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_ca_locale.rb +++ /dev/null @@ -1,18 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestEnCaLocale < Test::Unit::TestCase - def setup - @previous_locale = Faker::Config.locale - Faker::Config.locale = 'en-CA' - end - - def teardown - Faker::Config.locale = @previous_locale - end - - def test_ca_postcode - expected = /[A-VX-Y][0-9][A-CEJ-NPR-TV-Z] ?[0-9][A-CEJ-NPR-TV-Z][0-9]/ - assert_match(expected, Faker::Address.postcode) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_locale.rb deleted file mode 100644 index 1684d50..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_locale.rb +++ /dev/null @@ -1,25 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TesetEnLocale < Test::Unit::TestCase - def setup - Faker::Config.locale = nil - end - - def teardown - Faker::Config.locale = nil - end - - def test_us_states_only_include_states - assert_equal LoadedYaml['en']['address']['state'].size, 50 - assert_equal LoadedYaml['en']['address']['state'], ['Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'Florida', 'Georgia', 'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey', 'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina', 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming'] - assert_equal LoadedYaml['en']['address']['state_abbr'].size, 50 - assert_equal LoadedYaml['en']['address']['state_abbr'], ['AL', 'AK', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'FL', 'GA', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'OH', 'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VA', 'WA', 'WV', 'WI', 'WY'] - end - - def test_us_zip_codes - Faker::Config.locale = 'en-US' - expected = /\d{5}(\-\d{4})?/ - assert_match(expected, Faker::Address.zip_code) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_ug_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_ug_locale.rb deleted file mode 100644 index 892fd68..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_ug_locale.rb +++ /dev/null @@ -1,23 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestEnUgLocale < Test::Unit::TestCase - def setup - @previous_locale = Faker::Config.locale - Faker::Config.locale = 'en-UG' - end - - def teardown - Faker::Config.locale = @previous_locale - end - - def test_validity_of_phone_number - validation_regex = /^((0)|(256)|(\+256))((39)|(41))\d{7}$/ - assert_match(validation_regex, Faker::PhoneNumber.phone_number.gsub(' ','')) - end - - def test_validity_of_cell_phone - validation_regex = /^((0)|(256)|(\+256))((70)|(71)|(72)|(74)|(75)|(77)|(78)|(79))\d{7}$/ - assert_match(validation_regex, Faker::PhoneNumber.cell_phone.gsub(' ','')) - end - -end \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_us_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_us_locale.rb deleted file mode 100644 index 6dbbdde..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_en_us_locale.rb +++ /dev/null @@ -1,79 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TesetEnUsLocale < Test::Unit::TestCase - def setup - Faker::Config.locale = nil - end - - def teardown - Faker::Config.locale = nil - end - - def test_us_phone_methods_return_nil_for_nil_locale - assert_nil Faker::PhoneNumber.area_code - assert_nil Faker::PhoneNumber.exchange_code - end - - def test_subscriber_number_method - assert Faker::PhoneNumber.subscriber_number.is_a? String - assert_equal Faker::PhoneNumber.subscriber_number.length, 4 - assert_equal Faker::PhoneNumber.subscriber_number(10).length, 10 - assert_equal Faker::PhoneNumber.method(:extension), Faker::PhoneNumber.method(:subscriber_number) - end - - def test_us_phone_methods_with_en_us_locale - Faker::Config.locale = 'en-US' - - assert Faker::PhoneNumber.area_code.is_a? String - assert Faker::PhoneNumber.area_code.to_i.is_a? Integer - assert_equal Faker::PhoneNumber.area_code.length, 3 - - assert Faker::PhoneNumber.exchange_code.is_a? String - assert Faker::PhoneNumber.exchange_code.to_i.is_a? Integer - assert_equal Faker::PhoneNumber.exchange_code.length, 3 - end - - def test_validity_of_phone_method_output - Faker::Config.locale = 'en-US' - - # got the following regex from http://stackoverflow.com/a/123666/1210055 as an expression of the NANP standard. - us_number_validation_regex = /^(?:(?:\+?1\s*(?:[.-]\s*)?)?(?:\(\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\s*\)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\s*(?:[.-]\s*)?)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\s*(?:[.-]\s*)?([0-9]{4})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?$/ - assert_match(us_number_validation_regex, Faker::PhoneNumber.phone_number) - end - - def test_us_invalid_state_raises_exception - Faker::Config.locale = 'en-US' - assert_raise I18n::MissingTranslationData do Faker::Address.zip_code('NA') end - end - - def test_us_zip_codes_match_state - - Faker::Config.locale = 'en-US' - - state_abbr = 'AZ' - expected = /^850\d\d$/ - assert_match(expected, Faker::Address.zip_code(state_abbr)) - - # disjointed ranges for these states - # http://www.fincen.gov/forms/files/us_state_territory_zip_codes.pdf - state_abbr = 'AR' - expected = /^717\d\d$/ - assert_match(expected, Faker::Address.zip_code(state_abbr)) - state_abbr = 'GA' - expected = /^301\d\d$/ - assert_match(expected, Faker::Address.zip_code(state_abbr)) - state_abbr = 'MA' - expected = /^026\d\d$/ - assert_match(expected, Faker::Address.zip_code(state_abbr)) - state_abbr = 'NY' - expected = /^122\d\d$/ - assert_match(expected, Faker::Address.zip_code(state_abbr)) - state_abbr = 'TX' - expected = /^798\d\d$/ - assert_match(expected, Faker::Address.zip_code(state_abbr)) - state_abbr = 'VA' - expected = /^222\d\d$/ - assert_match(expected, Faker::Address.zip_code(state_abbr)) - - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_es_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_es_locale.rb deleted file mode 100644 index 2f016ac..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_es_locale.rb +++ /dev/null @@ -1,34 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -LoadedEsYaml = ['en', 'es'].inject({}) do |h, locale| - h[locale] = YAML.load_file(File.expand_path(File.dirname(__FILE__) + "/../lib/locales/#{locale}.yml"))[locale]['faker'] - h -end - -class TestEsLocale < Test::Unit::TestCase - def teardown - Faker::Config.locale = nil - end - - def test_locale_separate_from_i18n - I18n.locale = :en - Faker::Config.locale = :es - assert Faker::Address.street_name.match(//) - end - - def test_configured_locale_translation - Faker::Config.locale = 'es' - assert_equal Faker::Base.translate('faker.address.city_prefix').first, LoadedEsYaml['es']['address']['city_prefix'].first - end - - def test_locale_override_when_calling_translate - Faker::Config.locale = 'es' - assert_equal Faker::Base.translate('faker.lorem.words', :locale => :en).first, LoadedEsYaml['en']['lorem']['words'].first - end - - def test_translation_fallback - Faker::Config.locale = 'es' - assert_nil LoadedEsYaml['es']['company']['bs'] - assert_equal Faker::Base.translate('faker.company.bs'), LoadedEsYaml['en']['company']['bs'] - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker.rb deleted file mode 100644 index 38523d9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker.rb +++ /dev/null @@ -1,29 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFaker < Test::Unit::TestCase - - def setup - end - - def test_numerify - 100.times do - assert Faker::Base.numerify('###').match(/[1-9]\d{2}/) - end - end - - def test_letterify - assert Faker::Base.letterify('???').match(/[A-Z]{3}/) - end - - def test_regexify - { - 'uk post code' => /^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$/, - 'us phone' => /^(1-?)[2-8][0-1][0-9]-\d{3}-\d{4}$/ - }.each do |label, re| - 10.times do - assert re.match(result = Faker::Base.regexify(re)), "#{result} is not a match for #{label}" - end - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_app.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_app.rb deleted file mode 100644 index fd017b9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_app.rb +++ /dev/null @@ -1,12 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerApp < Test::Unit::TestCase - def setup - @tester = Faker::App - end - - def test_name - assert @tester.author.match(/(\w+\.? ?){2,3}/) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_bitcoin.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_bitcoin.rb deleted file mode 100644 index 8d7cd59..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_bitcoin.rb +++ /dev/null @@ -1,14 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerBitcoin < Test::Unit::TestCase - - def test_address - assert Faker::Bitcoin.address.match(/^[13][1-9A-Za-z][^OIl]{20,40}/) - end - - def test_testnet_address - assert_match(/\A[mn][1-9A-Za-z]{32,34}\Z/, Faker::Bitcoin.testnet_address) - assert_not_match(/[OIl]/, Faker::Bitcoin.testnet_address) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_book.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_book.rb deleted file mode 100644 index 35e9c9a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_book.rb +++ /dev/null @@ -1,20 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerBook < Test::Unit::TestCase - - def setup - @tester = Faker::Book - end - - def test_title - assert @tester.title.match(/(\w+\.? ?){2,3}/) - end - - def test_author - assert @tester.author.match(/(\w+\.? ?){2,3}/) - end - - def test_publisher - assert @tester.author.match(/(\w+\.? ?){2,3}/) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_business.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_business.rb deleted file mode 100644 index 90aaea2..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_business.rb +++ /dev/null @@ -1,34 +0,0 @@ -require File.dirname(__FILE__) + '/test_helper.rb' - -class TestFakerBusiness < Test::Unit::TestCase - - def setup - @tester = Faker::Business - @credit_card_number_list = I18n.translate('faker.business.credit_card_numbers') - @credit_card_types = I18n.translate('faker.business.credit_card_types') - @minimum_expiry_date = ::Date.today + 365 - @maximum_expiry_date = ::Date.today + (365 * 4) - end - - def test_credit_card_number - number1 = @tester.credit_card_number - number2 = @tester.credit_card_number - assert @credit_card_number_list.include?(number1) - assert @credit_card_number_list.include?(number2) - end - - def test_credit_card_expiry_date - date1 = @tester.credit_card_expiry_date - date2 = @tester.credit_card_expiry_date - assert date1.between?(@minimum_expiry_date, @maximum_expiry_date) - assert date2.between?(@minimum_expiry_date, @maximum_expiry_date) - end - - def test_credit_card_type - type1 = @tester.credit_card_type - type2 = @tester.credit_card_type - assert @credit_card_types.include?(type1) - assert @credit_card_types.include?(type2) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_city.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_city.rb deleted file mode 100644 index e096be4..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_city.rb +++ /dev/null @@ -1,45 +0,0 @@ -require File.dirname(__FILE__) + '/test_helper.rb' - -class TestFakerCity < Test::Unit::TestCase - def setup - xx = { - :faker => { - :name => {:first_name => ['alice'], :last_name => ['smith']}, - :address => {:city_prefix => ['west'], :city_suffix => ['burg']} - } - } - I18n.backend.store_translations(:xx, xx) - - xy = { - :faker => { - :address => { - :city_prefix => ['big'], - :city_root => ['rock'], - :city_root_suffix => ['ing'], - :city_suffix => ['town'], - :city => ['#{city_prefix} #{city_root}#{city_root_suffix} #{city_suffix}'] - } - } - } - I18n.backend.store_translations(:xy, xy) - end - - def test_default_city_formats - I18n.with_locale(:xx) do - 100.times do - cities = ["west alice", "west smith", "west aliceburg", "west smithburg", "aliceburg", "smithburg"] - city = Faker::Address.city - assert cities.include?(city), "Expected <#{cities.join(' / ')}>, but got #{city}" - end - end - end - - def test_city_formats_are_flexible - I18n.with_locale(:xy) do - cities = ['big rocking town'] - city = Faker::Address.city - assert cities.include?(city), "Expected <#{cities.join(' / ')}>, but got #{city}" - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_code.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_code.rb deleted file mode 100644 index a40b36f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_code.rb +++ /dev/null @@ -1,31 +0,0 @@ -require File.dirname(__FILE__) + '/test_helper.rb' - -class TestFakerCode < Test::Unit::TestCase - def setup - @tester = Faker::Code - end - - def test_npi_regexp - assert @tester.npi.match(/[0-9]{10}/) - end - - def test_default_isbn_regexp - assert @tester.isbn.match(/^\d{9}-[\d|X]$/) - end - - def test_default_isbn13_regexp - assert @tester.isbn(13).match(/^\d{12}-\d$/) - end - - def test_default_ean_regexp - assert @tester.ean.match(/^\d{13}$/) - end - - def test_default_ean8_regexp - assert @tester.ean(8).match(/^\d{8}$/) - end - - def test_rut - assert @tester.rut.match(/^\d{1,8}-(\d|k)$/) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_color.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_color.rb deleted file mode 100644 index 7f0da1a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_color.rb +++ /dev/null @@ -1,46 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerColor < Test::Unit::TestCase - def setup - @tester = Faker::Color - end - - def test_hex_color - assert @tester.hex_color.match(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/) - end - - def test_single_rgb_color - assert @tester.single_rgb_color.between?(0, 255) - end - - def test_rgb_color - @result = @tester.rgb_color - assert @result.length == 3 - - @result.each do |color| - assert color.between?(0, 255) - end - end - - def test_single_hsl_color - assert @tester.single_hsl_color.between?(0.0, 360.0) - end - - def test_hsl_color - @result = @tester.hsl_color - assert @result.length == 3 - - @result.each do |color| - assert color.between?(0.0, 360.0) - end - end - - def test_hsla_color - @result = @tester.hsla_color - assert @result.length == 4 - - @result.each do |color| - assert color.between?(0.0, 360.0) || color.between?(0.0, 1.0) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_commerce.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_commerce.rb deleted file mode 100644 index 42e7d54..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_commerce.rb +++ /dev/null @@ -1,73 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerCommerce < Test::Unit::TestCase - - def setup - @tester = Faker::Commerce - end - - def test_color - assert @tester.color.match(/[a-z]+\.?/) - end - - def test_department - assert @tester.department.match(/[A-Z][a-z]+\.?/) - end - - def test_single_department_should_not_contain_separators - assert_match(/\A[A-Za-z]+\z/, @tester.department(1)) - end - - def test_department_should_have_ampersand_as_default_separator - assert_match ' & ', @tester.department(2, true) - end - - def test_department_should_accept_localized_separator - data = { - :faker => { - :separator => ' + ', - :commerce => { - :department => ['Books', 'Movies'] - } - } - } - - I18n.backend.store_translations(:xy, data) - I18n.with_locale(:xy) do - assert_match ' + ', @tester.department(2, true) - end - end - - def test_department_should_have_exact_number_of_categories_when_fixed_amount - assert_match(/\A([A-Za-z]+, ){8}[A-Za-z]+ & [A-Za-z]+\z/, @tester.department(10, true)) - end - - def test_department_should_never_exceed_the_max_number_of_categories_when_random_amount - 100.times do - assert_match(/\A([A-Za-z]+(, | & )){0,5}[A-Za-z]+\z/, @tester.department(6)) - end - end - - def test_department_should_have_no_duplicate_categories - department = @tester.department(10, true) - - departments = department.split(/[,& ]+/) - assert_equal departments, departments.uniq - end - - def test_product_name - assert @tester.product_name.match(/[A-Z][a-z]+\.?/) - end - - def test_material - assert @tester.material.match(/[A-Z][a-z]+\.?/) - end - - def test_price - assert_includes 0..100, @tester.price - end - - def test_price_is_float - assert @tester.price.is_a? Float - end -end \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_company.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_company.rb deleted file mode 100644 index c4e5810..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_company.rb +++ /dev/null @@ -1,30 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerCompany < Test::Unit::TestCase - def setup - @tester = Faker::Company - end - - def test_ein - assert @tester.ein.match(/\d\d-\d\d\d\d\d\d\d/) - end - - def test_duns_number - assert @tester.duns_number.match(/\d\d-\d\d\d-\d\d\d\d/) - end - - def test_logo - assert @tester.logo.match(%r{http://pigment.github.io/fake-logos/logos/medium/color/\d+\.png}) - end - - def test_buzzword - assert @tester.buzzword.match(/\w+\.?/) - end - - def test_swedish_organisation_number - org_no = @tester.swedish_organisation_number - assert org_no.match(/\d{10}/) - assert org_no[9] == @tester.send(:luhn_algorithm, org_no[0..8]).to_s - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_date.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_date.rb deleted file mode 100644 index 8ef4ace..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_date.rb +++ /dev/null @@ -1,77 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerDate < Test::Unit::TestCase - def setup - @tester = Faker::Date - end - - def test_between - from = Date.parse("2012-01-01") - to = Date.parse("2013-01-01") - - 100.times do - random_date = @tester.between(from, to) - assert random_date >= from, "Expected >= \"#{from}\", but got #{random_date}" - assert random_date <= to , "Expected <= \"#{to}\", but got #{random_date}" - end - end - - def test_forward - today = Date.today - - 100.times do - random_date = @tester.forward(5) - assert random_date > today, "Expected > \"#{today}\", but got #{random_date}" - end - end - - def test_backward - today = Date.today - - 100.times do - random_date = @tester.backward(5) - assert random_date < today, "Expected < \"#{today}\", but got #{random_date}" - end - end - - def test_return_type - random_forward = @tester.forward(5) - random_backward = @tester.backward(5) - random_between = @tester.between(Date.today, Date.today + 5) - - [random_forward, random_backward, random_between].each do |result| - assert result.is_a?(Date), "Expected a Date object, but got #{result.class}" - end - end - - def test_invalid_date - assert_raise ArgumentError do - @tester.between("9999-99-99", "9999-99-99") - end - end - - def test_birthday - min = 40 - max = 90 - 100.times do - t = Date.today - date_min = Date.new(t.year - min, t.month, t.day) - date_max = Date.new(t.year - max, t.month, t.day) - birthday = @tester.birthday(min, max) - assert birthday > date_max, "Expect > \"#{date_max}\", but got #{birthday}" - assert birthday < date_min, "Expect > \"#{date_max}\", but got #{birthday}" - end - end - def test_default_birthday - min = 10 - max = 65 - 100.times do - t = Date.today - date_min = Date.new(t.year - min, t.month, t.day) - date_max = Date.new(t.year - max, t.month, t.day) - birthday = @tester.birthday - assert birthday > date_max, "Expect > \"#{date_max}\", but got #{birthday}" - assert birthday < date_min, "Expect > \"#{date_max}\", but got #{birthday}" - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_hacker_talk.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_hacker_talk.rb deleted file mode 100644 index 4ae7fc1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_hacker_talk.rb +++ /dev/null @@ -1,37 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerHacker < Test::Unit::TestCase - def setup - @hacker = Faker::Hacker - @phrases = @hacker.phrases - end - - def test_phrases - assert @phrases.size == 8 - @phrases.each do |phrase| - assert !phrase.nil? - assert phrase != "" - end - end - - def test_noun - assert @hacker.noun.match(/\w+/) - end - - def test_abbreviation - assert @hacker.abbreviation.match(/\w+/) - end - - def test_adjective - assert @hacker.adjective.match(/\w+/) - end - - def test_verb - assert @hacker.verb.match(/\w+/) - end - - def test_ingverb - assert @hacker.ingverb.match(/\w+/) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_internet.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_internet.rb deleted file mode 100644 index 0c03285..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_internet.rb +++ /dev/null @@ -1,141 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerInternet < Test::Unit::TestCase - - def setup - @tester = Faker::Internet - end - - def test_email - assert @tester.email.match(/.+@.+\.\w+/) - end - - def test_free_email - assert @tester.free_email.match(/.+@(gmail|hotmail|yahoo)\.com/) - end - - def test_safe_email - assert @tester.safe_email.match(/.+@example.(com|net|org)/) - end - - def test_user_name - assert @tester.user_name.match(/[a-z]+((_|\.)[a-z]+)?/) - end - - def test_user_name_with_string_arg - assert @tester.user_name('bo peep').match(/(bo(_|\.)peep|peep(_|\.)bo)/) - end - - def test_user_name_with_integer_arg - (1..32).each do |min_length| - assert @tester.user_name(min_length).length >= min_length - end - end - - def test_user_name_with_closed_range_arg - (1..32).each do |min_length| - (min_length..32).each do |max_length| - l = @tester.user_name((min_length..max_length)).length - assert l >= min_length - assert l <= max_length - end - end - end - - def test_user_name_with_open_range_arg - (1..32).each do |min_length| - (min_length+1..33).each do |max_length| - l = @tester.user_name((min_length...max_length)).length - assert l >= min_length - assert l <= max_length-1 - end - end - end - - def test_user_name_with_range_and_separators - (1..32).each do |min_length| - (min_length+1..33).each do |max_length| - u = @tester.user_name((min_length...max_length), %w(=)) - assert u.length.between? min_length, max_length-1 - assert u.match(/\A[a-z]+((=)?[a-z]*)*\z/) - end - end - end - - def test_password - assert @tester.password.match(/\w{3}/) - end - - def test_password_with_integer_arg - (1..32).each do |min_length| - assert @tester.password(min_length).length >= min_length - end - end - - def test_password_max_with_integer_arg - (1..32).each do |min_length| - max_length = min_length + 4 - assert @tester.password(min_length, max_length).length <= max_length - end - end - - def test_domain_name - assert @tester.domain_name.match(/\w+\.\w+/) - end - - def test_domain_word - assert @tester.domain_word.match(/^\w+$/) - end - - def test_domain_suffix - assert @tester.domain_suffix.match(/^\w+(\.\w+)?/) - end - - def test_ip_v4_address - assert_equal 3, @tester.ip_v4_address.count('.') - - 1000.times do - assert @tester.ip_v4_address.split('.').map{|octet| octet.to_i}.max <= 255 - end - end - - def test_mac_address - assert_equal 5, @tester.mac_address.count(':') - assert_equal 5, @tester.mac_address("").count(':') - - 1000.times do - assert @tester.mac_address.split(':').map{|d| d.to_i(16)}.max <= 255 - end - - assert @tester.mac_address("fa:fa:fa").start_with?("fa:fa:fa") - assert @tester.mac_address("01:02").start_with?("01:02") - end - - def test_ip_v6_address - assert_equal 7, @tester.ip_v6_address.count(':') - - 1000.times do - assert @tester.ip_v6_address.split('.').map{|h| "0x#{h}".hex}.max <= 65535 - end - end - - def test_slug - assert @tester.slug.match(/^[a-z]+(_|\.|\-)[a-z]+$/) - end - - def test_slug_with_content_arg - assert @tester.slug('Foo bAr baZ').match(/^foo(_|\.|\-)bar(_|\.|\-)baz$/) - end - - def test_slug_with_glue_arg - assert @tester.slug(nil, '+').match(/^[a-z]+\+[a-z]+$/) - end - - def test_url - assert @tester.url('domain.com', '/username').match(/^http:\/\/domain\.com\/username$/) - end - - def test_device_token - assert_equal 64, @tester.device_token.size - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_lorem.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_lorem.rb deleted file mode 100644 index f6f52d6..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_lorem.rb +++ /dev/null @@ -1,87 +0,0 @@ -require File.dirname(__FILE__) + '/test_helper.rb' - -class TestFakerLorem < Test::Unit::TestCase - - def setup - @tester = Faker::Lorem - @standard_wordlist = I18n.translate('faker.lorem.words') - @complete_wordlist = - @standard_wordlist + I18n.translate('faker.lorem.supplemental') - end - - def test_character - assert @tester.character.length == 1 - end - - def test_character_type - assert @tester.character.class == String - end - - def test_characters - assert @tester.characters.length == 255 - end - - def test_characters_with_args - 1000.times { assert @tester.characters(500).length == 500 } - end - - # Words delivered by a standard request should be on the standard wordlist. - def test_standard_words - @words = @tester.words(1000) - @words.each {|w| assert @standard_wordlist.include?(w) } - end - - # Words requested from the supplemental list should all be in that list. - def test_supplemental_words - @words = @tester.words(10000, true) - @words.each {|w| assert @complete_wordlist.include?(w) } - end - - # Faker::Lorem.word generates random word from standart wordlist - def test_word - @tester = Faker::Lorem - @standard_wordlist = I18n.translate('faker.lorem.words') - 1000.times { assert @standard_wordlist.include?(@tester.word) } - end - - def test_exact_count_param - assert(@tester.characters(2).length == 2) - assert(@tester.words(2).length == 2) - assert(@tester.sentences(2).length == 2) - assert(@tester.paragraphs(2).length == 2) - end - - def test_range_count_param - cs = @tester.characters(2..5) - ws = @tester.words(2..5) - ss = @tester.sentences(2..5) - ps = @tester.paragraphs(2..5) - - assert(2 <= cs.length && cs.length <= 5) - assert(2 <= ws.length && ws.length <= 5) - assert(2 <= ss.length && ss.length <= 5) - assert(2 <= ps.length && ps.length <= 5) - end - - def test_array_count_param - cs = @tester.characters([1,4]) - ws = @tester.words([1,4]) - ss = @tester.sentences([1,4]) - ps = @tester.paragraphs([1,4]) - - assert(cs.length == 1 || cs.length == 4) - assert(ws.length == 1 || ws.length == 4) - assert(ss.length == 1 || ss.length == 4) - assert(ps.length == 1 || ps.length == 4) - end - - def test_words_with_large_count_params - exact = @tester.words(500) - range = @tester.words(250..500) - array = @tester.words([250, 500]) - - assert(exact.length == 500) - assert(250 <= range.length && range.length <= 500) - assert(array.length == 250 || array.length == 500) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_name.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_name.rb deleted file mode 100644 index 6b0b784..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_name.rb +++ /dev/null @@ -1,20 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerName < Test::Unit::TestCase - - def setup - @tester = Faker::Name - end - - def test_name - assert @tester.name.match(/(\w+\.? ?){2,3}/) - end - - def test_prefix - assert @tester.prefix.match(/[A-Z][a-z]+\.?/) - end - - def test_suffix - assert @tester.suffix.match(/[A-Z][a-z]*\.?/) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_number.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_number.rb deleted file mode 100644 index b1a3f9c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_number.rb +++ /dev/null @@ -1,77 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerNumber < Test::Unit::TestCase - def setup - @tester = Faker::Number - end - - def test_number - assert @tester.number(10).match(/[0-9]{10}/) - - 10.times do |digits| - digits += 1 - assert @tester.number(digits).match(/^[0-9]{#{digits}}$/) - end - - assert @tester.number(10).length == 10 - assert @tester.number(1).length == 1 - assert @tester.number(0) == "" - end - - def test_decimal - assert @tester.decimal(2).match(/[0-9]{2}\.[0-9]{2}/) - assert @tester.decimal(4, 5).match(/[0-9]{4}\.[0-9]{5}/) - end - - def test_digit - assert @tester.digit.match(/[0-9]{1}/) - assert (1..1000).collect {|i| @tester.digit == "9"}.include?(true) - end - - def test_between - 100.times do - random_number = @tester.between(-50, 50) - assert random_number >= -50, "Expected >= -50, but got #{random_number}" - assert random_number <= 50, "Expected <= 50, but got #{random_number}" - end - end - - def test_positive - 100.times do - random_number = @tester.positive(1, 100) - assert random_number >= 1, "Expected >= 1, but got #{random_number}" - assert random_number <= 100, "Expected <= 100, but got #{random_number}" - end - end - - def test_negative - 100.times do - random_number = @tester.negative(-1, -100) - assert random_number <= -1, "Expected <= -1, but got #{random_number}" - assert random_number >= -100, "Expected >= -100, but got #{random_number}" - end - end - - def test_force_positive - random_number = @tester.positive(-1, -100) - assert random_number >= 1, "Expected >= 1, but got #{random_number}" - assert random_number <= 100, "Expected <= 100, but got #{random_number}" - end - - def test_force_negative - random_number = @tester.negative(1, 100) - assert random_number <= -1, "Expected <= -1, but got #{random_number}" - assert random_number >= -100, "Expected >= -100, but got #{random_number}" - end - - def test_parameters_order - random_number = @tester.between(100, 1) - assert random_number >= 1, "Expected >= 1, but got #{random_number}" - assert random_number <= 100, "Expected <= 100, but got #{random_number}" - end - - def test_hexadecimal - assert @tester.hexadecimal(4).match(/[0-9a-f]{4}/) - assert @tester.hexadecimal(7).match(/[0-9a-f]{7}/) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_slack_emoji.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_slack_emoji.rb deleted file mode 100644 index 273e77b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_slack_emoji.rb +++ /dev/null @@ -1,45 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerSlackEmoji < Test::Unit::TestCase - - def setup - @tester = Faker::SlackEmoji - @emoticon_regex= /^:([\w-]+):$/ - end - - def test_people - assert @tester.people.match(@emoticon_regex) - end - - def test_nature - assert @tester.nature.match(@emoticon_regex) - end - - def test_food_and_drink - assert @tester.food_and_drink.match(@emoticon_regex) - end - - def test_celebration - assert @tester.celebration.match(@emoticon_regex) - end - - def test_activity - assert @tester.activity.match(@emoticon_regex) - end - - def test_travel_and_places - assert @tester.travel_and_places.match(@emoticon_regex) - end - - def test_objects_and_symbols - assert @tester.objects_and_symbols.match(@emoticon_regex) - end - - def test_custom - assert @tester.custom.match(@emoticon_regex) - end - - def test_emoji - assert @tester.emoji.match(@emoticon_regex) - end -end \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_street.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_street.rb deleted file mode 100644 index 6a8d622..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_street.rb +++ /dev/null @@ -1,52 +0,0 @@ -require File.dirname(__FILE__) + '/test_helper.rb' - -class TestFakerStreet < Test::Unit::TestCase - def setup - shire = { - :faker => { - :address => { - :street_name => ['#{street_prefix} #{street_root} #{street_suffix}'], - :street_prefix => ["Wide"], - :street_root => ["Cheerful"], - :street_suffix => ["Path"], - :secondary_address => ["(Green Door)"], - :street_address => ['#{street_name} #{building_number}'], - :building_number => ["#"], - :time_zone => ["Pacific/Pago_Pago"], - } - } - } - I18n.backend.store_translations(:shire, shire) - end - - def test_street_name_supports_flexible_formats - I18n.with_locale(:shire) do - assert_equal "Wide Cheerful Path", Faker::Address.street_name - end - end - - def test_street_address_supports_flexible_formats - I18n.with_locale(:shire) do - assert_match(/Wide Cheerful Path \d/, Faker::Address.street_address) - end - end - - def test_street_address_optionally_provides_secondary_address - I18n.with_locale(:shire) do - assert_match(/Wide Cheerful Path \d \(Green Door\)/, Faker::Address.street_address(:include_secondary)) - end - end - - def test_street_address_with_locale_fallback - I18n.with_locale('en-GB') do - assert_match(/^\d+ [\w']+ \w+/, Faker::Address.street_address) - end - end - - def test_timezone_support - I18n.with_locale(:shire) do - assert_equal "Pacific/Pago_Pago", Faker::Address.time_zone - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_team.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_team.rb deleted file mode 100644 index c6be01b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_team.rb +++ /dev/null @@ -1,25 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerTeam < Test::Unit::TestCase - - def setup - @tester = Faker::Team - end - - def test_name - assert @tester.name.match(/(\w+\.? ?){2}/) - end - - def test_creature - assert @tester.creature.match(/(\w+){1}/) - end - - def test_state - assert @tester.state.match(/(\w+){1}/) - end - - def test_sport - assert @tester.sport.match(/(\w+){1}/) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_time.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_time.rb deleted file mode 100644 index 4276bc6..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_time.rb +++ /dev/null @@ -1,74 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerTime < Test::Unit::TestCase - def setup - @tester = Faker::Time - @time_ranges = Faker::Time::TIME_RANGES - end - - def test_between - from = Time.local(2012, 01, 01, 0, 0, 0) - to = Time.local(2013, 01, 01, 23, 59, 59) - - 100.times do - random_time = @tester.between(from, to) - assert random_time >= from, "Expected >= \"#{from}\", but got #{random_time}" - assert random_time <= to , "Expected <= \"#{to}\", but got #{random_time}" - end - end - - def test_forward - today = Date.today - - 100.times do - random_time = @tester.forward(10) - assert random_time > today.to_time, "Expected > \"#{today}\", but got #{random_time}" - end - end - - def test_backward - tomorrow = Date.today + 1 - - 100.times do - random_time = @tester.backward(10) - assert random_time < tomorrow.to_time, "Expected < \"#{tomorrow}\", but got #{random_time}" - end - end - - def test_invalid_period_error - from = Date.today - to = Date.today + 15 - - assert_raise ArgumentError do - @tester.between(from, to, :invalid_period) - end - end - - def test_return_type - random_backward = @tester.backward(5) - random_between = @tester.between(Date.today, Date.today + 5) - random_forward = @tester.forward(5) - - [random_backward, random_between, random_forward].each do |result| - assert result.is_a?(Time), "Expected a Time object, but got #{result.class}" - end - end - - def test_time_period - from = Date.today - to = Date.today + 15 - - 100.times do - period = @time_ranges.keys.to_a.sample - period_range = @time_ranges[period] - - random_backward = @tester.backward(30, period) - random_between = @tester.between(from, to, period) - random_forward = @tester.forward(30, period) - - [random_backward, random_between, random_forward].each do |result| - assert period_range.include?(result.hour.to_i), "\"#{result.hour}\" expected to be included in Faker::Time::TIME_RANGES[:#{period}] range" - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_university.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_university.rb deleted file mode 100644 index 9df21e7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_faker_university.rb +++ /dev/null @@ -1,20 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestFakerUniversity < Test::Unit::TestCase - def setup - @tester = Faker::University - end - - def test_prefix - assert @tester.prefix.match(/\w+\.?/) - end - - def test_suffix - assert @tester.suffix.match(/\w+\.?/) - end - - def test_name - assert @tester.name.match(/\w+\.?/) - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_flexible.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_flexible.rb deleted file mode 100644 index b1ae567..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_flexible.rb +++ /dev/null @@ -1,56 +0,0 @@ -require File.dirname(__FILE__) + '/test_helper.rb' - -module Faker - class Foodie < Base - flexible :chow - end -end - -class TestFlexible < Test::Unit::TestCase - - def setup - I18n.backend.store_translations(:xx, :faker => {:chow => {:yummie => [:fudge, :chocolate, :caramel], :taste => "delicious"}}) - I18n.backend.store_translations(:home, :faker => {:address => {:birthplace => [:bed, :hospital, :airplane]}}) - I18n.backend.store_translations(:kindergarden, :faker => {:name => {:girls_name => [:alice, :cheryl, :tatiana]}}) - I18n.backend.store_translations(:work, :faker => {:company => {:do_stuff => [:work, :work, :work]}}) - end - - def test_flexible_multiple_values - I18n.with_locale(:xx) do - actual = Faker::Foodie.yummie - assert [:fudge, :chocolate, :caramel].include? actual - end - end - - def test_flexible_single_value - I18n.with_locale(:xx) do - assert_equal "delicious", Faker::Foodie.taste - end - end - - def test_raises_no_method_error - I18n.with_locale(:xx) do - assert_raise(NoMethodError) do - Faker::Foodie.eeew - end - end - end - - def test_address_is_flexible - I18n.with_locale(:home) do - assert [:bed, :hospital, :airplane].include? Faker::Address.birthplace - end - end - - def test_name_is_flexible - I18n.with_locale(:kindergarden) do - assert [:alice, :cheryl, :tatiana].include? Faker::Name.girls_name - end - end - - def test_company_is_flexible - I18n.with_locale(:work) do - assert Faker::Company.do_stuff == :work - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_helper.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_helper.rb deleted file mode 100644 index 0945b3b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_helper.rb +++ /dev/null @@ -1,12 +0,0 @@ -require 'test/unit' -require 'rubygems' -require 'yaml' -YAML::ENGINE.yamler = 'syck' if defined? YAML::ENGINE -require File.expand_path(File.dirname(__FILE__) + '/../lib/faker') - -# configure I18n -locales_path = File.expand_path(File.dirname(__FILE__) + '../lib/locales') -I18n.available_locales = Dir[locales_path + '/*'].map do |file| - file.split('.').first -end -I18n.enforce_available_locales = true diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_locale.rb deleted file mode 100644 index bf220cb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_locale.rb +++ /dev/null @@ -1,45 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -LoadedYaml = ['en', 'en-BORK'].inject({}) do |h, locale| - h[locale] = YAML.load_file(File.expand_path(File.dirname(__FILE__) + "/../lib/locales/#{locale}.yml"))[locale]['faker'] - h -end - -class TestLocale < Test::Unit::TestCase - def teardown - Faker::Config.locale = nil - end - - def test_locale_separate_from_i18n - I18n.locale = :en - Faker::Config.locale = :de - assert Faker::PhoneNumber.phone_number.match(/\(0\d+\) \d+|\+49-\d+-\d+/) - assert Faker::Address.street_name.match(//) - end - - def test_configured_locale_translation - Faker::Config.locale = 'en-BORK' - assert_equal Faker::Base.translate('faker.lorem.words').first, LoadedYaml['en-BORK']['lorem']['words'].first - end - - def test_locale_override_when_calling_translate - Faker::Config.locale = 'en-BORK' - assert_equal Faker::Base.translate('faker.lorem.words', :locale => :en).first, LoadedYaml['en']['lorem']['words'].first - end - - def test_translation_fallback - Faker::Config.locale = 'en-BORK' - assert_nil LoadedYaml['en-BORK']['name'] - assert_equal Faker::Base.translate('faker.name.first_name').first, LoadedYaml['en']['name']['first_name'].first - end - - def test_regex - Faker::Config.locale = 'en-GB' - re = /[A-PR-UWYZ][A-HK-Y]?[0-9][ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}/ - assert re.match(result = Faker::Address.postcode), "#{result} didn't match #{re}" - end - - def test_available_locales - assert I18n.locale_available?('en-GB') - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_pl_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_pl_locale.rb deleted file mode 100644 index d1de4f1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_pl_locale.rb +++ /dev/null @@ -1,24 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestPlLocale < Test::Unit::TestCase - def setup - @phone_prefixes = %w{12 13 14 15 16 17 18 22 23 24 25 29 32 33 34 41 42 43 44 46 48 52 54 55 56 58 59 61 62 63 65 67 68 71 74 75 76 77 81 82 83 84 85 86 87 89 91 94 95}.sort - @cell_prefixes = %w{50 51 53 57 60 66 69 72 73 78 79 88}.sort - @previous_locale = Faker::Config.locale - Faker::Config.locale = :pl - end - - def teardown - Faker::Config.locale = @previous_locale - end - - def test_pl_phone_number - prefixes = (0..999).map { Faker::PhoneNumber.phone_number[0,2] }.uniq.sort - assert_equal @phone_prefixes, prefixes - end - - def test_pl_cell_phone - prefixes = (0..999).map { Faker::PhoneNumber.cell_phone[0,2] }.uniq.sort - assert_equal @cell_prefixes, prefixes - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_uk_locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_uk_locale.rb deleted file mode 100644 index 46744cd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/faker-1.5.0/test/test_uk_locale.rb +++ /dev/null @@ -1,44 +0,0 @@ -require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb') - -class TestUkLocale < Test::Unit::TestCase - def setup - @previous_locale = Faker::Config.locale - Faker::Config.locale = "uk" - end - - def teardown - Faker::Config.locale = @previous_locale - end - - def test_uk_email_at_symbol_is_not_followed_by_dot - assert Faker::Internet.email.match(/.+@[^.].+\.\w+/) - end - - def test_uk_domain_word_returns_latin_chars - assert Faker::Internet.domain_word.match(/^\w+$/) - end - - def test_uk_zipcode_length - assert Faker::Address.zip_code.match(/^\d{5}$/) - end - - def test_uk_street_prefix_returns_true_value - assert_send([Faker::Address, :street_prefix]) - end - - def test_uk_city_prefix_absent - assert_equal("", Faker::Address.city_prefix) - end - - def test_uk_city_suffix_absent - assert_equal("", Faker::Address.city_suffix) - end - - def test_uk_states_do_not_have_abbreviations - assert_equal("", Faker::Address.state_abbr) - end - - def test_uk_company_prefix_returns_true_value - assert_send([Faker::Company, :prefix]) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/MIT-LICENSE b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/MIT-LICENSE deleted file mode 100644 index ed8e9ee..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/MIT-LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2008 The Ruby I18n team - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/README.md deleted file mode 100644 index 07f8b63..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/README.md +++ /dev/null @@ -1,82 +0,0 @@ -# Ruby I18n - -[![Build Status](https://api.travis-ci.org/svenfuchs/i18n.svg?branch=master)](https://travis-ci.org/svenfuchs/i18n) - -Ruby Internationalization and localization solution. - -Features: - -* translation and localization -* interpolation of values to translations (Ruby 1.9 compatible syntax) -* pluralization (CLDR compatible) -* customizable transliteration to ASCII -* flexible defaults -* bulk lookup -* lambdas as translation data -* custom key/scope separator -* custom exception handlers -* extensible architecture with a swappable backend - -Pluggable features: - -* Cache -* Pluralization: lambda pluralizers stored as translation data -* Locale fallbacks, RFC4647 compliant (optionally: RFC4646 locale validation) -* Gettext support -* Translation metadata - -Alternative backends: - -* Chain -* ActiveRecord (optionally: ActiveRecord::Missing and ActiveRecord::StoreProcs) -* KeyValue (uses active_support/json and cannot store procs) - -For more information and lots of resources see: [http://ruby-i18n.org/wiki](http://ruby-i18n.org/wiki) - -## Installation - -``` -gem install i18n -``` - -## Tests - -You can run tests both with - -* `rake test` or just `rake` -* run any test file directly, e.g. `ruby -Ilib:test test/api/simple_test.rb` - -You can run all tests against all Gemfiles with - -* `ruby test/run_all.rb` - -The structure of the test suite is a bit unusual as it uses modules to reuse -particular tests in different test cases. - -The reason for this is that we need to enforce the I18n API across various -combinations of extensions. E.g. the Simple backend alone needs to support -the same API as any combination of feature and/or optimization modules included -to the Simple backend. We test this by reusing the same API defition (implemented -as test methods) in test cases with different setups. - -You can find the test cases that enforce the API in test/api. And you can find -the API definition test methods in test/api/tests. - -All other test cases (e.g. as defined in test/backend, test/core_ext) etc. -follow the usual test setup and should be easy to grok. - -## Authors - -* [Sven Fuchs](http://www.artweb-design.de) -* [Joshua Harvey](http://www.workingwithrails.com/person/759-joshua-harvey) -* [Stephan Soller](http://www.arkanis-development.de) -* [Saimon Moore](http://saimonmoore.net) -* [Matt Aimonetti](http://railsontherun.com) - -## Contributors - -https://github.com/svenfuchs/i18n/graphs/contributors - -## License - -MIT License. See the included MIT-LICENSE file. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x deleted file mode 100644 index d01cd86..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x +++ /dev/null @@ -1,8 +0,0 @@ -source 'https://rubygems.org' - -gemspec :path => '..' - -gem 'activesupport', '~> 3.2.0' -gem 'mocha' -gem 'test_declarative' -gem 'rake' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x.lock deleted file mode 100644 index 114b0a2..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-3.2.x.lock +++ /dev/null @@ -1,27 +0,0 @@ -PATH - remote: .. - specs: - i18n (0.7.0) - -GEM - remote: https://rubygems.org/ - specs: - activesupport (3.2.21) - i18n (~> 0.6, >= 0.6.4) - multi_json (~> 1.0) - metaclass (0.0.4) - mocha (1.1.0) - metaclass (~> 0.0.1) - multi_json (1.10.1) - rake (10.4.2) - test_declarative (0.0.5) - -PLATFORMS - ruby - -DEPENDENCIES - activesupport (~> 3.2.0) - i18n! - mocha - rake - test_declarative diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x deleted file mode 100644 index 6d41524..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x +++ /dev/null @@ -1,8 +0,0 @@ -source 'https://rubygems.org' - -gemspec :path => '..' - -gem 'activesupport', '~> 4.0.0' -gem 'mocha' -gem 'test_declarative' -gem 'rake' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x.lock deleted file mode 100644 index 4385986..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.0.x.lock +++ /dev/null @@ -1,33 +0,0 @@ -PATH - remote: .. - specs: - i18n (0.7.0) - -GEM - remote: https://rubygems.org/ - specs: - activesupport (4.0.12) - i18n (~> 0.6, >= 0.6.9) - minitest (~> 4.2) - multi_json (~> 1.3) - thread_safe (~> 0.1) - tzinfo (~> 0.3.37) - metaclass (0.0.4) - minitest (4.7.5) - mocha (1.1.0) - metaclass (~> 0.0.1) - multi_json (1.10.1) - rake (10.4.2) - test_declarative (0.0.5) - thread_safe (0.3.4) - tzinfo (0.3.42) - -PLATFORMS - ruby - -DEPENDENCIES - activesupport (~> 4.0.0) - i18n! - mocha - rake - test_declarative diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x deleted file mode 100644 index 9bb8658..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x +++ /dev/null @@ -1,8 +0,0 @@ -source 'https://rubygems.org' - -gemspec :path => '..' - -gem 'activesupport', '~> 4.1.0' -gem 'mocha' -gem 'test_declarative' -gem 'rake' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x.lock deleted file mode 100644 index 76d767a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.1.x.lock +++ /dev/null @@ -1,34 +0,0 @@ -PATH - remote: .. - specs: - i18n (0.7.0) - -GEM - remote: https://rubygems.org/ - specs: - activesupport (4.1.8) - i18n (~> 0.6, >= 0.6.9) - json (~> 1.7, >= 1.7.7) - minitest (~> 5.1) - thread_safe (~> 0.1) - tzinfo (~> 1.1) - json (1.8.1) - metaclass (0.0.4) - minitest (5.5.0) - mocha (1.1.0) - metaclass (~> 0.0.1) - rake (10.4.2) - test_declarative (0.0.5) - thread_safe (0.3.4) - tzinfo (1.2.2) - thread_safe (~> 0.1) - -PLATFORMS - ruby - -DEPENDENCIES - activesupport (~> 4.1.0) - i18n! - mocha - rake - test_declarative diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x deleted file mode 100644 index c7101eb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x +++ /dev/null @@ -1,8 +0,0 @@ -source 'https://rubygems.org' - -gemspec :path => '..' - -gem 'activesupport', '~> 4.2.0.rc3' -gem 'mocha' -gem 'test_declarative' -gem 'rake' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x.lock deleted file mode 100644 index 0780ffe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-4.2.x.lock +++ /dev/null @@ -1,34 +0,0 @@ -PATH - remote: .. - specs: - i18n (0.7.0) - -GEM - remote: https://rubygems.org/ - specs: - activesupport (4.2.0.rc3) - i18n (>= 0.7.0.beta1, < 0.8) - json (~> 1.7, >= 1.7.7) - minitest (~> 5.1) - thread_safe (~> 0.1) - tzinfo (~> 1.1) - json (1.8.1) - metaclass (0.0.4) - minitest (5.5.0) - mocha (1.1.0) - metaclass (~> 0.0.1) - rake (10.4.2) - test_declarative (0.0.5) - thread_safe (0.3.4) - tzinfo (1.2.2) - thread_safe (~> 0.1) - -PLATFORMS - ruby - -DEPENDENCIES - activesupport (~> 4.2.0.rc3) - i18n! - mocha - rake - test_declarative diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master deleted file mode 100644 index 285ea5a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master +++ /dev/null @@ -1,8 +0,0 @@ -source 'https://rubygems.org' - -gemspec :path => '..' - -gem 'activesupport', github: 'rails/rails', branch: 'master' -gem 'mocha' -gem 'test_declarative' -gem 'rake' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master.lock deleted file mode 100644 index c1f1fc8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/gemfiles/Gemfile.rails-master.lock +++ /dev/null @@ -1,40 +0,0 @@ -GIT - remote: git://github.com/rails/rails.git - revision: fe46f009be1ece58e45abc51195e2381a71bd023 - branch: master - specs: - activesupport (5.0.0.alpha) - i18n (>= 0.7.0.beta1, < 0.8) - json (~> 1.7, >= 1.7.7) - minitest (~> 5.1) - thread_safe (~> 0.1) - tzinfo (~> 1.1) - -PATH - remote: .. - specs: - i18n (0.7.0) - -GEM - remote: https://rubygems.org/ - specs: - json (1.8.1) - metaclass (0.0.4) - minitest (5.5.0) - mocha (1.1.0) - metaclass (~> 0.0.1) - rake (10.4.2) - test_declarative (0.0.5) - thread_safe (0.3.4) - tzinfo (1.2.2) - thread_safe (~> 0.1) - -PLATFORMS - ruby - -DEPENDENCIES - activesupport! - i18n! - mocha - rake - test_declarative diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n.rb deleted file mode 100644 index e3f7cbe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n.rb +++ /dev/null @@ -1,341 +0,0 @@ -require 'i18n/version' -require 'i18n/exceptions' -require 'i18n/interpolate/ruby' - -module I18n - autoload :Backend, 'i18n/backend' - autoload :Config, 'i18n/config' - autoload :Gettext, 'i18n/gettext' - autoload :Locale, 'i18n/locale' - autoload :Tests, 'i18n/tests' - - RESERVED_KEYS = [:scope, :default, :separator, :resolve, :object, :fallback, :format, :cascade, :throw, :raise] - RESERVED_KEYS_PATTERN = /%\{(#{RESERVED_KEYS.join("|")})\}/ - - extend(Module.new { - # Gets I18n configuration object. - def config - Thread.current[:i18n_config] ||= I18n::Config.new - end - - # Sets I18n configuration object. - def config=(value) - Thread.current[:i18n_config] = value - end - - # Write methods which delegates to the configuration object - %w(locale backend default_locale available_locales default_separator - exception_handler load_path enforce_available_locales).each do |method| - module_eval <<-DELEGATORS, __FILE__, __LINE__ + 1 - def #{method} - config.#{method} - end - - def #{method}=(value) - config.#{method} = (value) - end - DELEGATORS - end - - # Tells the backend to reload translations. Used in situations like the - # Rails development environment. Backends can implement whatever strategy - # is useful. - def reload! - config.clear_available_locales_set - config.backend.reload! - end - - # Translates, pluralizes and interpolates a given key using a given locale, - # scope, and default, as well as interpolation values. - # - # *LOOKUP* - # - # Translation data is organized as a nested hash using the upper-level keys - # as namespaces. E.g., ActionView ships with the translation: - # :date => {:formats => {:short => "%b %d"}}. - # - # Translations can be looked up at any level of this hash using the key argument - # and the scope option. E.g., in this example I18n.t :date - # returns the whole translations hash {:formats => {:short => "%b %d"}}. - # - # Key can be either a single key or a dot-separated key (both Strings and Symbols - # work). E.g., the short format can be looked up using both: - # I18n.t 'date.formats.short' - # I18n.t :'date.formats.short' - # - # Scope can be either a single key, a dot-separated key or an array of keys - # or dot-separated keys. Keys and scopes can be combined freely. So these - # examples will all look up the same short date format: - # I18n.t 'date.formats.short' - # I18n.t 'formats.short', :scope => 'date' - # I18n.t 'short', :scope => 'date.formats' - # I18n.t 'short', :scope => %w(date formats) - # - # *INTERPOLATION* - # - # Translations can contain interpolation variables which will be replaced by - # values passed to #translate as part of the options hash, with the keys matching - # the interpolation variable names. - # - # E.g., with a translation :foo => "foo %{bar}" the option - # value for the key +bar+ will be interpolated into the translation: - # I18n.t :foo, :bar => 'baz' # => 'foo baz' - # - # *PLURALIZATION* - # - # Translation data can contain pluralized translations. Pluralized translations - # are arrays of singluar/plural versions of translations like ['Foo', 'Foos']. - # - # Note that I18n::Backend::Simple only supports an algorithm for English - # pluralization rules. Other algorithms can be supported by custom backends. - # - # This returns the singular version of a pluralized translation: - # I18n.t :foo, :count => 1 # => 'Foo' - # - # These both return the plural version of a pluralized translation: - # I18n.t :foo, :count => 0 # => 'Foos' - # I18n.t :foo, :count => 2 # => 'Foos' - # - # The :count option can be used both for pluralization and interpolation. - # E.g., with the translation - # :foo => ['%{count} foo', '%{count} foos'], count will - # be interpolated to the pluralized translation: - # I18n.t :foo, :count => 1 # => '1 foo' - # - # *DEFAULTS* - # - # This returns the translation for :foo or default if no translation was found: - # I18n.t :foo, :default => 'default' - # - # This returns the translation for :foo or the translation for :bar if no - # translation for :foo was found: - # I18n.t :foo, :default => :bar - # - # Returns the translation for :foo or the translation for :bar - # or default if no translations for :foo and :bar were found. - # I18n.t :foo, :default => [:bar, 'default'] - # - # *BULK LOOKUP* - # - # This returns an array with the translations for :foo and :bar. - # I18n.t [:foo, :bar] - # - # Can be used with dot-separated nested keys: - # I18n.t [:'baz.foo', :'baz.bar'] - # - # Which is the same as using a scope option: - # I18n.t [:foo, :bar], :scope => :baz - # - # *LAMBDAS* - # - # Both translations and defaults can be given as Ruby lambdas. Lambdas will be - # called and passed the key and options. - # - # E.g. assuming the key :salutation resolves to: - # lambda { |key, options| options[:gender] == 'm' ? "Mr. %{options[:name]}" : "Mrs. %{options[:name]}" } - # - # Then I18n.t(:salutation, :gender => 'w', :name => 'Smith') will result in "Mrs. Smith". - # - # It is recommended to use/implement lambdas in an "idempotent" way. E.g. when - # a cache layer is put in front of I18n.translate it will generate a cache key - # from the argument values passed to #translate. Therefor your lambdas should - # always return the same translations/values per unique combination of argument - # values. - def translate(*args) - options = args.last.is_a?(Hash) ? args.pop.dup : {} - key = args.shift - backend = config.backend - locale = options.delete(:locale) || config.locale - handling = options.delete(:throw) && :throw || options.delete(:raise) && :raise # TODO deprecate :raise - - enforce_available_locales!(locale) - raise I18n::ArgumentError if key.is_a?(String) && key.empty? - - result = catch(:exception) do - if key.is_a?(Array) - key.map { |k| backend.translate(locale, k, options) } - else - backend.translate(locale, key, options) - end - end - result.is_a?(MissingTranslation) ? handle_exception(handling, result, locale, key, options) : result - end - alias :t :translate - - # Wrapper for translate that adds :raise => true. With - # this option, if no translation is found, it will raise I18n::MissingTranslationData - def translate!(key, options={}) - translate(key, options.merge(:raise => true)) - end - alias :t! :translate! - - # Returns true if a translation exists for a given key, otherwise returns false. - def exists?(key, locale = config.locale) - raise I18n::ArgumentError if key.is_a?(String) && key.empty? - config.backend.exists?(locale, key) - end - - # Transliterates UTF-8 characters to ASCII. By default this method will - # transliterate only Latin strings to an ASCII approximation: - # - # I18n.transliterate("Ærøskøbing") - # # => "AEroskobing" - # - # I18n.transliterate("日本語") - # # => "???" - # - # It's also possible to add support for per-locale transliterations. I18n - # expects transliteration rules to be stored at - # i18n.transliterate.rule. - # - # Transliteration rules can either be a Hash or a Proc. Procs must accept a - # single string argument. Hash rules inherit the default transliteration - # rules, while Procs do not. - # - # *Examples* - # - # Setting a Hash in .yml: - # - # i18n: - # transliterate: - # rule: - # ü: "ue" - # ö: "oe" - # - # Setting a Hash using Ruby: - # - # store_translations(:de, :i18n => { - # :transliterate => { - # :rule => { - # "ü" => "ue", - # "ö" => "oe" - # } - # } - # ) - # - # Setting a Proc: - # - # translit = lambda {|string| MyTransliterator.transliterate(string) } - # store_translations(:xx, :i18n => {:transliterate => {:rule => translit}) - # - # Transliterating strings: - # - # I18n.locale = :en - # I18n.transliterate("Jürgen") # => "Jurgen" - # I18n.locale = :de - # I18n.transliterate("Jürgen") # => "Juergen" - # I18n.transliterate("Jürgen", :locale => :en) # => "Jurgen" - # I18n.transliterate("Jürgen", :locale => :de) # => "Juergen" - def transliterate(*args) - options = args.pop.dup if args.last.is_a?(Hash) - key = args.shift - locale = options && options.delete(:locale) || config.locale - handling = options && (options.delete(:throw) && :throw || options.delete(:raise) && :raise) - replacement = options && options.delete(:replacement) - enforce_available_locales!(locale) - config.backend.transliterate(locale, key, replacement) - rescue I18n::ArgumentError => exception - handle_exception(handling, exception, locale, key, options || {}) - end - - # Localizes certain objects, such as dates and numbers to local formatting. - def localize(object, options = nil) - options = options ? options.dup : {} - locale = options.delete(:locale) || config.locale - format = options.delete(:format) || :default - enforce_available_locales!(locale) - config.backend.localize(locale, object, format, options) - end - alias :l :localize - - # Executes block with given I18n.locale set. - def with_locale(tmp_locale = nil) - if tmp_locale - current_locale = self.locale - self.locale = tmp_locale - end - yield - ensure - self.locale = current_locale if tmp_locale - end - - # Merges the given locale, key and scope into a single array of keys. - # Splits keys that contain dots into multiple keys. Makes sure all - # keys are Symbols. - def normalize_keys(locale, key, scope, separator = nil) - separator ||= I18n.default_separator - - keys = [] - keys.concat normalize_key(locale, separator) - keys.concat normalize_key(scope, separator) - keys.concat normalize_key(key, separator) - keys - end - - # Returns true when the passed locale, which can be either a String or a - # Symbol, is in the list of available locales. Returns false otherwise. - def locale_available?(locale) - I18n.config.available_locales_set.include?(locale) - end - - # Raises an InvalidLocale exception when the passed locale is not available. - def enforce_available_locales!(locale) - if config.enforce_available_locales - raise I18n::InvalidLocale.new(locale) if !locale_available?(locale) - end - end - - private - - # Any exceptions thrown in translate will be sent to the @@exception_handler - # which can be a Symbol, a Proc or any other Object unless they're forced to - # be raised or thrown (MissingTranslation). - # - # If exception_handler is a Symbol then it will simply be sent to I18n as - # a method call. A Proc will simply be called. In any other case the - # method #call will be called on the exception_handler object. - # - # Examples: - # - # I18n.exception_handler = :custom_exception_handler # this is the default - # I18n.custom_exception_handler(exception, locale, key, options) # will be called like this - # - # I18n.exception_handler = lambda { |*args| ... } # a lambda - # I18n.exception_handler.call(exception, locale, key, options) # will be called like this - # - # I18n.exception_handler = I18nExceptionHandler.new # an object - # I18n.exception_handler.call(exception, locale, key, options) # will be called like this - def handle_exception(handling, exception, locale, key, options) - case handling - when :raise - raise exception.respond_to?(:to_exception) ? exception.to_exception : exception - when :throw - throw :exception, exception - else - case handler = options[:exception_handler] || config.exception_handler - when Symbol - send(handler, exception, locale, key, options) - else - handler.call(exception, locale, key, options) - end - end - end - - def normalize_key(key, separator) - normalized_key_cache[separator][key] ||= - case key - when Array - key.map { |k| normalize_key(k, separator) }.flatten - else - keys = key.to_s.split(separator) - keys.delete('') - keys.map! { |k| k.to_sym } - keys - end - end - - def normalized_key_cache - @normalized_key_cache ||= Hash.new { |h,k| h[k] = {} } - end - }) -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend.rb deleted file mode 100644 index 46ef054..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend.rb +++ /dev/null @@ -1,18 +0,0 @@ -module I18n - module Backend - autoload :Base, 'i18n/backend/base' - autoload :InterpolationCompiler, 'i18n/backend/interpolation_compiler' - autoload :Cache, 'i18n/backend/cache' - autoload :Cascade, 'i18n/backend/cascade' - autoload :Chain, 'i18n/backend/chain' - autoload :Fallbacks, 'i18n/backend/fallbacks' - autoload :Flatten, 'i18n/backend/flatten' - autoload :Gettext, 'i18n/backend/gettext' - autoload :KeyValue, 'i18n/backend/key_value' - autoload :Memoize, 'i18n/backend/memoize' - autoload :Metadata, 'i18n/backend/metadata' - autoload :Pluralization, 'i18n/backend/pluralization' - autoload :Simple, 'i18n/backend/simple' - autoload :Transliterator, 'i18n/backend/transliterator' - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb deleted file mode 100644 index df5e755..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb +++ /dev/null @@ -1,189 +0,0 @@ -require 'yaml' -require 'i18n/core_ext/hash' -require 'i18n/core_ext/kernel/suppress_warnings' - -module I18n - module Backend - module Base - include I18n::Backend::Transliterator - - # Accepts a list of paths to translation files. Loads translations from - # plain Ruby (*.rb) or YAML files (*.yml). See #load_rb and #load_yml - # for details. - def load_translations(*filenames) - filenames = I18n.load_path if filenames.empty? - filenames.flatten.each { |filename| load_file(filename) } - end - - # This method receives a locale, a data hash and options for storing translations. - # Should be implemented - def store_translations(locale, data, options = {}) - raise NotImplementedError - end - - def translate(locale, key, options = {}) - raise InvalidLocale.new(locale) unless locale - entry = key && lookup(locale, key, options[:scope], options) - - if options.empty? - entry = resolve(locale, key, entry, options) - else - count, default = options.values_at(:count, :default) - values = options.except(*RESERVED_KEYS) - entry = entry.nil? && default ? - default(locale, key, default, options) : resolve(locale, key, entry, options) - end - - throw(:exception, I18n::MissingTranslation.new(locale, key, options)) if entry.nil? - entry = entry.dup if entry.is_a?(String) - - entry = pluralize(locale, entry, count) if count - entry = interpolate(locale, entry, values) if values - entry - end - - def exists?(locale, key) - lookup(locale, key) != nil - end - - # Acts the same as +strftime+, but uses a localized version of the - # format string. Takes a key from the date/time formats translations as - # a format argument (e.g., :short in :'date.formats'). - def localize(locale, object, format = :default, options = {}) - raise ArgumentError, "Object must be a Date, DateTime or Time object. #{object.inspect} given." unless object.respond_to?(:strftime) - - if Symbol === format - key = format - type = object.respond_to?(:sec) ? 'time' : 'date' - options = options.merge(:raise => true, :object => object, :locale => locale) - format = I18n.t(:"#{type}.formats.#{key}", options) - end - - # format = resolve(locale, object, format, options) - format = format.to_s.gsub(/%[aAbBpP]/) do |match| - case match - when '%a' then I18n.t(:"date.abbr_day_names", :locale => locale, :format => format)[object.wday] - when '%A' then I18n.t(:"date.day_names", :locale => locale, :format => format)[object.wday] - when '%b' then I18n.t(:"date.abbr_month_names", :locale => locale, :format => format)[object.mon] - when '%B' then I18n.t(:"date.month_names", :locale => locale, :format => format)[object.mon] - when '%p' then I18n.t(:"time.#{object.hour < 12 ? :am : :pm}", :locale => locale, :format => format).upcase if object.respond_to? :hour - when '%P' then I18n.t(:"time.#{object.hour < 12 ? :am : :pm}", :locale => locale, :format => format).downcase if object.respond_to? :hour - end - end - - object.strftime(format) - end - - # Returns an array of locales for which translations are available - # ignoring the reserved translation meta data key :i18n. - def available_locales - raise NotImplementedError - end - - def reload! - end - - protected - - # The method which actually looks up for the translation in the store. - def lookup(locale, key, scope = [], options = {}) - raise NotImplementedError - end - - # Evaluates defaults. - # If given subject is an Array, it walks the array and returns the - # first translation that can be resolved. Otherwise it tries to resolve - # the translation directly. - def default(locale, object, subject, options = {}) - options = options.dup.reject { |key, value| key == :default } - case subject - when Array - subject.each do |item| - result = resolve(locale, object, item, options) and return result - end and nil - else - resolve(locale, object, subject, options) - end - end - - # Resolves a translation. - # If the given subject is a Symbol, it will be translated with the - # given options. If it is a Proc then it will be evaluated. All other - # subjects will be returned directly. - def resolve(locale, object, subject, options = {}) - return subject if options[:resolve] == false - result = catch(:exception) do - case subject - when Symbol - I18n.translate(subject, options.merge(:locale => locale, :throw => true)) - when Proc - date_or_time = options.delete(:object) || object - resolve(locale, object, subject.call(date_or_time, options)) - else - subject - end - end - result unless result.is_a?(MissingTranslation) - end - - # Picks a translation from a pluralized mnemonic subkey according to English - # pluralization rules : - # - It will pick the :one subkey if count is equal to 1. - # - It will pick the :other subkey otherwise. - # - It will pick the :zero subkey in the special case where count is - # equal to 0 and there is a :zero subkey present. This behaviour is - # not stand with regards to the CLDR pluralization rules. - # Other backends can implement more flexible or complex pluralization rules. - def pluralize(locale, entry, count) - return entry unless entry.is_a?(Hash) && count - - key = :zero if count == 0 && entry.has_key?(:zero) - key ||= count == 1 ? :one : :other - raise InvalidPluralizationData.new(entry, count) unless entry.has_key?(key) - entry[key] - end - - # Interpolates values into a given string. - # - # interpolate "file %{file} opened by %%{user}", :file => 'test.txt', :user => 'Mr. X' - # # => "file test.txt opened by %{user}" - def interpolate(locale, string, values = {}) - if string.is_a?(::String) && !values.empty? - I18n.interpolate(string, values) - else - string - end - end - - # Loads a single translations file by delegating to #load_rb or - # #load_yml depending on the file extension and directly merges the - # data to the existing translations. Raises I18n::UnknownFileType - # for all other file extensions. - def load_file(filename) - type = File.extname(filename).tr('.', '').downcase - raise UnknownFileType.new(type, filename) unless respond_to?(:"load_#{type}", true) - data = send(:"load_#{type}", filename) - unless data.is_a?(Hash) - raise InvalidLocaleData.new(filename, 'expects it to return a hash, but does not') - end - data.each { |locale, d| store_translations(locale, d || {}) } - end - - # Loads a plain Ruby translations file. eval'ing the file must yield - # a Hash containing translation data with locales as toplevel keys. - def load_rb(filename) - eval(IO.read(filename), binding, filename) - end - - # Loads a YAML translations file. The data must have locales as - # toplevel keys. - def load_yml(filename) - begin - YAML.load_file(filename) - rescue TypeError, ScriptError, StandardError => e - raise InvalidLocaleData.new(filename, e.inspect) - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/cache.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/cache.rb deleted file mode 100644 index 3c456ff..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/cache.rb +++ /dev/null @@ -1,96 +0,0 @@ -# This module allows you to easily cache all responses from the backend - thus -# speeding up the I18n aspects of your application quite a bit. -# -# To enable caching you can simply include the Cache module to the Simple -# backend - or whatever other backend you are using: -# -# I18n::Backend::Simple.send(:include, I18n::Backend::Cache) -# -# You will also need to set a cache store implementation that you want to use: -# -# I18n.cache_store = ActiveSupport::Cache.lookup_store(:memory_store) -# -# You can use any cache implementation you want that provides the same API as -# ActiveSupport::Cache (only the methods #fetch and #write are being used). -# -# The cache_key implementation assumes that you only pass values to -# I18n.translate that return a valid key from #hash (see -# http://www.ruby-doc.org/core/classes/Object.html#M000337). -# -# If you use a lambda as a default value in your translation like this: -# -# I18n.t(:"date.order", :default => lambda {[:month, :day, :year]}) -# -# Then you will always have a cache miss, because each time this method -# is called the lambda will have a different hash value. If you know -# the result of the lambda is a constant as in the example above, then -# to cache this you can make the lambda a constant, like this: -# -# DEFAULT_DATE_ORDER = lambda {[:month, :day, :year]} -# ... -# I18n.t(:"date.order", :default => DEFAULT_DATE_ORDER) -# -# If the lambda may result in different values for each call then consider -# also using the Memoize backend. -# -module I18n - class << self - @@cache_store = nil - @@cache_namespace = nil - - def cache_store - @@cache_store - end - - def cache_store=(store) - @@cache_store = store - end - - def cache_namespace - @@cache_namespace - end - - def cache_namespace=(namespace) - @@cache_namespace = namespace - end - - def perform_caching? - !cache_store.nil? - end - end - - module Backend - # TODO Should the cache be cleared if new translations are stored? - module Cache - def translate(locale, key, options = {}) - I18n.perform_caching? ? fetch(cache_key(locale, key, options)) { super } : super - end - - protected - - def fetch(cache_key, &block) - result = _fetch(cache_key, &block) - throw(:exception, result) if result.is_a?(MissingTranslation) - result = result.dup if result.frozen? rescue result - result - end - - def _fetch(cache_key, &block) - result = I18n.cache_store.read(cache_key) and return result - result = catch(:exception, &block) - I18n.cache_store.write(cache_key, result) unless result.is_a?(Proc) - result - end - - def cache_key(locale, key, options) - # This assumes that only simple, native Ruby values are passed to I18n.translate. - "i18n/#{I18n.cache_namespace}/#{locale}/#{key.hash}/#{USE_INSPECT_HASH ? options.inspect.hash : options.hash}" - end - - private - # In Ruby < 1.9 the following is true: { :foo => 1, :bar => 2 }.hash == { :foo => 2, :bar => 1 }.hash - # Therefore we must use the hash of the inspect string instead to avoid cache key colisions. - USE_INSPECT_HASH = RUBY_VERSION <= "1.9" - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/cascade.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/cascade.rb deleted file mode 100644 index d8fb1cf..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/cascade.rb +++ /dev/null @@ -1,54 +0,0 @@ -# The Cascade module adds the ability to do cascading lookups to backends that -# are compatible to the Simple backend. -# -# By cascading lookups we mean that for any key that can not be found the -# Cascade module strips one segment off the scope part of the key and then -# tries to look up the key in that scope. -# -# E.g. when a lookup for the key :"foo.bar.baz" does not yield a result then -# the segment :bar will be stripped off the scope part :"foo.bar" and the new -# scope :foo will be used to look up the key :baz. If that does not succeed -# then the remaining scope segment :foo will be omitted, too, and again the -# key :baz will be looked up (now with no scope). -# -# To enable a cascading lookup one passes the :cascade option: -# -# I18n.t(:'foo.bar.baz', :cascade => true) -# -# This will return the first translation found for :"foo.bar.baz", :"foo.baz" -# or :baz in this order. -# -# The cascading lookup takes precedence over resolving any given defaults. -# I.e. defaults will kick in after the cascading lookups haven't succeeded. -# -# This behavior is useful for libraries like ActiveRecord validations where -# the library wants to give users a bunch of more or less fine-grained options -# of scopes for a particular key. -# -# Thanks to Clemens Kofler for the initial idea and implementation! See -# http://github.com/clemens/i18n-cascading-backend - -module I18n - module Backend - module Cascade - def lookup(locale, key, scope = [], options = {}) - return super unless cascade = options[:cascade] - - cascade = { :step => 1 } unless cascade.is_a?(Hash) - step = cascade[:step] || 1 - offset = cascade[:offset] || 1 - separator = options[:separator] || I18n.default_separator - skip_root = cascade.has_key?(:skip_root) ? cascade[:skip_root] : true - - scope = I18n.normalize_keys(nil, key, scope, separator) - key = (scope.slice!(-offset, offset) || []).join(separator) - - begin - result = super - return result unless result.nil? - scope = scope.dup - end while (!scope.empty? || !skip_root) && scope.slice!(-step, step) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/chain.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/chain.rb deleted file mode 100644 index 01d2ec9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/chain.rb +++ /dev/null @@ -1,97 +0,0 @@ -module I18n - module Backend - # Backend that chains multiple other backends and checks each of them when - # a translation needs to be looked up. This is useful when you want to use - # standard translations with a Simple backend but store custom application - # translations in a database or other backends. - # - # To use the Chain backend instantiate it and set it to the I18n module. - # You can add chained backends through the initializer or backends - # accessor: - # - # # preserves the existing Simple backend set to I18n.backend - # I18n.backend = I18n::Backend::Chain.new(I18n::Backend::ActiveRecord.new, I18n.backend) - # - # The implementation assumes that all backends added to the Chain implement - # a lookup method with the same API as Simple backend does. - class Chain - module Implementation - include Base - - attr_accessor :backends - - def initialize(*backends) - self.backends = backends - end - - def reload! - backends.each { |backend| backend.reload! } - end - - def store_translations(locale, data, options = {}) - backends.first.store_translations(locale, data, options) - end - - def available_locales - backends.map { |backend| backend.available_locales }.flatten.uniq - end - - def translate(locale, key, default_options = {}) - namespace = nil - options = default_options.except(:default) - - backends.each do |backend| - catch(:exception) do - options = default_options if backend == backends.last - translation = backend.translate(locale, key, options) - if namespace_lookup?(translation, options) - namespace = _deep_merge(translation, namespace || {}) - elsif !translation.nil? - return translation - end - end - end - - return namespace if namespace - throw(:exception, I18n::MissingTranslation.new(locale, key, options)) - end - - def exists?(locale, key) - backends.any? do |backend| - backend.exists?(locale, key) - end - end - - def localize(locale, object, format = :default, options = {}) - backends.each do |backend| - catch(:exception) do - result = backend.localize(locale, object, format, options) and return result - end - end - throw(:exception, I18n::MissingTranslation.new(locale, format, options)) - end - - protected - def namespace_lookup?(result, options) - result.is_a?(Hash) && !options.has_key?(:count) - end - - private - # This is approximately what gets used in ActiveSupport. - # However since we are not guaranteed to run in an ActiveSupport context - # it is wise to have our own copy. We underscore it - # to not pollute the namespace of the including class. - def _deep_merge(hash, other_hash) - copy = hash.dup - other_hash.each_pair do |k,v| - value_from_other = hash[k] - copy[k] = value_from_other.is_a?(Hash) && v.is_a?(Hash) ? _deep_merge(value_from_other, v) : v - end - copy - end - end - - include Implementation - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb deleted file mode 100644 index d74b800..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/fallbacks.rb +++ /dev/null @@ -1,69 +0,0 @@ -# I18n locale fallbacks are useful when you want your application to use -# translations from other locales when translations for the current locale are -# missing. E.g. you might want to use :en translations when translations in -# your applications main locale :de are missing. -# -# To enable locale fallbacks you can simply include the Fallbacks module to -# the Simple backend - or whatever other backend you are using: -# -# I18n::Backend::Simple.include(I18n::Backend::Fallbacks) -module I18n - @@fallbacks = nil - - class << self - # Returns the current fallbacks implementation. Defaults to +I18n::Locale::Fallbacks+. - def fallbacks - @@fallbacks ||= I18n::Locale::Fallbacks.new - end - - # Sets the current fallbacks implementation. Use this to set a different fallbacks implementation. - def fallbacks=(fallbacks) - @@fallbacks = fallbacks - end - end - - module Backend - module Fallbacks - # Overwrites the Base backend translate method so that it will try each - # locale given by I18n.fallbacks for the given locale. E.g. for the - # locale :"de-DE" it might try the locales :"de-DE", :de and :en - # (depends on the fallbacks implementation) until it finds a result with - # the given options. If it does not find any result for any of the - # locales it will then throw MissingTranslation as usual. - # - # The default option takes precedence over fallback locales only when - # it's a Symbol. When the default contains a String, Proc or Hash - # it is evaluated last after all the fallback locales have been tried. - def translate(locale, key, options = {}) - return super if options[:fallback] - default = extract_non_symbol_default!(options) if options[:default] - - options[:fallback] = true - I18n.fallbacks[locale].each do |fallback| - begin - catch(:exception) do - result = super(fallback, key, options) - return result unless result.nil? - end - rescue I18n::InvalidLocale - # we do nothing when the locale is invalid, as this is a fallback anyways. - end - end - options.delete(:fallback) - - return super(locale, nil, options.merge(:default => default)) if default - throw(:exception, I18n::MissingTranslation.new(locale, key, options)) - end - - def extract_non_symbol_default!(options) - defaults = [options[:default]].flatten - first_non_symbol_default = defaults.detect{|default| !default.is_a?(Symbol)} - if first_non_symbol_default - options[:default] = defaults[0, defaults.index(first_non_symbol_default)] - end - return first_non_symbol_default - end - - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/flatten.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/flatten.rb deleted file mode 100644 index c23f7c1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/flatten.rb +++ /dev/null @@ -1,113 +0,0 @@ -module I18n - module Backend - # This module contains several helpers to assist flattening translations. - # You may want to flatten translations for: - # - # 1) speed up lookups, as in the Memoize backend; - # 2) In case you want to store translations in a data store, as in ActiveRecord backend; - # - # You can check both backends above for some examples. - # This module also keeps all links in a hash so they can be properly resolved when flattened. - module Flatten - SEPARATOR_ESCAPE_CHAR = "\001" - FLATTEN_SEPARATOR = "." - - # normalize_keys the flatten way. This method is significantly faster - # and creates way less objects than the one at I18n.normalize_keys. - # It also handles escaping the translation keys. - def self.normalize_flat_keys(locale, key, scope, separator) - keys = [scope, key].flatten.compact - separator ||= I18n.default_separator - - if separator != FLATTEN_SEPARATOR - keys.map! do |k| - k.to_s.tr("#{FLATTEN_SEPARATOR}#{separator}", - "#{SEPARATOR_ESCAPE_CHAR}#{FLATTEN_SEPARATOR}") - end - end - - keys.join(".") - end - - # Receives a string and escape the default separator. - def self.escape_default_separator(key) #:nodoc: - key.to_s.tr(FLATTEN_SEPARATOR, SEPARATOR_ESCAPE_CHAR) - end - - # Shortcut to I18n::Backend::Flatten.normalize_flat_keys - # and then resolve_links. - def normalize_flat_keys(locale, key, scope, separator) - key = I18n::Backend::Flatten.normalize_flat_keys(locale, key, scope, separator) - resolve_link(locale, key) - end - - # Store flattened links. - def links - @links ||= Hash.new { |h,k| h[k] = {} } - end - - # Flatten keys for nested Hashes by chaining up keys: - # - # >> { "a" => { "b" => { "c" => "d", "e" => "f" }, "g" => "h" }, "i" => "j"}.wind - # => { "a.b.c" => "d", "a.b.e" => "f", "a.g" => "h", "i" => "j" } - # - def flatten_keys(hash, escape, prev_key=nil, &block) - hash.each_pair do |key, value| - key = escape_default_separator(key) if escape - curr_key = [prev_key, key].compact.join(FLATTEN_SEPARATOR).to_sym - yield curr_key, value - flatten_keys(value, escape, curr_key, &block) if value.is_a?(Hash) - end - end - - # Receives a hash of translations (where the key is a locale and - # the value is another hash) and return a hash with all - # translations flattened. - # - # Nested hashes are included in the flattened hash just if subtree - # is true and Symbols are automatically stored as links. - def flatten_translations(locale, data, escape, subtree) - hash = {} - flatten_keys(data, escape) do |key, value| - if value.is_a?(Hash) - hash[key] = value if subtree - else - store_link(locale, key, value) if value.is_a?(Symbol) - hash[key] = value - end - end - hash - end - - protected - - def store_link(locale, key, link) - links[locale.to_sym][key.to_s] = link.to_s - end - - def resolve_link(locale, key) - key, locale = key.to_s, locale.to_sym - links = self.links[locale] - - if links.key?(key) - links[key] - elsif link = find_link(locale, key) - store_link(locale, key, key.gsub(*link)) - else - key - end - end - - def find_link(locale, key) #:nodoc: - links[locale].each do |from, to| - return [from, to] if key[0, from.length] == from - end && nil - end - - def escape_default_separator(key) #:nodoc: - I18n::Backend::Flatten.escape_default_separator(key) - end - - end - end -end \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/gettext.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/gettext.rb deleted file mode 100644 index c357a6d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/gettext.rb +++ /dev/null @@ -1,72 +0,0 @@ -require 'i18n/gettext' -require 'i18n/gettext/po_parser' - -# Experimental support for using Gettext po files to store translations. -# -# To use this you can simply include the module to the Simple backend - or -# whatever other backend you are using. -# -# I18n::Backend::Simple.include(I18n::Backend::Gettext) -# -# Now you should be able to include your Gettext translation (*.po) files to -# the I18n.load_path so they're loaded to the backend and you can use them as -# usual: -# -# I18n.load_path += Dir["path/to/locales/*.po"] -# -# Following the Gettext convention this implementation expects that your -# translation files are named by their locales. E.g. the file en.po would -# contain the translations for the English locale. -module I18n - module Backend - module Gettext - class PoData < Hash - def set_comment(msgid_or_sym, comment) - # ignore - end - end - - protected - def load_po(filename) - locale = ::File.basename(filename, '.po').to_sym - data = normalize(locale, parse(filename)) - { locale => data } - end - - def parse(filename) - GetText::PoParser.new.parse(::File.read(filename), PoData.new) - end - - def normalize(locale, data) - data.inject({}) do |result, (key, value)| - unless key.nil? || key.empty? - key = key.gsub(I18n::Gettext::CONTEXT_SEPARATOR, '|') - key, value = normalize_pluralization(locale, key, value) if key.index("\000") - - parts = key.split('|').reverse - normalized = parts.inject({}) do |_normalized, part| - { part => _normalized.empty? ? value : _normalized } - end - - result.deep_merge!(normalized) - end - result - end - end - - def normalize_pluralization(locale, key, value) - # FIXME po_parser includes \000 chars that can not be turned into Symbols - key = key.gsub("\000", I18n::Gettext::PLURAL_SEPARATOR).split(I18n::Gettext::PLURAL_SEPARATOR).first - - keys = I18n::Gettext.plural_keys(locale) - values = value.split("\000") - raise "invalid number of plurals: #{values.size}, keys: #{keys.inspect} on #{locale} locale for msgid #{key.inspect} with values #{values.inspect}" if values.size != keys.size - - result = {} - values.each_with_index { |_value, ix| result[keys[ix]] = _value } - [key, result] - end - - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/interpolation_compiler.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/interpolation_compiler.rb deleted file mode 100644 index 0e3a603..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/interpolation_compiler.rb +++ /dev/null @@ -1,121 +0,0 @@ -# The InterpolationCompiler module contains optimizations that can tremendously -# speed up the interpolation process on the Simple backend. -# -# It works by defining a pre-compiled method on stored translation Strings that -# already bring all the knowledge about contained interpolation variables etc. -# so that the actual recurring interpolation will be very fast. -# -# To enable pre-compiled interpolations you can simply include the -# InterpolationCompiler module to the Simple backend: -# -# I18n::Backend::Simple.include(I18n::Backend::InterpolationCompiler) -# -# Note that InterpolationCompiler does not yield meaningful results and consequently -# should not be used with Ruby 1.9 (YARV) but improves performance everywhere else -# (jRuby, Rubinius). -module I18n - module Backend - module InterpolationCompiler - module Compiler - extend self - - TOKENIZER = /(%%\{[^\}]+\}|%\{[^\}]+\})/ - INTERPOLATION_SYNTAX_PATTERN = /(%)?(%\{([^\}]+)\})/ - - def compile_if_an_interpolation(string) - if interpolated_str?(string) - string.instance_eval <<-RUBY_EVAL, __FILE__, __LINE__ - def i18n_interpolate(v = {}) - "#{compiled_interpolation_body(string)}" - end - RUBY_EVAL - end - - string - end - - def interpolated_str?(str) - str.kind_of?(::String) && str =~ INTERPOLATION_SYNTAX_PATTERN - end - - protected - # tokenize("foo %{bar} baz %%{buz}") # => ["foo ", "%{bar}", " baz ", "%%{buz}"] - def tokenize(str) - str.split(TOKENIZER) - end - - def compiled_interpolation_body(str) - tokenize(str).map do |token| - (matchdata = token.match(INTERPOLATION_SYNTAX_PATTERN)) ? handle_interpolation_token(token, matchdata) : escape_plain_str(token) - end.join - end - - def handle_interpolation_token(interpolation, matchdata) - escaped, pattern, key = matchdata.values_at(1, 2, 3) - escaped ? pattern : compile_interpolation_token(key.to_sym) - end - - def compile_interpolation_token(key) - "\#{#{interpolate_or_raise_missing(key)}}" - end - - def interpolate_or_raise_missing(key) - escaped_key = escape_key_sym(key) - RESERVED_KEYS.include?(key) ? reserved_key(escaped_key) : interpolate_key(escaped_key) - end - - def interpolate_key(key) - [direct_key(key), nil_key(key), missing_key(key)].join('||') - end - - def direct_key(key) - "((t = v[#{key}]) && t.respond_to?(:call) ? t.call : t)" - end - - def nil_key(key) - "(v.has_key?(#{key}) && '')" - end - - def missing_key(key) - "I18n.config.missing_interpolation_argument_handler.call(#{key}, v, self)" - end - - def reserved_key(key) - "raise(ReservedInterpolationKey.new(#{key}, self))" - end - - def escape_plain_str(str) - str.gsub(/"|\\|#/) {|x| "\\#{x}"} - end - - def escape_key_sym(key) - # rely on Ruby to do all the hard work :) - key.to_sym.inspect - end - end - - def interpolate(locale, string, values) - if string.respond_to?(:i18n_interpolate) - string.i18n_interpolate(values) - elsif values - super - else - string - end - end - - def store_translations(locale, data, options = {}) - compile_all_strings_in(data) - super - end - - protected - def compile_all_strings_in(data) - data.each_value do |value| - Compiler.compile_if_an_interpolation(value) - compile_all_strings_in(value) if value.kind_of?(Hash) - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/key_value.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/key_value.rb deleted file mode 100644 index a79fc1a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/key_value.rb +++ /dev/null @@ -1,100 +0,0 @@ -require 'i18n/backend/base' -require 'active_support/json' - -module I18n - module Backend - # This is a basic backend for key value stores. It receives on - # initialization the store, which should respond to three methods: - # - # * store#[](key) - Used to get a value - # * store#[]=(key, value) - Used to set a value - # * store#keys - Used to get all keys - # - # Since these stores only supports string, all values are converted - # to JSON before being stored, allowing it to also store booleans, - # hashes and arrays. However, this store does not support Procs. - # - # As the ActiveRecord backend, Symbols are just supported when loading - # translations from the filesystem or through explicit store translations. - # - # Also, avoid calling I18n.available_locales since it's a somehow - # expensive operation in most stores. - # - # == Example - # - # To setup I18n to use TokyoCabinet in memory is quite straightforward: - # - # require 'rufus/tokyo/cabinet' # gem install rufus-tokyo - # I18n.backend = I18n::Backend::KeyValue.new(Rufus::Tokyo::Cabinet.new('*')) - # - # == Performance - # - # You may make this backend even faster by including the Memoize module. - # However, notice that you should properly clear the cache if you change - # values directly in the key-store. - # - # == Subtrees - # - # In most backends, you are allowed to retrieve part of a translation tree: - # - # I18n.backend.store_translations :en, :foo => { :bar => :baz } - # I18n.t "foo" #=> { :bar => :baz } - # - # This backend supports this feature by default, but it slows down the storage - # of new data considerably and makes hard to delete entries. That said, you are - # allowed to disable the storage of subtrees on initialization: - # - # I18n::Backend::KeyValue.new(@store, false) - # - # This is useful if you are using a KeyValue backend chained to a Simple backend. - class KeyValue - module Implementation - attr_accessor :store - - include Base, Flatten - - def initialize(store, subtrees=true) - @store, @subtrees = store, subtrees - end - - def store_translations(locale, data, options = {}) - escape = options.fetch(:escape, true) - flatten_translations(locale, data, escape, @subtrees).each do |key, value| - key = "#{locale}.#{key}" - - case value - when Hash - if @subtrees && (old_value = @store[key]) - old_value = ActiveSupport::JSON.decode(old_value) - value = old_value.deep_symbolize_keys.deep_merge!(value) if old_value.is_a?(Hash) - end - when Proc - raise "Key-value stores cannot handle procs" - end - - @store[key] = ActiveSupport::JSON.encode(value) unless value.is_a?(Symbol) - end - end - - def available_locales - locales = @store.keys.map { |k| k =~ /\./; $` } - locales.uniq! - locales.compact! - locales.map! { |k| k.to_sym } - locales - end - - protected - - def lookup(locale, key, scope = [], options = {}) - key = normalize_flat_keys(locale, key, scope, options[:separator]) - value = @store["#{locale}.#{key}"] - value = ActiveSupport::JSON.decode(value) if value - value.is_a?(Hash) ? value.deep_symbolize_keys : value - end - end - - include Implementation - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/memoize.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/memoize.rb deleted file mode 100644 index ae9801f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/memoize.rb +++ /dev/null @@ -1,46 +0,0 @@ -# Memoize module simply memoizes the values returned by lookup using -# a flat hash and can tremendously speed up the lookup process in a backend. -# -# To enable it you can simply include the Memoize module to your backend: -# -# I18n::Backend::Simple.include(I18n::Backend::Memoize) -# -# Notice that it's the responsibility of the backend to define whenever the -# cache should be cleaned. -module I18n - module Backend - module Memoize - def available_locales - @memoized_locales ||= super - end - - def store_translations(locale, data, options = {}) - reset_memoizations!(locale) - super - end - - def reload! - reset_memoizations! - super - end - - protected - - def lookup(locale, key, scope = nil, options = {}) - flat_key = I18n::Backend::Flatten.normalize_flat_keys(locale, - key, scope, options[:separator]).to_sym - flat_hash = memoized_lookup[locale.to_sym] - flat_hash.key?(flat_key) ? flat_hash[flat_key] : (flat_hash[flat_key] = super) - end - - def memoized_lookup - @memoized_lookup ||= Hash.new { |h, k| h[k] = {} } - end - - def reset_memoizations!(locale=nil) - @memoized_locales = nil - (locale ? memoized_lookup[locale.to_sym] : memoized_lookup).clear - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/metadata.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/metadata.rb deleted file mode 100644 index 52c0a29..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/metadata.rb +++ /dev/null @@ -1,65 +0,0 @@ -# I18n translation metadata is useful when you want to access information -# about how a translation was looked up, pluralized or interpolated in -# your application. -# -# msg = I18n.t(:message, :default => 'Hi!', :scope => :foo) -# msg.translation_metadata -# # => { :key => :message, :scope => :foo, :default => 'Hi!' } -# -# If a :count option was passed to #translate it will be set to the metadata. -# Likewise, if any interpolation variables were passed they will also be set. -# -# To enable translation metadata you can simply include the Metadata module -# into the Simple backend class - or whatever other backend you are using: -# -# I18n::Backend::Simple.include(I18n::Backend::Metadata) -# -module I18n - module Backend - module Metadata - class << self - def included(base) - Object.class_eval do - def translation_metadata - @translation_metadata ||= {} - end - - def translation_metadata=(translation_metadata) - @translation_metadata = translation_metadata - end - end unless Object.method_defined?(:translation_metadata) - end - end - - def translate(locale, key, options = {}) - metadata = { - :locale => locale, - :key => key, - :scope => options[:scope], - :default => options[:default], - :separator => options[:separator], - :values => options.reject { |name, value| RESERVED_KEYS.include?(name) } - } - with_metadata(metadata) { super } - end - - def interpolate(locale, entry, values = {}) - metadata = entry.translation_metadata.merge(:original => entry) - with_metadata(metadata) { super } - end - - def pluralize(locale, entry, count) - with_metadata(:count => count) { super } - end - - protected - - def with_metadata(metadata, &block) - result = yield - result.translation_metadata = result.translation_metadata.merge(metadata) if result - result - end - - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/pluralization.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/pluralization.rb deleted file mode 100644 index c73a009..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/pluralization.rb +++ /dev/null @@ -1,53 +0,0 @@ -# I18n Pluralization are useful when you want your application to -# customize pluralization rules. -# -# To enable locale specific pluralizations you can simply include the -# Pluralization module to the Simple backend - or whatever other backend you -# are using. -# -# I18n::Backend::Simple.include(I18n::Backend::Pluralization) -# -# You also need to make sure to provide pluralization algorithms to the -# backend, i.e. include them to your I18n.load_path accordingly. -module I18n - module Backend - module Pluralization - # Overwrites the Base backend translate method so that it will check the - # translation meta data space (:i18n) for a locale specific pluralization - # rule and use it to pluralize the given entry. I.e. the library expects - # pluralization rules to be stored at I18n.t(:'i18n.plural.rule') - # - # Pluralization rules are expected to respond to #call(count) and - # return a pluralization key. Valid keys depend on the translation data - # hash (entry) but it is generally recommended to follow CLDR's style, - # i.e., return one of the keys :zero, :one, :few, :many, :other. - # - # The :zero key is always picked directly when count equals 0 AND the - # translation data has the key :zero. This way translators are free to - # either pick a special :zero translation even for languages where the - # pluralizer does not return a :zero key. - def pluralize(locale, entry, count) - return entry unless entry.is_a?(Hash) and count - - pluralizer = pluralizer(locale) - if pluralizer.respond_to?(:call) - key = count == 0 && entry.has_key?(:zero) ? :zero : pluralizer.call(count) - raise InvalidPluralizationData.new(entry, count) unless entry.has_key?(key) - entry[key] - else - super - end - end - - protected - - def pluralizers - @pluralizers ||= {} - end - - def pluralizer(locale) - pluralizers[locale] ||= I18n.t(:'i18n.plural.rule', :locale => locale, :resolve => false) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/simple.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/simple.rb deleted file mode 100644 index 95ffb6a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/simple.rb +++ /dev/null @@ -1,87 +0,0 @@ -module I18n - module Backend - # A simple backend that reads translations from YAML files and stores them in - # an in-memory hash. Relies on the Base backend. - # - # The implementation is provided by a Implementation module allowing to easily - # extend Simple backend's behavior by including modules. E.g.: - # - # module I18n::Backend::Pluralization - # def pluralize(*args) - # # extended pluralization logic - # super - # end - # end - # - # I18n::Backend::Simple.include(I18n::Backend::Pluralization) - class Simple - (class << self; self; end).class_eval { public :include } - - module Implementation - include Base - - def initialized? - @initialized ||= false - end - - # Stores translations for the given locale in memory. - # This uses a deep merge for the translations hash, so existing - # translations will be overwritten by new ones only at the deepest - # level of the hash. - def store_translations(locale, data, options = {}) - locale = locale.to_sym - translations[locale] ||= {} - data = data.deep_symbolize_keys - translations[locale].deep_merge!(data) - end - - # Get available locales from the translations hash - def available_locales - init_translations unless initialized? - translations.inject([]) do |locales, (locale, data)| - locales << locale unless (data.keys - [:i18n]).empty? - locales - end - end - - # Clean up translations hash and set initialized to false on reload! - def reload! - @initialized = false - @translations = nil - super - end - - protected - - def init_translations - load_translations - @initialized = true - end - - def translations - @translations ||= {} - end - - # Looks up a translation from the translations hash. Returns nil if - # eiher key is nil, or locale, scope or key do not exist as a key in the - # nested translations hash. Splits keys or scopes containing dots - # into multiple keys, i.e. currency.format is regarded the same as - # %w(currency format). - def lookup(locale, key, scope = [], options = {}) - init_translations unless initialized? - keys = I18n.normalize_keys(locale, key, scope, options[:separator]) - - keys.inject(translations) do |result, _key| - _key = _key.to_sym - return nil unless result.is_a?(Hash) && result.has_key?(_key) - result = result[_key] - result = resolve(locale, _key, result, options.merge(:scope => nil)) if result.is_a?(Symbol) - result - end - end - end - - include Implementation - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/transliterator.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/transliterator.rb deleted file mode 100644 index 2ee983d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/backend/transliterator.rb +++ /dev/null @@ -1,99 +0,0 @@ -# encoding: utf-8 -module I18n - module Backend - module Transliterator - DEFAULT_REPLACEMENT_CHAR = "?" - - # Given a locale and a UTF-8 string, return the locale's ASCII - # approximation for the string. - def transliterate(locale, string, replacement = nil) - @transliterators ||= {} - @transliterators[locale] ||= Transliterator.get I18n.t(:'i18n.transliterate.rule', - :locale => locale, :resolve => false, :default => {}) - @transliterators[locale].transliterate(string, replacement) - end - - # Get a transliterator instance. - def self.get(rule = nil) - if !rule || rule.kind_of?(Hash) - HashTransliterator.new(rule) - elsif rule.kind_of? Proc - ProcTransliterator.new(rule) - else - raise I18n::ArgumentError, "Transliteration rule must be a proc or a hash." - end - end - - # A transliterator which accepts a Proc as its transliteration rule. - class ProcTransliterator - def initialize(rule) - @rule = rule - end - - def transliterate(string, replacement = nil) - @rule.call(string) - end - end - - # A transliterator which accepts a Hash of characters as its translation - # rule. - class HashTransliterator - DEFAULT_APPROXIMATIONS = { - "À"=>"A", "Á"=>"A", "Â"=>"A", "Ã"=>"A", "Ä"=>"A", "Å"=>"A", "Æ"=>"AE", - "Ç"=>"C", "È"=>"E", "É"=>"E", "Ê"=>"E", "Ë"=>"E", "Ì"=>"I", "Í"=>"I", - "Î"=>"I", "Ï"=>"I", "Ð"=>"D", "Ñ"=>"N", "Ò"=>"O", "Ó"=>"O", "Ô"=>"O", - "Õ"=>"O", "Ö"=>"O", "×"=>"x", "Ø"=>"O", "Ù"=>"U", "Ú"=>"U", "Û"=>"U", - "Ü"=>"U", "Ý"=>"Y", "Þ"=>"Th", "ß"=>"ss", "à"=>"a", "á"=>"a", "â"=>"a", - "ã"=>"a", "ä"=>"a", "å"=>"a", "æ"=>"ae", "ç"=>"c", "è"=>"e", "é"=>"e", - "ê"=>"e", "ë"=>"e", "ì"=>"i", "í"=>"i", "î"=>"i", "ï"=>"i", "ð"=>"d", - "ñ"=>"n", "ò"=>"o", "ó"=>"o", "ô"=>"o", "õ"=>"o", "ö"=>"o", "ø"=>"o", - "ù"=>"u", "ú"=>"u", "û"=>"u", "ü"=>"u", "ý"=>"y", "þ"=>"th", "ÿ"=>"y", - "Ā"=>"A", "ā"=>"a", "Ă"=>"A", "ă"=>"a", "Ą"=>"A", "ą"=>"a", "Ć"=>"C", - "ć"=>"c", "Ĉ"=>"C", "ĉ"=>"c", "Ċ"=>"C", "ċ"=>"c", "Č"=>"C", "č"=>"c", - "Ď"=>"D", "ď"=>"d", "Đ"=>"D", "đ"=>"d", "Ē"=>"E", "ē"=>"e", "Ĕ"=>"E", - "ĕ"=>"e", "Ė"=>"E", "ė"=>"e", "Ę"=>"E", "ę"=>"e", "Ě"=>"E", "ě"=>"e", - "Ĝ"=>"G", "ĝ"=>"g", "Ğ"=>"G", "ğ"=>"g", "Ġ"=>"G", "ġ"=>"g", "Ģ"=>"G", - "ģ"=>"g", "Ĥ"=>"H", "ĥ"=>"h", "Ħ"=>"H", "ħ"=>"h", "Ĩ"=>"I", "ĩ"=>"i", - "Ī"=>"I", "ī"=>"i", "Ĭ"=>"I", "ĭ"=>"i", "Į"=>"I", "į"=>"i", "İ"=>"I", - "ı"=>"i", "IJ"=>"IJ", "ij"=>"ij", "Ĵ"=>"J", "ĵ"=>"j", "Ķ"=>"K", "ķ"=>"k", - "ĸ"=>"k", "Ĺ"=>"L", "ĺ"=>"l", "Ļ"=>"L", "ļ"=>"l", "Ľ"=>"L", "ľ"=>"l", - "Ŀ"=>"L", "ŀ"=>"l", "Ł"=>"L", "ł"=>"l", "Ń"=>"N", "ń"=>"n", "Ņ"=>"N", - "ņ"=>"n", "Ň"=>"N", "ň"=>"n", "ʼn"=>"'n", "Ŋ"=>"NG", "ŋ"=>"ng", - "Ō"=>"O", "ō"=>"o", "Ŏ"=>"O", "ŏ"=>"o", "Ő"=>"O", "ő"=>"o", "Œ"=>"OE", - "œ"=>"oe", "Ŕ"=>"R", "ŕ"=>"r", "Ŗ"=>"R", "ŗ"=>"r", "Ř"=>"R", "ř"=>"r", - "Ś"=>"S", "ś"=>"s", "Ŝ"=>"S", "ŝ"=>"s", "Ş"=>"S", "ş"=>"s", "Š"=>"S", - "š"=>"s", "Ţ"=>"T", "ţ"=>"t", "Ť"=>"T", "ť"=>"t", "Ŧ"=>"T", "ŧ"=>"t", - "Ũ"=>"U", "ũ"=>"u", "Ū"=>"U", "ū"=>"u", "Ŭ"=>"U", "ŭ"=>"u", "Ů"=>"U", - "ů"=>"u", "Ű"=>"U", "ű"=>"u", "Ų"=>"U", "ų"=>"u", "Ŵ"=>"W", "ŵ"=>"w", - "Ŷ"=>"Y", "ŷ"=>"y", "Ÿ"=>"Y", "Ź"=>"Z", "ź"=>"z", "Ż"=>"Z", "ż"=>"z", - "Ž"=>"Z", "ž"=>"z" - }.freeze - - def initialize(rule = nil) - @rule = rule - add DEFAULT_APPROXIMATIONS.dup - add rule if rule - end - - def transliterate(string, replacement = nil) - string.gsub(/[^\x00-\x7f]/u) do |char| - approximations[char] || replacement || DEFAULT_REPLACEMENT_CHAR - end - end - - private - - def approximations - @approximations ||= {} - end - - # Add transliteration rules to the approximations hash. - def add(hash) - hash.each do |key, value| - approximations[key.to_s] = value.to_s - end - end - end - end - end -end \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/config.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/config.rb deleted file mode 100644 index 0a232a0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/config.rb +++ /dev/null @@ -1,140 +0,0 @@ -require 'set' - -module I18n - class Config - # The only configuration value that is not global and scoped to thread is :locale. - # It defaults to the default_locale. - def locale - @locale ||= default_locale - end - - # Sets the current locale pseudo-globally, i.e. in the Thread.current hash. - def locale=(locale) - I18n.enforce_available_locales!(locale) - @locale = locale && locale.to_sym - end - - # Returns the current backend. Defaults to +Backend::Simple+. - def backend - @@backend ||= Backend::Simple.new - end - - # Sets the current backend. Used to set a custom backend. - def backend=(backend) - @@backend = backend - end - - # Returns the current default locale. Defaults to :'en' - def default_locale - @@default_locale ||= :en - end - - # Sets the current default locale. Used to set a custom default locale. - def default_locale=(locale) - I18n.enforce_available_locales!(locale) - @@default_locale = locale && locale.to_sym - end - - # Returns an array of locales for which translations are available. - # Unless you explicitely set these through I18n.available_locales= - # the call will be delegated to the backend. - def available_locales - @@available_locales ||= nil - @@available_locales || backend.available_locales - end - - # Caches the available locales list as both strings and symbols in a Set, so - # that we can have faster lookups to do the available locales enforce check. - def available_locales_set #:nodoc: - @@available_locales_set ||= available_locales.inject(Set.new) do |set, locale| - set << locale.to_s << locale.to_sym - end - end - - # Sets the available locales. - def available_locales=(locales) - @@available_locales = Array(locales).map { |locale| locale.to_sym } - @@available_locales = nil if @@available_locales.empty? - @@available_locales_set = nil - end - - # Clears the available locales set so it can be recomputed again after I18n - # gets reloaded. - def clear_available_locales_set #:nodoc: - @@available_locales_set = nil - end - - # Returns the current default scope separator. Defaults to '.' - def default_separator - @@default_separator ||= '.' - end - - # Sets the current default scope separator. - def default_separator=(separator) - @@default_separator = separator - end - - # Returns the current exception handler. Defaults to an instance of - # I18n::ExceptionHandler. - def exception_handler - @@exception_handler ||= ExceptionHandler.new - end - - # Sets the exception handler. - def exception_handler=(exception_handler) - @@exception_handler = exception_handler - end - - # Returns the current handler for situations when interpolation argument - # is missing. MissingInterpolationArgument will be raised by default. - def missing_interpolation_argument_handler - @@missing_interpolation_argument_handler ||= lambda do |missing_key, provided_hash, string| - raise MissingInterpolationArgument.new(missing_key, provided_hash, string) - end - end - - # Sets the missing interpolation argument handler. It can be any - # object that responds to #call. The arguments that will be passed to #call - # are the same as for MissingInterpolationArgument initializer. Use +Proc.new+ - # if you don't care about arity. - # - # == Example: - # You can supress raising an exception and return string instead: - # - # I18n.config.missing_interpolation_argument_handler = Proc.new do |key| - # "#{key} is missing" - # end - def missing_interpolation_argument_handler=(exception_handler) - @@missing_interpolation_argument_handler = exception_handler - end - - # Allow clients to register paths providing translation data sources. The - # backend defines acceptable sources. - # - # E.g. the provided SimpleBackend accepts a list of paths to translation - # files which are either named *.rb and contain plain Ruby Hashes or are - # named *.yml and contain YAML data. So for the SimpleBackend clients may - # register translation files like this: - # I18n.load_path << 'path/to/locale/en.yml' - def load_path - @@load_path ||= [] - end - - # Sets the load path instance. Custom implementations are expected to - # behave like a Ruby Array. - def load_path=(load_path) - @@load_path = load_path - end - - # Whether or not to verify if locales are in the list of available locales. - # Defaults to true. - @@enforce_available_locales = true - def enforce_available_locales - @@enforce_available_locales - end - - def enforce_available_locales=(enforce_available_locales) - @@enforce_available_locales = enforce_available_locales - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/hash.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/hash.rb deleted file mode 100644 index f2a2422..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/hash.rb +++ /dev/null @@ -1,29 +0,0 @@ -class Hash - def slice(*keep_keys) - h = {} - keep_keys.each { |key| h[key] = fetch(key) } - h - end unless Hash.method_defined?(:slice) - - def except(*less_keys) - slice(*keys - less_keys) - end unless Hash.method_defined?(:except) - - def deep_symbolize_keys - inject({}) { |result, (key, value)| - value = value.deep_symbolize_keys if value.is_a?(Hash) - result[(key.to_sym rescue key) || key] = value - result - } - end unless Hash.method_defined?(:deep_symbolize_keys) - - # deep_merge_hash! by Stefan Rusterholz, see http://www.ruby-forum.com/topic/142809 - MERGER = proc do |key, v1, v2| - Hash === v1 && Hash === v2 ? v1.merge(v2, &MERGER) : v2 - end - - def deep_merge!(data) - merge!(data, &MERGER) - end unless Hash.method_defined?(:deep_merge!) -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/kernel/suppress_warnings.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/kernel/suppress_warnings.rb deleted file mode 100644 index eec1435..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/kernel/suppress_warnings.rb +++ /dev/null @@ -1,8 +0,0 @@ -module Kernel - def suppress_warnings - original_verbosity, $VERBOSE = $VERBOSE, nil - yield - ensure - $VERBOSE = original_verbosity - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/string/interpolate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/string/interpolate.rb deleted file mode 100644 index a353310..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/core_ext/string/interpolate.rb +++ /dev/null @@ -1,9 +0,0 @@ -# This file used to backport the Ruby 1.9 String interpolation syntax to Ruby 1.8. -# -# Since I18n has dropped support to Ruby 1.8, this file is not required anymore, -# however, Rails 3.2 still requires it directly: -# -# https://github.com/rails/rails/blob/3-2-stable/activesupport/lib/active_support/core_ext/string/interpolation.rb#L2 -# -# So we can't just drop the file entirely, which would then break Rails users -# under Ruby 1.9. This file can be removed once Rails 3.2 support is dropped. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/exceptions.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/exceptions.rb deleted file mode 100644 index 35c4572..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/exceptions.rb +++ /dev/null @@ -1,104 +0,0 @@ -require 'cgi' - -module I18n - # Handles exceptions raised in the backend. All exceptions except for - # MissingTranslationData exceptions are re-thrown. When a MissingTranslationData - # was caught the handler returns an error message string containing the key/scope. - # Note that the exception handler is not called when the option :throw was given. - class ExceptionHandler - include Module.new { - def call(exception, locale, key, options) - case exception - when MissingTranslation - exception.message - when Exception - raise exception - else - throw :exception, exception - end - end - } - end - - class ArgumentError < ::ArgumentError; end - - class InvalidLocale < ArgumentError - attr_reader :locale - def initialize(locale) - @locale = locale - super "#{locale.inspect} is not a valid locale" - end - end - - class InvalidLocaleData < ArgumentError - attr_reader :filename - def initialize(filename, exception_message) - @filename, @exception_message = filename, exception_message - super "can not load translations from #{filename}: #{exception_message}" - end - end - - class MissingTranslation - module Base - attr_reader :locale, :key, :options - - def initialize(locale, key, options = nil) - @key, @locale, @options = key, locale, options.dup || {} - options.each { |k, v| self.options[k] = v.inspect if v.is_a?(Proc) } - end - - def keys - @keys ||= I18n.normalize_keys(locale, key, options[:scope]).tap do |keys| - keys << 'no key' if keys.size < 2 - end - end - - def message - "translation missing: #{keys.join('.')}" - end - alias :to_s :message - - def to_exception - MissingTranslationData.new(locale, key, options) - end - end - - include Base - end - - class MissingTranslationData < ArgumentError - include MissingTranslation::Base - end - - class InvalidPluralizationData < ArgumentError - attr_reader :entry, :count - def initialize(entry, count) - @entry, @count = entry, count - super "translation data #{entry.inspect} can not be used with :count => #{count}" - end - end - - class MissingInterpolationArgument < ArgumentError - attr_reader :key, :values, :string - def initialize(key, values, string) - @key, @values, @string = key, values, string - super "missing interpolation argument #{key.inspect} in #{string.inspect} (#{values.inspect} given)" - end - end - - class ReservedInterpolationKey < ArgumentError - attr_reader :key, :string - def initialize(key, string) - @key, @string = key, string - super "reserved key #{key.inspect} used in #{string.inspect}" - end - end - - class UnknownFileType < ArgumentError - attr_reader :type, :filename - def initialize(type, filename) - @type, @filename = type, filename - super "can not load translations from #{filename}, the file type #{type} is not known" - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext.rb deleted file mode 100644 index 26a5d48..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext.rb +++ /dev/null @@ -1,25 +0,0 @@ -module I18n - module Gettext - PLURAL_SEPARATOR = "\001" - CONTEXT_SEPARATOR = "\004" - - autoload :Helpers, 'i18n/gettext/helpers' - - @@plural_keys = { :en => [:one, :other] } - - class << self - # returns an array of plural keys for the given locale so that we can - # convert from gettext's integer-index based style - # TODO move this information to the pluralization module - def plural_keys(locale) - @@plural_keys[locale] || @@plural_keys[:en] - end - - def extract_scope(msgid, separator) - scope = msgid.to_s.split(separator) - msgid = scope.pop - [scope, msgid] - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext/helpers.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext/helpers.rb deleted file mode 100644 index ea07d05..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext/helpers.rb +++ /dev/null @@ -1,64 +0,0 @@ -require 'i18n/gettext' - -module I18n - module Gettext - # Implements classical Gettext style accessors. To use this include the - # module to the global namespace or wherever you want to use it. - # - # include I18n::Gettext::Helpers - module Helpers - def gettext(msgid, options = {}) - I18n.t(msgid, { :default => msgid, :separator => '|' }.merge(options)) - end - alias _ gettext - - def sgettext(msgid, separator = '|') - scope, msgid = I18n::Gettext.extract_scope(msgid, separator) - I18n.t(msgid, :scope => scope, :default => msgid, :separator => separator) - end - alias s_ sgettext - - def pgettext(msgctxt, msgid) - separator = I18n::Gettext::CONTEXT_SEPARATOR - sgettext([msgctxt, msgid].join(separator), separator) - end - alias p_ pgettext - - def ngettext(msgid, msgid_plural, n = 1) - nsgettext(msgid, msgid_plural, n) - end - alias n_ ngettext - - # Method signatures: - # nsgettext('Fruits|apple', 'apples', 2) - # nsgettext(['Fruits|apple', 'apples'], 2) - def nsgettext(msgid, msgid_plural, n = 1, separator = '|') - if msgid.is_a?(Array) - msgid, msgid_plural, n, separator = msgid[0], msgid[1], msgid_plural, n - separator = '|' unless separator.is_a?(::String) - end - - scope, msgid = I18n::Gettext.extract_scope(msgid, separator) - default = { :one => msgid, :other => msgid_plural } - I18n.t(msgid, :default => default, :count => n, :scope => scope, :separator => separator) - end - alias ns_ nsgettext - - # Method signatures: - # npgettext('Fruits', 'apple', 'apples', 2) - # npgettext('Fruits', ['apple', 'apples'], 2) - def npgettext(msgctxt, msgid, msgid_plural, n = 1) - separator = I18n::Gettext::CONTEXT_SEPARATOR - - if msgid.is_a?(Array) - msgid_plural, msgid, n = msgid[1], [msgctxt, msgid[0]].join(separator), msgid_plural - else - msgid = [msgctxt, msgid].join(separator) - end - - nsgettext(msgid, msgid_plural, n, separator) - end - alias np_ npgettext - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext/po_parser.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext/po_parser.rb deleted file mode 100644 index 547df6a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/gettext/po_parser.rb +++ /dev/null @@ -1,329 +0,0 @@ -=begin - poparser.rb - Generate a .mo - - Copyright (C) 2003-2009 Masao Mutoh - - You may redistribute it and/or modify it under the same - license terms as Ruby. -=end - -#MODIFIED -# removed include GetText etc -# added stub translation method _(x) -require 'racc/parser' - -module GetText - - class PoParser < Racc::Parser - - def _(x) - x - end - -module_eval <<'..end src/poparser.ry modeval..id7a99570e05', 'src/poparser.ry', 108 - def unescape(orig) - ret = orig.gsub(/\\n/, "\n") - ret.gsub!(/\\t/, "\t") - ret.gsub!(/\\r/, "\r") - ret.gsub!(/\\"/, "\"") - ret - end - - def parse(str, data, ignore_fuzzy = true) - @comments = [] - @data = data - @fuzzy = false - @msgctxt = "" - $ignore_fuzzy = ignore_fuzzy - - str.strip! - @q = [] - until str.empty? do - case str - when /\A\s+/ - str = $' - when /\Amsgctxt/ - @q.push [:MSGCTXT, $&] - str = $' - when /\Amsgid_plural/ - @q.push [:MSGID_PLURAL, $&] - str = $' - when /\Amsgid/ - @q.push [:MSGID, $&] - str = $' - when /\Amsgstr/ - @q.push [:MSGSTR, $&] - str = $' - when /\A\[(\d+)\]/ - @q.push [:PLURAL_NUM, $1] - str = $' - when /\A\#~(.*)/ - $stderr.print _("Warning: obsolete msgid exists.\n") - $stderr.print " #{$&}\n" - @q.push [:COMMENT, $&] - str = $' - when /\A\#(.*)/ - @q.push [:COMMENT, $&] - str = $' - when /\A\"(.*)\"/ - @q.push [:STRING, $1] - str = $' - else - #c = str[0,1] - #@q.push [:STRING, c] - str = str[1..-1] - end - end - @q.push [false, '$end'] - if $DEBUG - @q.each do |a,b| - puts "[#{a}, #{b}]" - end - end - @yydebug = true if $DEBUG - do_parse - - if @comments.size > 0 - @data.set_comment(:last, @comments.join("\n")) - end - @data - end - - def next_token - @q.shift - end - - def on_message(msgid, msgstr) - if msgstr.size > 0 - @data[msgid] = msgstr - @data.set_comment(msgid, @comments.join("\n")) - end - @comments.clear - @msgctxt = "" - end - - def on_comment(comment) - @fuzzy = true if (/fuzzy/ =~ comment) - @comments << comment - end - - -..end src/poparser.ry modeval..id7a99570e05 - -##### racc 1.4.5 generates ### - -racc_reduce_table = [ - 0, 0, :racc_error, - 0, 10, :_reduce_none, - 2, 10, :_reduce_none, - 2, 10, :_reduce_none, - 2, 10, :_reduce_none, - 2, 12, :_reduce_5, - 1, 13, :_reduce_none, - 1, 13, :_reduce_none, - 4, 15, :_reduce_8, - 5, 16, :_reduce_9, - 2, 17, :_reduce_10, - 1, 17, :_reduce_none, - 3, 18, :_reduce_12, - 1, 11, :_reduce_13, - 2, 14, :_reduce_14, - 1, 14, :_reduce_15 ] - -racc_reduce_n = 16 - -racc_shift_n = 26 - -racc_action_table = [ - 3, 13, 5, 7, 9, 15, 16, 17, 20, 17, - 13, 17, 13, 13, 11, 17, 23, 20, 13, 17 ] - -racc_action_check = [ - 1, 16, 1, 1, 1, 12, 12, 12, 18, 18, - 7, 14, 15, 9, 3, 19, 20, 21, 23, 25 ] - -racc_action_pointer = [ - nil, 0, nil, 14, nil, nil, nil, 3, nil, 6, - nil, nil, 0, nil, 4, 5, -6, nil, 2, 8, - 8, 11, nil, 11, nil, 12 ] - -racc_action_default = [ - -1, -16, -2, -16, -3, -13, -4, -16, -6, -16, - -7, 26, -16, -15, -5, -16, -16, -14, -16, -8, - -16, -9, -11, -16, -10, -12 ] - -racc_goto_table = [ - 12, 22, 14, 4, 24, 6, 2, 8, 18, 19, - 10, 21, 1, nil, nil, nil, 25 ] - -racc_goto_check = [ - 5, 9, 5, 3, 9, 4, 2, 6, 5, 5, - 7, 8, 1, nil, nil, nil, 5 ] - -racc_goto_pointer = [ - nil, 12, 5, 2, 4, -7, 6, 9, -7, -17 ] - -racc_goto_default = [ - nil, nil, nil, nil, nil, nil, nil, nil, nil, nil ] - -racc_token_table = { - false => 0, - Object.new => 1, - :COMMENT => 2, - :MSGID => 3, - :MSGCTXT => 4, - :MSGID_PLURAL => 5, - :MSGSTR => 6, - :STRING => 7, - :PLURAL_NUM => 8 } - -racc_use_result_var = true - -racc_nt_base = 9 - -Racc_arg = [ - racc_action_table, - racc_action_check, - racc_action_default, - racc_action_pointer, - racc_goto_table, - racc_goto_check, - racc_goto_default, - racc_goto_pointer, - racc_nt_base, - racc_reduce_table, - racc_token_table, - racc_shift_n, - racc_reduce_n, - racc_use_result_var ] - -Racc_token_to_s_table = [ -'$end', -'error', -'COMMENT', -'MSGID', -'MSGCTXT', -'MSGID_PLURAL', -'MSGSTR', -'STRING', -'PLURAL_NUM', -'$start', -'msgfmt', -'comment', -'msgctxt', -'message', -'string_list', -'single_message', -'plural_message', -'msgstr_plural', -'msgstr_plural_line'] - -Racc_debug_parser = true - -##### racc system variables end ##### - - # reduce 0 omitted - - # reduce 1 omitted - - # reduce 2 omitted - - # reduce 3 omitted - - # reduce 4 omitted - -module_eval <<'.,.,', 'src/poparser.ry', 25 - def _reduce_5( val, _values, result ) - @msgctxt = unescape(val[1]) + "\004" - result - end -.,., - - # reduce 6 omitted - - # reduce 7 omitted - -module_eval <<'.,.,', 'src/poparser.ry', 48 - def _reduce_8( val, _values, result ) - if @fuzzy and $ignore_fuzzy - if val[1] != "" - $stderr.print _("Warning: fuzzy message was ignored.\n") - $stderr.print " msgid '#{val[1]}'\n" - else - on_message('', unescape(val[3])) - end - @fuzzy = false - else - on_message(@msgctxt + unescape(val[1]), unescape(val[3])) - end - result = "" - result - end -.,., - -module_eval <<'.,.,', 'src/poparser.ry', 65 - def _reduce_9( val, _values, result ) - if @fuzzy and $ignore_fuzzy - if val[1] != "" - $stderr.print _("Warning: fuzzy message was ignored.\n") - $stderr.print "msgid = '#{val[1]}\n" - else - on_message('', unescape(val[3])) - end - @fuzzy = false - else - on_message(@msgctxt + unescape(val[1]) + "\000" + unescape(val[3]), unescape(val[4])) - end - result = "" - result - end -.,., - -module_eval <<'.,.,', 'src/poparser.ry', 76 - def _reduce_10( val, _values, result ) - if val[0].size > 0 - result = val[0] + "\000" + val[1] - else - result = "" - end - result - end -.,., - - # reduce 11 omitted - -module_eval <<'.,.,', 'src/poparser.ry', 84 - def _reduce_12( val, _values, result ) - result = val[2] - result - end -.,., - -module_eval <<'.,.,', 'src/poparser.ry', 91 - def _reduce_13( val, _values, result ) - on_comment(val[0]) - result - end -.,., - -module_eval <<'.,.,', 'src/poparser.ry', 99 - def _reduce_14( val, _values, result ) - result = val.delete_if{|item| item == ""}.join - result - end -.,., - -module_eval <<'.,.,', 'src/poparser.ry', 103 - def _reduce_15( val, _values, result ) - result = val[0] - result - end -.,., - - def _reduce_none( val, _values, result ) - result - end - - end # class PoParser - -end # module GetText diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb deleted file mode 100644 index 442677f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/interpolate/ruby.rb +++ /dev/null @@ -1,37 +0,0 @@ -# heavily based on Masao Mutoh's gettext String interpolation extension -# http://github.com/mutoh/gettext/blob/f6566738b981fe0952548c421042ad1e0cdfb31e/lib/gettext/core_ext/string.rb - -module I18n - INTERPOLATION_PATTERN = Regexp.union( - /%%/, - /%\{(\w+)\}/, # matches placeholders like "%{foo}" - /%<(\w+)>(.*?\d*\.?\d*[bBdiouxXeEfgGcps])/ # matches placeholders like "%.d" - ) - - class << self - # Return String or raises MissingInterpolationArgument exception. - # Missing argument's logic is handled by I18n.config.missing_interpolation_argument_handler. - def interpolate(string, values) - raise ReservedInterpolationKey.new($1.to_sym, string) if string =~ RESERVED_KEYS_PATTERN - raise ArgumentError.new('Interpolation values must be a Hash.') unless values.kind_of?(Hash) - interpolate_hash(string, values) - end - - def interpolate_hash(string, values) - string.gsub(INTERPOLATION_PATTERN) do |match| - if match == '%%' - '%' - else - key = ($1 || $2).to_sym - value = if values.key?(key) - values[key] - else - config.missing_interpolation_argument_handler.call(key, values, string) - end - value = value.call(values) if value.respond_to?(:call) - $3 ? sprintf("%#{$3}", value) : value - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale.rb deleted file mode 100644 index 4f9d026..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale.rb +++ /dev/null @@ -1,6 +0,0 @@ -module I18n - module Locale - autoload :Fallbacks, 'i18n/locale/fallbacks' - autoload :Tag, 'i18n/locale/tag' - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/fallbacks.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/fallbacks.rb deleted file mode 100644 index 08bf6f5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/fallbacks.rb +++ /dev/null @@ -1,96 +0,0 @@ -# Locale Fallbacks -# -# Extends the I18n module to hold a fallbacks instance which is set to an -# instance of I18n::Locale::Fallbacks by default but can be swapped with a -# different implementation. -# -# Locale fallbacks will compute a number of fallback locales for a given locale. -# For example: -# -#

-# I18n.fallbacks[:"es-MX"] # => [:"es-MX", :es, :en] 
-# -# Locale fallbacks always fall back to -# -# * all parent locales of a given locale (e.g. :es for :"es-MX") first, -# * the current default locales and all of their parents second -# -# The default locales are set to [I18n.default_locale] by default but can be -# set to something else. -# -# One can additionally add any number of additional fallback locales manually. -# These will be added before the default locales to the fallback chain. For -# example: -# -# # using the default locale as default fallback locale -# -# I18n.default_locale = :"en-US" -# I18n.fallbacks = I18n::Locale::Fallbacks.new(:"de-AT" => :"de-DE") -# I18n.fallbacks[:"de-AT"] # => [:"de-AT", :"de-DE", :de, :"en-US", :en] -# -# # using a custom locale as default fallback locale -# -# I18n.fallbacks = I18n::Locale::Fallbacks.new(:"en-GB", :"de-AT" => :de, :"de-CH" => :de) -# I18n.fallbacks[:"de-AT"] # => [:"de-AT", :de, :"en-GB", :en] -# I18n.fallbacks[:"de-CH"] # => [:"de-CH", :de, :"en-GB", :en] -# -# # mapping fallbacks to an existing instance -# -# # people speaking Catalan also speak Spanish as spoken in Spain -# fallbacks = I18n.fallbacks -# fallbacks.map(:ca => :"es-ES") -# fallbacks[:ca] # => [:ca, :"es-ES", :es, :"en-US", :en] -# -# # people speaking Arabian as spoken in Palestine also speak Hebrew as spoken in Israel -# fallbacks.map(:"ar-PS" => :"he-IL") -# fallbacks[:"ar-PS"] # => [:"ar-PS", :ar, :"he-IL", :he, :"en-US", :en] -# fallbacks[:"ar-EG"] # => [:"ar-EG", :ar, :"en-US", :en] -# -# # people speaking Sami as spoken in Finnland also speak Swedish and Finnish as spoken in Finnland -# fallbacks.map(:sms => [:"se-FI", :"fi-FI"]) -# fallbacks[:sms] # => [:sms, :"se-FI", :se, :"fi-FI", :fi, :"en-US", :en] - -module I18n - module Locale - class Fallbacks < Hash - def initialize(*mappings) - @map = {} - map(mappings.pop) if mappings.last.is_a?(Hash) - self.defaults = mappings.empty? ? [I18n.default_locale.to_sym] : mappings - end - - def defaults=(defaults) - @defaults = defaults.map { |default| compute(default, false) }.flatten - end - attr_reader :defaults - - def [](locale) - raise InvalidLocale.new(locale) if locale.nil? - locale = locale.to_sym - super || store(locale, compute(locale)) - end - - def map(mappings) - mappings.each do |from, to| - from, to = from.to_sym, Array(to) - to.each do |_to| - @map[from] ||= [] - @map[from] << _to.to_sym - end - end - end - - protected - - def compute(tags, include_defaults = true, exclude = []) - result = Array(tags).collect do |tag| - tags = I18n::Locale::Tag.tag(tag).self_and_parents.map! { |t| t.to_sym } - exclude - tags.each { |_tag| tags += compute(@map[_tag], false, exclude + tags) if @map[_tag] } - tags - end.flatten - result.push(*defaults) if include_defaults - result.uniq.compact - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag.rb deleted file mode 100644 index a640b44..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag.rb +++ /dev/null @@ -1,28 +0,0 @@ -# encoding: utf-8 - -module I18n - module Locale - module Tag - autoload :Parents, 'i18n/locale/tag/parents' - autoload :Rfc4646, 'i18n/locale/tag/rfc4646' - autoload :Simple, 'i18n/locale/tag/simple' - - class << self - # Returns the current locale tag implementation. Defaults to +I18n::Locale::Tag::Simple+. - def implementation - @@implementation ||= Simple - end - - # Sets the current locale tag implementation. Use this to set a different locale tag implementation. - def implementation=(implementation) - @@implementation = implementation - end - - # Factory method for locale tags. Delegates to the current locale tag implementation. - def tag(tag) - implementation.tag(tag) - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/parents.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/parents.rb deleted file mode 100644 index ec53060..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/parents.rb +++ /dev/null @@ -1,22 +0,0 @@ -module I18n - module Locale - module Tag - module Parents - def parent - @parent ||= begin - segs = to_a.compact - segs.length > 1 ? self.class.tag(*segs[0..(segs.length-2)].join('-')) : nil - end - end - - def self_and_parents - @self_and_parents ||= [self] + parents - end - - def parents - @parents ||= ([parent] + (parent ? parent.parents : [])).compact - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/rfc4646.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/rfc4646.rb deleted file mode 100644 index 4ce4c75..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/rfc4646.rb +++ /dev/null @@ -1,74 +0,0 @@ -# RFC 4646/47 compliant Locale tag implementation that parses locale tags to -# subtags such as language, script, region, variant etc. -# -# For more information see by http://en.wikipedia.org/wiki/IETF_language_tag -# -# Rfc4646::Parser does not implement grandfathered tags. - -module I18n - module Locale - module Tag - RFC4646_SUBTAGS = [ :language, :script, :region, :variant, :extension, :privateuse, :grandfathered ] - RFC4646_FORMATS = { :language => :downcase, :script => :capitalize, :region => :upcase, :variant => :downcase } - - class Rfc4646 < Struct.new(*RFC4646_SUBTAGS) - class << self - # Parses the given tag and returns a Tag instance if it is valid. - # Returns false if the given tag is not valid according to RFC 4646. - def tag(tag) - matches = parser.match(tag) - new(*matches) if matches - end - - def parser - @@parser ||= Rfc4646::Parser - end - - def parser=(parser) - @@parser = parser - end - end - - include Parents - - RFC4646_FORMATS.each do |name, format| - define_method(name) { self[name].send(format) unless self[name].nil? } - end - - def to_sym - to_s.to_sym - end - - def to_s - @tag ||= to_a.compact.join("-") - end - - def to_a - members.collect { |attr| self.send(attr) } - end - - module Parser - PATTERN = %r{\A(?: - ([a-z]{2,3}(?:(?:-[a-z]{3}){0,3})?|[a-z]{4}|[a-z]{5,8}) # language - (?:-([a-z]{4}))? # script - (?:-([a-z]{2}|\d{3}))? # region - (?:-([0-9a-z]{5,8}|\d[0-9a-z]{3}))* # variant - (?:-([0-9a-wyz](?:-[0-9a-z]{2,8})+))* # extension - (?:-(x(?:-[0-9a-z]{1,8})+))?| # privateuse subtag - (x(?:-[0-9a-z]{1,8})+)| # privateuse tag - /* ([a-z]{1,3}(?:-[0-9a-z]{2,8}){1,2}) */ # grandfathered - )\z}xi - - class << self - def match(tag) - c = PATTERN.match(tag.to_s).captures - c[0..4] << (c[5].nil? ? c[6] : c[5]) << c[7] # TODO c[7] is grandfathered, throw a NotImplemented exception here? - rescue - false - end - end - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/simple.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/simple.rb deleted file mode 100644 index 68642a1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/locale/tag/simple.rb +++ /dev/null @@ -1,39 +0,0 @@ -# Simple Locale tag implementation that computes subtags by simply splitting -# the locale tag at '-' occurences. -module I18n - module Locale - module Tag - class Simple - class << self - def tag(tag) - new(tag) - end - end - - include Parents - - attr_reader :tag - - def initialize(*tag) - @tag = tag.join('-').to_sym - end - - def subtags - @subtags = tag.to_s.split('-').map { |subtag| subtag.to_s } - end - - def to_sym - tag - end - - def to_s - tag.to_s - end - - def to_a - subtags - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests.rb deleted file mode 100644 index 554cdef..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests.rb +++ /dev/null @@ -1,12 +0,0 @@ -module I18n - module Tests - autoload :Basics, 'i18n/tests/basics' - autoload :Defaults, 'i18n/tests/defaults' - autoload :Interpolation, 'i18n/tests/interpolation' - autoload :Link, 'i18n/tests/link' - autoload :Localization, 'i18n/tests/localization' - autoload :Lookup, 'i18n/tests/lookup' - autoload :Pluralization, 'i18n/tests/pluralization' - autoload :Procs, 'i18n/tests/procs' - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/basics.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/basics.rb deleted file mode 100644 index dc0596a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/basics.rb +++ /dev/null @@ -1,59 +0,0 @@ -module I18n - module Tests - module Basics - def teardown - I18n.available_locales = nil - end - - test "available_locales returns the locales stored to the backend by default" do - I18n.backend.store_translations('de', :foo => 'bar') - I18n.backend.store_translations('en', :foo => 'foo') - - assert I18n.available_locales.include?(:de) - assert I18n.available_locales.include?(:en) - end - - test "available_locales can be set to something else independently from the actual locale data" do - I18n.backend.store_translations('de', :foo => 'bar') - I18n.backend.store_translations('en', :foo => 'foo') - - I18n.available_locales = :foo - assert_equal [:foo], I18n.available_locales - - I18n.available_locales = [:foo, 'bar'] - assert_equal [:foo, :bar], I18n.available_locales - - I18n.available_locales = nil - assert I18n.available_locales.include?(:de) - assert I18n.available_locales.include?(:en) - end - - test "available_locales memoizes when set explicitely" do - I18n.backend.expects(:available_locales).never - I18n.available_locales = [:foo] - I18n.backend.store_translations('de', :bar => 'baz') - I18n.reload! - assert_equal [:foo], I18n.available_locales - end - - test "available_locales delegates to the backend when not set explicitely" do - I18n.backend.expects(:available_locales).twice - assert_equal I18n.available_locales, I18n.available_locales - end - - test "exists? is implemented by the backend" do - I18n.backend.store_translations(:foo, :bar => 'baz') - assert I18n.exists?(:bar, :foo) - end - - test "storing a nil value as a translation removes it from the available locale data" do - I18n.backend.store_translations(:en, :to_be_deleted => 'bar') - assert_equal 'bar', I18n.t(:to_be_deleted, :default => 'baz') - - I18n.cache_store.clear if I18n.respond_to?(:cache_store) && I18n.cache_store - I18n.backend.store_translations(:en, :to_be_deleted => nil) - assert_equal 'baz', I18n.t(:to_be_deleted, :default => 'baz') - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/defaults.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/defaults.rb deleted file mode 100644 index 081dcbd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/defaults.rb +++ /dev/null @@ -1,40 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Defaults - def setup - super - I18n.backend.store_translations(:en, :foo => { :bar => 'bar', :baz => 'baz' }) - end - - test "defaults: given nil as a key it returns the given default" do - assert_equal 'default', I18n.t(nil, :default => 'default') - end - - test "defaults: given a symbol as a default it translates the symbol" do - assert_equal 'bar', I18n.t(nil, :default => :'foo.bar') - end - - test "defaults: given a symbol as a default and a scope it stays inside the scope when looking up the symbol" do - assert_equal 'bar', I18n.t(:missing, :default => :bar, :scope => :foo) - end - - test "defaults: given an array as a default it returns the first match" do - assert_equal 'bar', I18n.t(:does_not_exist, :default => [:does_not_exist_2, :'foo.bar']) - end - - test "defaults: given an array of missing keys it raises a MissingTranslationData exception" do - assert_raise I18n::MissingTranslationData do - I18n.t(:does_not_exist, :default => [:does_not_exist_2, :does_not_exist_3], :raise => true) - end - end - - test "defaults: using a custom scope separator" do - # data must have been stored using the custom separator when using the ActiveRecord backend - I18n.backend.store_translations(:en, { :foo => { :bar => 'bar' } }, { :separator => '|' }) - assert_equal 'bar', I18n.t(nil, :default => :'foo|bar', :separator => '|') - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/interpolation.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/interpolation.rb deleted file mode 100644 index add8b90..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/interpolation.rb +++ /dev/null @@ -1,133 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Interpolation - # If no interpolation parameter is not given, I18n should not alter the string. - # This behavior is due to three reasons: - # - # * Checking interpolation keys in all strings hits performance, badly; - # - # * This allows us to retrieve untouched values through I18n. For example - # I could have a middleware that returns I18n lookup results in JSON - # to be processed through Javascript. Leaving the keys untouched allows - # the interpolation to happen at the javascript level; - # - # * Security concerns: if I allow users to translate a web site, they can - # insert %{} in messages causing the I18n lookup to fail in every request. - # - test "interpolation: given no values it does not alter the string" do - assert_equal 'Hi %{name}!', interpolate(:default => 'Hi %{name}!') - end - - test "interpolation: given values it interpolates them into the string" do - assert_equal 'Hi David!', interpolate(:default => 'Hi %{name}!', :name => 'David') - end - - test "interpolation: given a nil value it still interpolates it into the string" do - assert_equal 'Hi !', interpolate(:default => 'Hi %{name}!', :name => nil) - end - - test "interpolation: given a lambda as a value it calls it if the string contains the key" do - assert_equal 'Hi David!', interpolate(:default => 'Hi %{name}!', :name => lambda { |*args| 'David' }) - end - - test "interpolation: given a lambda as a value it does not call it if the string does not contain the key" do - assert_nothing_raised { interpolate(:default => 'Hi!', :name => lambda { |*args| raise 'fail' }) } - end - - test "interpolation: given values but missing a key it raises I18n::MissingInterpolationArgument" do - assert_raise(I18n::MissingInterpolationArgument) do - interpolate(:default => '%{foo}', :bar => 'bar') - end - end - - test "interpolation: it does not raise I18n::MissingInterpolationArgument for escaped variables" do - assert_nothing_raised(I18n::MissingInterpolationArgument) do - assert_equal 'Barr %{foo}', interpolate(:default => '%{bar} %%{foo}', :bar => 'Barr') - end - end - - test "interpolation: it does not change the original, stored translation string" do - I18n.backend.store_translations(:en, :interpolate => 'Hi %{name}!') - assert_equal 'Hi David!', interpolate(:interpolate, :name => 'David') - assert_equal 'Hi Yehuda!', interpolate(:interpolate, :name => 'Yehuda') - end - - test "interpolation: given the translation is in utf-8 it still works" do - assert_equal 'Häi David!', interpolate(:default => 'Häi %{name}!', :name => 'David') - end - - test "interpolation: given the value is in utf-8 it still works" do - assert_equal 'Hi ゆきひろ!', interpolate(:default => 'Hi %{name}!', :name => 'ゆきひろ') - end - - test "interpolation: given the translation and the value are in utf-8 it still works" do - assert_equal 'こんにちは、ゆきひろさん!', interpolate(:default => 'こんにちは、%{name}さん!', :name => 'ゆきひろ') - end - - if Object.const_defined?(:Encoding) - test "interpolation: given a euc-jp translation and a utf-8 value it raises Encoding::CompatibilityError" do - assert_raise(Encoding::CompatibilityError) do - interpolate(:default => euc_jp('こんにちは、%{name}さん!'), :name => 'ゆきひろ') - end - end - - test "interpolation: given a utf-8 translation and a euc-jp value it raises Encoding::CompatibilityError" do - assert_raise(Encoding::CompatibilityError) do - interpolate(:default => 'こんにちは、%{name}さん!', :name => euc_jp('ゆきひろ')) - end - end - - test "interpolation: ASCII strings in the backend should be encoded to UTF8 if interpolation options are in UTF8" do - I18n.backend.store_translations 'en', 'encoding' => ('%{who} let me go'.force_encoding("ASCII")) - result = I18n.t 'encoding', :who => "måmmå miå" - assert_equal Encoding::UTF_8, result.encoding - end - - test "interpolation: UTF8 strings in the backend are still returned as UTF8 with ASCII interpolation" do - I18n.backend.store_translations 'en', 'encoding' => 'måmmå miå %{what}' - result = I18n.t 'encoding', :what => 'let me go'.force_encoding("ASCII") - assert_equal Encoding::UTF_8, result.encoding - end - - test "interpolation: UTF8 strings in the backend are still returned as UTF8 even with numbers interpolation" do - I18n.backend.store_translations 'en', 'encoding' => '%{count} times: måmmå miå' - result = I18n.t 'encoding', :count => 3 - assert_equal Encoding::UTF_8, result.encoding - end - end - - test "interpolation: given a translations containing a reserved key it raises I18n::ReservedInterpolationKey" do - assert_raise(I18n::ReservedInterpolationKey) { interpolate(:default => '%{default}', :foo => :bar) } - assert_raise(I18n::ReservedInterpolationKey) { interpolate(:default => '%{scope}', :foo => :bar) } - assert_raise(I18n::ReservedInterpolationKey) { interpolate(:default => '%{separator}', :foo => :bar) } - end - - protected - - def capture(stream) - begin - stream = stream.to_s - eval "$#{stream} = StringIO.new" - yield - result = eval("$#{stream}").string - ensure - eval("$#{stream} = #{stream.upcase}") - end - - result - end - - def euc_jp(string) - string.encode!(Encoding::EUC_JP) - end - - def interpolate(*args) - options = args.last.is_a?(Hash) ? args.pop : {} - key = args.pop - I18n.backend.translate('en', key, options) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/link.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/link.rb deleted file mode 100644 index da84a2c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/link.rb +++ /dev/null @@ -1,56 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Link - test "linked lookup: if a key resolves to a symbol it looks up the symbol" do - I18n.backend.store_translations 'en', { - :link => :linked, - :linked => 'linked' - } - assert_equal 'linked', I18n.backend.translate('en', :link) - end - - test "linked lookup: if a key resolves to a dot-separated symbol it looks up the symbol" do - I18n.backend.store_translations 'en', { - :link => :"foo.linked", - :foo => { :linked => 'linked' } - } - assert_equal('linked', I18n.backend.translate('en', :link)) - end - - test "linked lookup: if a dot-separated key resolves to a symbol it looks up the symbol" do - I18n.backend.store_translations 'en', { - :foo => { :link => :linked }, - :linked => 'linked' - } - assert_equal('linked', I18n.backend.translate('en', :'foo.link')) - end - - test "linked lookup: if a dot-separated key resolves to a dot-separated symbol it looks up the symbol" do - I18n.backend.store_translations 'en', { - :foo => { :link => :"bar.linked" }, - :bar => { :linked => 'linked' } - } - assert_equal('linked', I18n.backend.translate('en', :'foo.link')) - end - - test "linked lookup: links always refer to the absolute key" do - I18n.backend.store_translations 'en', { - :foo => { :link => :linked, :linked => 'linked in foo' }, - :linked => 'linked absolutely' - } - assert_equal 'linked absolutely', I18n.backend.translate('en', :link, :scope => :foo) - end - - test "linked lookup: a link can resolve to a namespace in the middle of a dot-separated key" do - I18n.backend.store_translations 'en', { - :activemodel => { :errors => { :messages => { :blank => "can't be blank" } } }, - :activerecord => { :errors => { :messages => :"activemodel.errors.messages" } } - } - assert_equal "can't be blank", I18n.t(:"activerecord.errors.messages.blank") - assert_equal "can't be blank", I18n.t(:"activerecord.errors.messages.blank") - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization.rb deleted file mode 100644 index 53b1502..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization.rb +++ /dev/null @@ -1,19 +0,0 @@ -module I18n - module Tests - module Localization - autoload :Date, 'i18n/tests/localization/date' - autoload :DateTime, 'i18n/tests/localization/date_time' - autoload :Time, 'i18n/tests/localization/time' - autoload :Procs, 'i18n/tests/localization/procs' - - def self.included(base) - base.class_eval do - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Procs - include I18n::Tests::Localization::Time - end - end - end - end -end \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/date.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/date.rb deleted file mode 100644 index a723475..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/date.rb +++ /dev/null @@ -1,91 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Localization - module Date - def setup - super - setup_date_translations - @date = ::Date.new(2008, 3, 1) - end - - test "localize Date: given the short format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal '01. Mar', I18n.l(@date, :format => :short, :locale => :de) - end - - test "localize Date: given the long format it uses it" do - assert_equal '01. März 2008', I18n.l(@date, :format => :long, :locale => :de) - end - - test "localize Date: given the default format it uses it" do - assert_equal '01.03.2008', I18n.l(@date, :format => :default, :locale => :de) - end - - test "localize Date: given a day name format it returns the correct day name" do - assert_equal 'Samstag', I18n.l(@date, :format => '%A', :locale => :de) - end - - test "localize Date: given an abbreviated day name format it returns the correct abbreviated day name" do - assert_equal 'Sa', I18n.l(@date, :format => '%a', :locale => :de) - end - - test "localize Date: given a month name format it returns the correct month name" do - assert_equal 'März', I18n.l(@date, :format => '%B', :locale => :de) - end - - test "localize Date: given an abbreviated month name format it returns the correct abbreviated month name" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Mar', I18n.l(@date, :format => '%b', :locale => :de) - end - - test "localize Date: given an unknown format it does not fail" do - assert_nothing_raised { I18n.l(@date, :format => '%x') } - end - - test "localize Date: does not modify the options hash" do - options = { :format => '%b', :locale => :de } - assert_equal 'Mar', I18n.l(@date, options) - assert_equal({ :format => '%b', :locale => :de }, options) - assert_nothing_raised { I18n.l(@date, options.freeze) } - end - - test "localize Date: given nil it raises I18n::ArgumentError" do - assert_raise(I18n::ArgumentError) { I18n.l(nil) } - end - - test "localize Date: given a plain Object it raises I18n::ArgumentError" do - assert_raise(I18n::ArgumentError) { I18n.l(Object.new) } - end - - test "localize Date: given a format is missing it raises I18n::MissingTranslationData" do - assert_raise(I18n::MissingTranslationData) { I18n.l(@date, :format => :missing) } - end - - test "localize Date: it does not alter the format string" do - assert_equal '01. Februar 2009', I18n.l(::Date.parse('2009-02-01'), :format => :long, :locale => :de) - assert_equal '01. Oktober 2009', I18n.l(::Date.parse('2009-10-01'), :format => :long, :locale => :de) - end - - protected - - def setup_date_translations - I18n.backend.store_translations :de, { - :date => { - :formats => { - :default => "%d.%m.%Y", - :short => "%d. %b", - :long => "%d. %B %Y", - }, - :day_names => %w(Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag), - :abbr_day_names => %w(So Mo Di Mi Do Fr Sa), - :month_names => %w(Januar Februar März April Mai Juni Juli August September Oktober November Dezember).unshift(nil), - :abbr_month_names => %w(Jan Feb Mar Apr Mai Jun Jul Aug Sep Okt Nov Dez).unshift(nil) - } - } - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/date_time.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/date_time.rb deleted file mode 100644 index 7a30bff..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/date_time.rb +++ /dev/null @@ -1,82 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Localization - module DateTime - def setup - super - setup_datetime_translations - @datetime = ::DateTime.new(2008, 3, 1, 6) - @other_datetime = ::DateTime.new(2008, 3, 1, 18) - end - - test "localize DateTime: given the short format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal '01. Mar 06:00', I18n.l(@datetime, :format => :short, :locale => :de) - end - - test "localize DateTime: given the long format it uses it" do - assert_equal '01. März 2008 06:00', I18n.l(@datetime, :format => :long, :locale => :de) - end - - test "localize DateTime: given the default format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Sa, 01. Mar 2008 06:00:00 +0000', I18n.l(@datetime, :format => :default, :locale => :de) - end - - test "localize DateTime: given a day name format it returns the correct day name" do - assert_equal 'Samstag', I18n.l(@datetime, :format => '%A', :locale => :de) - end - - test "localize DateTime: given an abbreviated day name format it returns the correct abbreviated day name" do - assert_equal 'Sa', I18n.l(@datetime, :format => '%a', :locale => :de) - end - - test "localize DateTime: given a month name format it returns the correct month name" do - assert_equal 'März', I18n.l(@datetime, :format => '%B', :locale => :de) - end - - test "localize DateTime: given an abbreviated month name format it returns the correct abbreviated month name" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Mar', I18n.l(@datetime, :format => '%b', :locale => :de) - end - - test "localize DateTime: given a meridian indicator format it returns the correct meridian indicator" do - assert_equal 'AM', I18n.l(@datetime, :format => '%p', :locale => :de) - assert_equal 'PM', I18n.l(@other_datetime, :format => '%p', :locale => :de) - end - - test "localize DateTime: given a meridian indicator format it returns the correct meridian indicator in downcase" do - assert_equal 'am', I18n.l(@datetime, :format => '%P', :locale => :de) - assert_equal 'pm', I18n.l(@other_datetime, :format => '%P', :locale => :de) - end - - test "localize DateTime: given an unknown format it does not fail" do - assert_nothing_raised { I18n.l(@datetime, :format => '%x') } - end - - test "localize DateTime: given a format is missing it raises I18n::MissingTranslationData" do - assert_raise(I18n::MissingTranslationData) { I18n.l(@datetime, :format => :missing) } - end - - protected - - def setup_datetime_translations - # time translations might have been set up in Tests::Api::Localization::Time - I18n.backend.store_translations :de, { - :time => { - :formats => { - :default => "%a, %d. %b %Y %H:%M:%S %z", - :short => "%d. %b %H:%M", - :long => "%d. %B %Y %H:%M" - }, - :am => 'am', - :pm => 'pm' - } - } - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/procs.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/procs.rb deleted file mode 100644 index 7b7813e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/procs.rb +++ /dev/null @@ -1,116 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Localization - module Procs - test "localize: using day names from lambdas" do - setup_time_proc_translations - time = ::Time.utc(2008, 3, 1, 6, 0) - assert_match(/Суббота/, I18n.l(time, :format => "%A, %d %B", :locale => :ru)) - assert_match(/суббота/, I18n.l(time, :format => "%d %B (%A)", :locale => :ru)) - end - - test "localize: using month names from lambdas" do - setup_time_proc_translations - time = ::Time.utc(2008, 3, 1, 6, 0) - assert_match(/марта/, I18n.l(time, :format => "%d %B %Y", :locale => :ru)) - assert_match(/Март /, I18n.l(time, :format => "%B %Y", :locale => :ru)) - end - - test "localize: using abbreviated day names from lambdas" do - setup_time_proc_translations - time = ::Time.utc(2008, 3, 1, 6, 0) - assert_match(/марта/, I18n.l(time, :format => "%d %b %Y", :locale => :ru)) - assert_match(/март /, I18n.l(time, :format => "%b %Y", :locale => :ru)) - end - - test "localize Date: given a format that resolves to a Proc it calls the Proc with the object" do - setup_time_proc_translations - date = ::Date.new(2008, 3, 1) - assert_equal '[Sat, 01 Mar 2008, {}]', I18n.l(date, :format => :proc, :locale => :ru) - end - - test "localize Date: given a format that resolves to a Proc it calls the Proc with the object and extra options" do - setup_time_proc_translations - date = ::Date.new(2008, 3, 1) - assert_equal '[Sat, 01 Mar 2008, {:foo=>"foo"}]', I18n.l(date, :format => :proc, :foo => 'foo', :locale => :ru) - end - - test "localize DateTime: given a format that resolves to a Proc it calls the Proc with the object" do - setup_time_proc_translations - datetime = ::DateTime.new(2008, 3, 1, 6) - assert_equal '[Sat, 01 Mar 2008 06:00:00 +00:00, {}]', I18n.l(datetime, :format => :proc, :locale => :ru) - end - - test "localize DateTime: given a format that resolves to a Proc it calls the Proc with the object and extra options" do - setup_time_proc_translations - datetime = ::DateTime.new(2008, 3, 1, 6) - assert_equal '[Sat, 01 Mar 2008 06:00:00 +00:00, {:foo=>"foo"}]', I18n.l(datetime, :format => :proc, :foo => 'foo', :locale => :ru) - end - - test "localize Time: given a format that resolves to a Proc it calls the Proc with the object" do - setup_time_proc_translations - time = ::Time.utc(2008, 3, 1, 6, 0) - assert_equal inspect_args([time, {}]), I18n.l(time, :format => :proc, :locale => :ru) - end - - test "localize Time: given a format that resolves to a Proc it calls the Proc with the object and extra options" do - setup_time_proc_translations - time = ::Time.utc(2008, 3, 1, 6, 0) - options = { :foo => 'foo' } - assert_equal inspect_args([time, options]), I18n.l(time, options.merge(:format => :proc, :locale => :ru)) - end - - protected - - def inspect_args(args) - args = args.map do |arg| - case arg - when ::Time, ::DateTime - arg.strftime('%a, %d %b %Y %H:%M:%S %Z').sub('+0000', '+00:00') - when ::Date - arg.strftime('%a, %d %b %Y') - when Hash - arg.delete(:fallback) - arg.inspect - else - arg.inspect - end - end - "[#{args.join(', ')}]" - end - - def setup_time_proc_translations - I18n.backend.store_translations :ru, { - :time => { - :formats => { - :proc => lambda { |*args| inspect_args(args) } - } - }, - :date => { - :formats => { - :proc => lambda { |*args| inspect_args(args) } - }, - :'day_names' => lambda { |key, options| - (options[:format] =~ /^%A/) ? - %w(Воскресенье Понедельник Вторник Среда Четверг Пятница Суббота) : - %w(воскресенье понедельник вторник среда четверг пятница суббота) - }, - :'month_names' => lambda { |key, options| - (options[:format] =~ /(%d|%e)(\s*)?(%B)/) ? - %w(января февраля марта апреля мая июня июля августа сентября октября ноября декабря).unshift(nil) : - %w(Январь Февраль Март Апрель Май Июнь Июль Август Сентябрь Октябрь Ноябрь Декабрь).unshift(nil) - }, - :'abbr_month_names' => lambda { |key, options| - (options[:format] =~ /(%d|%e)(\s*)(%b)/) ? - %w(янв. февр. марта апр. мая июня июля авг. сент. окт. нояб. дек.).unshift(nil) : - %w(янв. февр. март апр. май июнь июль авг. сент. окт. нояб. дек.).unshift(nil) - }, - } - } - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/time.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/time.rb deleted file mode 100644 index 8bbba43..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/localization/time.rb +++ /dev/null @@ -1,81 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Localization - module Time - def setup - super - setup_time_translations - @time = ::Time.utc(2008, 3, 1, 6, 0) - @other_time = ::Time.utc(2008, 3, 1, 18, 0) - end - - test "localize Time: given the short format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal '01. Mar 06:00', I18n.l(@time, :format => :short, :locale => :de) - end - - test "localize Time: given the long format it uses it" do - assert_equal '01. März 2008 06:00', I18n.l(@time, :format => :long, :locale => :de) - end - - # TODO Seems to break on Windows because ENV['TZ'] is ignored. What's a better way to do this? - # def test_localize_given_the_default_format_it_uses_it - # assert_equal 'Sa, 01. Mar 2008 06:00:00 +0000', I18n.l(@time, :format => :default, :locale => :de) - # end - - test "localize Time: given a day name format it returns the correct day name" do - assert_equal 'Samstag', I18n.l(@time, :format => '%A', :locale => :de) - end - - test "localize Time: given an abbreviated day name format it returns the correct abbreviated day name" do - assert_equal 'Sa', I18n.l(@time, :format => '%a', :locale => :de) - end - - test "localize Time: given a month name format it returns the correct month name" do - assert_equal 'März', I18n.l(@time, :format => '%B', :locale => :de) - end - - test "localize Time: given an abbreviated month name format it returns the correct abbreviated month name" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Mar', I18n.l(@time, :format => '%b', :locale => :de) - end - - test "localize Time: given a meridian indicator format it returns the correct meridian indicator" do - assert_equal 'AM', I18n.l(@time, :format => '%p', :locale => :de) - assert_equal 'PM', I18n.l(@other_time, :format => '%p', :locale => :de) - end - - test "localize Time: given a meridian indicator format it returns the correct meridian indicator in upcase" do - assert_equal 'am', I18n.l(@time, :format => '%P', :locale => :de) - assert_equal 'pm', I18n.l(@other_time, :format => '%P', :locale => :de) - end - - test "localize Time: given an unknown format it does not fail" do - assert_nothing_raised { I18n.l(@time, :format => '%x') } - end - - test "localize Time: given a format is missing it raises I18n::MissingTranslationData" do - assert_raise(I18n::MissingTranslationData) { I18n.l(@time, :format => :missing) } - end - - protected - - def setup_time_translations - I18n.backend.store_translations :de, { - :time => { - :formats => { - :default => "%a, %d. %b %Y %H:%M:%S %z", - :short => "%d. %b %H:%M", - :long => "%d. %B %Y %H:%M", - }, - :am => 'am', - :pm => 'pm' - } - } - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/lookup.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/lookup.rb deleted file mode 100644 index 3b4c843..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/lookup.rb +++ /dev/null @@ -1,81 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Lookup - def setup - super - I18n.backend.store_translations(:en, :foo => { :bar => 'bar', :baz => 'baz' }, :falsy => false, :truthy => true, - :string => "a", :array => %w(a b c), :hash => { "a" => "b" }) - end - - test "lookup: it returns a string" do - assert_equal("a", I18n.t(:string)) - end - - test "lookup: it returns hash" do - assert_equal({ :a => "b" }, I18n.t(:hash)) - end - - test "lookup: it returns an array" do - assert_equal(%w(a b c), I18n.t(:array)) - end - - test "lookup: it returns a native true" do - assert I18n.t(:truthy) === true - end - - test "lookup: it returns a native false" do - assert I18n.t(:falsy) === false - end - - test "lookup: given a missing key, no default and no raise option it returns an error message" do - assert_equal "translation missing: en.missing", I18n.t(:missing) - end - - test "lookup: given a missing key, no default and the raise option it raises MissingTranslationData" do - assert_raise(I18n::MissingTranslationData) { I18n.t(:missing, :raise => true) } - end - - test "lookup: does not raise an exception if no translation data is present for the given locale" do - assert_nothing_raised { I18n.t(:foo, :locale => :xx) } - end - - test "lookup: does not modify the options hash" do - options = {} - assert_equal "a", I18n.t(:string, options) - assert_equal({}, options) - assert_nothing_raised { I18n.t(:string, options.freeze) } - end - - test "lookup: given an array of keys it translates all of them" do - assert_equal %w(bar baz), I18n.t([:bar, :baz], :scope => [:foo]) - end - - test "lookup: using a custom scope separator" do - # data must have been stored using the custom separator when using the ActiveRecord backend - I18n.backend.store_translations(:en, { :foo => { :bar => 'bar' } }, { :separator => '|' }) - assert_equal 'bar', I18n.t('foo|bar', :separator => '|') - end - - # In fact it probably *should* fail but Rails currently relies on using the default locale instead. - # So we'll stick to this for now until we get it fixed in Rails. - test "lookup: given nil as a locale it does not raise but use the default locale" do - # assert_raise(I18n::InvalidLocale) { I18n.t(:bar, :locale => nil) } - assert_nothing_raised { I18n.t(:bar, :locale => nil) } - end - - test "lookup: a resulting String is not frozen" do - assert !I18n.t(:string).frozen? - end - - test "lookup: a resulting Array is not frozen" do - assert !I18n.t(:array).frozen? - end - - test "lookup: a resulting Hash is not frozen" do - assert !I18n.t(:hash).frozen? - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/pluralization.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/pluralization.rb deleted file mode 100644 index d3319dc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/pluralization.rb +++ /dev/null @@ -1,35 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Pluralization - test "pluralization: given 0 it returns the :zero translation if it is defined" do - assert_equal 'zero', I18n.t(:default => { :zero => 'zero' }, :count => 0) - end - - test "pluralization: given 0 it returns the :other translation if :zero is not defined" do - assert_equal 'bars', I18n.t(:default => { :other => 'bars' }, :count => 0) - end - - test "pluralization: given 1 it returns the singular translation" do - assert_equal 'bar', I18n.t(:default => { :one => 'bar' }, :count => 1) - end - - test "pluralization: given 2 it returns the :other translation" do - assert_equal 'bars', I18n.t(:default => { :other => 'bars' }, :count => 2) - end - - test "pluralization: given 3 it returns the :other translation" do - assert_equal 'bars', I18n.t(:default => { :other => 'bars' }, :count => 3) - end - - test "pluralization: given nil it returns the whole entry" do - assert_equal({ :one => 'bar' }, I18n.t(:default => { :one => 'bar' }, :count => nil)) - end - - test "pluralization: given incomplete pluralization data it raises I18n::InvalidPluralizationData" do - assert_raise(I18n::InvalidPluralizationData) { I18n.t(:default => { :one => 'bar' }, :count => 2) } - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/procs.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/procs.rb deleted file mode 100644 index 55ff952..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/tests/procs.rb +++ /dev/null @@ -1,55 +0,0 @@ -# encoding: utf-8 - -module I18n - module Tests - module Procs - test "lookup: given a translation is a proc it calls the proc with the key and interpolation values" do - I18n.backend.store_translations(:en, :a_lambda => lambda { |*args| filter_args(*args) }) - assert_equal '[:a_lambda, {:foo=>"foo"}]', I18n.t(:a_lambda, :foo => 'foo') - end - - test "defaults: given a default is a Proc it calls it with the key and interpolation values" do - proc = lambda { |*args| filter_args(*args) } - assert_equal '[nil, {:foo=>"foo"}]', I18n.t(nil, :default => proc, :foo => 'foo') - end - - test "defaults: given a default is a key that resolves to a Proc it calls it with the key and interpolation values" do - I18n.backend.store_translations(:en, :a_lambda => lambda { |*args| filter_args(*args) }) - assert_equal '[:a_lambda, {:foo=>"foo"}]', I18n.t(nil, :default => :a_lambda, :foo => 'foo') - assert_equal '[:a_lambda, {:foo=>"foo"}]', I18n.t(nil, :default => [nil, :a_lambda], :foo => 'foo') - end - - test "interpolation: given an interpolation value is a lambda it calls it with key and values before interpolating it" do - proc = lambda { |*args| filter_args(*args) } - assert_match %r(\[\{:foo=>#\}\]), I18n.t(nil, :default => '%{foo}', :foo => proc) - end - - test "interpolation: given a key resolves to a Proc that returns a string then interpolation still works" do - proc = lambda { |*args| "%{foo}: " + filter_args(*args) } - assert_equal 'foo: [nil, {:foo=>"foo"}]', I18n.t(nil, :default => proc, :foo => 'foo') - end - - test "pluralization: given a key resolves to a Proc that returns valid data then pluralization still works" do - proc = lambda { |*args| { :zero => 'zero', :one => 'one', :other => 'other' } } - assert_equal 'zero', I18n.t(:default => proc, :count => 0) - assert_equal 'one', I18n.t(:default => proc, :count => 1) - assert_equal 'other', I18n.t(:default => proc, :count => 2) - end - - test "lookup: given the option :resolve => false was passed it does not resolve proc translations" do - I18n.backend.store_translations(:en, :a_lambda => lambda { |*args| filter_args(*args) }) - assert_equal Proc, I18n.t(:a_lambda, :resolve => false).class - end - - test "lookup: given the option :resolve => false was passed it does not resolve proc default" do - assert_equal Proc, I18n.t(nil, :default => lambda { |*args| filter_args(*args) }, :resolve => false).class - end - - protected - - def filter_args(*args) - args.map {|arg| arg.delete(:fallback) if arg.is_a?(Hash) ; arg }.inspect - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/version.rb deleted file mode 100644 index 4a9efa9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module I18n - VERSION = "0.7.0" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/all_features_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/all_features_test.rb deleted file mode 100644 index a1799bd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/all_features_test.rb +++ /dev/null @@ -1,58 +0,0 @@ -require 'test_helper' - -begin - require 'rubygems' - require 'active_support' -rescue LoadError - puts "not testing with Cache enabled because active_support can not be found" -end - -class I18nAllFeaturesApiTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Metadata - include I18n::Backend::Cache - include I18n::Backend::Cascade - include I18n::Backend::Fallbacks - include I18n::Backend::Pluralization - include I18n::Backend::Memoize - end - - def setup - I18n.backend = I18n::Backend::Chain.new(Backend.new, I18n::Backend::Simple.new) - I18n.cache_store = cache_store - super - end - - def teardown - I18n.cache_store.clear if I18n.cache_store - I18n.cache_store = nil - super - end - - def cache_store - ActiveSupport::Cache.lookup_store(:memory_store) if cache_available? - end - - def cache_available? - defined?(ActiveSupport) && defined?(ActiveSupport::Cache) - end - - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - include I18n::Tests::Localization::Procs - - test "make sure we use a Chain backend with an all features backend" do - assert_equal I18n::Backend::Chain, I18n.backend.class - assert_equal Backend, I18n.backend.backends.first.class - end - - # links: test that keys stored on one backend can link to keys stored on another backend -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/cascade_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/cascade_test.rb deleted file mode 100644 index 4d9516c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/cascade_test.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'test_helper' - -class I18nCascadeApiTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Cascade - end - - def setup - I18n.backend = Backend.new - super - end - - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - include I18n::Tests::Localization::Procs - - test "make sure we use a backend with Cascade included" do - assert_equal Backend, I18n.backend.class - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/chain_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/chain_test.rb deleted file mode 100644 index f3dff1b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/chain_test.rb +++ /dev/null @@ -1,24 +0,0 @@ -require 'test_helper' - -class I18nApiChainTest < I18n::TestCase - def setup - super - I18n.backend = I18n::Backend::Chain.new(I18n::Backend::Simple.new, I18n.backend) - end - - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - include I18n::Tests::Localization::Procs - - test "make sure we use the Chain backend" do - assert_equal I18n::Backend::Chain, I18n.backend.class - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/fallbacks_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/fallbacks_test.rb deleted file mode 100644 index e5ca5f2..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/fallbacks_test.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'test_helper' - -class I18nFallbacksApiTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Fallbacks - end - - def setup - I18n.backend = Backend.new - super - end - - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - include I18n::Tests::Localization::Procs - - test "make sure we use a backend with Fallbacks included" do - assert_equal Backend, I18n.backend.class - end - - # links: test that keys stored on one backend can link to keys stored on another backend -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/key_value_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/key_value_test.rb deleted file mode 100644 index 4d6cdd8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/key_value_test.rb +++ /dev/null @@ -1,24 +0,0 @@ -require 'test_helper' - -class I18nKeyValueApiTest < I18n::TestCase - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - # include Tests::Api::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - # include Tests::Api::Localization::Procs - - def setup - I18n.backend = I18n::Backend::KeyValue.new({}) - super - end - - test "make sure we use the KeyValue backend" do - assert_equal I18n::Backend::KeyValue, I18n.backend.class - end -end if I18n::TestCase.key_value? diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/memoize_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/memoize_test.rb deleted file mode 100644 index ed93866..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/memoize_test.rb +++ /dev/null @@ -1,56 +0,0 @@ -require 'test_helper' - -class I18nMemoizeBackendWithSimpleApiTest < I18n::TestCase - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - include I18n::Tests::Localization::Procs - - class MemoizeBackend < I18n::Backend::Simple - include I18n::Backend::Memoize - end - - def setup - I18n.backend = MemoizeBackend.new - super - end - - test "make sure we use the MemoizeBackend backend" do - assert_equal MemoizeBackend, I18n.backend.class - end -end - -class I18nMemoizeBackendWithKeyValueApiTest < I18n::TestCase - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - - # include I18n::Tests::Procs - # include I18n::Tests::Localization::Procs - - class MemoizeBackend < I18n::Backend::KeyValue - include I18n::Backend::Memoize - end - - def setup - I18n.backend = MemoizeBackend.new({}) - super - end - - test "make sure we use the MemoizeBackend backend" do - assert_equal MemoizeBackend, I18n.backend.class - end -end if I18n::TestCase.key_value? diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/override_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/override_test.rb deleted file mode 100644 index 6e1248a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/override_test.rb +++ /dev/null @@ -1,42 +0,0 @@ -require 'test_helper' - -class I18nOverrideTest < I18n::TestCase - module OverrideInverse - def translate(*args) - super(*args).reverse - end - alias :t :translate - end - - module OverrideSignature - def translate(*args) - args.first + args[1] - end - alias :t :translate - end - - def setup - super - @I18n = I18n.dup - @I18n.backend = I18n::Backend::Simple.new - end - - test "make sure modules can overwrite I18n methods" do - @I18n.extend OverrideInverse - @I18n.backend.store_translations('en', :foo => 'bar') - - assert_equal 'rab', @I18n.translate(:foo, :locale => 'en') - assert_equal 'rab', @I18n.t(:foo, :locale => 'en') - assert_equal 'rab', @I18n.translate!(:foo, :locale => 'en') - assert_equal 'rab', @I18n.t!(:foo, :locale => 'en') - end - - test "make sure modules can overwrite I18n signature" do - exception = catch(:exception) do - @I18n.t('Hello', 'Welcome message on home page', :tokenize => true, :throw => true) - end - assert exception.message - @I18n.extend OverrideSignature - assert_equal 'HelloWelcome message on home page', @I18n.translate('Hello', 'Welcome message on home page', :tokenize => true) # tr8n example - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/pluralization_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/pluralization_test.rb deleted file mode 100644 index 53004be..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/pluralization_test.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'test_helper' - -class I18nPluralizationApiTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Pluralization - end - - def setup - I18n.backend = Backend.new - super - end - - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - include I18n::Tests::Localization::Procs - - test "make sure we use a backend with Pluralization included" do - assert_equal Backend, I18n.backend.class - end - - # links: test that keys stored on one backend can link to keys stored on another backend -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/simple_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/simple_test.rb deleted file mode 100644 index 3fd3a42..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/api/simple_test.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'test_helper' - -class I18nSimpleBackendApiTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Pluralization - end - - def setup - I18n.backend = I18n::Backend::Simple.new - super - end - - include I18n::Tests::Basics - include I18n::Tests::Defaults - include I18n::Tests::Interpolation - include I18n::Tests::Link - include I18n::Tests::Lookup - include I18n::Tests::Pluralization - include I18n::Tests::Procs - include I18n::Tests::Localization::Date - include I18n::Tests::Localization::DateTime - include I18n::Tests::Localization::Time - include I18n::Tests::Localization::Procs - - test "make sure we use the Simple backend" do - assert_equal I18n::Backend::Simple, I18n.backend.class - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/cache_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/cache_test.rb deleted file mode 100644 index 8e144a1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/cache_test.rb +++ /dev/null @@ -1,86 +0,0 @@ -require 'test_helper' - -begin - require 'active_support' -rescue LoadError - $stderr.puts "Skipping cache tests using ActiveSupport" -else - -class I18nBackendCacheTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Cache - end - - def setup - I18n.backend = Backend.new - super - I18n.cache_store = ActiveSupport::Cache.lookup_store(:memory_store) - end - - def teardown - super - I18n.cache_store = nil - end - - test "it uses the cache" do - assert I18n.cache_store.is_a?(ActiveSupport::Cache::MemoryStore) - end - - test "translate hits the backend and caches the response" do - I18n.backend.expects(:lookup).returns('Foo') - assert_equal 'Foo', I18n.t(:foo) - - I18n.backend.expects(:lookup).never - assert_equal 'Foo', I18n.t(:foo) - - I18n.backend.expects(:lookup).returns('Bar') - assert_equal 'Bar', I18n.t(:bar) - end - - test "still raises MissingTranslationData but also caches it" do - assert_raise(I18n::MissingTranslationData) { I18n.t(:missing, :raise => true) } - assert_raise(I18n::MissingTranslationData) { I18n.t(:missing, :raise => true) } - assert_equal 1, I18n.cache_store.instance_variable_get(:@data).size - - # I18n.backend.expects(:lookup).returns(nil) - # assert_raise(I18n::MissingTranslationData) { I18n.t(:missing, :raise => true) } - # I18n.backend.expects(:lookup).never - # assert_raise(I18n::MissingTranslationData) { I18n.t(:missing, :raise => true) } - end - - test "uses 'i18n' as a cache key namespace by default" do - assert_equal 0, I18n.backend.send(:cache_key, :en, :foo, {}).index('i18n') - end - - test "adds a custom cache key namespace" do - with_cache_namespace('bar') do - assert_equal 0, I18n.backend.send(:cache_key, :en, :foo, {}).index('i18n/bar/') - end - end - - test "adds locale and hash of key and hash of options" do - options = { :bar=>1 } - options_hash = I18n::Backend::Cache::USE_INSPECT_HASH ? options.inspect.hash : options.hash - assert_equal "i18n//en/#{:foo.hash}/#{options_hash}", I18n.backend.send(:cache_key, :en, :foo, options) - end - - test "keys should not be equal" do - interpolation_values1 = { :foo => 1, :bar => 2 } - interpolation_values2 = { :foo => 2, :bar => 1 } - - key1 = I18n.backend.send(:cache_key, :en, :some_key, interpolation_values1) - key2 = I18n.backend.send(:cache_key, :en, :some_key, interpolation_values2) - - assert key1 != key2 - end - - protected - - def with_cache_namespace(namespace) - I18n.cache_namespace = namespace - yield - I18n.cache_namespace = nil - end -end - -end # AS cache check diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/cascade_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/cascade_test.rb deleted file mode 100644 index 1101460..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/cascade_test.rb +++ /dev/null @@ -1,86 +0,0 @@ -require 'test_helper' - -class I18nBackendCascadeTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Cascade - end - - def setup - super - I18n.backend = Backend.new - store_translations(:en, :foo => 'foo', :bar => { :baz => 'baz' }) - @cascade_options = { :step => 1, :offset => 1, :skip_root => false } - end - - def lookup(key, options = {}) - I18n.t(key, options.merge(:cascade => @cascade_options)) - end - - test "still returns an existing translation as usual" do - assert_equal 'foo', lookup(:foo) - assert_equal 'baz', lookup(:'bar.baz') - end - - test "falls back by cutting keys off the end of the scope" do - assert_equal 'foo', lookup(:foo, :scope => :'missing') - assert_equal 'foo', lookup(:foo, :scope => :'missing.missing') - assert_equal 'baz', lookup(:baz, :scope => :'bar.missing') - assert_equal 'baz', lookup(:baz, :scope => :'bar.missing.missing') - end - - test "raises I18n::MissingTranslationData exception when no translation was found" do - assert_raise(I18n::MissingTranslationData) { lookup(:'foo.missing', :raise => true) } - assert_raise(I18n::MissingTranslationData) { lookup(:'bar.baz.missing', :raise => true) } - assert_raise(I18n::MissingTranslationData) { lookup(:'missing.bar.baz', :raise => true) } - end - - test "cascades before evaluating the default" do - assert_equal 'foo', lookup(:foo, :scope => :missing, :default => 'default') - end - - test "cascades defaults, too" do - assert_equal 'foo', lookup(nil, :default => [:'missing.missing', :'missing.foo']) - end - - test "works with :offset => 2 and a single key" do - @cascade_options[:offset] = 2 - lookup(:foo) - end - - test "assemble required fallbacks for ActiveRecord validation messages" do - store_translations(:en, - :errors => { - :odd => 'errors.odd', - :reply => { :title => { :blank => 'errors.reply.title.blank' }, :taken => 'errors.reply.taken' }, - :topic => { :title => { :format => 'errors.topic.title.format' }, :length => 'errors.topic.length' } - } - ) - assert_equal 'errors.reply.title.blank', lookup(:'errors.reply.title.blank', :default => :'errors.topic.title.blank') - assert_equal 'errors.reply.taken', lookup(:'errors.reply.title.taken', :default => :'errors.topic.title.taken') - assert_equal 'errors.topic.title.format', lookup(:'errors.reply.title.format', :default => :'errors.topic.title.format') - assert_equal 'errors.topic.length', lookup(:'errors.reply.title.length', :default => :'errors.topic.title.length') - assert_equal 'errors.odd', lookup(:'errors.reply.title.odd', :default => :'errors.topic.title.odd') - end - - test "assemble action view translation helper lookup cascade" do - @cascade_options[:offset] = 2 - - store_translations(:en, - :menu => { :show => 'menu.show' }, - :namespace => { - :menu => { :new => 'namespace.menu.new' }, - :controller => { - :menu => { :edit => 'namespace.controller.menu.edit' }, - :action => { - :menu => { :destroy => 'namespace.controller.action.menu.destroy' } - } - } - } - ) - - assert_equal 'menu.show', lookup(:'namespace.controller.action.menu.show') - assert_equal 'namespace.menu.new', lookup(:'namespace.controller.action.menu.new') - assert_equal 'namespace.controller.menu.edit', lookup(:'namespace.controller.action.menu.edit') - assert_equal 'namespace.controller.action.menu.destroy', lookup(:'namespace.controller.action.menu.destroy') - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/chain_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/chain_test.rb deleted file mode 100644 index 0b402af..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/chain_test.rb +++ /dev/null @@ -1,91 +0,0 @@ -require 'test_helper' - -class I18nBackendChainTest < I18n::TestCase - def setup - super - @first = backend(:en => { - :foo => 'Foo', :formats => { - :short => 'short', - :subformats => {:short => 'short'}, - }, - :plural_1 => { :one => '%{count}' }, - :dates => {:a => "A"} - }) - @second = backend(:en => { - :bar => 'Bar', :formats => { - :long => 'long', - :subformats => {:long => 'long'}, - }, - :plural_2 => { :one => 'one' }, - :dates => {:a => "B", :b => "B"} - }) - @chain = I18n.backend = I18n::Backend::Chain.new(@first, @second) - end - - test "looks up translations from the first chained backend" do - assert_equal 'Foo', @first.send(:translations)[:en][:foo] - assert_equal 'Foo', I18n.t(:foo) - end - - test "looks up translations from the second chained backend" do - assert_equal 'Bar', @second.send(:translations)[:en][:bar] - assert_equal 'Bar', I18n.t(:bar) - end - - test "defaults only apply to lookups on the last backend in the chain" do - assert_equal 'Foo', I18n.t(:foo, :default => 'Bah') - assert_equal 'Bar', I18n.t(:bar, :default => 'Bah') - assert_equal 'Bah', I18n.t(:bah, :default => 'Bah') # default kicks in only here - end - - test "default" do - assert_equal 'Fuh', I18n.t(:default => 'Fuh') - assert_equal 'Zero', I18n.t(:default => { :zero => 'Zero' }, :count => 0) - assert_equal({ :zero => 'Zero' }, I18n.t(:default => { :zero => 'Zero' })) - assert_equal 'Foo', I18n.t(:default => :foo) - end - - test 'default is returned if translation is missing' do - assert_equal({}, I18n.t(:'i18n.transliterate.rule', :locale => 'en', :default => {})) - end - - test "namespace lookup collects results from all backends and merges deep hashes" do - assert_equal({:long=>"long", :subformats=>{:long=>"long", :short=>"short"}, :short=>"short"}, I18n.t(:formats)) - end - - test "namespace lookup collects results from all backends and lets leftmost backend take priority" do - assert_equal({ :a => "A", :b => "B" }, I18n.t(:dates)) - end - - test "namespace lookup with only the first backend returning a result" do - assert_equal({ :one => '%{count}' }, I18n.t(:plural_1)) - end - - test "pluralization still works" do - assert_equal '1', I18n.t(:plural_1, :count => 1) - assert_equal 'one', I18n.t(:plural_2, :count => 1) - end - - test "bulk lookup collects results from all backends" do - assert_equal ['Foo', 'Bar'], I18n.t([:foo, :bar]) - assert_equal ['Foo', 'Bar', 'Bah'], I18n.t([:foo, :bar, :bah], :default => 'Bah') - assert_equal [{ - :long=>"long", - :subformats=>{:long=>"long", :short=>"short"}, - :short=>"short"}, {:one=>"one"}, - "Bah"], I18n.t([:formats, :plural_2, :bah], :default => 'Bah') - end - - test "store_translations options are not dropped while transfering to backend" do - @first.expects(:store_translations).with(:foo, {:bar => :baz}, {:option => 'persists'}) - I18n.backend.store_translations :foo, {:bar => :baz}, {:option => 'persists'} - end - - protected - - def backend(translations) - backend = I18n::Backend::Simple.new - translations.each { |locale, data| backend.store_translations(locale, data) } - backend - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/exceptions_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/exceptions_test.rb deleted file mode 100644 index cc22166..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/exceptions_test.rb +++ /dev/null @@ -1,36 +0,0 @@ -require 'test_helper' - -class I18nBackendExceptionsTest < I18n::TestCase - def setup - super - I18n.backend = I18n::Backend::Simple.new - end - - test "throw message: MissingTranslation message from #translate includes the given scope and full key" do - exception = catch(:exception) do - I18n.t(:'baz.missing', :scope => :'foo.bar', :throw => true) - end - assert_equal "translation missing: en.foo.bar.baz.missing", exception.message - end - - test "exceptions: MissingTranslationData message from #translate includes the given scope and full key" do - begin - I18n.t(:'baz.missing', :scope => :'foo.bar', :raise => true) - rescue I18n::MissingTranslationData => exception - end - assert_equal "translation missing: en.foo.bar.baz.missing", exception.message - end - - test "exceptions: MissingTranslationData message from #localize includes the given scope and full key" do - begin - I18n.l(Time.now, :format => :foo) - rescue I18n::MissingTranslationData => exception - end - assert_equal "translation missing: en.time.formats.foo", exception.message - end - - test "exceptions: MissingInterpolationArgument message includes missing key, provided keys and full string" do - exception = I18n::MissingInterpolationArgument.new('key', {:this => 'was given'}, 'string') - assert_equal 'missing interpolation argument "key" in "string" ({:this=>"was given"} given)', exception.message - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/fallbacks_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/fallbacks_test.rb deleted file mode 100644 index 76d2a79..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/fallbacks_test.rb +++ /dev/null @@ -1,152 +0,0 @@ -require 'test_helper' - -class I18nBackendFallbacksTranslateTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Fallbacks - end - - def setup - super - I18n.backend = Backend.new - store_translations(:en, :foo => 'Foo in :en', :bar => 'Bar in :en', :buz => 'Buz in :en') - store_translations(:de, :bar => 'Bar in :de', :baz => 'Baz in :de') - store_translations(:'de-DE', :baz => 'Baz in :de-DE') - store_translations(:'pt-BR', :baz => 'Baz in :pt-BR') - end - - test "still returns an existing translation as usual" do - assert_equal 'Foo in :en', I18n.t(:foo, :locale => :en) - assert_equal 'Bar in :de', I18n.t(:bar, :locale => :de) - assert_equal 'Baz in :de-DE', I18n.t(:baz, :locale => :'de-DE') - end - - test "returns the :en translation for a missing :de translation" do - assert_equal 'Foo in :en', I18n.t(:foo, :locale => :de) - end - - test "returns the :de translation for a missing :'de-DE' translation" do - assert_equal 'Bar in :de', I18n.t(:bar, :locale => :'de-DE') - end - - test "returns the :en translation for translation missing in both :de and :'de-De'" do - assert_equal 'Buz in :en', I18n.t(:buz, :locale => :'de-DE') - end - - test "returns the :de translation for a missing :'de-DE' when :default is a String" do - assert_equal 'Bar in :de', I18n.t(:bar, :locale => :'de-DE', :default => "Default Bar") - assert_equal "Default Bar", I18n.t(:missing_bar, :locale => :'de-DE', :default => "Default Bar") - end - - test "returns the :de translation for a missing :'de-DE' when defaults is a Symbol (which exists in :en)" do - assert_equal "Bar in :de", I18n.t(:bar, :locale => :'de-DE', :default => [:buz]) - end - - test "returns the :'de-DE' default :baz translation for a missing :'de-DE' (which exists in :de)" do - assert_equal "Baz in :de-DE", I18n.t(:bar, :locale => :'de-DE', :default => [:baz]) - end - - test "returns the :de translation for a missing :'de-DE' when :default is a Proc" do - assert_equal 'Bar in :de', I18n.t(:bar, :locale => :'de-DE', :default => Proc.new { "Default Bar" }) - assert_equal "Default Bar", I18n.t(:missing_bar, :locale => :'de-DE', :default => Proc.new { "Default Bar" }) - end - - test "returns the :de translation for a missing :'de-DE' when :default is a Hash" do - assert_equal 'Bar in :de', I18n.t(:bar, :locale => :'de-DE', :default => {}) - assert_equal({}, I18n.t(:missing_bar, :locale => :'de-DE', :default => {})) - end - - test "returns the :'de-DE' default :baz translation for a missing :'de-DE' when defaults contains Symbol" do - assert_equal 'Baz in :de-DE', I18n.t(:missing_foo, :locale => :'de-DE', :default => [:baz, "Default Bar"]) - end - - test "returns the defaults translation for a missing :'de-DE' when defaults contains a String or Proc before Symbol" do - assert_equal "Default Bar", I18n.t(:missing_foo, :locale => :'de-DE', :default => [:missing_bar, "Default Bar", :baz]) - assert_equal "Default Bar", I18n.t(:missing_foo, :locale => :'de-DE', :default => [:missing_bar, Proc.new { "Default Bar" }, :baz]) - end - - test "returns the default translation for a missing :'de-DE' and existing :de when default is a Hash" do - assert_equal 'Default 6 Bars', I18n.t(:missing_foo, :locale => :'de-DE', :default => [:missing_bar, {:other => "Default %{count} Bars"}, "Default Bar"], :count => 6) - end - - test "raises I18n::MissingTranslationData exception when no translation was found" do - assert_raise(I18n::MissingTranslationData) { I18n.t(:faa, :locale => :en, :raise => true) } - assert_raise(I18n::MissingTranslationData) { I18n.t(:faa, :locale => :de, :raise => true) } - end - - test "should ensure that default is not splitted on new line char" do - assert_equal "Default \n Bar", I18n.t(:missing_bar, :default => "Default \n Bar") - end - - test "should not raise error when enforce_available_locales is true, :'pt' is missing and default is a Symbol" do - I18n.enforce_available_locales = true - begin - assert_equal 'Foo', I18n.t(:'model.attrs.foo', :locale => :'pt-BR', :default => [:'attrs.foo', "Foo"]) - ensure - I18n.enforce_available_locales = false - end - end -end - -class I18nBackendFallbacksLocalizeTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Fallbacks - end - - def setup - super - I18n.backend = Backend.new - store_translations(:en, :date => { :formats => { :en => 'en' }, :day_names => %w(Sunday) }) - store_translations(:de, :date => { :formats => { :de => 'de' } }) - end - - test "still uses an existing format as usual" do - assert_equal 'en', I18n.l(Date.today, :format => :en, :locale => :en) - end - - test "looks up and uses a fallback locale's format for a key missing in the given locale (1)" do - assert_equal 'en', I18n.l(Date.today, :format => :en, :locale => :de) - end - - test "looks up and uses a fallback locale's format for a key missing in the given locale (2)" do - assert_equal 'de', I18n.l(Date.today, :format => :de, :locale => :'de-DE') - end - - test "still uses an existing day name translation as usual" do - assert_equal 'Sunday', I18n.l(Date.new(2010, 1, 3), :format => '%A', :locale => :en) - end - - test "uses a fallback locale's translation for a key missing in the given locale" do - assert_equal 'Sunday', I18n.l(Date.new(2010, 1, 3), :format => '%A', :locale => :de) - end -end - -class I18nBackendFallbacksWithChainTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Fallbacks - end - - class Chain < I18n::Backend::Chain - include I18n::Backend::Fallbacks - end - - def setup - super - backend = Backend.new - backend.store_translations(:de, :foo => 'FOO') - backend.store_translations(:'pt-BR', :foo => 'Baz in :pt-BR') - I18n.backend = Chain.new(I18n::Backend::Simple.new, backend) - end - - test "falls back from de-DE to de when there is no translation for de-DE available" do - assert_equal 'FOO', I18n.t(:foo, :locale => :'de-DE') - end - - test "should not raise error when enforce_available_locales is true, :'pt' is missing and default is a Symbol" do - I18n.enforce_available_locales = true - begin - assert_equal 'Foo', I18n.t(:'model.attrs.foo', :locale => :'pt-BR', :default => [:'attrs.foo', "Foo"]) - ensure - I18n.enforce_available_locales = false - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/interpolation_compiler_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/interpolation_compiler_test.rb deleted file mode 100644 index cffe28f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/interpolation_compiler_test.rb +++ /dev/null @@ -1,118 +0,0 @@ -require 'test_helper' - -class InterpolationCompilerTest < I18n::TestCase - Compiler = I18n::Backend::InterpolationCompiler::Compiler - - def compile_and_interpolate(str, values = {}) - Compiler.compile_if_an_interpolation(str).i18n_interpolate(values) - end - - def assert_escapes_interpolation_key(expected, malicious_str) - assert_equal(expected, Compiler.send(:escape_key_sym, malicious_str)) - end - - def test_escape_key_properly_escapes - assert_escapes_interpolation_key ':"\""', '"' - assert_escapes_interpolation_key ':"\\\\"', '\\' - assert_escapes_interpolation_key ':"\\\\\""', '\\"' - assert_escapes_interpolation_key ':"\#{}"', '#{}' - assert_escapes_interpolation_key ':"\\\\\#{}"', '\#{}' - end - - def assert_escapes_plain_string(expected, plain_str) - assert_equal expected, Compiler.send(:escape_plain_str, plain_str) - end - - def test_escape_plain_string_properly_escapes - assert_escapes_plain_string '\\"', '"' - assert_escapes_plain_string '\'', '\'' - assert_escapes_plain_string '\\#', '#' - assert_escapes_plain_string '\\#{}', '#{}' - assert_escapes_plain_string '\\\\\\"','\\"' - end - - def test_non_interpolated_strings_or_arrays_dont_get_compiled - ['abc', '\\{a}}', '{a}}', []].each do |obj| - Compiler.compile_if_an_interpolation(obj) - assert_equal false, obj.respond_to?(:i18n_interpolate) - end - end - - def test_interpolated_string_gets_compiled - assert_equal '-A-', compile_and_interpolate('-%{a}-', :a => 'A') - end - - def assert_handles_key(str, key) - assert_equal 'A', compile_and_interpolate(str, key => 'A') - end - - def test_compiles_fancy_keys - assert_handles_key('%{\}', :'\\' ) - assert_handles_key('%{#}', :'#' ) - assert_handles_key('%{#{}', :'#{' ) - assert_handles_key('%{#$SAFE}', :'#$SAFE') - assert_handles_key('%{\000}', :'\000' ) - assert_handles_key('%{\'}', :'\'' ) - assert_handles_key('%{\'\'}', :'\'\'' ) - assert_handles_key('%{a.b}', :'a.b' ) - assert_handles_key('%{ }', :' ' ) - assert_handles_key('%{:}', :':' ) - assert_handles_key("%{:''}", :":''" ) - assert_handles_key('%{:"}', :':"' ) - end - - def test_str_containing_only_escaped_interpolation_is_handled_correctly - assert_equal 'abc %{x}', compile_and_interpolate('abc %%{x}') - end - - def test_handles_weird_strings - assert_equal '#{} a', compile_and_interpolate('#{} %{a}', :a => 'a') - assert_equal '"#{abc}"', compile_and_interpolate('"#{ab%{a}c}"', :a => '' ) - assert_equal 'a}', compile_and_interpolate('%{{a}}', :'{a' => 'a') - assert_equal '"', compile_and_interpolate('"%{a}', :a => '' ) - assert_equal 'a%{a}', compile_and_interpolate('%{a}%%{a}', :a => 'a') - assert_equal '%%{a}', compile_and_interpolate('%%%{a}') - assert_equal '\";eval("a")', compile_and_interpolate('\";eval("%{a}")', :a => 'a') - assert_equal '\";eval("a")', compile_and_interpolate('\";eval("a")%{a}', :a => '' ) - assert_equal "\na", compile_and_interpolate("\n%{a}", :a => 'a') - end - - def test_raises_exception_when_argument_is_missing - assert_raise(I18n::MissingInterpolationArgument) do - compile_and_interpolate('%{first} %{last}', :first => 'first') - end - end - - def test_custom_missing_interpolation_argument_handler - old_handler = I18n.config.missing_interpolation_argument_handler - I18n.config.missing_interpolation_argument_handler = lambda do |key, values, string| - "missing key is #{key}, values are #{values.inspect}, given string is '#{string}'" - end - assert_equal %|first missing key is last, values are {:first=>"first"}, given string is '%{first} %{last}'|, - compile_and_interpolate('%{first} %{last}', :first => 'first') - ensure - I18n.config.missing_interpolation_argument_handler = old_handler - end -end - -class I18nBackendInterpolationCompilerTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::InterpolationCompiler - end - - include I18n::Tests::Interpolation - - def setup - I18n.backend = Backend.new - super - end - - # pre-compile default strings to make sure we are testing I18n::Backend::InterpolationCompiler - def interpolate(*args) - options = args.last.kind_of?(Hash) ? args.last : {} - if default_str = options[:default] - I18n::Backend::InterpolationCompiler::Compiler.compile_if_an_interpolation(default_str) - end - super - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/key_value_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/key_value_test.rb deleted file mode 100644 index 097780d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/key_value_test.rb +++ /dev/null @@ -1,43 +0,0 @@ -require 'test_helper' - -class I18nBackendKeyValueTest < I18n::TestCase - def setup_backend!(subtree=true) - I18n.backend = I18n::Backend::KeyValue.new({}, subtree) - store_translations(:en, :foo => { :bar => 'bar', :baz => 'baz' }) - end - - def assert_flattens(expected, nested, escape=true, subtree=true) - assert_equal expected, I18n.backend.flatten_translations("en", nested, escape, subtree) - end - - test "hash flattening works" do - setup_backend! - assert_flattens( - {:a=>'a', :b=>{:c=>'c', :d=>'d', :f=>{:x=>'x'}}, :"b.f" => {:x=>"x"}, :"b.c"=>"c", :"b.f.x"=>"x", :"b.d"=>"d"}, - {:a=>'a', :b=>{:c=>'c', :d=>'d', :f=>{:x=>'x'}}} - ) - assert_flattens({:a=>{:b =>['a', 'b']}, :"a.b"=>['a', 'b']}, {:a=>{:b =>['a', 'b']}}) - assert_flattens({:"a\001b" => "c"}, {:"a.b" => "c"}) - assert_flattens({:"a.b"=>['a', 'b']}, {:a=>{:b =>['a', 'b']}}, true, false) - assert_flattens({:"a.b" => "c"}, {:"a.b" => "c"}, false) - end - - test "store_translations handle subtrees by default" do - setup_backend! - assert_equal({ :bar => 'bar', :baz => 'baz' }, I18n.t("foo")) - end - - test "store_translations merge subtrees accordingly" do - setup_backend! - store_translations(:en, :foo => { :baz => "BAZ"}) - assert_equal('BAZ', I18n.t("foo.baz")) - assert_equal({ :bar => 'bar', :baz => 'BAZ' }, I18n.t("foo")) - end - - test "store_translations does not handle subtrees if desired" do - setup_backend!(false) - assert_raise I18n::MissingTranslationData do - I18n.t("foo", :raise => true) - end - end -end if I18n::TestCase.key_value? diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/memoize_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/memoize_test.rb deleted file mode 100644 index 0fb9f90..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/memoize_test.rb +++ /dev/null @@ -1,47 +0,0 @@ -require 'test_helper' -# TODO: change back to "require 'backend/simple'" when dropping support to Ruby 1.8.7. -require File.expand_path('../simple_test', __FILE__) - -class I18nBackendMemoizeTest < I18nBackendSimpleTest - module MemoizeSpy - attr_accessor :spy_calls - - def available_locales - self.spy_calls = (self.spy_calls || 0) + 1 - super - end - end - - class MemoizeBackend < I18n::Backend::Simple - include MemoizeSpy - include I18n::Backend::Memoize - end - - def setup - super - I18n.backend = MemoizeBackend.new - end - - def test_memoizes_available_locales - I18n.backend.spy_calls = 0 - assert_equal I18n.available_locales, I18n.available_locales - assert_equal 1, I18n.backend.spy_calls - end - - def test_resets_available_locales_on_reload! - I18n.available_locales - I18n.backend.spy_calls = 0 - I18n.reload! - assert_equal I18n.available_locales, I18n.available_locales - assert_equal 1, I18n.backend.spy_calls - end - - def test_resets_available_locales_on_store_translations - I18n.available_locales - I18n.backend.spy_calls = 0 - I18n.backend.store_translations(:copa, :ca => :bana) - assert_equal I18n.available_locales, I18n.available_locales - assert I18n.available_locales.include?(:copa) - assert_equal 1, I18n.backend.spy_calls - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/metadata_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/metadata_test.rb deleted file mode 100644 index 44612cf..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/metadata_test.rb +++ /dev/null @@ -1,48 +0,0 @@ -require 'test_helper' - -class I18nBackendMetadataTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Metadata - end - - def setup - super - I18n.backend = Backend.new - store_translations(:en, :foo => 'Hi %{name}') - end - - test "translation strings carry metadata" do - translation = I18n.t(:foo, :name => 'David') - assert translation.respond_to?(:translation_metadata) - assert translation.translation_metadata.is_a?(Hash) - end - - test "translate adds the locale to metadata on Strings" do - assert_equal :en, I18n.t(:foo, :name => 'David', :locale => :en).translation_metadata[:locale] - end - - test "translate adds the key to metadata on Strings" do - assert_equal :foo, I18n.t(:foo, :name => 'David').translation_metadata[:key] - end - - test "translate adds the default to metadata on Strings" do - assert_equal 'bar', I18n.t(:foo, :default => 'bar', :name => '').translation_metadata[:default] - end - - test "translation adds the interpolation values to metadata on Strings" do - assert_equal({:name => 'David'}, I18n.t(:foo, :name => 'David').translation_metadata[:values]) - end - - test "interpolation adds the original string to metadata on Strings" do - assert_equal('Hi %{name}', I18n.t(:foo, :name => 'David').translation_metadata[:original]) - end - - test "pluralization adds the count to metadata on Strings" do - assert_equal(1, I18n.t(:missing, :count => 1, :default => { :one => 'foo' }).translation_metadata[:count]) - end - - test "metadata works with frozen values" do - assert_equal(1, I18n.t(:missing, :count => 1, :default => 'foo'.freeze).translation_metadata[:count]) - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/pluralization_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/pluralization_test.rb deleted file mode 100644 index 1518efd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/pluralization_test.rb +++ /dev/null @@ -1,45 +0,0 @@ -require 'test_helper' - -class I18nBackendPluralizationTest < I18n::TestCase - class Backend < I18n::Backend::Simple - include I18n::Backend::Pluralization - include I18n::Backend::Fallbacks - end - - def setup - super - I18n.backend = Backend.new - @rule = lambda { |n| n == 1 ? :one : n == 0 || (2..10).include?(n % 100) ? :few : (11..19).include?(n % 100) ? :many : :other } - store_translations(:xx, :i18n => { :plural => { :rule => @rule } }) - @entry = { :zero => 'zero', :one => 'one', :few => 'few', :many => 'many', :other => 'other' } - end - - test "pluralization picks a pluralizer from :'i18n.pluralize'" do - assert_equal @rule, I18n.backend.send(:pluralizer, :xx) - end - - test "pluralization picks :one for 1" do - assert_equal 'one', I18n.t(:count => 1, :default => @entry, :locale => :xx) - end - - test "pluralization picks :few for 2" do - assert_equal 'few', I18n.t(:count => 2, :default => @entry, :locale => :xx) - end - - test "pluralization picks :many for 11" do - assert_equal 'many', I18n.t(:count => 11, :default => @entry, :locale => :xx) - end - - test "pluralization picks zero for 0 if the key is contained in the data" do - assert_equal 'zero', I18n.t(:count => 0, :default => @entry, :locale => :xx) - end - - test "pluralization picks few for 0 if the key is not contained in the data" do - @entry.delete(:zero) - assert_equal 'few', I18n.t(:count => 0, :default => @entry, :locale => :xx) - end - - test "Fallbacks can pick up rules from fallback locales, too" do - assert_equal @rule, I18n.backend.send(:pluralizer, :'xx-XX') - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/simple_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/simple_test.rb deleted file mode 100644 index 4d0c447..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/simple_test.rb +++ /dev/null @@ -1,84 +0,0 @@ -require 'test_helper' - -class I18nBackendSimpleTest < I18n::TestCase - def setup - super - I18n.backend = I18n::Backend::Simple.new - I18n.load_path = [locales_dir + '/en.yml'] - end - - # useful because this way we can use the backend with no key for interpolation/pluralization - test "simple backend translate: given nil as a key it still interpolations the default value" do - assert_equal "Hi David", I18n.t(nil, :default => "Hi %{name}", :name => "David") - end - - # loading translations - test "simple load_translations: given an unknown file type it raises I18n::UnknownFileType" do - assert_raise(I18n::UnknownFileType) { I18n.backend.load_translations("#{locales_dir}/en.xml") } - end - - test "simple load_translations: given a Ruby file name it does not raise anything" do - assert_nothing_raised { I18n.backend.load_translations("#{locales_dir}/en.rb") } - end - - test "simple load_translations: given no argument, it uses I18n.load_path" do - I18n.backend.load_translations - assert_equal({ :en => { :foo => { :bar => 'baz' } } }, I18n.backend.send(:translations)) - end - - test "simple load_rb: loads data from a Ruby file" do - data = I18n.backend.send(:load_rb, "#{locales_dir}/en.rb") - assert_equal({ :en => { :fuh => { :bah => 'bas' } } }, data) - end - - test "simple load_yml: loads data from a YAML file" do - data = I18n.backend.send(:load_yml, "#{locales_dir}/en.yml") - assert_equal({ 'en' => { 'foo' => { 'bar' => 'baz' } } }, data) - end - - test "simple load_translations: loads data from known file formats" do - I18n.backend = I18n::Backend::Simple.new - I18n.backend.load_translations("#{locales_dir}/en.rb", "#{locales_dir}/en.yml") - expected = { :en => { :fuh => { :bah => "bas" }, :foo => { :bar => "baz" } } } - assert_equal expected, translations - end - - test "simple load_translations: given file names as array it does not raise anything" do - assert_nothing_raised { I18n.backend.load_translations(["#{locales_dir}/en.rb", "#{locales_dir}/en.yml"]) } - end - - # storing translations - - test "simple store_translations: stores translations, ... no, really :-)" do - store_translations :'en', :foo => 'bar' - assert_equal Hash[:'en', {:foo => 'bar'}], translations - end - - test "simple store_translations: deep_merges with existing translations" do - store_translations :'en', :foo => {:bar => 'bar'} - store_translations :'en', :foo => {:baz => 'baz'} - assert_equal Hash[:'en', {:foo => {:bar => 'bar', :baz => 'baz'}}], translations - end - - test "simple store_translations: converts the given locale to a Symbol" do - store_translations 'en', :foo => 'bar' - assert_equal Hash[:'en', {:foo => 'bar'}], translations - end - - test "simple store_translations: converts keys to Symbols" do - store_translations 'en', 'foo' => {'bar' => 'bar', 'baz' => 'baz'} - assert_equal Hash[:'en', {:foo => {:bar => 'bar', :baz => 'baz'}}], translations - end - - # reloading translations - - test "simple reload_translations: unloads translations" do - I18n.backend.reload! - assert_nil translations - end - - test "simple reload_translations: uninitializes the backend" do - I18n.backend.reload! - assert_equal false, I18n.backend.initialized? - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/transliterator_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/transliterator_test.rb deleted file mode 100644 index c40e2bb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/backend/transliterator_test.rb +++ /dev/null @@ -1,84 +0,0 @@ -# encoding: utf-8 -require 'test_helper' - -class I18nBackendTransliterator < I18n::TestCase - def setup - super - I18n.backend = I18n::Backend::Simple.new - @proc = lambda { |n| n.upcase } - @hash = { "ü" => "ue", "ö" => "oe", "a" => "a" } - @transliterator = I18n::Backend::Transliterator.get - end - - test "transliteration rule can be a proc" do - store_translations(:xx, :i18n => {:transliterate => {:rule => @proc}}) - assert_equal "HELLO", I18n.backend.transliterate(:xx, "hello") - end - - test "transliteration rule can be a hash" do - store_translations(:xx, :i18n => {:transliterate => {:rule => @hash}}) - assert_equal "ue", I18n.backend.transliterate(:xx, "ü") - end - - test "transliteration rule must be a proc or hash" do - store_translations(:xx, :i18n => {:transliterate => {:rule => ""}}) - assert_raise I18n::ArgumentError do - I18n.backend.transliterate(:xx, "ü") - end - end - - test "transliterator defaults to latin => ascii when no rule is given" do - assert_equal "AEroskobing", I18n.backend.transliterate(:xx, "Ærøskøbing") - end - - test "default transliterator should not modify ascii characters" do - (0..127).each do |byte| - char = [byte].pack("U") - assert_equal char, @transliterator.transliterate(char) - end - end - - test "default transliterator correctly transliterates latin characters" do - # create string with range of Unicode's western characters with - # diacritics, excluding the division and multiplication signs which for - # some reason or other are floating in the middle of all the letters. - string = (0xC0..0x17E).to_a.reject {|c| [0xD7, 0xF7].include? c}.pack("U*") - string.split(//) do |char| - assert_match %r{^[a-zA-Z']*$}, @transliterator.transliterate(string) - end - end - - test "should replace non-ASCII chars not in map with a replacement char" do - assert_equal "abc?", @transliterator.transliterate("abcſ") - end - - test "can replace non-ASCII chars not in map with a custom replacement string" do - assert_equal "abc#", @transliterator.transliterate("abcſ", "#") - end - - test "default transliterator raises errors for invalid UTF-8" do - assert_raise ArgumentError do - @transliterator.transliterate("a\x92b") - end - end - - test "I18n.transliterate should transliterate using a default transliterator" do - assert_equal "aeo", I18n.transliterate("áèö") - end - - test "I18n.transliterate should transliterate using a locale" do - store_translations(:xx, :i18n => {:transliterate => {:rule => @hash}}) - assert_equal "ue", I18n.transliterate("ü", :locale => :xx) - end - - test "default transliterator fails with custom rules with uncomposed input" do - char = [117, 776].pack("U*") # "ü" as ASCII "u" plus COMBINING DIAERESIS - transliterator = I18n::Backend::Transliterator.get(@hash) - assert_not_equal "ue", transliterator.transliterate(char) - end - - test "DEFAULT_APPROXIMATIONS is frozen to prevent concurrency issues" do - assert I18n::Backend::Transliterator::HashTransliterator::DEFAULT_APPROXIMATIONS.frozen? - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/core_ext/hash_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/core_ext/hash_test.rb deleted file mode 100644 index 8309336..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/core_ext/hash_test.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'test_helper' -require 'i18n/core_ext/hash' - -class I18nCoreExtHashInterpolationTest < I18n::TestCase - test "#deep_symbolize_keys" do - hash = { 'foo' => { 'bar' => { 'baz' => 'bar' } } } - expected = { :foo => { :bar => { :baz => 'bar' } } } - assert_equal expected, hash.deep_symbolize_keys - end - - test "#slice" do - hash = { :foo => 'bar', :baz => 'bar' } - expected = { :foo => 'bar' } - assert_equal expected, hash.slice(:foo) - end - - test "#except" do - hash = { :foo => 'bar', :baz => 'bar' } - expected = { :foo => 'bar' } - assert_equal expected, hash.except(:baz) - end - - test "#deep_merge!" do - hash = { :foo => { :bar => { :baz => 'bar' } }, :baz => 'bar' } - hash.deep_merge!(:foo => { :bar => { :baz => 'foo' } }) - - expected = { :foo => { :bar => { :baz => 'foo' } }, :baz => 'bar' } - assert_equal expected, hash - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/gettext/api_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/gettext/api_test.rb deleted file mode 100644 index 4297400..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/gettext/api_test.rb +++ /dev/null @@ -1,207 +0,0 @@ -# encoding: utf-8 -require 'test_helper' -require 'i18n/gettext/helpers' - -include I18n::Gettext::Helpers - -class I18nGettextApiTest < I18n::TestCase - def setup - super - I18n.locale = :en - I18n.backend.store_translations :de, { - 'Hi Gettext!' => 'Hallo Gettext!', - 'Sentence 1. Sentence 2.' => 'Satz 1. Satz 2.', - "An apple" => { :one => 'Ein Apfel', :other => '%{count} Äpfel' }, - :special => { "A special apple" => { :one => 'Ein spezieller Apfel', :other => '%{count} spezielle Äpfel' } }, - :foo => { :bar => 'bar-de' }, - 'foo.bar' => 'Foo Bar' - }, :separator => '|' - end - - # gettext - def test_gettext_uses_msg_as_default - assert_equal 'Hi Gettext!', _('Hi Gettext!') - end - - def test_gettext_uses_msg_as_key - I18n.locale = :de - assert_equal 'Hallo Gettext!', gettext('Hi Gettext!') - assert_equal 'Hallo Gettext!', _('Hi Gettext!') - end - - def test_gettext_uses_msg_containing_dots_as_default - assert_equal 'Sentence 1. Sentence 2.', gettext('Sentence 1. Sentence 2.') - assert_equal 'Sentence 1. Sentence 2.', _('Sentence 1. Sentence 2.') - end - - def test_gettext_uses_msg_containing_dots_as_key - I18n.locale = :de - assert_equal 'Satz 1. Satz 2.', gettext('Sentence 1. Sentence 2.') - assert_equal 'Satz 1. Satz 2.', _('Sentence 1. Sentence 2.') - end - - # sgettext - def test_sgettext_defaults_to_the_last_token_of_a_scoped_msgid - assert_equal 'bar', sgettext('foo|bar') - assert_equal 'bar', s_('foo|bar') - end - - def test_sgettext_looks_up_a_scoped_translation - I18n.locale = :de - assert_equal 'bar-de', sgettext('foo|bar') - assert_equal 'bar-de', s_('foo|bar') - end - - def test_sgettext_ignores_dots - I18n.locale = :de - assert_equal 'Foo Bar', sgettext('foo.bar') - assert_equal 'Foo Bar', s_('foo.bar') - end - - # pgettext - def test_pgettext_defaults_to_msgid - assert_equal 'bar', pgettext('foo', 'bar') - assert_equal 'bar', p_('foo', 'bar') - end - - def test_pgettext_looks_up_a_scoped_translation - I18n.locale = :de - assert_equal 'bar-de', pgettext('foo', 'bar') - assert_equal 'bar-de', p_('foo', 'bar') - end - - # ngettext - def test_ngettext_looks_up_msg_id_as_default_singular - assert_equal 'An apple', ngettext('An apple', '%{count} apples', 1) - assert_equal 'An apple', n_('An apple', '%{count} apples', 1) - end - - def test_ngettext_looks_up_msg_id_plural_as_default_plural - assert_equal '2 apples', ngettext('An apple', '%{count} apples', 2) - assert_equal '2 apples', n_('An apple', '%{count} apples', 2) - end - - def test_ngettext_looks_up_a_singular - I18n.locale = :de - assert_equal 'Ein Apfel', ngettext('An apple', '%{count} apples', 1) - assert_equal 'Ein Apfel', n_('An apple', '%{count} apples', 1) - end - - def test_ngettext_looks_up_a_plural - I18n.locale = :de - assert_equal '2 Äpfel', ngettext('An apple', '%{count} apples', 2) - assert_equal '2 Äpfel', n_('An apple', '%{count} apples', 2) - end - - def test_ngettext_looks_up_msg_id_as_default_singular_with_alternative_syntax - assert_equal 'An apple', ngettext(['An apple', '%{count} apples'], 1) - assert_equal 'An apple', n_(['An apple', '%{count} apples'], 1) - end - - def test_ngettext_looks_up_msg_id_plural_as_default_plural_with_alternative_syntax - assert_equal '2 apples', ngettext(['An apple', '%{count} apples'], 2) - assert_equal '2 apples', n_(['An apple', '%{count} apples'], 2) - end - - def test_ngettext_looks_up_a_singular_with_alternative_syntax - I18n.locale = :de - assert_equal 'Ein Apfel', ngettext(['An apple', '%{count} apples'], 1) - assert_equal 'Ein Apfel', n_(['An apple', '%{count} apples'], 1) - end - - def test_ngettext_looks_up_a_plural_with_alternative_syntax - I18n.locale = :de - assert_equal '2 Äpfel', ngettext(['An apple', '%{count} apples'], 2) - assert_equal '2 Äpfel', n_(['An apple', '%{count} apples'], 2) - end - - # nsgettext - def test_nsgettext_looks_up_msg_id_as_default_singular - assert_equal 'A special apple', nsgettext('special|A special apple', '%{count} special apples', 1) - assert_equal 'A special apple', ns_('special|A special apple', '%{count} special apples', 1) - end - - def test_nsgettext_looks_up_msg_id_plural_as_default_plural - assert_equal '2 special apples', nsgettext('special|A special apple', '%{count} special apples', 2) - assert_equal '2 special apples', ns_('special|A special apple', '%{count} special apples', 2) - end - - def test_nsgettext_looks_up_a_singular - I18n.locale = :de - assert_equal 'Ein spezieller Apfel', nsgettext('special|A special apple', '%{count} special apples', 1) - assert_equal 'Ein spezieller Apfel', ns_('special|A special apple', '%{count} special apples', 1) - end - - def test_nsgettext_looks_up_a_plural - I18n.locale = :de - assert_equal '2 spezielle Äpfel', nsgettext('special|A special apple', '%{count} special apples', 2) - assert_equal '2 spezielle Äpfel', ns_('special|A special apple', '%{count} special apples', 2) - end - - def test_nsgettext_looks_up_msg_id_as_default_singular_with_alternative_syntax - assert_equal 'A special apple', nsgettext(['special|A special apple', '%{count} special apples'], 1) - assert_equal 'A special apple', ns_(['special|A special apple', '%{count} special apples'], 1) - end - - def test_nsgettext_looks_up_msg_id_plural_as_default_plural_with_alternative_syntax - assert_equal '2 special apples', nsgettext(['special|A special apple', '%{count} special apples'], 2) - assert_equal '2 special apples', ns_(['special|A special apple', '%{count} special apples'], 2) - end - - def test_nsgettext_looks_up_a_singular_with_alternative_syntax - I18n.locale = :de - assert_equal 'Ein spezieller Apfel', nsgettext(['special|A special apple', '%{count} special apples'], 1) - assert_equal 'Ein spezieller Apfel', ns_(['special|A special apple', '%{count} special apples'], 1) - end - - def test_nsgettext_looks_up_a_plural_with_alternative_syntax - I18n.locale = :de - assert_equal '2 spezielle Äpfel', nsgettext(['special|A special apple', '%{count} special apples'], 2) - assert_equal '2 spezielle Äpfel', ns_(['special|A special apple', '%{count} special apples'], 2) - end - - # npgettext - def test_npgettext_looks_up_msg_id_as_default_singular - assert_equal 'A special apple', npgettext('special', 'A special apple', '%{count} special apples', 1) - assert_equal 'A special apple', np_('special', 'A special apple', '%{count} special apples', 1) - end - - def test_npgettext_looks_up_msg_id_plural_as_default_plural - assert_equal '2 special apples', npgettext('special', 'A special apple', '%{count} special apples', 2) - assert_equal '2 special apples', np_('special', 'A special apple', '%{count} special apples', 2) - end - - def test_npgettext_looks_up_a_singular - I18n.locale = :de - assert_equal 'Ein spezieller Apfel', npgettext('special', 'A special apple', '%{count} special apples', 1) - assert_equal 'Ein spezieller Apfel', np_('special', 'A special apple', '%{count} special apples', 1) - end - - def test_npgettext_looks_up_a_plural - I18n.locale = :de - assert_equal '2 spezielle Äpfel', npgettext('special', 'A special apple', '%{count} special apples', 2) - assert_equal '2 spezielle Äpfel', np_('special', 'A special apple', '%{count} special apples', 2) - end - - def test_npgettext_looks_up_msg_id_as_default_singular_with_alternative_syntax - assert_equal 'A special apple', npgettext('special', ['A special apple', '%{count} special apples'], 1) - assert_equal 'A special apple', np_('special', ['A special apple', '%{count} special apples'], 1) - end - - def test_npgettext_looks_up_msg_id_plural_as_default_plural_with_alternative_syntax - assert_equal '2 special apples', npgettext('special', ['A special apple', '%{count} special apples'], 2) - assert_equal '2 special apples', np_('special', ['A special apple', '%{count} special apples'], 2) - end - - def test_npgettext_looks_up_a_singular_with_alternative_syntax - I18n.locale = :de - assert_equal 'Ein spezieller Apfel', npgettext('special', ['A special apple', '%{count} special apples'], 1) - assert_equal 'Ein spezieller Apfel', np_('special', ['A special apple', '%{count} special apples'], 1) - end - - def test_npgettext_looks_up_a_plural_with_alternative_syntax - I18n.locale = :de - assert_equal '2 spezielle Äpfel', npgettext('special', ['A special apple', '%{count} special apples'], 2) - assert_equal '2 spezielle Äpfel', np_('special', ['A special apple', '%{count} special apples'], 2) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/gettext/backend_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/gettext/backend_test.rb deleted file mode 100644 index 30254e6..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/gettext/backend_test.rb +++ /dev/null @@ -1,92 +0,0 @@ -# encoding: utf-8 - -require 'test_helper' - -class I18nGettextBackendTest < I18n::TestCase - include I18n::Gettext::Helpers - - class Backend < I18n::Backend::Simple - include I18n::Backend::Gettext - end - - def setup - super - I18n.backend = Backend.new - I18n.locale = :en - I18n.load_path = ["#{locales_dir}/de.po"] - I18n.default_separator = '|' - end - - def test_backend_loads_po_file - I18n.backend.send(:init_translations) - assert I18n.backend.send(:translations)[:de][:"Axis"] - end - - def test_looks_up_a_translation - I18n.locale = :de - assert_equal 'Auto', gettext('car') - end - - def test_uses_default_translation - assert_equal 'car', gettext('car') - end - - def test_looks_up_a_namespaced_translation - I18n.locale = :de - assert_equal 'Räderzahl', sgettext('Car|Wheels count') - assert_equal 'Räderzahl', pgettext('Car', 'Wheels count') - assert_equal 'Räderzahl!', pgettext('New car', 'Wheels count') - end - - def test_uses_namespaced_default_translation - assert_equal 'Wheels count', sgettext('Car|Wheels count') - assert_equal 'Wheels count', pgettext('Car', 'Wheels count') - assert_equal 'Wheels count', pgettext('New car', 'Wheels count') - end - - def test_pluralizes_entry - I18n.locale = :de - assert_equal 'Achse', ngettext('Axis', 'Axis', 1) - assert_equal 'Achsen', ngettext('Axis', 'Axis', 2) - end - - def test_pluralizes_default_entry - assert_equal 'Axis', ngettext('Axis', 'Axis', 1) - assert_equal 'Axis', ngettext('Axis', 'Axis', 2) - end - - def test_pluralizes_namespaced_entry - I18n.locale = :de - assert_equal 'Rad', nsgettext('Car|wheel', 'wheels', 1) - assert_equal 'Räder', nsgettext('Car|wheel', 'wheels', 2) - assert_equal 'Rad', npgettext('Car', 'wheel', 'wheels', 1) - assert_equal 'Räder', npgettext('Car', 'wheel', 'wheels', 2) - assert_equal 'Rad!', npgettext('New car', 'wheel', 'wheels', 1) - assert_equal 'Räder!', npgettext('New car', 'wheel', 'wheels', 2) - end - - def test_pluralizes_namespaced_default_entry - assert_equal 'wheel', nsgettext('Car|wheel', 'wheels', 1) - assert_equal 'wheels', nsgettext('Car|wheel', 'wheels', 2) - assert_equal 'wheel', npgettext('Car', 'wheel', 'wheels', 1) - assert_equal 'wheels', npgettext('Car', 'wheel', 'wheels', 2) - assert_equal 'wheel', npgettext('New car', 'wheel', 'wheels', 1) - assert_equal 'wheels', npgettext('New car', 'wheel', 'wheels', 2) - end - - def test_pluralizes_namespaced_entry_with_alternative_syntax - I18n.locale = :de - assert_equal 'Rad', nsgettext(['Car|wheel', 'wheels'], 1) - assert_equal 'Räder', nsgettext(['Car|wheel', 'wheels'], 2) - assert_equal 'Rad', npgettext('Car', ['wheel', 'wheels'], 1) - assert_equal 'Räder', npgettext('Car', ['wheel', 'wheels'], 2) - assert_equal 'Rad!', npgettext('New car', ['wheel', 'wheels'], 1) - assert_equal 'Räder!', npgettext('New car', ['wheel', 'wheels'], 2) - end - - def test_ngettextpluralizes_entry_with_dots - I18n.locale = :de - assert_equal 'Auf 1 Achse.', n_("On %{count} wheel.", "On %{count} wheels.", 1) - assert_equal 'Auf 2 Achsen.', n_("On %{count} wheel.", "On %{count} wheels.", 2) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/exceptions_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/exceptions_test.rb deleted file mode 100644 index d8f2160..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/exceptions_test.rb +++ /dev/null @@ -1,105 +0,0 @@ -require 'test_helper' - -class I18nExceptionsTest < I18n::TestCase - def test_invalid_locale_stores_locale - force_invalid_locale - rescue I18n::ArgumentError => exception - assert_nil exception.locale - end - - test "passing an invalid locale raises an InvalidLocale exception" do - force_invalid_locale do |exception| - assert_equal 'nil is not a valid locale', exception.message - end - end - - test "MissingTranslationData exception stores locale, key and options" do - force_missing_translation_data do |exception| - assert_equal 'de', exception.locale - assert_equal :foo, exception.key - assert_equal({:scope => :bar}, exception.options) - end - end - - test "MissingTranslationData message contains the locale and scoped key" do - force_missing_translation_data do |exception| - assert_equal 'translation missing: de.bar.foo', exception.message - end - end - - test "InvalidPluralizationData stores entry and count" do - force_invalid_pluralization_data do |exception| - assert_equal [:bar], exception.entry - assert_equal 1, exception.count - end - end - - test "InvalidPluralizationData message contains count and data" do - force_invalid_pluralization_data do |exception| - assert_equal 'translation data [:bar] can not be used with :count => 1', exception.message - end - end - - test "MissingInterpolationArgument stores key and string" do - assert_raise(I18n::MissingInterpolationArgument) { force_missing_interpolation_argument } - force_missing_interpolation_argument do |exception| - assert_equal :bar, exception.key - assert_equal "%{bar}", exception.string - end - end - - test "MissingInterpolationArgument message contains the missing and given arguments" do - force_missing_interpolation_argument do |exception| - assert_equal 'missing interpolation argument :bar in "%{bar}" ({:baz=>"baz"} given)', exception.message - end - end - - test "ReservedInterpolationKey stores key and string" do - force_reserved_interpolation_key do |exception| - assert_equal :scope, exception.key - assert_equal "%{scope}", exception.string - end - end - - test "ReservedInterpolationKey message contains the reserved key" do - force_reserved_interpolation_key do |exception| - assert_equal 'reserved key :scope used in "%{scope}"', exception.message - end - end - - private - - def force_invalid_locale - I18n.translate(:foo, :locale => nil) - rescue I18n::ArgumentError => e - block_given? ? yield(e) : raise(e) - end - - def force_missing_translation_data(options = {}) - store_translations('de', :bar => nil) - I18n.translate(:foo, options.merge(:scope => :bar, :locale => :de)) - rescue I18n::ArgumentError => e - block_given? ? yield(e) : raise(e) - end - - def force_invalid_pluralization_data - store_translations('de', :foo => [:bar]) - I18n.translate(:foo, :count => 1, :locale => :de) - rescue I18n::ArgumentError => e - block_given? ? yield(e) : raise(e) - end - - def force_missing_interpolation_argument - store_translations('de', :foo => "%{bar}") - I18n.translate(:foo, :baz => 'baz', :locale => :de) - rescue I18n::ArgumentError => e - block_given? ? yield(e) : raise(e) - end - - def force_reserved_interpolation_key - store_translations('de', :foo => "%{scope}") - I18n.translate(:foo, :baz => 'baz', :locale => :de) - rescue I18n::ArgumentError => e - block_given? ? yield(e) : raise(e) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/interpolate_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/interpolate_test.rb deleted file mode 100644 index 4bc6392..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/interpolate_test.rb +++ /dev/null @@ -1,80 +0,0 @@ -require 'test_helper' - -# thanks to Masao's String extensions, some tests taken from Masao's tests -# http://github.com/mutoh/gettext/blob/edbbe1fa8238fa12c7f26f2418403015f0270e47/test/test_string.rb - -class I18nInterpolateTest < I18n::TestCase - test "String interpolates a hash argument w/ named placeholders" do - assert_equal "Masao Mutoh", I18n.interpolate("%{first} %{last}", :first => 'Masao', :last => 'Mutoh' ) - end - - test "String interpolates a hash argument w/ named placeholders (reverse order)" do - assert_equal "Mutoh, Masao", I18n.interpolate("%{last}, %{first}", :first => 'Masao', :last => 'Mutoh' ) - end - - test "String interpolates named placeholders with sprintf syntax" do - assert_equal "10, 43.4", I18n.interpolate("%d, %.1f", :integer => 10, :float => 43.4) - end - - test "String interpolates named placeholders with sprintf syntax, does not recurse" do - assert_equal "%s", I18n.interpolate("%{msg}", :msg => '%s', :not_translated => 'should not happen' ) - end - - test "String interpolation does not replace anything when no placeholders are given" do - assert_equal "aaa", I18n.interpolate("aaa", :num => 1) - end - - test "String interpolation sprintf behaviour equals Ruby 1.9 behaviour" do - assert_equal "1", I18n.interpolate("%d", :num => 1) - assert_equal "0b1", I18n.interpolate("%#b", :num => 1) - assert_equal "foo", I18n.interpolate("%s", :msg => "foo") - assert_equal "1.000000", I18n.interpolate("%f", :num => 1.0) - assert_equal " 1", I18n.interpolate("%3.0f", :num => 1.0) - assert_equal "100.00", I18n.interpolate("%2.2f", :num => 100.0) - assert_equal "0x64", I18n.interpolate("%#x", :num => 100.0) - assert_raise(ArgumentError) { I18n.interpolate("%,d", :num => 100) } - assert_raise(ArgumentError) { I18n.interpolate("%/d", :num => 100) } - end - - test "String interpolation raises an I18n::MissingInterpolationArgument when the string has extra placeholders" do - assert_raise(I18n::MissingInterpolationArgument) do # Ruby 1.9 msg: "key not found" - I18n.interpolate("%{first} %{last}", :first => 'Masao') - end - end - - test "String interpolation does not raise when extra values were passed" do - assert_nothing_raised do - assert_equal "Masao Mutoh", I18n.interpolate("%{first} %{last}", :first => 'Masao', :last => 'Mutoh', :salutation => 'Mr.' ) - end - end - - test "% acts as escape character in String interpolation" do - assert_equal "%{first}", I18n.interpolate("%%{first}", :first => 'Masao') - assert_equal "% 1", I18n.interpolate("%% %d", :num => 1.0) - assert_equal "%{num} %d", I18n.interpolate("%%{num} %%d", :num => 1) - end - - def test_sprintf_mix_unformatted_and_formatted_named_placeholders - assert_equal "foo 1.000000", I18n.interpolate("%{name} %f", :name => "foo", :num => 1.0) - end -end - -class I18nMissingInterpolationCustomHandlerTest < I18n::TestCase - def setup - super - @old_handler = I18n.config.missing_interpolation_argument_handler - I18n.config.missing_interpolation_argument_handler = lambda do |key, values, string| - "missing key is #{key}, values are #{values.inspect}, given string is '#{string}'" - end - end - - def teardown - I18n.config.missing_interpolation_argument_handler = @old_handler - super - end - - test "String interpolation can use custom missing interpolation handler" do - assert_equal %|Masao missing key is last, values are {:first=>"Masao"}, given string is '%{first} %{last}'|, - I18n.interpolate("%{first} %{last}", :first => 'Masao') - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/load_path_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/load_path_test.rb deleted file mode 100644 index 804aa88..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n/load_path_test.rb +++ /dev/null @@ -1,34 +0,0 @@ -require 'test_helper' - -class I18nLoadPathTest < I18n::TestCase - def setup - super - I18n.locale = :en - I18n.backend = I18n::Backend::Simple.new - store_translations(:en, :foo => {:bar => 'bar', :baz => 'baz'}) - end - - test "nested load paths do not break locale loading" do - I18n.load_path = [[locales_dir + '/en.yml']] - assert_equal "baz", I18n.t(:'foo.bar') - end - - test "loading an empty yml file raises an InvalidLocaleData exception" do - assert_raise I18n::InvalidLocaleData do - I18n.load_path = [[locales_dir + '/invalid/empty.yml']] - I18n.t(:'foo.bar', :default => "baz") - end - end - - test "loading an invalid yml file raises an InvalidLocaleData exception" do - assert_raise I18n::InvalidLocaleData do - I18n.load_path = [[locales_dir + '/invalid/syntax.yml']] - I18n.t(:'foo.bar', :default => "baz") - end - end - - test "adding arrays of filenames to the load path does not break locale loading" do - I18n.load_path << Dir[locales_dir + '/*.{rb,yml}'] - assert_equal "baz", I18n.t(:'foo.bar') - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n_test.rb deleted file mode 100644 index ed3d987..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/i18n_test.rb +++ /dev/null @@ -1,429 +0,0 @@ -# encoding: utf-8 -require 'test_helper' - -class I18nTest < I18n::TestCase - def setup - super - store_translations(:en, :currency => { :format => { :separator => '.', :delimiter => ',', } }) - store_translations(:nl, :currency => { :format => { :separator => ',', :delimiter => '.', } }) - end - - test "exposes its VERSION constant" do - assert I18n::VERSION - end - - test "uses the simple backend by default" do - assert I18n.backend.is_a?(I18n::Backend::Simple) - end - - test "can set the backend" do - begin - assert_nothing_raised { I18n.backend = self } - assert_equal self, I18n.backend - ensure - I18n.backend = I18n::Backend::Simple.new - end - end - - test "uses :en as a default_locale by default" do - assert_equal :en, I18n.default_locale - end - - test "can set the default locale" do - begin - assert_nothing_raised { I18n.default_locale = 'de' } - assert_equal :de, I18n.default_locale - ensure - I18n.default_locale = :en - end - end - - test "default_locale= doesn't ignore junk" do - assert_raise(NoMethodError) { I18n.default_locale = Class } - end - - test "raises an I18n::InvalidLocale exception when setting an unavailable default locale" do - begin - I18n.config.enforce_available_locales = true - assert_raise(I18n::InvalidLocale) { I18n.default_locale = :klingon } - ensure - I18n.config.enforce_available_locales = false - end - end - - test "uses the default locale as a locale by default" do - assert_equal I18n.default_locale, I18n.locale - end - - test "sets the current locale to Thread.current" do - assert_nothing_raised { I18n.locale = 'de' } - assert_equal :de, I18n.locale - assert_equal :de, Thread.current[:i18n_config].locale - I18n.locale = :en - end - - test "locale= doesn't ignore junk" do - assert_raise(NoMethodError) { I18n.locale = Class } - end - - test "raises an I18n::InvalidLocale exception when setting an unavailable locale" do - begin - I18n.config.enforce_available_locales = true - assert_raise(I18n::InvalidLocale) { I18n.locale = :klingon } - ensure - I18n.config.enforce_available_locales = false - end - end - - test "can set the configuration object" do - begin - I18n.config = self - assert_equal self, I18n.config - assert_equal self, Thread.current[:i18n_config] - ensure - I18n.config = ::I18n::Config.new - end - end - - test "locale is not shared between configurations" do - a = I18n::Config.new - b = I18n::Config.new - a.locale = :fr - b.locale = :es - assert_equal :fr, a.locale - assert_equal :es, b.locale - assert_equal :en, I18n.locale - end - - test "other options are shared between configurations" do - begin - a = I18n::Config.new - b = I18n::Config.new - a.default_locale = :fr - b.default_locale = :es - assert_equal :es, a.default_locale - assert_equal :es, b.default_locale - assert_equal :es, I18n.default_locale - ensure - I18n.default_locale = :en - end - end - - test "uses a dot as a default_separator by default" do - assert_equal '.', I18n.default_separator - end - - test "can set the default_separator" do - begin - assert_nothing_raised { I18n.default_separator = "\001" } - ensure - I18n.default_separator = '.' - end - end - - test "normalize_keys normalizes given locale, keys and scope to an array of single-key symbols" do - assert_equal [:en, :foo, :bar], I18n.normalize_keys(:en, :bar, :foo) - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, :'baz.buz', :'foo.bar') - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, 'baz.buz', 'foo.bar') - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, %w(baz buz), %w(foo bar)) - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, [:baz, :buz], [:foo, :bar]) - end - - test "normalize_keys discards empty keys" do - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, :'baz..buz', :'foo..bar') - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, :'baz......buz', :'foo......bar') - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, ['baz', nil, '', 'buz'], ['foo', nil, '', 'bar']) - end - - test "normalize_keys uses a given separator" do - assert_equal [:en, :foo, :bar, :baz, :buz], I18n.normalize_keys(:en, :'baz|buz', :'foo|bar', '|') - end - - test "can set the exception_handler" do - begin - previous_exception_handler = I18n.exception_handler - assert_nothing_raised { I18n.exception_handler = :custom_exception_handler } - ensure - I18n.exception_handler = previous_exception_handler - end - end - - test "uses a custom exception handler set to I18n.exception_handler" do - begin - previous_exception_handler = I18n.exception_handler - I18n.exception_handler = :custom_exception_handler - I18n.expects(:custom_exception_handler) - I18n.translate :bogus - ensure - I18n.exception_handler = previous_exception_handler - end - end - - test "uses a custom exception handler passed as an option" do - I18n.expects(:custom_exception_handler) - I18n.translate(:bogus, :exception_handler => :custom_exception_handler) - end - - test "delegates translate calls to the backend" do - I18n.backend.expects(:translate).with('de', :foo, {}) - I18n.translate :foo, :locale => 'de' - end - - test "delegates localize calls to the backend" do - I18n.backend.expects(:localize).with('de', :whatever, :default, {}) - I18n.localize :whatever, :locale => 'de' - end - - test "translate given no locale uses the current locale" do - I18n.backend.expects(:translate).with(:en, :foo, {}) - I18n.translate :foo - end - - test "translate works with nested symbol keys" do - assert_equal ".", I18n.t(:'currency.format.separator') - end - - test "translate works with nested string keys" do - assert_equal ".", I18n.t('currency.format.separator') - end - - test "translate with an array as a scope works" do - assert_equal ".", I18n.t(:separator, :scope => %w(currency format)) - end - - test "translate with an array containing dot separated strings as a scope works" do - assert_equal ".", I18n.t(:separator, :scope => ['currency.format']) - end - - test "translate with an array of keys and a dot separated string as a scope works" do - assert_equal [".", ","], I18n.t(%w(separator delimiter), :scope => 'currency.format') - end - - test "translate with an array of dot separated keys and a scope works" do - assert_equal [".", ","], I18n.t(%w(format.separator format.delimiter), :scope => 'currency') - end - - # def test_translate_given_no_args_raises_missing_translation_data - # assert_equal "translation missing: en, no key", I18n.t - # end - - test "translate given a bogus key returns an error message" do - assert_equal "translation missing: en.bogus", I18n.t(:bogus) - end - - test "translate given an empty string as a key raises an I18n::ArgumentError" do - assert_raise(I18n::ArgumentError) { I18n.t("") } - end - - test "translate given an unavailable locale rases an I18n::InvalidLocale" do - begin - I18n.config.enforce_available_locales = true - assert_raise(I18n::InvalidLocale) { I18n.t(:foo, :locale => 'klingon') } - ensure - I18n.config.enforce_available_locales = false - end - end - - test "available_locales can be replaced at runtime" do - begin - I18n.config.enforce_available_locales = true - assert_raise(I18n::InvalidLocale) { I18n.t(:foo, :locale => 'klingon') } - old_locales, I18n.config.available_locales = I18n.config.available_locales, [:klingon] - I18n.t(:foo, :locale => 'klingon') - ensure - I18n.config.enforce_available_locales = false - I18n.config.available_locales = old_locales - end - end - - test "available_locales_set should return a set" do - assert_equal Set, I18n.config.available_locales_set.class - assert_equal I18n.config.available_locales.size * 2, I18n.config.available_locales_set.size - end - - test "exists? given an existing key will return true" do - assert_equal true, I18n.exists?(:currency) - end - - test "exists? given a non-existing key will return false" do - assert_equal false, I18n.exists?(:bogus) - end - - test "exists? given an existing dot-separated key will return true" do - assert_equal true, I18n.exists?('currency.format.delimiter') - end - - test "exists? given a non-existing dot-separated key will return false" do - assert_equal false, I18n.exists?('currency.format.bogus') - end - - test "exists? given an existing key and an existing locale will return true" do - assert_equal true, I18n.exists?(:currency, :nl) - end - - test "exists? given a non-existing key and an existing locale will return false" do - assert_equal false, I18n.exists?(:bogus, :nl) - end - - test "localize given nil raises an I18n::ArgumentError" do - assert_raise(I18n::ArgumentError) { I18n.l nil } - end - - test "localize given an Object raises an I18n::ArgumentError" do - assert_raise(I18n::ArgumentError) { I18n.l Object.new } - end - - test "localize given an unavailable locale rases an I18n::InvalidLocale" do - begin - I18n.config.enforce_available_locales = true - assert_raise(I18n::InvalidLocale) { I18n.l(Time.now, :locale => 'klingon') } - ensure - I18n.config.enforce_available_locales = false - end - end - - test "can use a lambda as an exception handler" do - begin - previous_exception_handler = I18n.exception_handler - I18n.exception_handler = Proc.new { |exception, locale, key, options| key } - assert_equal :test_proc_handler, I18n.translate(:test_proc_handler) - ensure - I18n.exception_handler = previous_exception_handler - end - end - - test "can use an object responding to #call as an exception handler" do - begin - previous_exception_handler = I18n.exception_handler - I18n.exception_handler = Class.new do - def call(exception, locale, key, options); key; end - end.new - assert_equal :test_proc_handler, I18n.translate(:test_proc_handler) - ensure - I18n.exception_handler = previous_exception_handler - end - end - - test "I18n.with_locale temporarily sets the given locale" do - store_translations(:en, :foo => 'Foo in :en') - store_translations(:de, :foo => 'Foo in :de') - store_translations(:pl, :foo => 'Foo in :pl') - - I18n.with_locale { assert_equal [:en, 'Foo in :en'], [I18n.locale, I18n.t(:foo)] } - I18n.with_locale(:de) { assert_equal [:de, 'Foo in :de'], [I18n.locale, I18n.t(:foo)] } - I18n.with_locale(:pl) { assert_equal [:pl, 'Foo in :pl'], [I18n.locale, I18n.t(:foo)] } - I18n.with_locale(:en) { assert_equal [:en, 'Foo in :en'], [I18n.locale, I18n.t(:foo)] } - - assert_equal I18n.default_locale, I18n.locale - end - - test "I18n.with_locale resets the locale in case of errors" do - assert_raise(I18n::ArgumentError) { I18n.with_locale(:pl) { raise I18n::ArgumentError } } - assert_equal I18n.default_locale, I18n.locale - end - - test "I18n.translitarate handles I18n::ArgumentError exception" do - I18n::Backend::Transliterator.stubs(:get).raises(I18n::ArgumentError) - I18n.exception_handler.expects(:call).raises(I18n::ArgumentError) - assert_raise(I18n::ArgumentError) { - I18n.transliterate("ąćó") - } - end - - test "I18n.translitarate raises I18n::ArgumentError exception" do - I18n::Backend::Transliterator.stubs(:get).raises(I18n::ArgumentError) - I18n.exception_handler.expects(:call).never - assert_raise(I18n::ArgumentError) { - I18n.transliterate("ąćó", :raise => true) - } - end - - test "transliterate given an unavailable locale rases an I18n::InvalidLocale" do - begin - I18n.config.enforce_available_locales = true - assert_raise(I18n::InvalidLocale) { I18n.transliterate('string', :locale => 'klingon') } - ensure - I18n.config.enforce_available_locales = false - end - end - - test "I18n.locale_available? returns true when the passed locale is available" do - I18n.available_locales = [:en, :de] - assert_equal true, I18n.locale_available?(:de) - end - - test "I18n.locale_available? returns true when the passed locale is a string and is available" do - I18n.available_locales = [:en, :de] - assert_equal true, I18n.locale_available?('de') - end - - test "I18n.locale_available? returns false when the passed locale is unavailable" do - assert_equal false, I18n.locale_available?(:klingon) - end - - test "I18n.enforce_available_locales! raises an I18n::InvalidLocale when the passed locale is unavailable" do - begin - I18n.config.enforce_available_locales = true - assert_raise(I18n::InvalidLocale) { I18n.enforce_available_locales!(:klingon) } - ensure - I18n.config.enforce_available_locales = false - end - end - - test "I18n.enforce_available_locales! does nothing when the passed locale is available" do - I18n.available_locales = [:en, :de] - begin - I18n.config.enforce_available_locales = true - assert_nothing_raised { I18n.enforce_available_locales!(:en) } - ensure - I18n.config.enforce_available_locales = false - end - end - - test "I18n.enforce_available_locales config can be set to false" do - begin - I18n.config.enforce_available_locales = false - assert_equal false, I18n.config.enforce_available_locales - ensure - I18n.config.enforce_available_locales = false - end - end - - test 'I18n.reload! reloads the set of locales that are enforced' do - begin - # Clear the backend that affects the available locales and somehow can remain - # set from the last running test. - # For instance, it contains enough translations to cause a false positive with - # this test when ran with --seed=50992 - I18n.backend = I18n::Backend::Simple.new - - assert !I18n.available_locales.include?(:de), "Available locales should not include :de at this point" - - I18n.enforce_available_locales = true - - assert_raise(I18n::InvalidLocale) { I18n.default_locale = :de } - assert_raise(I18n::InvalidLocale) { I18n.locale = :de } - - store_translations(:de, :foo => 'Foo in :de') - - assert_raise(I18n::InvalidLocale) { I18n.default_locale = :de } - assert_raise(I18n::InvalidLocale) { I18n.locale = :de } - - I18n.reload! - - store_translations(:en, :foo => 'Foo in :en') - store_translations(:de, :foo => 'Foo in :de') - store_translations(:pl, :foo => 'Foo in :pl') - - assert I18n.available_locales.include?(:de), ":de should now be allowed" - assert I18n.available_locales.include?(:en), ":en should now be allowed" - assert I18n.available_locales.include?(:pl), ":pl should now be allowed" - - assert_nothing_raised { I18n.default_locale = I18n.locale = :en } - assert_nothing_raised { I18n.default_locale = I18n.locale = :de } - assert_nothing_raised { I18n.default_locale = I18n.locale = :pl } - ensure - I18n.enforce_available_locales = false - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/fallbacks_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/fallbacks_test.rb deleted file mode 100644 index 7a43852..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/fallbacks_test.rb +++ /dev/null @@ -1,133 +0,0 @@ -require 'test_helper' - -include I18n::Locale - -class I18nFallbacksDefaultsTest < I18n::TestCase - test "defaults reflect the I18n.default_locale if no default has been set manually" do - I18n.default_locale = :'en-US' - fallbacks = Fallbacks.new - assert_equal [:'en-US', :en], fallbacks.defaults - end - - test "defaults reflect a manually passed default locale if any" do - fallbacks = Fallbacks.new(:'fi-FI') - assert_equal [:'fi-FI', :fi], fallbacks.defaults - I18n.default_locale = :'de-DE' - assert_equal [:'fi-FI', :fi], fallbacks.defaults - end - - test "defaults allows to set multiple defaults" do - fallbacks = Fallbacks.new(:'fi-FI', :'se-FI') - assert_equal [:'fi-FI', :fi, :'se-FI', :se], fallbacks.defaults - end -end - -class I18nFallbacksComputationTest < I18n::TestCase - def setup - super - @fallbacks = Fallbacks.new(:'en-US') - end - - test "with no mappings defined it returns [:es, :en-US] for :es" do - assert_equal [:es, :"en-US", :en], @fallbacks[:es] - end - - test "with no mappings defined it returns [:es-ES, :es, :en-US] for :es-ES" do - assert_equal [:"es-ES", :es, :"en-US", :en], @fallbacks[:"es-ES"] - end - - test "with no mappings defined it returns [:es-MX, :es, :en-US] for :es-MX" do - assert_equal [:"es-MX", :es, :"en-US", :en], @fallbacks[:"es-MX"] - end - - test "with no mappings defined it returns [:es-Latn-ES, :es-Latn, :es, :en-US] for :es-Latn-ES" do - assert_equal [:"es-Latn-ES", :"es-Latn", :es, :"en-US", :en], @fallbacks[:'es-Latn-ES'] - end - - test "with no mappings defined it returns [:en, :en-US] for :en" do - assert_equal [:en, :"en-US"], @fallbacks[:en] - end - - test "with no mappings defined it returns [:en-US, :en] for :en-US (special case: locale == default)" do - assert_equal [:"en-US", :en], @fallbacks[:"en-US"] - end - - # Most people who speak Catalan also live in Spain, so it is safe to assume - # that they also speak Spanish as spoken in Spain. - test "with a Catalan mapping defined it returns [:ca, :es-ES, :es, :en-US] for :ca" do - @fallbacks.map(:ca => :"es-ES") - assert_equal [:ca, :"es-ES", :es, :"en-US", :en], @fallbacks[:ca] - end - - test "with a Catalan mapping defined it returns [:ca-ES, :ca, :es-ES, :es, :en-US] for :ca-ES" do - @fallbacks.map(:ca => :"es-ES") - assert_equal [:"ca-ES", :ca, :"es-ES", :es, :"en-US", :en], @fallbacks[:"ca-ES"] - end - - # People who speak Arabic as spoken in Palestine often times also speak - # Hebrew as spoken in Israel. However it is in no way safe to assume that - # everybody who speaks Arabic also speaks Hebrew. - - test "with a Hebrew mapping defined it returns [:ar, :en-US] for :ar" do - @fallbacks.map(:"ar-PS" => :"he-IL") - assert_equal [:ar, :"en-US", :en], @fallbacks[:ar] - end - - test "with a Hebrew mapping defined it returns [:ar-EG, :ar, :en-US] for :ar-EG" do - @fallbacks.map(:"ar-PS" => :"he-IL") - assert_equal [:"ar-EG", :ar, :"en-US", :en], @fallbacks[:"ar-EG"] - end - - test "with a Hebrew mapping defined it returns [:ar-PS, :ar, :he-IL, :he, :en-US] for :ar-PS" do - @fallbacks.map(:"ar-PS" => :"he-IL") - assert_equal [:"ar-PS", :ar, :"he-IL", :he, :"en-US", :en], @fallbacks[:"ar-PS"] - end - - # Sami people live in several scandinavian countries. In Finnland many people - # know Swedish and Finnish. Thus, it can be assumed that Sami living in - # Finnland also speak Swedish and Finnish. - - test "with a Sami mapping defined it returns [:sms-FI, :sms, :se-FI, :se, :fi-FI, :fi, :en-US] for :sms-FI" do - @fallbacks.map(:sms => [:"se-FI", :"fi-FI"]) - assert_equal [:"sms-FI", :sms, :"se-FI", :se, :"fi-FI", :fi, :"en-US", :en], @fallbacks[:"sms-FI"] - end - - # Austrian people understand German as spoken in Germany - - test "with a German mapping defined it returns [:de, :en-US] for de" do - @fallbacks.map(:"de-AT" => :"de-DE") - assert_equal [:de, :"en-US", :en], @fallbacks[:"de"] - end - - test "with a German mapping defined it returns [:de-DE, :de, :en-US] for de-DE" do - @fallbacks.map(:"de-AT" => :"de-DE") - assert_equal [:"de-DE", :de, :"en-US", :en], @fallbacks[:"de-DE"] - end - - test "with a German mapping defined it returns [:de-AT, :de, :de-DE, :en-US] for de-AT" do - @fallbacks.map(:"de-AT" => :"de-DE") - assert_equal [:"de-AT", :de, :"de-DE", :"en-US", :en], @fallbacks[:"de-AT"] - end - - # Mapping :de => :en, :he => :en - - test "with a mapping :de => :en, :he => :en defined it returns [:de, :en] for :de" do - assert_equal [:de, :"en-US", :en], @fallbacks[:de] - end - - test "with a mapping :de => :en, :he => :en defined it [:he, :en] for :de" do - assert_equal [:he, :"en-US", :en], @fallbacks[:he] - end - - # Test allowing mappings that fallback to each other - - test "with :no => :nb, :nb => :no defined :no returns [:no, :nb, :en-US, :en]" do - @fallbacks.map(:no => :nb, :nb => :no) - assert_equal [:no, :nb, :"en-US", :en], @fallbacks[:no] - end - - test "with :no => :nb, :nb => :no defined :nb returns [:nb, :no, :en-US, :en]" do - @fallbacks.map(:no => :nb, :nb => :no) - assert_equal [:nb, :no, :"en-US", :en], @fallbacks[:nb] - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/tag/rfc4646_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/tag/rfc4646_test.rb deleted file mode 100644 index a0f4286..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/tag/rfc4646_test.rb +++ /dev/null @@ -1,143 +0,0 @@ -# encoding: utf-8 -require 'test_helper' - -class I18nLocaleTagRfc4646ParserTest < I18n::TestCase - include I18n::Locale - - test "Rfc4646::Parser given a valid tag 'de' returns an array of subtags" do - assert_equal ['de', nil, nil, nil, nil, nil, nil], Tag::Rfc4646::Parser.match('de') - end - - test "Rfc4646::Parser given a valid tag 'de-DE' returns an array of subtags" do - assert_equal ['de', nil, 'DE', nil, nil, nil, nil], Tag::Rfc4646::Parser.match('de-DE') - end - - test "Rfc4646::Parser given a valid lowercase tag 'de-latn-de-variant-x-phonebk' returns an array of subtags" do - assert_equal ['de', 'latn', 'de', 'variant', nil, 'x-phonebk', nil], Tag::Rfc4646::Parser.match('de-latn-de-variant-x-phonebk') - end - - test "Rfc4646::Parser given a valid uppercase tag 'DE-LATN-DE-VARIANT-X-PHONEBK' returns an array of subtags" do - assert_equal ['DE', 'LATN', 'DE', 'VARIANT', nil, 'X-PHONEBK', nil], Tag::Rfc4646::Parser.match('DE-LATN-DE-VARIANT-X-PHONEBK') - end - - test "Rfc4646::Parser given an invalid tag 'a-DE' it returns false" do - assert_equal false, Tag::Rfc4646::Parser.match('a-DE') - end - - test "Rfc4646::Parser given an invalid tag 'de-419-DE' it returns false" do - assert_equal false, Tag::Rfc4646::Parser.match('de-419-DE') - end -end - -# Tag for the locale 'de-Latn-DE-Variant-a-ext-x-phonebk-i-klingon' - -class I18nLocaleTagSubtagsTest < I18n::TestCase - include I18n::Locale - - def setup - super - subtags = %w(de Latn DE variant a-ext x-phonebk i-klingon) - @tag = Tag::Rfc4646.new(*subtags) - end - - test "returns 'de' as the language subtag in lowercase" do - assert_equal 'de', @tag.language - end - - test "returns 'Latn' as the script subtag in titlecase" do - assert_equal 'Latn', @tag.script - end - - test "returns 'DE' as the region subtag in uppercase" do - assert_equal 'DE', @tag.region - end - - test "returns 'variant' as the variant subtag in lowercase" do - assert_equal 'variant', @tag.variant - end - - test "returns 'a-ext' as the extension subtag" do - assert_equal 'a-ext', @tag.extension - end - - test "returns 'x-phonebk' as the privateuse subtag" do - assert_equal 'x-phonebk', @tag.privateuse - end - - test "returns 'i-klingon' as the grandfathered subtag" do - assert_equal 'i-klingon', @tag.grandfathered - end - - test "returns a formatted tag string from #to_s" do - assert_equal 'de-Latn-DE-variant-a-ext-x-phonebk-i-klingon', @tag.to_s - end - - test "returns an array containing the formatted subtags from #to_a" do - assert_equal %w(de Latn DE variant a-ext x-phonebk i-klingon), @tag.to_a - end -end - -# Tag inheritance - -class I18nLocaleTagSubtagsTest < I18n::TestCase - test "#parent returns 'de-Latn-DE-variant-a-ext-x-phonebk' as the parent of 'de-Latn-DE-variant-a-ext-x-phonebk-i-klingon'" do - tag = Tag::Rfc4646.new(*%w(de Latn DE variant a-ext x-phonebk i-klingon)) - assert_equal 'de-Latn-DE-variant-a-ext-x-phonebk', tag.parent.to_s - end - - test "#parent returns 'de-Latn-DE-variant-a-ext' as the parent of 'de-Latn-DE-variant-a-ext-x-phonebk'" do - tag = Tag::Rfc4646.new(*%w(de Latn DE variant a-ext x-phonebk)) - assert_equal 'de-Latn-DE-variant-a-ext', tag.parent.to_s - end - - test "#parent returns 'de-Latn-DE-variant' as the parent of 'de-Latn-DE-variant-a-ext'" do - tag = Tag::Rfc4646.new(*%w(de Latn DE variant a-ext)) - assert_equal 'de-Latn-DE-variant', tag.parent.to_s - end - - test "#parent returns 'de-Latn-DE' as the parent of 'de-Latn-DE-variant'" do - tag = Tag::Rfc4646.new(*%w(de Latn DE variant)) - assert_equal 'de-Latn-DE', tag.parent.to_s - end - - test "#parent returns 'de-Latn' as the parent of 'de-Latn-DE'" do - tag = Tag::Rfc4646.new(*%w(de Latn DE)) - assert_equal 'de-Latn', tag.parent.to_s - end - - test "#parent returns 'de' as the parent of 'de-Latn'" do - tag = Tag::Rfc4646.new(*%w(de Latn)) - assert_equal 'de', tag.parent.to_s - end - - # TODO RFC4647 says: "If no language tag matches the request, the "default" value is returned." - # where should we set the default language? - # test "#parent returns '' as the parent of 'de'" do - # tag = Tag::Rfc4646.new *%w(de) - # assert_equal '', tag.parent.to_s - # end - - test "#parent returns an array of 5 parents for 'de-Latn-DE-variant-a-ext-x-phonebk-i-klingon'" do - parents = %w(de-Latn-DE-variant-a-ext-x-phonebk-i-klingon - de-Latn-DE-variant-a-ext-x-phonebk - de-Latn-DE-variant-a-ext - de-Latn-DE-variant - de-Latn-DE - de-Latn - de) - tag = Tag::Rfc4646.new(*%w(de Latn DE variant a-ext x-phonebk i-klingon)) - assert_equal parents, tag.self_and_parents.map(&:to_s) - end - - test "returns an array of 5 parents for 'de-Latn-DE-variant-a-ext-x-phonebk-i-klingon'" do - parents = %w(de-Latn-DE-variant-a-ext-x-phonebk-i-klingon - de-Latn-DE-variant-a-ext-x-phonebk - de-Latn-DE-variant-a-ext - de-Latn-DE-variant - de-Latn-DE - de-Latn - de) - tag = Tag::Rfc4646.new(*%w(de Latn DE variant a-ext x-phonebk i-klingon)) - assert_equal parents, tag.self_and_parents.map(&:to_s) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/tag/simple_test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/tag/simple_test.rb deleted file mode 100644 index 002c63d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/locale/tag/simple_test.rb +++ /dev/null @@ -1,32 +0,0 @@ -# encoding: utf-8 -require 'test_helper' - -class I18nLocaleTagSimpleTest < I18n::TestCase - include I18n::Locale - - test "returns 'de' as the language subtag in lowercase" do - assert_equal %w(de Latn DE), Tag::Simple.new('de-Latn-DE').subtags - end - - test "returns a formatted tag string from #to_s" do - assert_equal 'de-Latn-DE', Tag::Simple.new('de-Latn-DE').to_s - end - - test "returns an array containing the formatted subtags from #to_a" do - assert_equal %w(de Latn DE), Tag::Simple.new('de-Latn-DE').to_a - end - - # Tag inheritance - - test "#parent returns 'de-Latn' as the parent of 'de-Latn-DE'" do - assert_equal 'de-Latn', Tag::Simple.new('de-Latn-DE').parent.to_s - end - - test "#parent returns 'de' as the parent of 'de-Latn'" do - assert_equal 'de', Tag::Simple.new('de-Latn').parent.to_s - end - - test "#self_and_parents returns an array of 3 tags for 'de-Latn-DE'" do - assert_equal %w(de-Latn-DE de-Latn de), Tag::Simple.new('de-Latn-DE').self_and_parents.map { |tag| tag.to_s} - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/run_all.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/run_all.rb deleted file mode 100644 index 64ff743..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/run_all.rb +++ /dev/null @@ -1,20 +0,0 @@ -def bundle_check - `bundle check` == "Resolving dependencies...\nThe Gemfile's dependencies are satisfied\n" -end - -def execute(command) - puts command - system command -end - -gemfiles = %w(Gemfile) + Dir['gemfiles/Gemfile*'].reject { |f| f.end_with?('.lock') } - -results = gemfiles.map do |gemfile| - puts "\nBUNDLE_GEMFILE=#{gemfile}" - ENV['BUNDLE_GEMFILE'] = File.expand_path("../../#{gemfile}", __FILE__) - - execute 'bundle install' unless bundle_check - execute 'bundle exec rake test' -end - -exit results.all? diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/de.po b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/de.po deleted file mode 100644 index f3c9998..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/de.po +++ /dev/null @@ -1,82 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: version 0.0.1\n" -"POT-Creation-Date: 2009-02-26 19:50+0100\n" -"PO-Revision-Date: 2009-02-18 14:53+0100\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" - -# #: app/helpers/translation_helper.rb:3 -# msgid "%{relative_time} ago" -# msgstr "vor %{relative_time}" - -#: app/views/cars/show.html.erb:5 -msgid "Axis" -msgid_plural "Axis" -msgstr[0] "Achse" -msgstr[1] "Achsen" - -#: app/controllers/cars_controller.rb:47 -msgid "Car was successfully created." -msgstr "Auto wurde erfolgreich gespeichert" - -#: app/controllers/cars_controller.rb:64 -msgid "Car was successfully updated." -msgstr "Auto wurde erfolgreich aktualisiert" - -#: app/views/cars/show.html.erb:1 locale/model_attributes.rb:3 -msgid "Car|Model" -msgstr "Modell" - -#: app/views/cars/show.html.erb:3 locale/model_attributes.rb:4 -msgid "Car|Wheels count" -msgstr "Räderzahl" - -msgctxt "New car" -msgid "Wheels count" -msgstr "Räderzahl!" - -#: app/views/cars/show.html.erb:7 -msgid "Created" -msgstr "Erstellt" - -#: app/views/cars/show.html.erb:9 -msgid "Month" -msgstr "Monat" - -#: locale/model_attributes.rb:2 -msgid "car" -msgstr "Auto" - -#: locale/testlog_phrases.rb:2 -msgid "this is a dynamic translation which was found thorugh gettext_test_log!" -msgstr "" -"Dies ist eine dynamische Übersetzung, die durch gettext_test_log " -"gefunden wurde!" - -#: app/views/cars/nowhere_really -msgid "Car|wheel" -msgid_plural "Car|wheels" -msgstr[0] "Rad" -msgstr[1] "Räder" - -msgctxt "New car" -msgid "wheel" -msgid_plural "wheels" -msgstr[0] "Rad!" -msgstr[1] "Räder!" - -msgid "On %{count} wheel." -msgid_plural "On %{count} wheels." -msgstr[0] "Auf %{count} Achse." -msgstr[1] "Auf %{count} Achsen." diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/en.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/en.rb deleted file mode 100644 index e847d10..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/en.rb +++ /dev/null @@ -1,3 +0,0 @@ -# encoding: utf-8 - -{ :en => { :fuh => { :bah => "bas" } } } \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/en.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/en.yml deleted file mode 100644 index 25f5bb6..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/en.yml +++ /dev/null @@ -1,3 +0,0 @@ -en: - foo: - bar: baz \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/invalid/empty.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/invalid/empty.yml deleted file mode 100644 index e69de29..0000000 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/invalid/syntax.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/invalid/syntax.yml deleted file mode 100644 index 40b1e61..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/invalid/syntax.yml +++ /dev/null @@ -1,4 +0,0 @@ -en: - foo: foo - bar: - baz: \ No newline at end of file diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/plurals.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/plurals.rb deleted file mode 100644 index 835e28f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_data/locales/plurals.rb +++ /dev/null @@ -1,113 +0,0 @@ -# encoding: utf-8 - -{ - :af => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :am => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :ar => { :i18n => { :plural => { :keys => [:zero, :one, :two, :few, :many, :other], :rule => lambda { |n| n == 0 ? :zero : n == 1 ? :one : n == 2 ? :two : [3, 4, 5, 6, 7, 8, 9, 10].include?(n % 100) ? :few : [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99].include?(n % 100) ? :many : :other } } } }, - :az => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :be => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } }, - :bg => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :bh => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :bn => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :bo => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :bs => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } }, - :ca => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :cs => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n) ? :few : :other } } } }, - :cy => { :i18n => { :plural => { :keys => [:one, :two, :many, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : n == 8 || n == 11 ? :many : :other } } } }, - :da => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :de => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :dz => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :el => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :en => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :eo => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :es => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :et => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :eu => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :fa => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :fi => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :fil => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :fo => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :fr => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n.between?(0, 2) && n != 2 ? :one : :other } } } }, - :fur => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :fy => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :ga => { :i18n => { :plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } }, - :gl => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :gu => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :guw => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :ha => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :he => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :hi => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :hr => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } }, - :hu => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :id => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :is => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :it => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :iw => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :ja => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :jv => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :ka => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :km => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :kn => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :ko => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :ku => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :lb => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :ln => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :lt => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n % 10 == 1 && ![11, 12, 13, 14, 15, 16, 17, 18, 19].include?(n % 100) ? :one : [2, 3, 4, 5, 6, 7, 8, 9].include?(n % 10) && ![11, 12, 13, 14, 15, 16, 17, 18, 19].include?(n % 100) ? :few : :other } } } }, - :lv => { :i18n => { :plural => { :keys => [:zero, :one, :other], :rule => lambda { |n| n == 0 ? :zero : n % 10 == 1 && n % 100 != 11 ? :one : :other } } } }, - :mg => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :mk => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n % 10 == 1 ? :one : :other } } } }, - :ml => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :mn => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :mo => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : n == 0 ? :few : :other } } } }, - :mr => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :ms => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :mt => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n == 1 ? :one : n == 0 || [2, 3, 4, 5, 6, 7, 8, 9, 10].include?(n % 100) ? :few : [11, 12, 13, 14, 15, 16, 17, 18, 19].include?(n % 100) ? :many : :other } } } }, - :my => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :nah => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :nb => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :ne => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :nl => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :nn => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :no => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :nso => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :om => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :or => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :pa => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :pap => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :pl => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : :other } } } }, - :ps => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :pt => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :"pt-PT" => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :ro => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : n == 0 ? :few : :other } } } }, - :ru => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } }, - :se => { :i18n => { :plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } }, - :sh => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } }, - :sk => { :i18n => { :plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n) ? :few : :other } } } }, - :sl => { :i18n => { :plural => { :keys => [:one, :two, :few, :other], :rule => lambda { |n| n % 100 == 1 ? :one : n % 100 == 2 ? :two : [3, 4].include?(n % 100) ? :few : :other } } } }, - :sma => { :i18n => { :plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } }, - :smi => { :i18n => { :plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } }, - :smj => { :i18n => { :plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } }, - :smn => { :i18n => { :plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } }, - :sms => { :i18n => { :plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } }, - :so => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :sq => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :sr => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } }, - :sv => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :sw => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :ta => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :te => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :th => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :ti => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :tk => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :tl => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :to => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :tr => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :uk => { :i18n => { :plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } }, - :ur => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } }, - :vi => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :wa => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| [0, 1].include?(n) ? :one : :other } } } }, - :yo => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :zh => { :i18n => { :plural => { :keys => [:other], :rule => lambda { |n| :other } } } }, - :zu => { :i18n => { :plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } -} - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_helper.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_helper.rb deleted file mode 100644 index dabb6a7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/test/test_helper.rb +++ /dev/null @@ -1,55 +0,0 @@ -$KCODE = 'u' if RUBY_VERSION <= '1.9' - -require 'minitest/autorun' -TEST_CASE = defined?(Minitest::Test) ? Minitest::Test : MiniTest::Unit::TestCase - -# TODO: Remove these aliases and update tests accordingly. -class TEST_CASE - alias :assert_raise :assert_raises - alias :assert_not_equal :refute_equal - - def assert_nothing_raised(*args) - yield - end -end - -require 'bundler/setup' -require 'i18n' -require 'mocha/setup' -require 'test_declarative' - -class I18n::TestCase < TEST_CASE - def self.key_value? - defined?(ActiveSupport) - end - - def setup - super - I18n.enforce_available_locales = false - end - - def teardown - I18n.locale = nil - I18n.default_locale = nil - I18n.load_path = nil - I18n.available_locales = nil - I18n.backend = nil - I18n.default_separator = nil - I18n.enforce_available_locales = true - super - end - - protected - - def translations - I18n.backend.instance_variable_get(:@translations) - end - - def store_translations(locale, data) - I18n.backend.store_translations(locale, data) - end - - def locales_dir - File.dirname(__FILE__) + '/test_data/locales' - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/alphred-1.0.0.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/alphred-1.0.0.gemspec deleted file mode 100644 index 1011745..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/alphred-1.0.0.gemspec +++ /dev/null @@ -1,37 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "alphred" - s.version = "1.0.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Alpha Chen"] - s.date = "2015-10-31" - s.email = ["alpha.chen@gmail.com"] - s.homepage = "https://github.com/kejadlen/alph" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "Helper utilities for making Alfred workflows." - - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, ["~> 3.2"]) - s.add_development_dependency(%q, ["~> 1.10"]) - s.add_development_dependency(%q, ["~> 10.0"]) - s.add_development_dependency(%q, [">= 0"]) - else - s.add_dependency(%q, ["~> 3.2"]) - s.add_dependency(%q, ["~> 1.10"]) - s.add_dependency(%q, ["~> 10.0"]) - s.add_dependency(%q, [">= 0"]) - end - else - s.add_dependency(%q, ["~> 3.2"]) - s.add_dependency(%q, ["~> 1.10"]) - s.add_dependency(%q, ["~> 10.0"]) - s.add_dependency(%q, [">= 0"]) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec deleted file mode 100644 index 5a2853d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec +++ /dev/null @@ -1,20 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "builder" - s.version = "3.2.2" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Jim Weirich"] - s.date = "2013-06-01" - s.description = "Builder provides a number of builder objects that make creating structured data\nsimple to do. Currently the following builder objects are supported:\n\n* XML Markup\n* XML Events\n" - s.email = "jim.weirich@gmail.com" - s.extra_rdoc_files = ["CHANGES", "MIT-LICENSE", "README.md", "Rakefile", "doc/releases/builder-1.2.4.rdoc", "doc/releases/builder-2.0.0.rdoc", "doc/releases/builder-2.1.1.rdoc"] - s.files = ["CHANGES", "MIT-LICENSE", "README.md", "Rakefile", "doc/releases/builder-1.2.4.rdoc", "doc/releases/builder-2.0.0.rdoc", "doc/releases/builder-2.1.1.rdoc"] - s.homepage = "http://onestepback.org" - s.licenses = ["MIT"] - s.rdoc_options = ["--title", "Builder -- Easy XML Building", "--main", "README.rdoc", "--line-numbers"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "Builders for MarkUp." -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/faker-1.5.0.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/faker-1.5.0.gemspec deleted file mode 100644 index 3f8fab5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/faker-1.5.0.gemspec +++ /dev/null @@ -1,29 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "faker" - s.version = "1.5.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Benjamin Curtis"] - s.date = "2015-08-17" - s.description = "Faker, a port of Data::Faker from Perl, is used to easily generate fake data: names, addresses, phone numbers, etc." - s.email = ["benjamin.curtis@gmail.com"] - s.homepage = "https://github.com/stympy/faker" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "Easily generate fake data" - - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, ["~> 0.5"]) - else - s.add_dependency(%q, ["~> 0.5"]) - end - else - s.add_dependency(%q, ["~> 0.5"]) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/i18n-0.7.0.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/i18n-0.7.0.gemspec deleted file mode 100644 index ce04318..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/vendor/bundle/ruby/2.0.0/specifications/i18n-0.7.0.gemspec +++ /dev/null @@ -1,19 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "i18n" - s.version = "0.7.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version= - s.authors = ["Sven Fuchs", "Joshua Harvey", "Matt Aimonetti", "Stephan Soller", "Saimon Moore"] - s.date = "2014-12-19" - s.description = "New wave Internationalization support for Ruby." - s.email = "rails-i18n@googlegroups.com" - s.homepage = "http://github.com/svenfuchs/i18n" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.required_ruby_version = Gem::Requirement.new(">= 1.9.3") - s.rubyforge_project = "[none]" - s.rubygems_version = "2.0.14" - s.summary = "New wave Internationalization support for Ruby" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/workflow.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/workflow.rb deleted file mode 100644 index adc57be..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.0C73DD78-D9BD-4432-A5DE-A5DE970E4A74/workflow.rb +++ /dev/null @@ -1,64 +0,0 @@ -require "delegate" - -$LOAD_PATH.unshift(File.expand_path("../vendor/bundle", __FILE__)) -require "bundler/setup" - -require "alphred" -require "faker" - -module Workflow - class Faker - FAKER_KLASSES = ::Faker.constants - .reject {|c| c == :Config } - .map {|c| ::Faker.const_get(c) } - .select {|c| Class === c} - - attr_reader *%i[klass method] - - def initialize(klass, method="") - @klass, @method = klass, method - end - - def items - items = Alphred::Items.new - self.matching_klasses.each do |klass| - self.matching_methods(klass).each do |method| - result = method.call rescue next # Ignore missing translations - - klass_short = klass.to_s.split("::").last.downcase - query = [klass_short, method.name].join(" ") - autocomplete = klass_short - - items << Item.new(query, result, autocomplete) - end - end - - items - end - - def matching_klasses - FAKER_KLASSES.select {|c| c.to_s.downcase.include?(self.klass.downcase) } - end - - def matching_methods(klass) - klass.singleton_methods(false) - .map {|m| klass.method(m) } - .select do |method| - method.to_s.downcase.include?(self.method.downcase) && [-1, 0].include?(method.arity) - end - end - end - - class Item < Alphred::Item - def initialize(query, result, autocomplete) - super(uid: query, arg: result, autocomplete: autocomplete, - title: query, subtitle: result, icon: "icon.png") - end - end -end - -if __FILE__ == $0 - query = ARGV.shift - workflow = Workflow::Faker.new(*query.split(" ")) - puts workflow.items.to_xml -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A.png deleted file mode 100644 index f2c85b2..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/CHANGELOG.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/CHANGELOG.md deleted file mode 100644 index 6584dec..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/CHANGELOG.md +++ /dev/null @@ -1,52 +0,0 @@ -## Current - -## 1.0.0 - 2015.11.01 -### Changed -- Use [Alphred](https://github.com/kejadlen/alphred) - -## 0.0.8 - 2015.05.31 -### Added -- Re-add support for `DEFAULT_LAT_LONG` and `DEFAULT_LOCATION`. - -## 0.0.7 - 2015.01.05 -### Added -- The current location is retrieved via IP geolocation rather than set in the - workflow configuration. -- Fixed opening the forecast in the browser. - -### Removed -- Support for `DEFAULT_LAT_LONG` and `DEFAULT_LOCATION` has been deprecated in favor - of getting the current location from the IP. - -## 0.0.6 - 2014.12.13 -### Added -- Add option to force Celsius/Fahrenheit using `FORECAST_UNITS`. - -## 0.0.5 - 2014.11.22 -### Changed -- Use `forecast-config` for managing API keys. -- Fixed bug when precipitation intensity/probability was all 0's. - -## 0.0.4 - 2014.11.21 -### Added -- Sparklines for precipitation intensity and probability for the next hour - (where applicable) and day. - -### Changed -- Bugfix for when `DEFAULT_LAT_LONG` is set and `DEFAULT_LOCATION` is not. - -## 0.0.3 - 2014.11.19 -### Added -- Forecast now uses units appropriate to the location. - -### Changed -- Fix `DEFAULT_LAT_LONG`. - -## 0.0.2 - 2014.11.19 -### Changed -- Remove minutely result for non-US locations since Forecast doesn't have this - data. - -## 0.0.1 - 2014.11.18 -### Added -- Initial release diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Gemfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Gemfile deleted file mode 100644 index a12d1c2..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Gemfile +++ /dev/null @@ -1,7 +0,0 @@ -source "https://rubygems.org" - -gem "alphred", "~> 1.1" - -group :development do - gem "pry" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Gemfile.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Gemfile.lock deleted file mode 100644 index f64845e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Gemfile.lock +++ /dev/null @@ -1,23 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - alphred (1.1.0) - builder (~> 3.2) - builder (3.2.2) - coderay (1.1.0) - method_source (0.8.2) - pry (0.10.3) - coderay (~> 1.1.0) - method_source (~> 0.8.1) - slop (~> 3.4) - slop (3.6.0) - -PLATFORMS - ruby - -DEPENDENCIES - alphred (~> 1.1) - pry - -BUNDLED WITH - 1.10.6 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/README.md deleted file mode 100644 index a3d2b39..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# Forecast Workflow for Alfred - -![screenshot][screenshot] - -[screenshot]: http://i.imgur.com/mxGnovo.png - -# Requirements - -- [Alfred](http://www.alfredapp.com/) -- [Alfred Powerpack](http://www.alfredapp.com/powerpack/) -- OS X Mavericks - -# Installation - -Download and install the [workflow][download]. - -[download]: https://github.com/kejadlen/forecast.alfredworkflow/releases/download/0.0.5/Forecast.alfredworkflow - -Run `forecast-config VALUE` to set API keys and the default location: - -- `FORECAST_API_KEY`: Get an API key [here][forecast-api-key]. -- `GOOGLE_API_KEY`: Get an API key [here][google-api-key]. (Used for geocoding - queries. *This can be omitted if you only want the forecast for the current - location*.) -- `FORECAST_UNITS`: Defaults to `auto`, which sets the units based on the - location. Use `si` for Celsius and `us` for Fahrenheit. -- `DEFAULT_LAT_LONG`: Set this to override IP geolocation. Ex: `47.7396,-122.3426` for Seattle. -- `DEFAULT_LOCATION`: Used for displaying the location name when using `DEFAULT_LAT_LONG`. - -[forecast-api-key]: https://developer.forecast.io/register -[google-api-key]: https://developers.google.com/maps/documentation/geocoding/#api_key - -# TODO - -- Handle errors gracefully -- Caching? (Probably unnecessary...) -- Use `Accept-Encoding: gzip` for Forecast calls - -# Attributions - -- [Climacons](http://adamwhitcroft.com/climacons/) -- [Forecast API](https://developer.forecast.io/docs/v2) -- [Google Geocoding API](https://developers.google.com/maps/documentation/geocoding/) -- [ipinfo.io](http://ipinfo.io/) diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Rakefile deleted file mode 100644 index 911ecca..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/Rakefile +++ /dev/null @@ -1 +0,0 @@ -require "alphred/tasks" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/config.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/config.rb deleted file mode 100644 index b64e965..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/config.rb +++ /dev/null @@ -1,14 +0,0 @@ -$LOAD_PATH.unshift(File.expand_path("../vendor/bundle", __FILE__)) -require "bundler/setup" - -require "alphred" - -module Forecast - Config = Alphred::Config.load( - FORECAST_API_KEY: nil, - GOOGLE_API_KEY: nil, - FORECAST_UNITS: nil, - DEFAULT_LOCATION: nil, - DEFAULT_LAT_LONG: nil, - ) -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/forecast.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/forecast.rb deleted file mode 100644 index 2cf8207..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/forecast.rb +++ /dev/null @@ -1,145 +0,0 @@ -$LOAD_PATH.unshift(File.expand_path("../vendor/bundle", __FILE__)) -require "bundler/setup" - -require "alphred" - -require_relative 'config' -require_relative 'forecaster' -require_relative 'location' -require_relative 'spark' - -ICONS = { - 'clear-day' => 'Sun', - 'clear-night' => 'Moon', - 'rain' => 'Cloud-Rain', - 'snow' => 'Cloud-Snow', - 'sleet' => 'Cloud-Snow-Alt', - 'wind' => 'Wind', - 'fog' => 'Cloud-Fog', - 'cloudy' => 'Cloud', - 'partly-cloudy-day' => 'Cloud-Sun', - 'partly-cloudy-night' => 'Cloud-Moon', -} - -Precipitation = Struct.new(:intensity, :probability) do - def self.from_forecast(forecast) - self.new(*forecast.values_at('precipIntensity', 'precipProbability')) - end - - def human_intensity - case intensity - when 0...0.002 - 'no' - when 0.002...0.017 - 'very light' - when 0.017...0.1 - 'light' - when 0.1...0.4 - 'moderate' - else - 'heavy' - end - end - - def to_s - "#{(probability*100).to_i}% chance of #{human_intensity} rain." - end -end - -query = ARGV.shift || '' -location = if query.empty? - if Forecast::Config['DEFAULT_LAT_LONG'].empty? - Location.from_ip - else - lat, long = Forecast::Config['DEFAULT_LAT_LONG'].split(?,).map(&:to_f) - Location.new(Forecast::Config['DEFAULT_LOCATION'], lat, long) - end - else - Location.new(query) - end -forecast = Forecaster.forecast(location) - -items = Alphred::Items.new - -items << Alphred::Item.new( - uid: :location, - arg: "#{location.lat.round(4)},#{location.long.round(4)}", - valid: true, - title: location.name, - icon: 'icons/forecast.png', -) - -currently = forecast['currently'] -precip = Precipitation.from_forecast(currently) -subtitle = [ "#{currently['temperature'].round}°" ] -subtitle << "Feels like #{currently['apparentTemperature'].round}°" -subtitle << precip.to_s if precip.probability > 0 -items << Alphred::Item.new( - uid: :currently, - title: currently['summary'], - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[currently['icon']]}.png", -) - -minutely = forecast['minutely'] -if minutely - intensity = minutely['data'].map {|m| m['precipIntensity'] } - intensity = intensity.select.with_index {|_,i| i % 4 == 0 } - min, max = intensity.minmax - intensity = intensity.map {|i| 1000 * i } - - subtitle = ["#{min.round(3)}\" #{Spark.new(intensity)} #{max.round(3)}\""] - - probability = minutely['data'].map {|m| (100 * m['precipProbability']).round } - probability = probability.select.with_index {|_,i| i % 5 == 0 } - min, max = probability.minmax - - subtitle << "#{min}% #{Spark.new(probability, max: 100)} #{max}%" - - items << Alphred::Item.new( - uid: :minutely, - title: minutely['summary'], - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[minutely['icon']]}.png", - ) -end - -hourly = forecast['hourly'] - -intensity = hourly['data'].map {|m| m['precipIntensity'] } -intensity = intensity.select.with_index {|_,i| i % 4 == 0 } -min, max = intensity.minmax -intensity = intensity.map {|i| 1000 * i } - -subtitle = ["#{min.round(3)}\" #{Spark.new(intensity)} #{max.round(3)}\""] - -probability = hourly['data'].map {|m| (100 * m['precipProbability']).round } -probability = probability.select.with_index {|_,i| i % 4 == 0 } -min, max = probability.minmax - -subtitle << "#{min}% #{Spark.new(probability, max: 100)} #{max}%" - -items << Alphred::Item.new( - uid: :hourly, - title: hourly['summary'], - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[hourly['icon']]}.png", -) - -forecast['daily']['data'][1..6].each do |data| - wday = Time.at(data['time']).strftime('%A') - precip = Precipitation.from_forecast(data) - - subtitle = [ "Low: #{data['apparentTemperatureMin'].round}°", - "High: #{data['apparentTemperatureMax'].round}°" ] - subtitle << precip.to_s if precip.probability > 0 - - items << Alphred::Item.new( - uid: wday, - title: "#{wday} - #{data['summary']}", - subtitle: subtitle.join(' · '), - icon: "icons/#{ICONS[data['icon']]}.png", - ) -end - -puts items.to_xml diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/forecaster.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/forecaster.rb deleted file mode 100644 index bdfc664..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/forecaster.rb +++ /dev/null @@ -1,24 +0,0 @@ -require 'json' -require 'open-uri' - -require_relative 'config' - -Forecaster = Struct.new(:api_key) do - def self.forecast(location) - forecaster.forecast(location) - end - - def self.forecaster - return @forecaster if defined?(@forecaster) - - @forecaster = self.new(Forecast::Config['FORECAST_API_KEY']) - end - - def forecast(location) - lat, long = location.lat, location.long - units = Forecast::Config['FORECAST_UNITS'] - url = "https://api.forecast.io/forecast/#{api_key}/#{lat},#{long}?units=#{units}" - response = JSON.load(open(url)) - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/geocoder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/geocoder.rb deleted file mode 100644 index 1f6e950..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/geocoder.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'json' -require 'open-uri' -require 'uri' - -require_relative 'config' - -Geocoder = Struct.new(:api_key) do - def self.geocode(location) - geocoder.geocode(location) - end - - def self.geocoder - return @geocoder if defined?(@geocoder) - - @geocoder = self.new(Forecast::Config['GOOGLE_API_KEY']) - end - - def geocode(location) - url = 'https://maps.googleapis.com/maps/api/geocode/json' - query = URI.encode_www_form(address: location, api_key: api_key) - response = JSON.load(open("#{url}?#{query}")) - result = response['results'][0] - - name = result['formatted_address'] - location = result['geometry']['location'] - lat, long = location.values_at('lat', 'lng') - - [name, lat, long] - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icon.png deleted file mode 100644 index f2c85b2..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Download.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Download.png deleted file mode 100644 index 4187ce2..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Download.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Alt.png deleted file mode 100644 index 31f4e8d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Moon-Alt.png deleted file mode 100644 index d51e635..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Moon.png deleted file mode 100644 index 079ae74..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Sun-Alt.png deleted file mode 100644 index f40345e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Sun.png deleted file mode 100644 index bc475f4..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle.png deleted file mode 100644 index eadc3e3..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Drizzle.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Alt.png deleted file mode 100644 index 24e2d6f..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Moon-Alt.png deleted file mode 100644 index 1359eee..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Moon.png deleted file mode 100644 index bf148f9..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Sun-Alt.png deleted file mode 100644 index 5179981..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Sun.png deleted file mode 100644 index cbc7e7f..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog.png deleted file mode 100644 index b02b45e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Fog.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Alt.png deleted file mode 100644 index 76cd34e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Moon-Alt.png deleted file mode 100644 index 5671d7c..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Moon.png deleted file mode 100644 index 23b98d1..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Sun-Alt.png deleted file mode 100644 index 4704ebd..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Sun.png deleted file mode 100644 index 66d052b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail.png deleted file mode 100644 index 9d03310..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Hail.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning-Moon.png deleted file mode 100644 index f02c182..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning-Sun.png deleted file mode 100644 index 9768843..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning.png deleted file mode 100644 index 01a3725..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Lightning.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Moon.png deleted file mode 100644 index 78fd657..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Alt.png deleted file mode 100644 index e0ae91e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Moon-Alt.png deleted file mode 100644 index 3dee696..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Moon.png deleted file mode 100644 index 752b309..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Sun-Alt.png deleted file mode 100644 index 3d394c6..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Sun.png deleted file mode 100644 index 874b6f2..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain.png deleted file mode 100644 index ac81b60..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Rain.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Refresh.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Refresh.png deleted file mode 100644 index 8131b78..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Refresh.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Alt.png deleted file mode 100644 index 397934c..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Moon-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Moon-Alt.png deleted file mode 100644 index 0c98467..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Moon-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Moon.png deleted file mode 100644 index 0627039..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Sun-Alt.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Sun-Alt.png deleted file mode 100644 index 11468ea..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Sun-Alt.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Sun.png deleted file mode 100644 index 1aad15d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow.png deleted file mode 100644 index dfc8731..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Snow.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Sun.png deleted file mode 100644 index 09e754c..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Upload.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Upload.png deleted file mode 100644 index 8f88ab3..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Upload.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind-Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind-Moon.png deleted file mode 100644 index b837e38..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind-Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind-Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind-Sun.png deleted file mode 100644 index cc0b3e6..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind-Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind.png deleted file mode 100644 index 929b81a..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud-Wind.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud.png deleted file mode 100644 index 9419d36..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Cloud.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-East.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-East.png deleted file mode 100644 index 6468a60..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-East.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-North.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-North.png deleted file mode 100644 index 417066e..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-North.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-South.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-South.png deleted file mode 100644 index f5a7484..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-South.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-West.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-West.png deleted file mode 100644 index 22d9eac..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass-West.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass.png deleted file mode 100644 index 12ffc33..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Compass.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Degrees-Celcius.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Degrees-Celcius.png deleted file mode 100644 index 7e8e593..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Degrees-Celcius.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Degrees-Fahrenheit.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Degrees-Fahrenheit.png deleted file mode 100644 index cfba4a5..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Degrees-Fahrenheit.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-First-Quarter.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-First-Quarter.png deleted file mode 100644 index eb5db64..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-First-Quarter.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Full.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Full.png deleted file mode 100644 index d59ab86..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Full.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Last-Quarter.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Last-Quarter.png deleted file mode 100644 index 04823cc..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Last-Quarter.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-New.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-New.png deleted file mode 100644 index 1ac14eb..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-New.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waning-Crescent.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waning-Crescent.png deleted file mode 100644 index 46b4b4b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waning-Crescent.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waning-Gibbous.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waning-Gibbous.png deleted file mode 100644 index 5916506..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waning-Gibbous.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waxing-Crescent.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waxing-Crescent.png deleted file mode 100644 index 8f02971..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waxing-Crescent.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waxing-Gibbous.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waxing-Gibbous.png deleted file mode 100644 index 67daddb..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon-Waxing-Gibbous.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon.png deleted file mode 100644 index 8f55b3f..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Moon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Shades.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Shades.png deleted file mode 100644 index bf979e5..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Shades.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Snowflake.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Snowflake.png deleted file mode 100644 index 380f49d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Snowflake.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun-Low.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun-Low.png deleted file mode 100644 index 2b3cd27..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun-Low.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun-Lower.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun-Lower.png deleted file mode 100644 index 4696a7b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun-Lower.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun.png deleted file mode 100644 index b7fbb7d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sun.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sunrise.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sunrise.png deleted file mode 100644 index bbb7e27..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sunrise.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sunset.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sunset.png deleted file mode 100644 index 4919d59..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Sunset.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-100.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-100.png deleted file mode 100644 index 4ae9592..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-100.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-25.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-25.png deleted file mode 100644 index 43f1655..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-25.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-50.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-50.png deleted file mode 100644 index 0ab9fad..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-50.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-75.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-75.png deleted file mode 100644 index 3d81d8a..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-75.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-Zero.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-Zero.png deleted file mode 100644 index a0d446b..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer-Zero.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer.png deleted file mode 100644 index 580a9f3..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Thermometer.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Tornado.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Tornado.png deleted file mode 100644 index b0d9a6a..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Tornado.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Umbrella.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Umbrella.png deleted file mode 100644 index 73d8666..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Umbrella.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Wind.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Wind.png deleted file mode 100644 index e7bef73..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/Wind.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/forecast.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/forecast.png deleted file mode 100644 index f2c85b2..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/icons/forecast.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/info.plist b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/info.plist deleted file mode 100644 index 4ac4838..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/info.plist +++ /dev/null @@ -1,179 +0,0 @@ - - - - - bundleid - com.kejadlen.forecast - category - Internet - connections - - 04EA4664-95DC-4438-8978-79A17ED2FF40 - - - destinationuid - EEDF82A8-40A8-4C05-9CFA-6669A97C0E46 - modifiers - 0 - modifiersubtext - - - - 2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A - - - destinationuid - F496E087-4042-44E7-B07E-71986ED6CDBA - modifiers - 0 - modifiersubtext - - - - - createdby - Alpha Chen - description - - disabled - - name - Forecast - objects - - - config - - concurrently - - escaping - 0 - script - open "http://forecast.io/#/f/{query}" - type - 0 - - type - alfred.workflow.output.script - uid - F496E087-4042-44E7-B07E-71986ED6CDBA - version - 0 - - - config - - argumenttype - 1 - escaping - 127 - keyword - forecast - queuedelaycustom - 1 - queuedelayimmediatelyinitially - - queuedelaymode - 0 - queuemode - 1 - runningsubtext - Retriving location/weather... - script - ruby forecast.rb {query} - title - Forecast - type - 0 - withspace - - - type - alfred.workflow.input.scriptfilter - uid - 2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A - version - 0 - - - config - - argumenttype - 1 - escaping - 102 - keyword - config-forecast - queuedelaycustom - 3 - queuedelayimmediatelyinitially - - queuedelaymode - 0 - queuemode - 1 - script - ruby -r./config -e'puts Forecast::Config.filter_xml("{query}")' - title - Configure Forecast - type - 0 - withspace - - - type - alfred.workflow.input.scriptfilter - uid - 04EA4664-95DC-4438-8978-79A17ED2FF40 - version - 0 - - - config - - concurrently - - escaping - 102 - script - ruby -r./config -e'Forecast::Config.update!("{query}")' - type - 0 - - type - alfred.workflow.output.script - uid - EEDF82A8-40A8-4C05-9CFA-6669A97C0E46 - version - 0 - - - readme - - uidata - - 04EA4664-95DC-4438-8978-79A17ED2FF40 - - ypos - 120 - - 2A5C0A87-204E-49EA-94A7-8E62BB4EFD8A - - ypos - 10 - - EEDF82A8-40A8-4C05-9CFA-6669A97C0E46 - - ypos - 120 - - F496E087-4042-44E7-B07E-71986ED6CDBA - - ypos - 10 - - - webaddress - http://github.com/kejadlen/forecast.alfredworkflow - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/location.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/location.rb deleted file mode 100644 index 2ded3c7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/location.rb +++ /dev/null @@ -1,28 +0,0 @@ -require 'json' -require 'open-uri' - -require_relative 'geocoder' - -class Location - def self.from_ip(ip=nil) - url = ['http://ipinfo.io', ip, 'json'].compact.join(?/) - response = JSON.load(open(url)) - - lat, long = response['loc'].split(?,).map(&:to_f) - name = "#{response['city']}, #{response['region']}" - self.new(name, lat, long) - end - - attr_accessor :name, :lat, :long, :geocoder - - def initialize(name, lat=nil, long=nil, geocoder=Geocoder) - @name, @lat, @long, @geocoder = name, lat, long, geocoder - - geocode! unless lat && long - end - - def geocode! - self.name, self.lat, self.long = geocoder.geocode(name) - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/spark.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/spark.rb deleted file mode 100644 index b6bed93..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/spark.rb +++ /dev/null @@ -1,17 +0,0 @@ -class Spark - # TICKS = %w[▁ ▂ ▃ ▄ ▅ ▆ ▇ █] # Alfred doesn't render the last bar correctly - # for some reason... - TICKS = %w[▁ ▂ ▃ ▄ ▅ ▆ ▇] - - attr_reader :data, :min, :max - - def initialize(data, **kwargs) - @data = data.map(&:round) - @min = kwargs.fetch(:min) { 0 } - @max = [(kwargs.fetch(:max) { data.max }).to_f, 1.0].max - end - - def to_s - data.map {|i| TICKS[(TICKS.size - 1) * (i - min) / max] }.join - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/test_spark.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/test_spark.rb deleted file mode 100644 index 9f99290..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/test_spark.rb +++ /dev/null @@ -1,10 +0,0 @@ -require 'minitest/autorun' - -require_relative 'spark' - -class TestSpark < Minitest::Test - def test_div_by_zero - spark = Spark.new([0, 0, 0]) - assert_equal '▁▁▁', spark.to_s - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/bundler/setup.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/bundler/setup.rb deleted file mode 100644 index 46bd82b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/bundler/setup.rb +++ /dev/null @@ -1,7 +0,0 @@ -require 'rbconfig' -# ruby 1.8.7 doesn't define RUBY_ENGINE -ruby_engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby' -ruby_version = RbConfig::CONFIG["ruby_version"] -path = File.expand_path('..', __FILE__) -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/builder-3.2.2/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/alphred-1.1.0/lib" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/cache/alphred-1.1.0.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/cache/alphred-1.1.0.gem deleted file mode 100644 index 535eb32..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/cache/alphred-1.1.0.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem deleted file mode 100644 index b59ef92..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/.gitignore b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/.gitignore deleted file mode 100644 index 0cb6eeb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/.bundle/ -/.yardoc -/Gemfile.lock -/_yardoc/ -/coverage/ -/doc/ -/pkg/ -/spec/reports/ -/tmp/ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/.travis.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/.travis.yml deleted file mode 100644 index ac0983c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: ruby -rvm: - - 2.0.0 -before_install: gem install bundler -v 1.10.6 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/CHANGELOG.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/CHANGELOG.md deleted file mode 100644 index ed95c7a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -## Unreleased - -## [1.1.0] - 2015-11-01 - -### Added -- `Config` class for handling persistent configuration across workflow updates. -- CHANGELOG - -## [1.0.0] - 2015-10-31 - -### Added -- Library for making Alfred workflows. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/CODE_OF_CONDUCT.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/CODE_OF_CONDUCT.md deleted file mode 100644 index ce9bee7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,13 +0,0 @@ -# Contributor Code of Conduct - -As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. - -We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion. - -Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct. - -Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team. - -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers. - -This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/) diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Gemfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Gemfile deleted file mode 100644 index 32fd98d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Gemfile +++ /dev/null @@ -1,10 +0,0 @@ -source 'https://rubygems.org' - -# Specify your gem's dependencies in alphred.gemspec -gemspec - -group :development do - gem "guard" - gem "guard-minitest" - gem "pry" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Guardfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Guardfile deleted file mode 100644 index 13966bd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Guardfile +++ /dev/null @@ -1,5 +0,0 @@ -guard :minitest do - watch(%r{^test/(.*)\/?test_(.*)\.rb$}) - watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" } - watch(%r{^test/test_helper\.rb$}) { 'test' } -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/LICENSE.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/LICENSE.txt deleted file mode 100644 index a73fd4f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Alpha Chen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/README.md deleted file mode 100644 index b331d75..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/README.md +++ /dev/null @@ -1,151 +0,0 @@ -# Alphred - -Alphred is a library for making Alfred workflows in Ruby. It's designed -specifically for how I work, so assumes that you manage dependencies with -[Bundler][bundler] and Rubies with [chruby][chruby]. - -[bundler]: http://bundler.io/ -[chruby]: https://github.com/postmodern/chruby - -## Usage - -The [example script filter][scriptfilter] would look like this using Alphred: - -[scriptfilter]: https://www.alfredapp.com/help/workflows/inputs/script-filter/ - -``` ruby -items = Alphred::Items.new( - Alphred::Item.new(uid: "desktop", - arg: "~/Desktop", - valid: true, - autocomplete: "Desktop", - type: :file, - title: "Desktop", - subtitle: "~/Desktop", - icon: { value: "~/Desktop", type: :fileicon }), - Alphred::Item.new(uid: "flickr", - valid: false, - autocomplete: "flickr", - title: "Flickr", - icon: "flickr.png"), - Alphred::Item.new(uid: "image", - autocomplete: "My holiday photo", - type: :file, - title: "My holiday photo", - subtitle: "~/Pictures/My holiday photo.jpg", - icon: { value: "public.jpeg", type: :filetype }), - Alphred::Item.new(uid: "home", - arg: "~/", - valid: true, - autocomplete: "Home", - type: :file, - title: "Home Folder", - subtitle: "Home folder ~/", - icon: { value: "~/", type: :fileicon }, - mods: { shift: "Subtext when shift is pressed", - fn: "Subtext when fn is pressed", - ctrl: "Subtext when ctrl is pressed", - alt: "Subtext when alt is pressed", - cmd: "Subtext when cmd is pressed" }, - text: { copy: "Text when copying", - largetype: "Text for LargeType" })) -items.to_xml -``` - -This produces the following XML: - -``` xml - - - - Desktop - ~/Desktop - ~/Desktop - - - Flickr - flickr.png - - - My holiday photo - ~/Pictures/My holiday photo.jpg - public.jpeg - - - Home Folder - Home folder ~/ - ~/ - Subtext when shift is pressed - Subtext when fn is pressed - Subtext when ctrl is pressed - Subtext when alt is pressed - Subtext when cmd is pressed - Text when copying - Text for LargeType - - -``` - -### Workflow Configuration - -`Alphred::Config` provides some helpers for managing configuration that should -persist when updating the workflow. This configuration is stored in an JSON -file in the workflow data directory. - -``` ruby -# config.rb - -module Workflow - defaults = { foo: "bar" } - Config = Alphred::Config.new(**defaults) -``` - -The corresponding Script Filter input and Run Action output then look like this: - -``` shell -# script filter - -ruby -r./config -e'puts Workflow::Config.filter_xml("{query}")' -``` - -``` shell -# run action - -ruby -r./config -e'Forecast::Config.update!("{query}")' -``` - -### Releasing - -Including `alphred/tasks` in your `Rakefile` will allow access to Alphred's -Rake tasks for releasing a workflow. `release` will tag the current commit with -the provided version and create a .alfredworkflow package with vendored gem -dependencies. - -## TODO - -- Add development mode for easier debugging. (Nicer errors, etc.) - -## Development - -After checking out the repo, run `bundle install` to install dependencies. -Then, run `rake test` to run the tests. You can also run `rake console` for an -interactive prompt that will allow you to experiment. - -To install this gem onto your local machine, run `bundle exec rake install`. To -release a new version, update the version number in `version.rb`, and then run -`bundle exec rake release`, which will create a git tag for the version, push -git commits and tags, and push the `.gem` file to -[rubygems.org](https://rubygems.org). - -## Contributing - -Bug reports and pull requests are welcome on GitHub at -https://github.com/kejadlen/alphred. This project is intended to be a safe, -welcoming space for collaboration, and contributors are expected to adhere to -the [Contributor Covenant](contributor-covenant.org) code of conduct. - -## License - -The gem is available as open source under the terms of the [MIT -License](http://opensource.org/licenses/MIT). - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Rakefile deleted file mode 100644 index 96a218b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/Rakefile +++ /dev/null @@ -1,17 +0,0 @@ -require "bundler/gem_tasks" -require "rake/testtask" - -Rake::TestTask.new(:test) do |t| - t.libs << "lib" - t.test_files = FileList['test/**/test_*.rb'] -end - -task :console do - require "bundler/setup" - require "alphred" - - require "pry" - Pry.start -end - -task :default => :test diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/alphred.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/alphred.gemspec deleted file mode 100644 index c8ffb0d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/alphred.gemspec +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 -lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "alphred/version" - -Gem::Specification.new do |spec| - spec.name = "alphred" - spec.version = Alphred::VERSION - spec.authors = ["Alpha Chen"] - spec.email = ["alpha.chen@gmail.com"] - - spec.summary = %q{Helper utilities for making Alfred workflows.} - spec.homepage = "https://github.com/kejadlen/alph" - spec.license = "MIT" - - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - spec.bindir = "bin" - spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] - - spec.add_dependency "builder", "~> 3.2" - - spec.add_development_dependency "bundler", "~> 1.10" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "minitest" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred.rb deleted file mode 100644 index 729c584..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred.rb +++ /dev/null @@ -1,10 +0,0 @@ -require "builder" - -require_relative "alphred/version" - -require_relative "alphred/config" -require_relative "alphred/icon" -require_relative "alphred/item" -require_relative "alphred/items" -require_relative "alphred/mods" -require_relative "alphred/text" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/config.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/config.rb deleted file mode 100644 index b81dd70..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/config.rb +++ /dev/null @@ -1,52 +0,0 @@ -require "json" - -module Alphred - class Config - PATH = File.join(ENV["alfred_workflow_data"], 'config.json') - - def self.load(**defaults) - config = self.new(**defaults) - config.load! - config - end - - attr_reader :data - - def initialize(**defaults) - @data = Hash[defaults.map {|k,v| [k.to_s, v.to_s] }] - end - - def load! - self.data.merge!(JSON.load(File.open(PATH))) - end - - def update!(json) - data = self.data.merge(JSON.load(json)) - File.write(PATH, JSON.dump(data), mode: ?w) - end - - def [](key) - self.data[key.to_s] - end - - def filter_xml(filter=nil) - filter ||= "" - - items = self.data.map do |key, value| - title = if filter.empty? - "Unset #{key}" - else - "Set #{key} to #{filter}" - end - Item.new( - uid: key, - arg: JSON.dump(key => filter), - title: title, - subtitle: self[key] - ) - end - - Items.new(*items).to_xml - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/icon.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/icon.rb deleted file mode 100644 index 7a7bcdf..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/icon.rb +++ /dev/null @@ -1,39 +0,0 @@ -require "builder" - -module Alphred - class Icon - VALID_TYPES = %i[ fileicon filetype ] - - attr_accessor *%i[ value type ] - - def initialize(**kwargs) - raise ArgumentError.new("missing keyword: value") unless kwargs.has_key?(:value) - - @value = kwargs[:value] - self.type = kwargs[:type] if kwargs.has_key?(:type) - end - - def type=(type) - raise ArgumentError.new("`type` must be one of #{VALID_TYPES}") unless type.nil? || VALID_TYPES.include?(type) - - @type = type - end - - def to_xml(xml=nil) - xml ||= Builder::XmlMarkup.new(indent: 2) - attrs = {} - attrs[:type] = self.type unless self.type.nil? - xml.icon self.value, attrs - end - end -end - -module Kernel - def Icon(value) - case value - when Alphred::Icon then value - when String then Alphred::Icon.new(value: value) - when Hash then Alphred::Icon.new(**value) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/item.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/item.rb deleted file mode 100644 index d986ddb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/item.rb +++ /dev/null @@ -1,59 +0,0 @@ -require "builder" - -require_relative "mods" -require_relative "text" - -module Alphred - class Item - VALID_TYPES = %i[ default file file_skipcheck ] - - attr_accessor *%i[ uid arg valid autocomplete title subtitle mods icon text ] - - def initialize(**kwargs) - raise ArgumentError.new("missing keyword: title") unless kwargs.has_key?(:title) - - @title = kwargs[:title] - - %i[ uid arg valid autocomplete subtitle ].each do |attr| - self.instance_variable_set("@#{attr}", kwargs[attr]) if kwargs.has_key?(attr) - end - - @icon = Icon(kwargs[:icon]) if kwargs.has_key?(:icon) - @text = Text.new(kwargs[:text]) if kwargs.has_key?(:text) - @mods = Mods.new(kwargs[:mods]) if kwargs.has_key?(:mods) - - self.type = kwargs[:type] if kwargs.has_key?(:type) - end - - def type=(type) - raise ArgumentError.new("`type` must be one of #{VALID_TYPES}") unless type.nil? || VALID_TYPES.include?(type) - - @type = type - end - - def type - @type && @type.to_s.gsub(?_, ?:) - end - - def to_xml(xml=nil) - xml ||= Builder::XmlMarkup.new(indent: 2) - xml.item self.attrs do - xml.title self.title - xml.subtitle self.subtitle unless self.subtitle.nil? - self.icon.to_xml(xml) unless self.icon.nil? - self.mods.to_xml(xml) unless self.mods.nil? - self.text.to_xml(xml) unless self.text.nil? - end - end - - def attrs - attrs = {} - %i[ uid arg autocomplete type ].each do |attr| - value = self.send(attr) - attrs[attr] = value unless value.nil? - end - attrs[:valid] = (self.valid) ? "yes" : "no" unless self.valid.nil? - attrs - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/items.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/items.rb deleted file mode 100644 index 71dd6e5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/items.rb +++ /dev/null @@ -1,23 +0,0 @@ -require "builder" -require "delegate" - -module Alphred - class Items < DelegateClass(Array) - attr_reader :items - - def initialize(*items) - @items = items - super(@items) - end - - def to_xml - xml = Builder::XmlMarkup.new(indent: 2) - xml.instruct! :xml - xml.items do - self.items.each do |item| - item.to_xml(xml) - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/mods.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/mods.rb deleted file mode 100644 index 01da3f0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/mods.rb +++ /dev/null @@ -1,22 +0,0 @@ -require "builder" - -module Alphred - class Mods - MODS = %i[ shift fn ctrl alt cmd ] - - attr_accessor *MODS - - def initialize(**kwargs) - MODS.each do |mod| - self.instance_variable_set("@#{mod}", kwargs[mod]) if kwargs.has_key?(mod) - end - end - - def to_xml(xml) - MODS.each do |mod| - value = self.send(mod) - xml.subtitle value, mod: mod unless value.nil? - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/tasks.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/tasks.rb deleted file mode 100644 index 1e4bde8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/tasks.rb +++ /dev/null @@ -1,40 +0,0 @@ -require "rake" - -namespace :alphred do - desc "Prepare a release, named after the directory" - task :release, [:version] => [:tag, :package] - - desc "Tag the current commit in git with VERSION" - task :tag, [:version] do |t, args| - version = args[:version] - - git_status = `git status --porcelain` - fail <<-FAIL unless git_status.empty? -Can't tag #{version}: dirty working directory. - FAIL - - sh "git tag #{version}" - end - - desc "Create an alfredworkflow package with vendored dependencies" - task :package do - restore_bundler_config do - cmd = "bundle install --standalone --path vendor/bundle --without development test" - sh "chruby-exec 2.0.0 -- #{cmd}" - end - sh "zip -r #{application_dir.pathmap("%n.alfredworkflow")} *" - rm_rf "vendor" - end - - def application_dir - Rake.application.original_dir - end - - def restore_bundler_config - path = File.join(application_dir, ".bundle", "config") - config = File.read(path) - yield - ensure - File.write(path, config, mode: ?w) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/text.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/text.rb deleted file mode 100644 index 0f24576..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/text.rb +++ /dev/null @@ -1,17 +0,0 @@ -require "builder" - -module Alphred - class Text - attr_accessor *%i[ copy largetype ] - - def initialize(copy: nil, largetype: nil) - @copy = copy - @largetype = largetype - end - - def to_xml(xml) - xml.text copy, type: :copy unless self.copy.nil? - xml.text largetype, type: :largetype unless self.largetype.nil? - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/version.rb deleted file mode 100644 index a9c6d1c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.0/lib/alphred/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module Alphred - VERSION = "1.1.0" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES deleted file mode 100644 index 0f608fe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES +++ /dev/null @@ -1,107 +0,0 @@ -= Change Log - -== Version 3.2.0 - -* Ruby 2.0 compatibility changes. - -* Allow single quoted attributes. - -== Version 3.1.0 - -* Included the to_xs arity patch needed for weird Rails compatibility - issue. - -* Escaping newlines in attributes now. - -* Allow method caching - -== Version 3.0.0 - -* Ruby 1.9 compatiblity issues. - -== Version 2.2.0 - -* Applied patch from Thijs van der Vossen to allow UTF-8 encoded - output when the encoding is UTF-8 and $KCODE is UTF8. - -== Version 2.1.2 - -* Fixed bug where private methods in kernel could leak through using - tag!(). Thanks to Hagen Overdick for finding and diagnosing this - bug. - -== Version 2.1.1 - -* Fixed typo in XmlMarkup class docs (ident => indent). (from Martin - Fowler). -* Removed extra directory indirection from legacy CVS to SVN move. -* Removed some extraneous tabs from source. -* Fixed test on private methods in blankslate to differentiate between - targetted and untargetted private methods. -* Removed legacy capture of @self in XmlBase (@self was used back when - we used instance eval). -* Added additional tests for global functions (both direct and included). - -== Version 2.1.0 - -* Fixed bug in BlankSlate where including a module into Object could - cause methods to leak into BlankSlate. -* Made BlankSlate available as its own gem. Currently the builder gem - still directly includes the BlankSlate code. -* Added reveal capability to BlankSlate. - -== Version 2.0.0 - -* Added doc directory -* Added unit tests for XmlEvents. -* Added XChar module and used it in the _escape method. -* Attributes are now quoted by default when strings. Use Symbol - attribute values for unquoted behavior. - -== Version 1.2.4 - -* Added a cdata! command to an XML Builder (from Josh Knowles). - -== Version 1.2.3 - -The attributes in the instruction will be ordered: -version, encoding, standalone. - -== Version 1.2.2 - -Another fix for BlankSlate. The Kernal/Object traps added in 1.2.1 -failed when a method was defined late more than once. Since the -method was already marked as removed, another attempt to undefine it -raised an error. The fix was to check the list of instance methods -before attempting the undef operation. Thanks to Florian Gross and -David Heinemeier Hansson for the patch. - -== Version 1.2.1 - -BlankSlate now traps method definitions in Kernel and Object to avoid -late method definitions inadvertently becoming part of the definition -of BlankSlate as well. - -== Version 1.2.0 - -Improved support for entity declarations by allowing nested -declarations and removal of the attribute processing. - -Added namespace support. - -== Version 1.1.0 - -Added support for comments, entity declarations and processing instructions. - -== Version 1.0.0 - -Removed use of instace_eval making the use of XmlMarkup much -less prone to error. - -== Version 0.1.1 - -Bug fix. - -== Version 0.1.0 - -Initial version release. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE deleted file mode 100644 index 7d9be51..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2003-2012 Jim Weirich (jim.weirich@gmail.com) - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md deleted file mode 100644 index 81928cc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md +++ /dev/null @@ -1,258 +0,0 @@ -# Project: Builder - -## Goal - -Provide a simple way to create XML markup and data structures. - -## Classes - -Builder::XmlMarkup:: Generate XML markup notation -Builder::XmlEvents:: Generate XML events (i.e. SAX-like) - -**Notes:** - -* An Builder::XmlTree class to generate XML tree - (i.e. DOM-like) structures is also planned, but not yet implemented. - Also, the events builder is currently lagging the markup builder in - features. - -## Usage - -```ruby - require 'rubygems' - require_gem 'builder', '~> 2.0' - - builder = Builder::XmlMarkup.new -` xml = builder.person { |b| b.name("Jim"); b.phone("555-1234") } - xml #=> Jim555-1234 -``` - -or - -```ruby - require 'rubygems' - require_gem 'builder' - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - # - # Prints: - # - # Jim - # 555-1234 - # -``` - -## Compatibility - -### Version 2.0.0 Compatibility Changes - -Version 2.0.0 introduces automatically escaped attribute values for -the first time. Versions prior to 2.0.0 did not insert escape -characters into attribute values in the XML markup. This allowed -attribute values to explicitly reference entities, which was -occasionally used by a small number of developers. Since strings -could always be explicitly escaped by hand, this was not a major -restriction in functionality. - -However, it did surprise most users of builder. Since the body text is -normally escaped, everybody expected the attribute values to be -escaped as well. Escaped attribute values were the number one support -request on the 1.x Builder series. - -Starting with Builder version 2.0.0, all attribute values expressed as -strings will be processed and the appropriate characters will be -escaped (e.g. "&" will be translated to "&"). Attribute values -that are expressed as Symbol values will not be processed for escaped -characters and will be unchanged in output. (Yes, this probably counts -as Symbol abuse, but the convention is convenient and flexible). - -Example: - -```ruby - xml = Builder::XmlMarkup.new - xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There") - xml.target! => - -``` - -### Version 1.0.0 Compatibility Changes - -Version 1.0.0 introduces some changes that are not backwards -compatible with earlier releases of builder. The main areas of -incompatibility are: - -* Keyword based arguments to +new+ (rather than positional based). It - was found that a developer would often like to specify indentation - without providing an explicit target, or specify a target without - indentation. Keyword based arguments handle this situation nicely. - -* Builder must now be an explicit target for markup tags. Instead of - writing - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { strong("text") } -``` - - you need to write - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { xml_markup.strong("text") } -``` - -* The builder object is passed as a parameter to all nested markup - blocks. This allows you to create a short alias for the builder - object that can be used within the block. For example, the previous - example can be written as: - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { |xml| xml.strong("text") } -``` - -* If you have both a pre-1.0 and a post-1.0 gem of builder installed, - you can choose which version to use through the RubyGems - +require_gem+ facility. - -```ruby - require_gem 'builder', "~> 0.0" # Gets the old version - require_gem 'builder', "~> 1.0" # Gets the new version -``` - -## Features - -* XML Comments are supported ... - -```ruby - xml_markup.comment! "This is a comment" - #=> -``` - -* XML processing instructions are supported ... - -```ruby - xml_markup.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8" - #=> -``` - - If the processing instruction is omitted, it defaults to "xml". - When the processing instruction is "xml", the defaults attributes - are: - - version: 1.0 - encoding: "UTF-8" - - (NOTE: if the encoding is set to "UTF-8" and $KCODE is set to - "UTF8", then Builder will emit UTF-8 encoded strings rather than - encoding non-ASCII characters as entities.) - -* XML entity declarations are now supported to a small degree. - -```ruby - xml_markup.declare! :DOCTYPE, :chapter, :SYSTEM, "../dtds/chapter.dtd" - #=> -``` - - The parameters to a declare! method must be either symbols or - strings. Symbols are inserted without quotes, and strings are - inserted with double quotes. Attribute-like arguments in hashes are - not allowed. - - If you need to have an argument to declare! be inserted without - quotes, but the argument does not conform to the typical Ruby - syntax for symbols, then use the :"string" form to specify a symbol. - - For example: - -```ruby - xml_markup.declare! :ELEMENT, :chapter, :"(title,para+)" - #=> -``` - - Nested entity declarations are allowed. For example: - -```ruby - @xml_markup.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, :"(title,para+)" - x.declare! :ELEMENT, :title, :"(#PCDATA)" - x.declare! :ELEMENT, :para, :"(#PCDATA)" - end - - #=> - - - - - ]> -``` - -* Some support for XML namespaces is now available. If the first - argument to a tag call is a symbol, it will be joined to the tag to - produce a namespace:tag combination. It is easier to show this than - describe it. - -```ruby - xml.SOAP :Envelope do ... end -``` - - Just put a space before the colon in a namespace to produce the - right form for builder (e.g. "SOAP:Envelope" => - "xml.SOAP :Envelope") - -* String attribute values are now escaped by default by - Builder (NOTE: this is _new_ behavior as of version 2.0). - - However, occasionally you need to use entities in attribute values. - Using a symbol (rather than a string) for an attribute value will - cause Builder to not run its quoting/escaping algorithm on that - particular value. - - (Note: The +escape_attrs+ option for builder is now - obsolete). - - Example: - -```ruby - xml = Builder::XmlMarkup.new - xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There") - xml.target! => - -``` - -* UTF-8 Support - - Builder correctly translates UTF-8 characters into valid XML. (New - in version 2.0.0). Thanks to Sam Ruby for the translation code. - - You can get UTF-8 encoded output by making sure that the XML - encoding is set to "UTF-8" and that the $KCODE variable is set to - "UTF8". - -```ruby - $KCODE = 'UTF8' - xml = Builder::Markup.new - xml.instruct!(:xml, :encoding => "UTF-8") - xml.sample("Iñtërnâtiônàl") - xml.target! => - "Iñtërnâtiônàl" -``` - -## Links - -| Description | Link | -| :----: | :----: | -| Documents | http://builder.rubyforge.org/ | -| Github Clone | git://github.com/jimweirich/builder.git | -| Issue / Bug Reports | https://github.com/jimweirich/builder/issues?state=open | - -## Contact - -| Description | Value | -| :----: | :----: | -| Author | Jim Weirich | -| Email | jim.weirich@gmail.com | -| Home Page | http://onestepback.org | -| License | MIT Licence (http://www.opensource.org/licenses/mit-license.html) | diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile deleted file mode 100644 index b082fbe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile +++ /dev/null @@ -1,195 +0,0 @@ -# Rakefile for rake -*- ruby -*- - -# Copyright 2004, 2005, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. - -require 'rake/clean' -require 'rake/testtask' -begin - require 'rubygems' - require 'rubygems/package_task' - require 'rdoc/task' -rescue Exception - nil -end - -require './lib/builder/version' - -# Determine the current version of the software - -CLOBBER.include('pkg', 'html') -CLEAN.include('pkg/builder-*').include('pkg/blankslate-*').exclude('pkg/*.gem') - -PKG_VERSION = Builder::VERSION - -SRC_RB = FileList['lib/**/*.rb'] - -# The default task is run if rake is given no explicit arguments. - -desc "Default Task" -task :default => :test_all - -# Test Tasks --------------------------------------------------------- - -desc "Run all tests" -task :test_all => [:test_units] -task :ta => [:test_all] - -task :tu => [:test_units] - -Rake::TestTask.new("test_units") do |t| - t.test_files = FileList['test/test*.rb'] - t.libs << "." - t.verbose = false -end - -# Create a task to build the RDOC documentation tree. - -if defined?(RDoc) - rd = RDoc::Task.new("rdoc") { |rdoc| - rdoc.rdoc_dir = 'html' - rdoc.title = "Builder for Markup" - rdoc.options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc' - rdoc.rdoc_files.include('lib/**/*.rb', '[A-Z]*', 'doc/**/*.rdoc').exclude("TAGS") - rdoc.template = 'doc/jamis.rb' - } -else - rd = Struct.new(:rdoc_files).new([]) -end - -# ==================================================================== -# Create a task that will package the Rake software into distributable -# gem files. - -PKG_FILES = FileList[ - '[A-Z]*', - 'doc/**/*', - 'lib/**/*.rb', - 'test/**/*.rb', - 'rakelib/**/*' -] -PKG_FILES.exclude('test/test_cssbuilder.rb') -PKG_FILES.exclude('lib/builder/css.rb') -PKG_FILES.exclude('TAGS') - -BLANKSLATE_FILES = FileList[ - 'lib/blankslate.rb', - 'test/test_blankslate.rb' -] - -if ! defined?(Gem) - puts "Package Target requires RubyGEMs" -else - spec = Gem::Specification.new do |s| - - #### Basic information. - - s.name = 'builder' - s.version = PKG_VERSION - s.summary = "Builders for MarkUp." - s.description = %{\ -Builder provides a number of builder objects that make creating structured data -simple to do. Currently the following builder objects are supported: - -* XML Markup -* XML Events -} - - s.files = PKG_FILES.to_a - s.require_path = 'lib' - - s.test_files = PKG_FILES.select { |fn| fn =~ /^test\/test/ } - - s.has_rdoc = true - s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a - s.rdoc_options << - '--title' << 'Builder -- Easy XML Building' << - '--main' << 'README.rdoc' << - '--line-numbers' - - s.author = "Jim Weirich" - s.email = "jim.weirich@gmail.com" - s.homepage = "http://onestepback.org" - s.license = 'MIT' - end - - blankslate_spec = Gem::Specification.new do |s| - - #### Basic information. - - s.name = 'blankslate' - s.version = PKG_VERSION - s.summary = "Blank Slate base class." - s.description = %{\ -BlankSlate provides a base class where almost all of the methods from Object and -Kernel have been removed. This is useful when providing proxy object and other -classes that make heavy use of method_missing. -} - - s.files = BLANKSLATE_FILES.to_a - s.require_path = 'lib' - - s.test_files = PKG_FILES.select { |fn| fn =~ /^test\/test/ } - - s.has_rdoc = true - s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a - s.rdoc_options << - '--title' << 'BlankSlate -- Base Class for building proxies.' << - '--main' << 'README.rdoc' << - '--line-numbers' - - s.author = "Jim Weirich" - s.email = "jim.weirich@gmail.com" - s.homepage = "http://onestepback.org" - s.license = 'MIT' - end - - namespace 'builder' do - Gem::PackageTask.new(spec) do |t| - t.need_tar = false - end - end - - namespace 'blankslate' do - Gem::PackageTask.new(blankslate_spec) do |t| - t.need_tar = false - end - end - - task :package => [:remove_tags, 'builder:package', 'blankslate:package'] -end - -task :remove_tags do - rm "TAGS" rescue nil -end - -# RCov --------------------------------------------------------------- -begin - require 'rcov/rcovtask' - - Rcov::RcovTask.new do |t| - t.libs << "test" - t.rcov_opts = [ - '-xRakefile', '--text-report' - ] - t.test_files = FileList[ - 'test/test*.rb' - ] - t.output_dir = 'coverage' - t.verbose = true - end -rescue LoadError - # No rcov available -end - -desc "Install the jamis RDoc template" -task :install_jamis_template do - require 'rbconfig' - dest_dir = File.join(Config::CONFIG['rubylibdir'], "rdoc/generators/template/html") - fail "Unabled to write to #{dest_dir}" unless File.writable?(dest_dir) - install "doc/jamis.rb", dest_dir, :verbose => true -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb deleted file mode 100644 index a00b583..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb +++ /dev/null @@ -1,591 +0,0 @@ -module RDoc -module Page - -FONTS = "\"Bitstream Vera Sans\", Verdana, Arial, Helvetica, sans-serif" - -STYLE = < pre { - padding: 0.5em; - border: 1px dotted black; - background: #FFE; -} - -CSS - -XHTML_PREAMBLE = %{ - -} - -HEADER = XHTML_PREAMBLE + < - - %title% - - - - - - - -ENDHEADER - -FILE_PAGE = < - - - - -
File
%short_name%
- - - - - - - - - -
Path:%full_path% -IF:cvsurl -  (CVS) -ENDIF:cvsurl -
Modified:%dtm_modified%
-
- -
-HTML - -################################################################### - -CLASS_PAGE = < - %classmod%
%full_name% - - - - - - -IF:parent - - - - -ENDIF:parent -
In: -START:infiles -HREF:full_path_url:full_path: -IF:cvsurl - (CVS) -ENDIF:cvsurl -END:infiles -
Parent: -IF:par_url - -ENDIF:par_url -%parent% -IF:par_url - -ENDIF:par_url -
- - - -HTML - -################################################################### - -METHOD_LIST = < -IF:diagram -
- %diagram% -
-ENDIF:diagram - -IF:description -
%description%
-ENDIF:description - -IF:requires -
Required Files
-
    -START:requires -
  • HREF:aref:name:
  • -END:requires -
-ENDIF:requires - -IF:toc -
Contents
-
-ENDIF:toc - -IF:methods -
Methods
-
    -START:methods -
  • HREF:aref:name:
  • -END:methods -
-ENDIF:methods - -IF:includes -
Included Modules
-
    -START:includes -
  • HREF:aref:name:
  • -END:includes -
-ENDIF:includes - -START:sections -IF:sectitle - -IF:seccomment -
-%seccomment% -
-ENDIF:seccomment -ENDIF:sectitle - -IF:classlist -
Classes and Modules
- %classlist% -ENDIF:classlist - -IF:constants -
Constants
- -START:constants - - - - - -IF:desc - - - - -ENDIF:desc -END:constants -
%name%=%value%
 %desc%
-ENDIF:constants - -IF:attributes -
Attributes
- -START:attributes - - - - - -END:attributes -
-IF:rw -[%rw%] -ENDIF:rw - %name%%a_desc%
-ENDIF:attributes - -IF:method_list -START:method_list -IF:methods -
%type% %category% methods
-START:methods -
-
-IF:callseq - %callseq% -ENDIF:callseq -IFNOT:callseq - %name%%params% -ENDIF:callseq -IF:codeurl -[ source ] -ENDIF:codeurl -
-IF:m_desc -
- %m_desc% -
-ENDIF:m_desc -IF:aka -
- This method is also aliased as -START:aka - %name% -END:aka -
-ENDIF:aka -IF:sourcecode -
- -
-
-%sourcecode%
-
-
-
-ENDIF:sourcecode -
-END:methods -ENDIF:methods -END:method_list -ENDIF:method_list -END:sections - -HTML - -FOOTER = < - -ENDFOOTER - -BODY = HEADER + < - -
- #{METHOD_LIST} -
- - #{FOOTER} -ENDBODY - -########################## Source code ########################## - -SRC_PAGE = XHTML_PREAMBLE + < -%title% - - - - -
%code%
- - -HTML - -########################## Index ################################ - -FR_INDEX_BODY = < - - - - - - - -
-START:entries -%name%
-END:entries -
- -HTML - -CLASS_INDEX = FILE_INDEX -METHOD_INDEX = FILE_INDEX - -INDEX = XHTML_PREAMBLE + < - - %title% - - - - - - - - - -IF:inline_source - -ENDIF:inline_source -IFNOT:inline_source - - - - -ENDIF:inline_source - - <body bgcolor="white"> - Click <a href="html/index.html">here</a> for a non-frames - version of this page. - </body> - - - - -HTML - -end -end - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc deleted file mode 100644 index a1cf54f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +++ /dev/null @@ -1,31 +0,0 @@ -= Builder 1.2.4 Released. - -Added a "CDATA" method to the XML Markup builder (from Josh Knowles). - -== What is Builder? - -Builder::XmlMarkup allows easy programmatic creation of XML markup. -For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - puts builder.target! - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Josh Knowles for the cdata! patch. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc deleted file mode 100644 index ed9e086..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +++ /dev/null @@ -1,46 +0,0 @@ -= Builder 2.0.0 Released. - -== Changes in 2.0.0 - -* UTF-8 characters in data are now correctly translated to their XML - equivalents. (Thanks to Sam Ruby) - -* Attribute values are now escaped by default. See the README - file for details. - -NOTE: The escaping attribute values by default is different -than in previous releases of Builder. This makes version 2.0.0 -somewhat incompatible with the 1.x series of Builder. If you use "&", -"<", or ">" in attributes values, you may have to change your -code. (Essentially you remove the manual escaping. The new way is -easier, believe me). - -== What is Builder? - -Builder::XmlMarkup is a library that allows easy programmatic creation -of XML markup. For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Sam Ruby for the XChar module and the related UTF-8 translation - tools. -* Also to Sam Ruby for gently persuading me to start quoting attribute - values. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc deleted file mode 100755 index dbbf121..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +++ /dev/null @@ -1,58 +0,0 @@ -= Builder 2.1.1 Released. - -Release 2.1.1 of Builder is mainly a bug fix release. - -== Changes in 2.1.1 - -* Added reveal capability to BlankSlate. - -* Fixed a bug in BlankSlate where including a module into Object could - cause methods to leak into BlankSlate. - -* Fixed typo in XmlMarkup class docs (from Martin Fowler). - -* Fixed test on private methods to differentiate between targetted and - untargetted private methods. - -* Removed legacy capture of @self in XmlBase (@self was used back when - we used instance eval). - -* Added additional tests for global functions (both direct and - included). - -* Several misc internal cleanups, including rearranging the source - code tree. - -NOTE: The escaping attribute values by default is different -than in previous releases of Builder. This makes version 2.0.x -somewhat incompatible with the 1.x series of Builder. If you use "&", -"<", or ">" in attributes values, you may have to change your -code. (Essentially you remove the manual escaping. The new way is -easier, believe me). - -== What is Builder? - -Builder::XmlMarkup is a library that allows easy programmatic creation -of XML markup. For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Martin Fowler for spotting some typos in the documentation. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb deleted file mode 100644 index 931c8a7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb +++ /dev/null @@ -1,137 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -class String - if instance_methods.first.is_a?(Symbol) - def _blankslate_as_name - to_sym - end - else - def _blankslate_as_name - self - end - end -end - -class Symbol - if instance_methods.first.is_a?(Symbol) - def _blankslate_as_name - self - end - else - def _blankslate_as_name - to_s - end - end -end - -###################################################################### -# BlankSlate provides an abstract base class with no predefined -# methods (except for \_\_send__ and \_\_id__). -# BlankSlate is useful as a base class when writing classes that -# depend upon method_missing (e.g. dynamic proxies). -# -class BlankSlate - class << self - - # Hide the method named +name+ in the BlankSlate class. Don't - # hide +instance_eval+ or any method beginning with "__". - def hide(name) - warn_level = $VERBOSE - $VERBOSE = nil - if instance_methods.include?(name._blankslate_as_name) && - name !~ /^(__|instance_eval$)/ - @hidden_methods ||= {} - @hidden_methods[name.to_sym] = instance_method(name) - undef_method name - end - ensure - $VERBOSE = warn_level - end - - def find_hidden_method(name) - @hidden_methods ||= {} - @hidden_methods[name] || superclass.find_hidden_method(name) - end - - # Redefine a previously hidden method so that it may be called on a blank - # slate object. - def reveal(name) - hidden_method = find_hidden_method(name) - fail "Don't know how to reveal method '#{name}'" unless hidden_method - define_method(name, hidden_method) - end - end - - instance_methods.each { |m| hide(m) } -end - -###################################################################### -# Since Ruby is very dynamic, methods added to the ancestors of -# BlankSlate after BlankSlate is defined will show up in the -# list of available BlankSlate methods. We handle this by defining a -# hook in the Object and Kernel classes that will hide any method -# defined after BlankSlate has been loaded. -# -module Kernel - class << self - alias_method :blank_slate_method_added, :method_added - - # Detect method additions to Kernel and remove them in the - # BlankSlate class. - def method_added(name) - result = blank_slate_method_added(name) - return result if self != Kernel - BlankSlate.hide(name) - result - end - end -end - -###################################################################### -# Same as above, except in Object. -# -class Object - class << self - alias_method :blank_slate_method_added, :method_added - - # Detect method additions to Object and remove them in the - # BlankSlate class. - def method_added(name) - result = blank_slate_method_added(name) - return result if self != Object - BlankSlate.hide(name) - result - end - - def find_hidden_method(name) - nil - end - end -end - -###################################################################### -# Also, modules included into Object need to be scanned and have their -# instance methods removed from blank slate. In theory, modules -# included into Kernel would have to be removed as well, but a -# "feature" of Ruby prevents late includes into modules from being -# exposed in the first place. -# -class Module - alias blankslate_original_append_features append_features - def append_features(mod) - result = blankslate_original_append_features(mod) - return result if mod != Object - instance_methods.each do |name| - BlankSlate.hide(name) - end - result - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb deleted file mode 100644 index 9719277..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' -require 'builder/xmlevents' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb deleted file mode 100644 index 67d2f24..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -###################################################################### -# BlankSlate has been promoted to a top level name and is now -# available as a standalone gem. We make the name available in the -# Builder namespace for compatibility. -# -module Builder - if Object::const_defined?(:BasicObject) - BlankSlate = ::BasicObject - else - require 'blankslate' - BlankSlate = ::BlankSlate - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb deleted file mode 100644 index cbe7bc4..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb +++ /dev/null @@ -1,8 +0,0 @@ -module Builder - VERSION_NUMBERS = [ - VERSION_MAJOR = 3, - VERSION_MINOR = 2, - VERSION_BUILD = 2, - ] - VERSION = VERSION_NUMBERS.join(".") -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb deleted file mode 100644 index c7daa48..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb +++ /dev/null @@ -1,197 +0,0 @@ -#!/usr/bin/env ruby - -# The XChar library is provided courtesy of Sam Ruby (See -# http://intertwingly.net/stories/2005/09/28/xchar.rb) - -# -------------------------------------------------------------------- - -# If the Builder::XChar module is not currently defined, fail on any -# name clashes in standard library classes. - -module Builder - def self.check_for_name_collision(klass, method_name, defined_constant=nil) - if klass.method_defined?(method_name.to_s) - fail RuntimeError, - "Name Collision: Method '#{method_name}' is already defined in #{klass}" - end - end -end - -if ! defined?(Builder::XChar) and ! String.method_defined?(:encode) - Builder.check_for_name_collision(String, "to_xs") - Builder.check_for_name_collision(Fixnum, "xchr") -end - -###################################################################### -module Builder - - #################################################################### - # XML Character converter, from Sam Ruby: - # (see http://intertwingly.net/stories/2005/09/28/xchar.rb). - # - module XChar # :nodoc: - - # See - # http://intertwingly.net/stories/2004/04/14/i18n.html#CleaningWindows - # for details. - CP1252 = { # :nodoc: - 128 => 8364, # euro sign - 130 => 8218, # single low-9 quotation mark - 131 => 402, # latin small letter f with hook - 132 => 8222, # double low-9 quotation mark - 133 => 8230, # horizontal ellipsis - 134 => 8224, # dagger - 135 => 8225, # double dagger - 136 => 710, # modifier letter circumflex accent - 137 => 8240, # per mille sign - 138 => 352, # latin capital letter s with caron - 139 => 8249, # single left-pointing angle quotation mark - 140 => 338, # latin capital ligature oe - 142 => 381, # latin capital letter z with caron - 145 => 8216, # left single quotation mark - 146 => 8217, # right single quotation mark - 147 => 8220, # left double quotation mark - 148 => 8221, # right double quotation mark - 149 => 8226, # bullet - 150 => 8211, # en dash - 151 => 8212, # em dash - 152 => 732, # small tilde - 153 => 8482, # trade mark sign - 154 => 353, # latin small letter s with caron - 155 => 8250, # single right-pointing angle quotation mark - 156 => 339, # latin small ligature oe - 158 => 382, # latin small letter z with caron - 159 => 376, # latin capital letter y with diaeresis - } - - # See http://www.w3.org/TR/REC-xml/#dt-chardata for details. - PREDEFINED = { - 38 => '&', # ampersand - 60 => '<', # left angle bracket - 62 => '>', # right angle bracket - } - - # See http://www.w3.org/TR/REC-xml/#charsets for details. - VALID = [ - 0x9, 0xA, 0xD, - (0x20..0xD7FF), - (0xE000..0xFFFD), - (0x10000..0x10FFFF) - ] - - # http://www.fileformat.info/info/unicode/char/fffd/index.htm - REPLACEMENT_CHAR = - if String.method_defined?(:encode) - "\uFFFD" - elsif $KCODE == 'UTF8' - "\xEF\xBF\xBD" - else - '*' - end - end - -end - - -if String.method_defined?(:encode) - module Builder - module XChar # :nodoc: - CP1252_DIFFERENCES, UNICODE_EQUIVALENT = Builder::XChar::CP1252.each. - inject([[],[]]) {|(domain,range),(key,value)| - [domain << key,range << value] - }.map {|seq| seq.pack('U*').force_encoding('utf-8')} - - XML_PREDEFINED = Regexp.new('[' + - Builder::XChar::PREDEFINED.keys.pack('U*').force_encoding('utf-8') + - ']') - - INVALID_XML_CHAR = Regexp.new('[^'+ - Builder::XChar::VALID.map { |item| - case item - when Fixnum - [item].pack('U').force_encoding('utf-8') - when Range - [item.first, '-'.ord, item.last].pack('UUU').force_encoding('utf-8') - end - }.join + - ']') - - ENCODING_BINARY = Encoding.find('BINARY') - ENCODING_UTF8 = Encoding.find('UTF-8') - ENCODING_ISO1 = Encoding.find('ISO-8859-1') - - # convert a string to valid UTF-8, compensating for a number of - # common errors. - def XChar.unicode(string) - if string.encoding == ENCODING_BINARY - if string.ascii_only? - string - else - string = string.clone.force_encoding(ENCODING_UTF8) - if string.valid_encoding? - string - else - string.encode(ENCODING_UTF8, ENCODING_ISO1) - end - end - - elsif string.encoding == ENCODING_UTF8 - if string.valid_encoding? - string - else - string.encode(ENCODING_UTF8, ENCODING_ISO1) - end - - else - string.encode(ENCODING_UTF8) - end - end - - # encode a string per XML rules - def XChar.encode(string) - unicode(string). - tr(CP1252_DIFFERENCES, UNICODE_EQUIVALENT). - gsub(INVALID_XML_CHAR, REPLACEMENT_CHAR). - gsub(XML_PREDEFINED) {|c| PREDEFINED[c.ord]} - end - end - end - -else - - ###################################################################### - # Enhance the Fixnum class with a XML escaped character conversion. - # - class Fixnum - XChar = Builder::XChar if ! defined?(XChar) - - # XML escaped version of chr. When escape is set to false - # the CP1252 fix is still applied but utf-8 characters are not - # converted to character entities. - def xchr(escape=true) - n = XChar::CP1252[self] || self - case n when *XChar::VALID - XChar::PREDEFINED[n] or - (n<128 ? n.chr : (escape ? "&##{n};" : [n].pack('U*'))) - else - Builder::XChar::REPLACEMENT_CHAR - end - end - end - - - ###################################################################### - # Enhance the String class with a XML escaped character version of - # to_s. - # - class String - # XML escaped version of to_s. When escape is set to false - # the CP1252 fix is still applied but utf-8 characters are not - # converted to character entities. - def to_xs(escape=true) - unpack('U*').map {|n| n.xchr(escape)}.join # ASCII, UTF-8 - rescue - unpack('C*').map {|n| n.xchr}.join # ISO-8859-1, WIN-1252 - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb deleted file mode 100644 index 8f03a82..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb +++ /dev/null @@ -1,199 +0,0 @@ -#!/usr/bin/env ruby - -require 'builder/blankslate' - -module Builder - - # Generic error for builder - class IllegalBlockError < RuntimeError; end - - # XmlBase is a base class for building XML builders. See - # Builder::XmlMarkup and Builder::XmlEvents for examples. - class XmlBase < BlankSlate - - class << self - attr_accessor :cache_method_calls - end - - # Create an XML markup builder. - # - # out :: Object receiving the markup. +out+ must respond to - # <<. - # indent :: Number of spaces used for indentation (0 implies no - # indentation and no line breaks). - # initial :: Level of initial indentation. - # encoding :: When encoding and $KCODE are set to 'utf-8' - # characters aren't converted to character entities in - # the output stream. - def initialize(indent=0, initial=0, encoding='utf-8') - @indent = indent - @level = initial - @encoding = encoding.downcase - end - - def explicit_nil_handling? - @explicit_nil_handling - end - - # Create a tag named +sym+. Other than the first argument which - # is the tag name, the arguments are the same as the tags - # implemented via method_missing. - def tag!(sym, *args, &block) - text = nil - attrs = nil - sym = "#{sym}:#{args.shift}" if args.first.kind_of?(::Symbol) - sym = sym.to_sym unless sym.class == ::Symbol - args.each do |arg| - case arg - when ::Hash - attrs ||= {} - attrs.merge!(arg) - when nil - attrs ||= {} - attrs.merge!({:nil => true}) if explicit_nil_handling? - else - text ||= '' - text << arg.to_s - end - end - if block - unless text.nil? - ::Kernel::raise ::ArgumentError, - "XmlMarkup cannot mix a text argument with a block" - end - _indent - _start_tag(sym, attrs) - _newline - begin - _nested_structures(block) - ensure - _indent - _end_tag(sym) - _newline - end - elsif text.nil? - _indent - _start_tag(sym, attrs, true) - _newline - else - _indent - _start_tag(sym, attrs) - text! text - _end_tag(sym) - _newline - end - @target - end - - # Create XML markup based on the name of the method. This method - # is never invoked directly, but is called for each markup method - # in the markup block that isn't cached. - def method_missing(sym, *args, &block) - cache_method_call(sym) if ::Builder::XmlBase.cache_method_calls - tag!(sym, *args, &block) - end - - # Append text to the output target. Escape any markup. May be - # used within the markup brackets as: - # - # builder.p { |b| b.br; b.text! "HI" } #=>


HI

- def text!(text) - _text(_escape(text)) - end - - # Append text to the output target without escaping any markup. - # May be used within the markup brackets as: - # - # builder.p { |x| x << "
HI" } #=>


HI

- # - # This is useful when using non-builder enabled software that - # generates strings. Just insert the string directly into the - # builder without changing the inserted markup. - # - # It is also useful for stacking builder objects. Builders only - # use << to append to the target, so by supporting this - # method/operation builders can use other builders as their - # targets. - def <<(text) - _text(text) - end - - # For some reason, nil? is sent to the XmlMarkup object. If nil? - # is not defined and method_missing is invoked, some strange kind - # of recursion happens. Since nil? won't ever be an XML tag, it - # is pretty safe to define it here. (Note: this is an example of - # cargo cult programming, - # cf. http://fishbowl.pastiche.org/2004/10/13/cargo_cult_programming). - def nil? - false - end - - private - - require 'builder/xchar' - if ::String.method_defined?(:encode) - def _escape(text) - result = XChar.encode(text) - begin - encoding = ::Encoding::find(@encoding) - raise Exception if encoding.dummy? - result.encode(encoding) - rescue - # if the encoding can't be supported, use numeric character references - result. - gsub(/[^\u0000-\u007F]/) {|c| "&##{c.ord};"}. - force_encoding('ascii') - end - end - else - def _escape(text) - if (text.method(:to_xs).arity == 0) - text.to_xs - else - text.to_xs((@encoding != 'utf-8' or $KCODE != 'UTF8')) - end - end - end - - def _escape_attribute(text) - _escape(text).gsub("\n", " ").gsub("\r", " "). - gsub(%r{"}, '"') # " WART - end - - def _newline - return if @indent == 0 - text! "\n" - end - - def _indent - return if @indent == 0 || @level == 0 - text!(" " * (@level * @indent)) - end - - def _nested_structures(block) - @level += 1 - block.call(self) - ensure - @level -= 1 - end - - # If XmlBase.cache_method_calls = true, we dynamicly create the method - # missed as an instance method on the XMLBase object. Because XML - # documents are usually very repetative in nature, the next node will - # be handled by the new method instead of method_missing. As - # method_missing is very slow, this speeds up document generation - # significantly. - def cache_method_call(sym) - class << self; self; end.class_eval do - unless method_defined?(sym) - define_method(sym) do |*args, &block| - tag!(sym, *args, &block) - end - end - end - end - end - - XmlBase.cache_method_calls = true - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb deleted file mode 100644 index 91fcd21..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' - -module Builder - - # Create a series of SAX-like XML events (e.g. start_tag, end_tag) - # from the markup code. XmlEvent objects are used in a way similar - # to XmlMarkup objects, except that a series of events are generated - # and passed to a handler rather than generating character-based - # markup. - # - # Usage: - # xe = Builder::XmlEvents.new(hander) - # xe.title("HI") # Sends start_tag/end_tag/text messages to the handler. - # - # Indentation may also be selected by providing value for the - # indentation size and initial indentation level. - # - # xe = Builder::XmlEvents.new(handler, indent_size, initial_indent_level) - # - # == XML Event Handler - # - # The handler object must expect the following events. - # - # [start_tag(tag, attrs)] - # Announces that a new tag has been found. +tag+ is the name of - # the tag and +attrs+ is a hash of attributes for the tag. - # - # [end_tag(tag)] - # Announces that an end tag for +tag+ has been found. - # - # [text(text)] - # Announces that a string of characters (+text+) has been found. - # A series of characters may be broken up into more than one - # +text+ call, so the client cannot assume that a single - # callback contains all the text data. - # - class XmlEvents < XmlMarkup - def text!(text) - @target.text(text) - end - - def _start_tag(sym, attrs, end_too=false) - @target.start_tag(sym, attrs) - _end_tag(sym) if end_too - end - - def _end_tag(sym) - @target.end_tag(sym) - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb deleted file mode 100644 index 4730d09..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +++ /dev/null @@ -1,339 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2005 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -# Provide a flexible and easy to use Builder for creating XML markup. -# See XmlBuilder for usage details. - -require 'builder/xmlbase' - -module Builder - - # Create XML markup easily. All (well, almost all) methods sent to - # an XmlMarkup object will be translated to the equivalent XML - # markup. Any method with a block will be treated as an XML markup - # tag with nested markup in the block. - # - # Examples will demonstrate this easier than words. In the - # following, +xm+ is an +XmlMarkup+ object. - # - # xm.em("emphasized") # => emphasized - # xm.em { xm.b("emp & bold") } # => emph & bold - # xm.a("A Link", "href"=>"http://onestepback.org") - # # => A Link - # xm.div { xm.br } # =>

- # xm.target("name"=>"compile", "option"=>"fast") - # # => - # # NOTE: order of attributes is not specified. - # - # xm.instruct! # - # xm.html { # - # xm.head { # - # xm.title("History") # History - # } # - # xm.body { # - # xm.comment! "HI" # - # xm.h1("Header") #

Header

- # xm.p("paragraph") #

paragraph

- # } # - # } # - # - # == Notes: - # - # * The order that attributes are inserted in markup tags is - # undefined. - # - # * Sometimes you wish to insert text without enclosing tags. Use - # the text! method to accomplish this. - # - # Example: - # - # xm.div { #
- # xm.text! "line"; xm.br # line
- # xm.text! "another line"; xmbr # another line
- # } #
- # - # * The special XML characters <, >, and & are converted to <, - # > and & automatically. Use the << operation to - # insert text without modification. - # - # * Sometimes tags use special characters not allowed in ruby - # identifiers. Use the tag! method to handle these - # cases. - # - # Example: - # - # xml.tag!("SOAP:Envelope") { ... } - # - # will produce ... - # - # ... " - # - # tag! will also take text and attribute arguments (after - # the tag name) like normal markup methods. (But see the next - # bullet item for a better way to handle XML namespaces). - # - # * Direct support for XML namespaces is now available. If the - # first argument to a tag call is a symbol, it will be joined to - # the tag to produce a namespace:tag combination. It is easier to - # show this than describe it. - # - # xml.SOAP :Envelope do ... end - # - # Just put a space before the colon in a namespace to produce the - # right form for builder (e.g. "SOAP:Envelope" => - # "xml.SOAP :Envelope") - # - # * XmlMarkup builds the markup in any object (called a _target_) - # that accepts the << method. If no target is given, - # then XmlMarkup defaults to a string target. - # - # Examples: - # - # xm = Builder::XmlMarkup.new - # result = xm.title("yada") - # # result is a string containing the markup. - # - # buffer = "" - # xm = Builder::XmlMarkup.new(buffer) - # # The markup is appended to buffer (using <<) - # - # xm = Builder::XmlMarkup.new(STDOUT) - # # The markup is written to STDOUT (using <<) - # - # xm = Builder::XmlMarkup.new - # x2 = Builder::XmlMarkup.new(:target=>xm) - # # Markup written to +x2+ will be send to +xm+. - # - # * Indentation is enabled by providing the number of spaces to - # indent for each level as a second argument to XmlBuilder.new. - # Initial indentation may be specified using a third parameter. - # - # Example: - # - # xm = Builder.new(:indent=>2) - # # xm will produce nicely formatted and indented XML. - # - # xm = Builder.new(:indent=>2, :margin=>4) - # # xm will produce nicely formatted and indented XML with 2 - # # spaces per indent and an over all indentation level of 4. - # - # builder = Builder::XmlMarkup.new(:target=>$stdout, :indent=>2) - # builder.name { |b| b.first("Jim"); b.last("Weirich) } - # # prints: - # # - # # Jim - # # Weirich - # # - # - # * The instance_eval implementation which forces self to refer to - # the message receiver as self is now obsolete. We now use normal - # block calls to execute the markup block. This means that all - # markup methods must now be explicitly send to the xml builder. - # For instance, instead of - # - # xml.div { strong("text") } - # - # you need to write: - # - # xml.div { xml.strong("text") } - # - # Although more verbose, the subtle change in semantics within the - # block was found to be prone to error. To make this change a - # little less cumbersome, the markup block now gets the markup - # object sent as an argument, allowing you to use a shorter alias - # within the block. - # - # For example: - # - # xml_builder = Builder::XmlMarkup.new - # xml_builder.div { |xml| - # xml.stong("text") - # } - # - class XmlMarkup < XmlBase - - # Create an XML markup builder. Parameters are specified by an - # option hash. - # - # :target => target_object:: - # Object receiving the markup. +target_object+ must respond to - # the <<(a_string) operator and return - # itself. The default target is a plain string target. - # - # :indent => indentation:: - # Number of spaces used for indentation. The default is no - # indentation and no line breaks. - # - # :margin => initial_indentation_level:: - # Amount of initial indentation (specified in levels, not - # spaces). - # - # :quote => :single:: - # Use single quotes for attributes rather than double quotes. - # - # :escape_attrs => OBSOLETE:: - # The :escape_attrs option is no longer supported by builder - # (and will be quietly ignored). String attribute values are - # now automatically escaped. If you need unescaped attribute - # values (perhaps you are using entities in the attribute - # values), then give the value as a Symbol. This allows much - # finer control over escaping attribute values. - # - def initialize(options={}) - indent = options[:indent] || 0 - margin = options[:margin] || 0 - @quote = (options[:quote] == :single) ? "'" : '"' - @explicit_nil_handling = options[:explicit_nil_handling] - super(indent, margin) - @target = options[:target] || "" - end - - # Return the target of the builder. - def target! - @target - end - - def comment!(comment_text) - _ensure_no_block ::Kernel::block_given? - _special("", comment_text, nil) - end - - # Insert an XML declaration into the XML markup. - # - # For example: - # - # xml.declare! :ELEMENT, :blah, "yada" - # # => - def declare!(inst, *args, &block) - _indent - @target << "" - _newline - end - - # Insert a processing instruction into the XML markup. E.g. - # - # For example: - # - # xml.instruct! - # #=> - # xml.instruct! :aaa, :bbb=>"ccc" - # #=> - # - # Note: If the encoding is setup to "UTF-8" and the value of - # $KCODE is "UTF8", then builder will emit UTF-8 encoded strings - # rather than the entity encoding normally used. - def instruct!(directive_tag=:xml, attrs={}) - _ensure_no_block ::Kernel::block_given? - if directive_tag == :xml - a = { :version=>"1.0", :encoding=>"UTF-8" } - attrs = a.merge attrs - @encoding = attrs[:encoding].downcase - end - _special( - "", - nil, - attrs, - [:version, :encoding, :standalone]) - end - - # Insert a CDATA section into the XML markup. - # - # For example: - # - # xml.cdata!("text to be included in cdata") - # #=> - # - def cdata!(text) - _ensure_no_block ::Kernel::block_given? - _special("", text.gsub(']]>', ']]]]>'), nil) - end - - private - - # NOTE: All private methods of a builder object are prefixed when - # a "_" character to avoid possible conflict with XML tag names. - - # Insert text directly in to the builder's target. - def _text(text) - @target << text - end - - # Insert special instruction. - def _special(open, close, data=nil, attrs=nil, order=[]) - _indent - @target << open - @target << data if data - _insert_attributes(attrs, order) if attrs - @target << close - _newline - end - - # Start an XML tag. If end_too is true, then the start - # tag is also the end tag (e.g.
- def _start_tag(sym, attrs, end_too=false) - @target << "<#{sym}" - _insert_attributes(attrs) - @target << "/" if end_too - @target << ">" - end - - # Insert an ending tag. - def _end_tag(sym) - @target << "" - end - - # Insert the attributes (given in the hash). - def _insert_attributes(attrs, order=[]) - return if attrs.nil? - order.each do |k| - v = attrs[k] - @target << %{ #{k}=#{@quote}#{_attr_value(v)}#{@quote}} if v - end - attrs.each do |k, v| - @target << %{ #{k}=#{@quote}#{_attr_value(v)}#{@quote}} unless order.member?(k) # " WART - end - end - - def _attr_value(value) - case value - when ::Symbol - value.to_s - else - _escape_attribute(value.to_s) - end - end - - def _ensure_no_block(got_block) - if got_block - ::Kernel::raise IllegalBlockError.new( - "Blocks are not allowed on XML instructions" - ) - end - end - - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake deleted file mode 100644 index 9849e0d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake +++ /dev/null @@ -1,17 +0,0 @@ -# Optional publish task for Rake - -require 'rake/contrib/sshpublisher' -require 'rake/contrib/rubyforgepublisher' - -publisher = Rake::CompositePublisher.new -publisher.add Rake::RubyForgePublisher.new('builder', 'jimweirich') -publisher.add Rake::SshFilePublisher.new( - 'linode', - 'htdocs/software/builder', - '.', - 'builder.blurb') - -desc "Publish the Documentation to RubyForge." -task :publish => [:rdoc] do - publisher.upload -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake deleted file mode 100644 index 93b47df..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env ruby - -module Tags - extend Rake::DSL if defined?(Rake::DSL) - - PROG = ENV['TAGS'] || 'ctags' - - RAKEFILES = FileList['Rakefile', '**/*.rake'] - - FILES = FileList['**/*.rb', '**/*.js'] + RAKEFILES - FILES.exclude('pkg', 'dist') - - PROJECT_DIR = ['.'] - - RVM_GEMDIR = File.join(`rvm gemdir`.strip, "gems") - SYSTEM_DIRS = File.exists?(RVM_GEMDIR) ? RVM_GEMDIR : [] - - module_function - - # Convert key_word to --key-word. - def keyword(key) - k = key.to_s.gsub(/_/, '-') - (k.length == 1) ? "-#{k}" : "--#{k}" - end - - # Run ctags command - def run(*args) - opts = { - :e => true, - :totals => true, - :recurse => true, - } - opts = opts.merge(args.pop) if args.last.is_a?(Hash) - command_args = opts.map { |k, v| - (v == true) ? keyword(k) : "#{keyword(k)}=#{v}" - }.join(" ") - sh %{#{Tags::PROG} #{command_args} #{args.join(' ')}} - end -end - -namespace "tags" do - desc "Generate an Emacs TAGS file" - task :emacs, [:all] => Tags::FILES do |t, args| - puts "Making Emacs TAGS file" - verbose(true) do - Tags.run(Tags::PROJECT_DIR) - Tags.run(Tags::RAKEFILES, - :language_force => "ruby", - :append => true) - if args.all - Tags::SYSTEM_DIRS.each do |dir| - Tags.run(dir, - :language_force => "ruby", - :append => true) - end - end - end - end -end - -desc "Generate the TAGS file" -task :tags, [:all] => ["tags:emacs"] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb deleted file mode 100644 index e764205..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env ruby -# encoding: iso-8859-1 - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' -require 'benchmark' - -text = "This is a test of the new xml markup. I�t�rn�ti�n�liz�ti�n\n" * 10000 - -include Benchmark # we need the CAPTION and FMTSTR constants -include Builder -n = 50 -Benchmark.benchmark do |bm| - tf = bm.report("base") { - n.times do - x = XmlMarkup.new - x.text(text) - x.target! - end - } - def XmlMarkup._escape(text) - text.to_xs - end - tf = bm.report("to_xs") { - n.times do - x = XmlMarkup.new - x.text(text) - x.target! - end - } -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb deleted file mode 100644 index 395e043..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -# We are defining method_added in Kernel and Object so that when -# BlankSlate overrides them later, we can verify that it correctly -# calls the older hooks. - -module Kernel - class << self - attr_reader :k_added_names - alias_method :preload_method_added, :method_added - def method_added(name) - preload_method_added(name) - @k_added_names ||= [] - @k_added_names << name - end - end -end - -class Object - class << self - attr_reader :o_added_names - alias_method :preload_method_added, :method_added - def method_added(name) - preload_method_added(name) - @o_added_names ||= [] - @o_added_names << name - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb deleted file mode 100644 index ea38ced..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb +++ /dev/null @@ -1,217 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'blankslate' -require 'stringio' - -# Methods to be introduced into the Object class late. -module LateObject - def late_object - 33 - end - def LateObject.included(mod) - # Modules defining an included method should not prevent blank - # slate erasure! - end -end - -# Methods to be introduced into the Kernel module late. -module LateKernel - def late_kernel - 44 - end - def LateKernel.included(mod) - # Modules defining an included method should not prevent blank - # slate erasure! - end -end - -# Introduce some late methods (both module and direct) into the Kernel -# module. -module Kernel - include LateKernel - - def late_addition - 1234 - end - - def double_late_addition - 11 - end - - def double_late_addition - 22 - end -end - - -# Introduce some late methods (both module and direct) into the Object -# class. -class Object - include LateObject - def another_late_addition - 4321 - end -end - -# Introduce some late methods by inclusion. -module GlobalModule - def global_inclusion - 42 - end -end -include GlobalModule - -def direct_global - 43 -end - -###################################################################### -# Test case for blank slate. -# -class TestBlankSlate < Test::Unit::TestCase - def setup - @bs = BlankSlate.new - end - - def test_undefined_methods_remain_undefined - assert_raise(NoMethodError) { @bs.no_such_method } - assert_raise(NoMethodError) { @bs.nil? } - end - - - # NOTE: NameError is acceptable because the lack of a '.' means that - # Ruby can't tell if it is a method or a local variable. - def test_undefined_methods_remain_undefined_during_instance_eval - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do nil? end - end - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do no_such_method end - end - end - - def test_private_methods_are_undefined - assert_raise(NoMethodError) do - @bs.puts "HI" - end - end - - def test_targetted_private_methods_are_undefined_during_instance_eval - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do self.puts "HI" end - end - end - - def test_untargetted_private_methods_are_defined_during_instance_eval - oldstdout = $stdout - $stdout = StringIO.new - @bs.instance_eval do - puts "HI" - end - ensure - $stdout = oldstdout - end - - def test_methods_added_late_to_kernel_remain_undefined - assert_equal 1234, nil.late_addition - assert_raise(NoMethodError) { @bs.late_addition } - end - - def test_methods_added_late_to_object_remain_undefined - assert_equal 4321, nil.another_late_addition - assert_raise(NoMethodError) { @bs.another_late_addition } - end - - def test_methods_added_late_to_global_remain_undefined - assert_equal 42, global_inclusion - assert_raise(NoMethodError) { @bs.global_inclusion } - end - - def test_preload_method_added - assert Kernel.k_added_names.include?(:late_addition) - assert Object.o_added_names.include?(:another_late_addition) - end - - def test_method_defined_late_multiple_times_remain_undefined - assert_equal 22, nil.double_late_addition - assert_raise(NoMethodError) { @bs.double_late_addition } - end - - def test_late_included_module_in_object_is_ok - assert_equal 33, 1.late_object - assert_raise(NoMethodError) { @bs.late_object } - end - - def test_late_included_module_in_kernel_is_ok - assert_raise(NoMethodError) { @bs.late_kernel } - end - - def test_revealing_previously_hidden_methods_are_callable - with_to_s = Class.new(BlankSlate) do - reveal :to_s - end - assert_match(/^#<.*>$/, with_to_s.new.to_s) - end - - def test_revealing_previously_hidden_methods_are_callable_with_block - Object.class_eval <<-EOS - def given_block(&block) - block - end - EOS - - with_given_block = Class.new(BlankSlate) do - reveal :given_block - end - assert_not_nil with_given_block.new.given_block {} - end - - def test_revealing_a_hidden_method_twice_is_ok - with_to_s = Class.new(BlankSlate) do - reveal :to_s - reveal :to_s - end - assert_match(/^#<.*>$/, with_to_s.new.to_s) - end - - def test_revealing_unknown_hidden_method_is_an_error - assert_raises(RuntimeError) do - Class.new(BlankSlate) do - reveal :xyz - end - end - end - - def test_global_includes_still_work - assert_nothing_raised do - assert_equal 42, global_inclusion - assert_equal 42, Object.new.global_inclusion - assert_equal 42, "magic number".global_inclusion - assert_equal 43, direct_global - end - end - - def test_reveal_should_not_bind_to_an_instance - with_object_id = Class.new(BlankSlate) do - reveal(:object_id) - end - - obj1 = with_object_id.new - obj2 = with_object_id.new - - assert obj1.object_id != obj2.object_id, - "Revealed methods should not be bound to a particular instance" - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb deleted file mode 100644 index f434470..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb +++ /dev/null @@ -1,150 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' -require 'builder/xmlevents' - -class TestEvents < Test::Unit::TestCase - - class Target - attr_reader :events - - def initialize - @events = [] - end - - def start_tag(tag, attrs) - @events << [:start_tag, tag, attrs] - end - - def end_tag(tag) - @events << [:end_tag, tag] - end - - def text(string) - @events << [:text, string] - end - - end - - - def setup - @target = Target.new - @xml = Builder::XmlEvents.new(:target=>@target) - end - - def test_simple - @xml.one - expect [:start_tag, :one, nil] - expect [:end_tag, :one] - expect_done - end - - def test_nested - @xml.one { @xml.two } - expect [:start_tag, :one, nil] - expect [:start_tag, :two, nil] - expect [:end_tag, :two] - expect [:end_tag, :one] - expect_done - end - - def test_text - @xml.one("a") - expect [:start_tag, :one, nil] - expect [:text, "a"] - expect [:end_tag, :one] - expect_done - end - - def test_special_text - @xml.one("H&R") - expect [:start_tag, :one, nil] - expect [:text, "H&R"] - expect [:end_tag, :one] - expect_done - end - - def test_text_with_entity - @xml.one("H&R") - expect [:start_tag, :one, nil] - expect [:text, "H&R"] - expect [:end_tag, :one] - expect_done - end - - def test_attributes - @xml.a(:b=>"c", :x=>"y") - expect [:start_tag, :a, {:x => "y", :b => "c"}] - expect [:end_tag, :a] - expect_done - end - - def test_moderately_complex - @xml.tag! "address-book" do |x| - x.entry :id=>"1" do - x.name { - x.first "Bill" - x.last "Smith" - } - x.address "Cincinnati" - end - x.entry :id=>"2" do - x.name { - x.first "John" - x.last "Doe" - } - x.address "Columbus" - end - end - expect [:start_tag, "address-book".intern, nil] - expect [:start_tag, :entry, {:id => "1"}] - expect [:start_tag, :name, nil] - expect [:start_tag, :first, nil] - expect [:text, "Bill"] - expect [:end_tag, :first] - expect [:start_tag, :last, nil] - expect [:text, "Smith"] - expect [:end_tag, :last] - expect [:end_tag, :name] - expect [:start_tag, :address, nil] - expect [:text, "Cincinnati"] - expect [:end_tag, :address] - expect [:end_tag, :entry] - expect [:start_tag, :entry, {:id => "2"}] - expect [:start_tag, :name, nil] - expect [:start_tag, :first, nil] - expect [:text, "John"] - expect [:end_tag, :first] - expect [:start_tag, :last, nil] - expect [:text, "Doe"] - expect [:end_tag, :last] - expect [:end_tag, :name] - expect [:start_tag, :address, nil] - expect [:text, "Columbus"] - expect [:end_tag, :address] - expect [:end_tag, :entry] - expect [:end_tag, "address-book".intern] - expect_done - end - - def expect(value) - assert_equal value, @target.events.shift - end - - def expect_done - assert_nil @target.events.shift - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb deleted file mode 100644 index 562b12a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb +++ /dev/null @@ -1,611 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' -require 'builder/xmlmarkup' - -class TestMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new - end - - def test_create - assert_not_nil @xml - end - - def test_simple - @xml.simple - assert_equal "", @xml.target! - end - - def test_value - @xml.value("hi") - assert_equal "hi", @xml.target! - end - - def test_empty_value - @xml.value("") - assert_equal "", @xml.target! - end - - def test_nil_value - @xml.value(nil) - assert_equal "", @xml.target! - end - - def test_no_value - @xml.value() - assert_equal "", @xml.target! - end - - def test_nested - @xml.outer { |x| x.inner("x") } - assert_equal "x", @xml.target! - end - - def test_attributes - @xml.ref(:id => 12) - assert_equal %{}, @xml.target! - end - - def test_single_quotes_for_attrs - @xml = Builder::XmlMarkup.new(:quote => :single) - @xml.ref(:id => 12) - assert_equal %{}, @xml.target! - end - - def test_mixed_quotes_for_attrs - @xml = Builder::XmlMarkup.new(:quote => :single) - x = Builder::XmlMarkup.new(:target=>@xml, :quote => :double) - @xml.ref(:id => 12) do - x.link(:id => 13) - end - assert_equal %{}, @xml.target! - end - - def test_string_attributes_are_escaped_by_default - @xml.ref(:id => "H&R") - assert_equal %{}, @xml.target! - end - - def test_symbol_attributes_are_unescaped_by_default - @xml.ref(:id => :"H&R") - assert_equal %{}, @xml.target! - end - - def test_attributes_escaping_can_be_turned_on - @xml = Builder::XmlMarkup.new - @xml.ref(:id => "") - assert_equal %{}, @xml.target! - end - - def test_mixed_attribute_escaping_with_nested_builders - x = Builder::XmlMarkup.new(:target=>@xml) - @xml.ref(:id=>:"H&R") { - x.element(:tag=>"Long&Short") - } - assert_equal "", - @xml.target! - end - - def test_multiple_attributes - @xml.ref(:id => 12, :name => "bill") - assert_match %r{^$}, @xml.target! - end - - def test_attributes_with_text - @xml.a("link", :href=>"http://onestepback.org") - assert_equal %{link}, @xml.target! - end - - def test_attributes_with_newlines - @xml.abbr("W3C", :title=>"World\nWide\rWeb\r\nConsortium") - assert_equal %{W3C}, - @xml.target! - end - - def test_complex - @xml.body(:bg=>"#ffffff") { |x| - x.title("T", :style=>"red") - } - assert_equal %{T}, @xml.target! - end - - def test_funky_symbol - @xml.tag!("non-ruby-token", :id=>1) { |x| x.ok } - assert_equal %{}, @xml.target! - end - - def test_tag_can_handle_private_method - @xml.tag!("loop", :id=>1) { |x| x.ok } - assert_equal %{}, @xml.target! - end - - def test_no_explicit_marker - @xml.p { |x| x.b("HI") } - assert_equal "

HI

", @xml.target! - end - - def test_reference_local_vars - n = 3 - @xml.ol { |x| n.times { x.li(n) } } - assert_equal "
  1. 3
  2. 3
  3. 3
", @xml.target! - end - - def test_reference_methods - @xml.title { |x| x.a { x.b(name) } } - assert_equal "<a><b>bob</b></a>", @xml.target! - end - - def test_append_text - @xml.p { |x| x.br; x.text! "HI" } - assert_equal "


HI

", @xml.target! - end - - def test_ambiguous_markup - ex = assert_raise(ArgumentError) { - @xml.h1("data1") { b } - } - assert_match(/\btext\b/, ex.message) - assert_match(/\bblock\b/, ex.message) - end - - def test_capitalized_method - @xml.P { |x| x.B("hi"); x.BR(); x.EM { x.text! "world" } } - assert_equal "

hi
world

", @xml.target! - end - - def test_escaping - @xml.div { |x| x.text! ""; x.em("H&R Block") } - assert_equal %{
<hi>H&R Block
}, @xml.target! - end - - def test_nil - b = Builder::XmlMarkup.new - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_nil_without_explicit_nil_handling - b = Builder::XmlMarkup.new(:explicit_nil_handling => false) - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_nil_with_explicit_nil_handling - b = Builder::XmlMarkup.new(:explicit_nil_handling => true) - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_non_escaping - @xml.div("ns:xml"=>:"&xml;") { |x| x << ""; x.em("H&R Block") } - assert_equal %{
H&R Block
}, @xml.target! - end - - def test_return_value - str = @xml.x("men") - assert_equal @xml.target!, str - end - - def test_stacked_builders - b = Builder::XmlMarkup.new( :target => @xml ) - b.div { @xml.span { @xml.a("text", :href=>"ref") } } - assert_equal "", @xml.target! - end - - def name - "bob" - end -end - -class TestAttributeEscaping < Test::Unit::TestCase - - def setup - @xml = Builder::XmlMarkup.new - end - - def test_element_gt - @xml.title('1<2') - assert_equal '1<2', @xml.target! - end - - def test_element_amp - @xml.title('AT&T') - assert_equal 'AT&T', @xml.target! - end - - def test_element_amp2 - @xml.title('&') - assert_equal '&amp;', @xml.target! - end - - def test_attr_less - @xml.a(:title => '2>1') - assert_equal '', @xml.target! - end - - def test_attr_amp - @xml.a(:title => 'AT&T') - assert_equal '', @xml.target! - end - - def test_attr_quot - @xml.a(:title => '"x"') - assert_equal '', @xml.target! - end - -end - -class TestNameSpaces < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_simple_name_spaces - @xml.rdf :RDF - assert_equal "\n", @xml.target! - end - - def test_long - xml = Builder::XmlMarkup.new(:indent=>2) - xml.instruct! - xml.rdf :RDF, - "xmlns:rdf" => :"&rdf;", - "xmlns:rdfs" => :"&rdfs;", - "xmlns:xsd" => :"&xsd;", - "xmlns:owl" => :"&owl;" do - xml.owl :Class, :'rdf:ID'=>'Bird' do - xml.rdfs :label, 'bird' - xml.rdfs :subClassOf do - xml.owl :Restriction do - xml.owl :onProperty, 'rdf:resource'=>'#wingspan' - xml.owl :maxCardinality,1,'rdf:datatype'=>'&xsd;nonNegativeInteger' - end - end - end - end - assert_match(/^<\?xml/, xml.target!) - assert_match(/\n/m, xml.target!) - end - - def test_ensure - xml = Builder::XmlMarkup.new - xml.html do - xml.body do - begin - xml.p do - raise Exception.new('boom') - end - rescue Exception => e - xml.pre e - end - end - end - assert_match %r{

}, xml.target! - assert_match %r{

}, xml.target! - end -end - -class TestDeclarations < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_declare - @xml.declare! :element - assert_equal "\n", @xml.target! - end - - def test_bare_arg - @xml.declare! :element, :arg - assert_equal"\n", @xml.target! - end - - def test_string_arg - @xml.declare! :element, "string" - assert_equal"\n", @xml.target! - end - - def test_mixed_args - @xml.declare! :element, :x, "y", :z, "-//OASIS//DTD DocBook XML//EN" - assert_equal "\n", @xml.target! - end - - def test_nested_declarations - @xml = Builder::XmlMarkup.new - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - end - assert_equal "]>", @xml.target! - end - - def test_nested_indented_declarations - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - end - assert_equal "\n]>\n", @xml.target! - end - - def test_complex_declaration - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - x.declare! :ELEMENT, :title, "(#PCDATA)".intern - x.declare! :ELEMENT, :para, "(#PCDATA)".intern - end - expected = %{ - - -]> -} - assert_equal expected, @xml.target! - end -end - - -class TestSpecialMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_comment - @xml.comment!("COMMENT") - assert_equal "\n", @xml.target! - end - - def test_indented_comment - @xml.p { @xml.comment! "OK" } - assert_equal "

\n \n

\n", @xml.target! - end - - def test_instruct - @xml.instruct! :abc, :version=>"0.9" - assert_equal "\n", @xml.target! - end - - def test_indented_instruct - @xml.p { @xml.instruct! :xml } - assert_match %r{

\n <\?xml version="1.0" encoding="UTF-8"\?>\n

\n}, - @xml.target! - end - - def test_instruct_without_attributes - @xml.instruct! :zz - assert_equal "\n", @xml.target! - end - - def test_xml_instruct - @xml.instruct! - assert_match(/^<\?xml version="1.0" encoding="UTF-8"\?>$/, @xml.target!) - end - - def test_xml_instruct_with_overrides - @xml.instruct! :xml, :encoding=>"UCS-2" - assert_match(/^<\?xml version="1.0" encoding="UCS-2"\?>$/, @xml.target!) - end - - def test_xml_instruct_with_standalong - @xml.instruct! :xml, :encoding=>"UCS-2", :standalone=>"yes" - assert_match(/^<\?xml version="1.0" encoding="UCS-2" standalone="yes"\?>$/, @xml.target!) - end - - def test_no_blocks - assert_raise(Builder::IllegalBlockError) do - @xml.instruct! { |x| x.hi } - end - assert_raise(Builder::IllegalBlockError) do - @xml.comment!(:element) { |x| x.hi } - end - end - - def test_cdata - @xml.cdata!("TEST") - assert_equal "\n", @xml.target! - end - - def test_cdata_with_ampersand - @xml.cdata!("TEST&CHECK") - assert_equal "\n", @xml.target! - end - - def test_cdata_with_included_close - @xml.cdata!("TEST]]>CHECK") - assert_equal "CHECK]]>\n", @xml.target! - end -end - -class TestIndentedXmlMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_one_level - @xml.ol { |x| x.li "text" } - assert_equal "
    \n
  1. text
  2. \n
\n", @xml.target! - end - - def test_two_levels - @xml.p { |x| - x.ol { x.li "text" } - x.br - } - assert_equal "

\n

    \n
  1. text
  2. \n
\n
\n

\n", @xml.target! - end - - def test_initial_level - @xml = Builder::XmlMarkup.new(:indent=>2, :margin=>4) - @xml.name { |x| x.first("Jim") } - assert_equal " \n Jim\n \n", @xml.target! - end - - class TestUtfMarkup < Test::Unit::TestCase - if ! String.method_defined?(:encode) - def setup - @old_kcode = $KCODE - end - - def teardown - $KCODE = @old_kcode - end - - def test_use_entities_if_no_encoding_is_given_and_kcode_is_none - $KCODE = 'NONE' - xml = Builder::XmlMarkup.new - xml.p("\xE2\x80\x99") - assert_match(%r(

), xml.target!) # - end - - def test_use_entities_if_encoding_is_utf_but_kcode_is_not - $KCODE = 'NONE' - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p("\xE2\x80\x99") - assert_match(%r(

), xml.target!) # - end - else - # change in behavior. As there is no $KCODE anymore, the default - # moves from "does not understand utf-8" to "supports utf-8". - - def test_use_entities_if_no_encoding_is_given_and_kcode_is_none - xml = Builder::XmlMarkup.new - xml.p("\xE2\x80\x99") - assert_match("

\u2019

", xml.target!) # - end - - def test_use_entities_if_encoding_is_utf_but_kcode_is_not - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p("\xE2\x80\x99") - assert_match("

\u2019

", xml.target!) # - end - end - - def encode string, encoding - if !String.method_defined?(:encode) - $KCODE = encoding - string - elsif encoding == 'UTF8' - string.force_encoding('UTF-8') - else - string - end - end - - def test_use_entities_if_kcode_is_utf_but_encoding_is_dummy_encoding - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-16') - xml.p(encode("\xE2\x80\x99", 'UTF8')) - assert_match(%r(

), xml.target!) # - end - - def test_use_entities_if_kcode_is_utf_but_encoding_is_unsupported_encoding - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UCS-2') - xml.p(encode("\xE2\x80\x99", 'UTF8')) - assert_match(%r(

), xml.target!) # - end - - def test_use_utf8_if_encoding_defaults_and_kcode_is_utf8 - xml = Builder::XmlMarkup.new - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_equal encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - - def test_use_utf8_if_both_encoding_and_kcode_are_utf8 - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_match encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - - def test_use_utf8_if_both_encoding_and_kcode_are_utf8_with_lowercase - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'utf-8') - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_match encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - end - - class TestXmlEvents < Test::Unit::TestCase - def setup - @handler = EventHandler.new - @xe = Builder::XmlEvents.new(:target=>@handler) - end - - def test_simple - @xe.p - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal [:end, :p], @handler.events.shift - end - - def test_text - @xe.p("HI") - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal [:text, "HI"], @handler.events.shift - assert_equal [:end, :p], @handler.events.shift - end - - def test_attributes - @xe.p("id"=>"2") - ev = @handler.events.shift - assert_equal [:start, :p], ev[0,2] - assert_equal "2", ev[2]['id'] - assert_equal [:end, :p], @handler.events.shift - end - - def test_indented - @xml = Builder::XmlEvents.new(:indent=>2, :target=>@handler) - @xml.p { |x| x.b("HI") } - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal "\n ", pop_text - assert_equal [:start, :b, nil], @handler.events.shift - assert_equal "HI", pop_text - assert_equal [:end, :b], @handler.events.shift - assert_equal "\n", pop_text - assert_equal [:end, :p], @handler.events.shift - end - - def pop_text - result = '' - while ! @handler.events.empty? && @handler.events[0][0] == :text - result << @handler.events[0][1] - @handler.events.shift - end - result - end - - class EventHandler - attr_reader :events - def initialize - @events = [] - end - - def start_tag(sym, attrs) - @events << [:start, sym, attrs] - end - - def end_tag(sym) - @events << [:end, sym] - end - - def text(txt) - @events << [:text, txt] - end - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb deleted file mode 100644 index 91f7aca..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2011 by Bart ten Brinke (info@retrosync.com). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' - -class TestMethodCaching < Test::Unit::TestCase - - # We can directly ask if xml object responds to the cache_me or - # do_not_cache_me methods because xml is derived from BasicObject - # (and repond_to? is not defined in BasicObject). - # - # Instead we are going to stub out method_missing so that it throws - # an error, and then make sure that error is either thrown or not - # thrown as appropriate. - - def teardown - super - Builder::XmlBase.cache_method_calls = true - end - - def test_caching_does_not_break_weird_symbols - xml = Builder::XmlMarkup.new - xml.__send__("work-order", 1) - assert_equal "1", xml.target! - end - - def test_method_call_caching - xml = Builder::XmlMarkup.new - xml.cache_me - - def xml.method_missing(*args) - ::Kernel.fail StandardError, "SHOULD NOT BE CALLED" - end - assert_nothing_raised do - xml.cache_me - end - end - - def test_method_call_caching_disabled - Builder::XmlBase.cache_method_calls = false - xml = Builder::XmlMarkup.new - xml.do_not_cache_me - - def xml.method_missing(*args) - ::Kernel.fail StandardError, "SHOULD BE CALLED" - end - assert_raise(StandardError, "SHOULD BE CALLED") do - xml.do_not_cache_me - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb deleted file mode 100644 index 5b16b30..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'builder/xchar' - -class TestNameCollisions < Test::Unit::TestCase - module Collide - def xchr - end - end - - def test_no_collision - assert_nothing_raised do - Builder.check_for_name_collision(Collide, :not_defined) - end - end - - def test_collision - assert_raise RuntimeError do - Builder.check_for_name_collision(Collide, "xchr") - end - end - - def test_collision_with_symbol - assert_raise RuntimeError do - Builder.check_for_name_collision(Collide, :xchr) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb deleted file mode 100644 index 6a00716..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env ruby -# encoding: us-ascii - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -#!/usr/bin/env ruby - -require 'test/unit' -require 'builder/xchar' - -if String.method_defined?(:encode) - class String - ENCODING_BINARY = Encoding.find('BINARY') - - # shim method for testing purposes - def to_xs(escape=true) - raise NameError.new('to_xs') unless caller[0].index(__FILE__) - - result = Builder::XChar.encode(self) - if escape - result.gsub(/[^\u0000-\u007F]/) {|c| "&##{c.ord};"} - else - # really only useful for testing purposes - result.force_encoding(ENCODING_BINARY) - end - end - end -end - -class TestXmlEscaping < Test::Unit::TestCase - REPLACEMENT_CHAR = Builder::XChar::REPLACEMENT_CHAR.to_xs - - def test_ascii - assert_equal 'abc', 'abc'.to_xs - end - - def test_predefined - assert_equal '&', '&'.to_xs # ampersand - assert_equal '<', '<'.to_xs # left angle bracket - assert_equal '>', '>'.to_xs # right angle bracket - end - - def test_invalid - assert_equal REPLACEMENT_CHAR, "\x00".to_xs # null - assert_equal REPLACEMENT_CHAR, "\x0C".to_xs # form feed - assert_equal REPLACEMENT_CHAR, "\xEF\xBF\xBF".to_xs # U+FFFF - end - - def test_iso_8859_1 - assert_equal 'ç', "\xE7".to_xs # small c cedilla - assert_equal '©', "\xA9".to_xs # copyright symbol - end - - def test_win_1252 - assert_equal '’', "\x92".to_xs # smart quote - assert_equal '€', "\x80".to_xs # euro - end - - def test_utf8 - assert_equal '’', "\xE2\x80\x99".to_xs # right single quote - assert_equal '©', "\xC2\xA9".to_xs # copy - end - - def test_utf8_verbatim - assert_equal "\xE2\x80\x99", "\xE2\x80\x99".to_xs(false) # right single quote - assert_equal "\xC2\xA9", "\xC2\xA9".to_xs(false) # copy - assert_equal "\xC2\xA9&\xC2\xA9", - "\xC2\xA9&\xC2\xA9".to_xs(false) # copy with ampersand - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/specifications/alphred-1.1.0.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/specifications/alphred-1.1.0.gemspec deleted file mode 100644 index 6add217..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/specifications/alphred-1.1.0.gemspec +++ /dev/null @@ -1,37 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "alphred" - s.version = "1.1.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Alpha Chen"] - s.date = "2015-11-01" - s.email = ["alpha.chen@gmail.com"] - s.homepage = "https://github.com/kejadlen/alph" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "Helper utilities for making Alfred workflows." - - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, ["~> 3.2"]) - s.add_development_dependency(%q, ["~> 1.10"]) - s.add_development_dependency(%q, ["~> 10.0"]) - s.add_development_dependency(%q, [">= 0"]) - else - s.add_dependency(%q, ["~> 3.2"]) - s.add_dependency(%q, ["~> 1.10"]) - s.add_dependency(%q, ["~> 10.0"]) - s.add_dependency(%q, [">= 0"]) - end - else - s.add_dependency(%q, ["~> 3.2"]) - s.add_dependency(%q, ["~> 1.10"]) - s.add_dependency(%q, ["~> 10.0"]) - s.add_dependency(%q, [">= 0"]) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec deleted file mode 100644 index 5a2853d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.A3870418-93FC-4377-BAF8-EE932B5CF901/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec +++ /dev/null @@ -1,20 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "builder" - s.version = "3.2.2" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Jim Weirich"] - s.date = "2013-06-01" - s.description = "Builder provides a number of builder objects that make creating structured data\nsimple to do. Currently the following builder objects are supported:\n\n* XML Markup\n* XML Events\n" - s.email = "jim.weirich@gmail.com" - s.extra_rdoc_files = ["CHANGES", "MIT-LICENSE", "README.md", "Rakefile", "doc/releases/builder-1.2.4.rdoc", "doc/releases/builder-2.0.0.rdoc", "doc/releases/builder-2.1.1.rdoc"] - s.files = ["CHANGES", "MIT-LICENSE", "README.md", "Rakefile", "doc/releases/builder-1.2.4.rdoc", "doc/releases/builder-2.0.0.rdoc", "doc/releases/builder-2.1.1.rdoc"] - s.homepage = "http://onestepback.org" - s.licenses = ["MIT"] - s.rdoc_options = ["--title", "Builder -- Easy XML Building", "--main", "README.rdoc", "--line-numbers"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "Builders for MarkUp." -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/CHANGELOG.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/CHANGELOG.md deleted file mode 100644 index a3f80b0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/CHANGELOG.md +++ /dev/null @@ -1,3 +0,0 @@ -## Unreleased -### Added -- Initial release: search Giphy for GIFs diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Gemfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Gemfile deleted file mode 100644 index 922932b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Gemfile +++ /dev/null @@ -1,4 +0,0 @@ -source "https://rubygems.org" - -gem "alphred", "~> 1.1" -gem "faraday", "~> 0.9" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Gemfile.lock b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Gemfile.lock deleted file mode 100644 index 0f8903a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Gemfile.lock +++ /dev/null @@ -1,19 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - alphred (1.1.1) - builder (~> 3.2) - builder (3.2.2) - faraday (0.9.2) - multipart-post (>= 1.2, < 3) - multipart-post (2.0.0) - -PLATFORMS - ruby - -DEPENDENCIES - alphred (~> 1.1) - faraday (~> 0.9) - -BUNDLED WITH - 1.10.6 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/README.md deleted file mode 100644 index 962f115..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/README.md +++ /dev/null @@ -1,14 +0,0 @@ -# Giphy.alfredworkflow - -A workflow for [Alfred][alfred] that searches [Giphy][giphy] for animated gifs. -Actioning on a search item will preview the gif using Quick Look and copy the -direct URL of the gif to the clipboard. - -[alfred]: https://www.alfredapp.com/ -[giphy]: http://giphy.com/ - -## TODO - -- Get a production Giphy API key? -- Copy the link to the Giphy page (instead of the gif) with a keyboard - modifier. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Rakefile deleted file mode 100644 index 911ecca..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/Rakefile +++ /dev/null @@ -1 +0,0 @@ -require "alphred/tasks" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/giphy.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/giphy.rb deleted file mode 100644 index 68377a1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/giphy.rb +++ /dev/null @@ -1,120 +0,0 @@ -$LOAD_PATH.unshift(File.expand_path("../vendor/bundle", __FILE__)) -require "bundler/setup" -require "json" - -require "alphred" -require "faraday" - -module Giphy - API_KEY = "dc6zaTOxFJmzC" - - class Gif - attr_reader :data - - def initialize(data) - @data = data - end - - def thumbnail - return @thumbnail if defined?(@thumbnail) - - url = self.data["images"]["fixed_width_small_still"]["url"] - @thumbnail = Thumbnail.new(self.name, url) - end - - def id - self.data["id"] - end - - def size - self.data["images"]["original"]["size"] - end - - def name - self.data["url"].split(?/).last.sub(/\-[^-]+$/, "") - end - - def urls - Hash[%w[ url mp4 webp ].map {|key| [key, self.data["images"]["original"][key]] }] - end - end - - class Thumbnail - attr_reader *%i[ name url ] - - def initialize(name, url) - @name, @url = name, url - end - - def download! - File.write(self.path, Faraday.get(url).body, mode: ?w) - end - - def path - ext = File.extname(self.url) - File.join(self.dir, "#{self.name}#{ext}") - end - - def dir - return @dir if defined?(@dir) - - dir = File.expand_path(ENV["alfred_workflow_cache"]) - Dir.mkdir(dir) unless Dir.exist?(dir) - @dir = dir - end - end - - class FileSize - attr_reader :size - - def initialize(size) - @size = size.to_i - end - - def to_s - "%.1f%s" % case self.size - when (0...1_000) - [self.size, nil] - when (1_000...1_000_000) - [self.size / 1_000.0, "KB"] - else - [self.size / 1_000_000.0, "MB"] - end - end - end -end - -if __FILE__ == $0 - query = ARGV.shift - - resp = Faraday.get("http://api.giphy.com/v1/gifs/search", - { q: query, - limit: 9, - api_key: Giphy::API_KEY }) - data = JSON.load(resp.body)["data"] - gifs = data.map {|gif| Giphy::Gif.new(gif) } - - threads = gifs.map do |gif| - Thread.new do - gif.thumbnail.download! - end - end - - threads.each(&:join) - - items = gifs.map do |gif| - Alphred::Item.new( - title: gif.name, - subtitle: "#{gif.id} - #{Giphy::FileSize.new(gif.size)}", - arg: JSON.dump(gif.urls), - icon: gif.thumbnail.path, - ) - end - - # items << Alphred::Item.new( - # title: "[Powered By Giphy]", - # icon: "icon.png", - # ) - - puts Alphred::Items.new(*items).to_xml -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/icon.png b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/icon.png deleted file mode 100644 index 0836ce6..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/icon.png and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/info.plist b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/info.plist deleted file mode 100644 index d2eec92..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/info.plist +++ /dev/null @@ -1,206 +0,0 @@ - - - - - bundleid - com.arbitrarydefinitions.giphy - category - Internet - connections - - 0744A6DC-F5C1-4D81-8056-8C281A5494D2 - - - destinationuid - FF2DAFF4-2EF6-427C-A48F-A71F47A52E8D - modifiers - 0 - modifiersubtext - - - - destinationuid - 2C624EB9-DB8E-48FA-A0E7-152BB7F7817A - modifiers - 0 - modifiersubtext - - - - 2C624EB9-DB8E-48FA-A0E7-152BB7F7817A - - - destinationuid - 52E6556C-14D2-4D85-8BDD-4B13B2B5943D - modifiers - 0 - modifiersubtext - - - - FF2DAFF4-2EF6-427C-A48F-A71F47A52E8D - - - destinationuid - 21CA0C10-1AC1-44DA-A415-E53C081F77AE - modifiers - 0 - modifiersubtext - - - - - createdby - Alpha Chen - description - Search Giphy for animated gifs - disabled - - name - Giphy - objects - - - config - - concurrently - - escaping - 102 - script - require "json" -print JSON.load("{query}")["url"] - type - 2 - - type - alfred.workflow.action.script - uid - FF2DAFF4-2EF6-427C-A48F-A71F47A52E8D - version - 0 - - - config - - concurrently - - escaping - 102 - script - curl "{query}" --silent --output "$alfred_workflow_cache/giphy.gif" && qlmanage -p "$alfred_workflow_cache/giphy.gif" >& /dev/null - type - 0 - - type - alfred.workflow.output.script - uid - 21CA0C10-1AC1-44DA-A415-E53C081F77AE - version - 0 - - - config - - argumenttype - 0 - escaping - 102 - keyword - giphy - queuedelaycustom - 3 - queuedelayimmediatelyinitially - - queuedelaymode - 1 - queuemode - 2 - runningsubtext - Searching Giphy... - script - ruby giphy.rb "{query}" - title - Search Giphy - type - 0 - withspace - - - type - alfred.workflow.input.scriptfilter - uid - 0744A6DC-F5C1-4D81-8056-8C281A5494D2 - version - 0 - - - config - - autopaste - - clipboardtext - {query} - - type - alfred.workflow.output.clipboard - uid - 52E6556C-14D2-4D85-8BDD-4B13B2B5943D - version - 0 - - - config - - concurrently - - escaping - 102 - script - require "json" -print JSON.load("{query}")["gif"] - type - 2 - - type - alfred.workflow.action.script - uid - 2C624EB9-DB8E-48FA-A0E7-152BB7F7817A - version - 0 - - - readme - - uidata - - 0744A6DC-F5C1-4D81-8056-8C281A5494D2 - - ypos - 70 - - 21CA0C10-1AC1-44DA-A415-E53C081F77AE - - ypos - 10 - - 2C624EB9-DB8E-48FA-A0E7-152BB7F7817A - - ypos - 130 - - 52E6556C-14D2-4D85-8BDD-4B13B2B5943D - - ypos - 130 - - FF2DAFF4-2EF6-427C-A48F-A71F47A52E8D - - ypos - 10 - - - webaddress - https://github.com/kejadlen/giphy.alfredworkflow - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/bundler/setup.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/bundler/setup.rb deleted file mode 100644 index a6f3ea0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/bundler/setup.rb +++ /dev/null @@ -1,9 +0,0 @@ -require 'rbconfig' -# ruby 1.8.7 doesn't define RUBY_ENGINE -ruby_engine = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby' -ruby_version = RbConfig::CONFIG["ruby_version"] -path = File.expand_path('..', __FILE__) -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/builder-3.2.2/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/alphred-1.1.1/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/multipart-post-2.0.0/lib" -$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/faraday-0.9.2/lib" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/alphred-1.1.1.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/alphred-1.1.1.gem deleted file mode 100644 index c3ec043..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/alphred-1.1.1.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem deleted file mode 100644 index b59ef92..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/builder-3.2.2.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/faraday-0.9.2.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/faraday-0.9.2.gem deleted file mode 100644 index 35a1675..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/faraday-0.9.2.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/multipart-post-2.0.0.gem b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/multipart-post-2.0.0.gem deleted file mode 100644 index abfff3d..0000000 Binary files a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/cache/multipart-post-2.0.0.gem and /dev/null differ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/.gitignore b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/.gitignore deleted file mode 100644 index 0cb6eeb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/.bundle/ -/.yardoc -/Gemfile.lock -/_yardoc/ -/coverage/ -/doc/ -/pkg/ -/spec/reports/ -/tmp/ diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/.travis.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/.travis.yml deleted file mode 100644 index ac0983c..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: ruby -rvm: - - 2.0.0 -before_install: gem install bundler -v 1.10.6 diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/CHANGELOG.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/CHANGELOG.md deleted file mode 100644 index f06465d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/CHANGELOG.md +++ /dev/null @@ -1,14 +0,0 @@ -## Unreleased - -## [1.1.1] - 2015-11-05 -### Changed -- Don't crash when the config file doesn't exist. - -## [1.1.0] - 2015-11-01 -### Added -- `Config` class for handling persistent configuration across workflow updates. -- CHANGELOG - -## [1.0.0] - 2015-10-31 -### Added -- Library for making Alfred workflows. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/CODE_OF_CONDUCT.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/CODE_OF_CONDUCT.md deleted file mode 100644 index ce9bee7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,13 +0,0 @@ -# Contributor Code of Conduct - -As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities. - -We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion. - -Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct. - -Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team. - -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers. - -This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/) diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Gemfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Gemfile deleted file mode 100644 index 32fd98d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Gemfile +++ /dev/null @@ -1,10 +0,0 @@ -source 'https://rubygems.org' - -# Specify your gem's dependencies in alphred.gemspec -gemspec - -group :development do - gem "guard" - gem "guard-minitest" - gem "pry" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Guardfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Guardfile deleted file mode 100644 index 13966bd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Guardfile +++ /dev/null @@ -1,5 +0,0 @@ -guard :minitest do - watch(%r{^test/(.*)\/?test_(.*)\.rb$}) - watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" } - watch(%r{^test/test_helper\.rb$}) { 'test' } -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/LICENSE.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/LICENSE.txt deleted file mode 100644 index a73fd4f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Alpha Chen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/README.md deleted file mode 100644 index 3f01ad9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/README.md +++ /dev/null @@ -1,152 +0,0 @@ -# Alphred - -Alphred is a library for making Alfred workflows in Ruby. It's designed -specifically for how I work, so assumes that you manage dependencies with -[Bundler][bundler] and Rubies with [chruby][chruby]. - -[bundler]: http://bundler.io/ -[chruby]: https://github.com/postmodern/chruby - -## Usage - -The [example script filter][scriptfilter] would look like this using Alphred: - -[scriptfilter]: https://www.alfredapp.com/help/workflows/inputs/script-filter/ - -``` ruby -items = Alphred::Items.new( - Alphred::Item.new(uid: "desktop", - arg: "~/Desktop", - valid: true, - autocomplete: "Desktop", - type: :file, - title: "Desktop", - subtitle: "~/Desktop", - icon: { value: "~/Desktop", type: :fileicon }), - Alphred::Item.new(uid: "flickr", - valid: false, - autocomplete: "flickr", - title: "Flickr", - icon: "flickr.png"), - Alphred::Item.new(uid: "image", - autocomplete: "My holiday photo", - type: :file, - title: "My holiday photo", - subtitle: "~/Pictures/My holiday photo.jpg", - icon: { value: "public.jpeg", type: :filetype }), - Alphred::Item.new(uid: "home", - arg: "~/", - valid: true, - autocomplete: "Home", - type: :file, - title: "Home Folder", - subtitle: "Home folder ~/", - icon: { value: "~/", type: :fileicon }, - mods: { shift: "Subtext when shift is pressed", - fn: "Subtext when fn is pressed", - ctrl: "Subtext when ctrl is pressed", - alt: "Subtext when alt is pressed", - cmd: "Subtext when cmd is pressed" }, - text: { copy: "Text when copying", - largetype: "Text for LargeType" })) -items.to_xml -``` - -This produces the following XML: - -``` xml - - - - Desktop - ~/Desktop - ~/Desktop - - - Flickr - flickr.png - - - My holiday photo - ~/Pictures/My holiday photo.jpg - public.jpeg - - - Home Folder - Home folder ~/ - ~/ - Subtext when shift is pressed - Subtext when fn is pressed - Subtext when ctrl is pressed - Subtext when alt is pressed - Subtext when cmd is pressed - Text when copying - Text for LargeType - - -``` - -### Workflow Configuration - -`Alphred::Config` provides some helpers for managing configuration that should -persist when updating the workflow. This configuration is stored in an JSON -file in the workflow data directory. - -``` ruby -# config.rb - -module Workflow - defaults = { foo: "bar" } - Config = Alphred::Config.new(**defaults) -``` - -The corresponding Script Filter input and Run Action output then look like this: - -``` shell -# script filter - -ruby -r./config -e'puts Workflow::Config.filter_xml("{query}")' -``` - -``` shell -# run action - -ruby -r./config -e'Forecast::Config.update!("{query}")' -``` - -### Releasing - -Including `alphred/tasks` in your `Rakefile` will allow access to Alphred's -Rake tasks for releasing a workflow. `release` will tag the current commit with -the provided version and create a .alfredworkflow package with vendored gem -dependencies. - -## TODO - -- Add development mode for easier debugging. (Nicer errors, etc.) -- Rake task for installing to Alfred - -## Development - -After checking out the repo, run `bundle install` to install dependencies. -Then, run `rake test` to run the tests. You can also run `rake console` for an -interactive prompt that will allow you to experiment. - -To install this gem onto your local machine, run `bundle exec rake install`. To -release a new version, update the version number in `version.rb`, and then run -`bundle exec rake release`, which will create a git tag for the version, push -git commits and tags, and push the `.gem` file to -[rubygems.org](https://rubygems.org). - -## Contributing - -Bug reports and pull requests are welcome on GitHub at -https://github.com/kejadlen/alphred. This project is intended to be a safe, -welcoming space for collaboration, and contributors are expected to adhere to -the [Contributor Covenant](contributor-covenant.org) code of conduct. - -## License - -The gem is available as open source under the terms of the [MIT -License](http://opensource.org/licenses/MIT). - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Rakefile deleted file mode 100644 index 96a218b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/Rakefile +++ /dev/null @@ -1,17 +0,0 @@ -require "bundler/gem_tasks" -require "rake/testtask" - -Rake::TestTask.new(:test) do |t| - t.libs << "lib" - t.test_files = FileList['test/**/test_*.rb'] -end - -task :console do - require "bundler/setup" - require "alphred" - - require "pry" - Pry.start -end - -task :default => :test diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/alphred.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/alphred.gemspec deleted file mode 100644 index c8ffb0d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/alphred.gemspec +++ /dev/null @@ -1,26 +0,0 @@ -# coding: utf-8 -lib = File.expand_path("../lib", __FILE__) -$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "alphred/version" - -Gem::Specification.new do |spec| - spec.name = "alphred" - spec.version = Alphred::VERSION - spec.authors = ["Alpha Chen"] - spec.email = ["alpha.chen@gmail.com"] - - spec.summary = %q{Helper utilities for making Alfred workflows.} - spec.homepage = "https://github.com/kejadlen/alph" - spec.license = "MIT" - - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } - spec.bindir = "bin" - spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } - spec.require_paths = ["lib"] - - spec.add_dependency "builder", "~> 3.2" - - spec.add_development_dependency "bundler", "~> 1.10" - spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "minitest" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred.rb deleted file mode 100644 index 729c584..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred.rb +++ /dev/null @@ -1,10 +0,0 @@ -require "builder" - -require_relative "alphred/version" - -require_relative "alphred/config" -require_relative "alphred/icon" -require_relative "alphred/item" -require_relative "alphred/items" -require_relative "alphred/mods" -require_relative "alphred/text" diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/config.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/config.rb deleted file mode 100644 index 8c107b9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/config.rb +++ /dev/null @@ -1,55 +0,0 @@ -require "json" - -module Alphred - class Config - def self.load(**defaults) - config = self.new(**defaults) - config.load! - config - end - - attr_reader :data - - def initialize(**defaults) - @data = Hash[defaults.map {|k,v| [k.to_s, v.to_s] }] - end - - def load! - return unless File.exist?(self.path) - self.data.merge!(JSON.load(File.open(self.path))) - end - - def update!(json) - data = self.data.merge(JSON.load(json)) - File.write(self.path, JSON.dump(data), mode: ?w) - end - - def [](key) - self.data[key.to_s] - end - - def filter_xml(filter=nil) - filter ||= "" - - items = self.data.map do |key, value| - title = if filter.empty? - "Unset #{key}" - else - "Set #{key} to #{filter}" - end - Item.new( - uid: key, - arg: JSON.dump(key => filter), - title: title, - subtitle: self[key] - ) - end - - Items.new(*items).to_xml - end - - def path - File.join(ENV["alfred_workflow_data"], 'config.json') - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/icon.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/icon.rb deleted file mode 100644 index 7a7bcdf..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/icon.rb +++ /dev/null @@ -1,39 +0,0 @@ -require "builder" - -module Alphred - class Icon - VALID_TYPES = %i[ fileicon filetype ] - - attr_accessor *%i[ value type ] - - def initialize(**kwargs) - raise ArgumentError.new("missing keyword: value") unless kwargs.has_key?(:value) - - @value = kwargs[:value] - self.type = kwargs[:type] if kwargs.has_key?(:type) - end - - def type=(type) - raise ArgumentError.new("`type` must be one of #{VALID_TYPES}") unless type.nil? || VALID_TYPES.include?(type) - - @type = type - end - - def to_xml(xml=nil) - xml ||= Builder::XmlMarkup.new(indent: 2) - attrs = {} - attrs[:type] = self.type unless self.type.nil? - xml.icon self.value, attrs - end - end -end - -module Kernel - def Icon(value) - case value - when Alphred::Icon then value - when String then Alphred::Icon.new(value: value) - when Hash then Alphred::Icon.new(**value) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/item.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/item.rb deleted file mode 100644 index d986ddb..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/item.rb +++ /dev/null @@ -1,59 +0,0 @@ -require "builder" - -require_relative "mods" -require_relative "text" - -module Alphred - class Item - VALID_TYPES = %i[ default file file_skipcheck ] - - attr_accessor *%i[ uid arg valid autocomplete title subtitle mods icon text ] - - def initialize(**kwargs) - raise ArgumentError.new("missing keyword: title") unless kwargs.has_key?(:title) - - @title = kwargs[:title] - - %i[ uid arg valid autocomplete subtitle ].each do |attr| - self.instance_variable_set("@#{attr}", kwargs[attr]) if kwargs.has_key?(attr) - end - - @icon = Icon(kwargs[:icon]) if kwargs.has_key?(:icon) - @text = Text.new(kwargs[:text]) if kwargs.has_key?(:text) - @mods = Mods.new(kwargs[:mods]) if kwargs.has_key?(:mods) - - self.type = kwargs[:type] if kwargs.has_key?(:type) - end - - def type=(type) - raise ArgumentError.new("`type` must be one of #{VALID_TYPES}") unless type.nil? || VALID_TYPES.include?(type) - - @type = type - end - - def type - @type && @type.to_s.gsub(?_, ?:) - end - - def to_xml(xml=nil) - xml ||= Builder::XmlMarkup.new(indent: 2) - xml.item self.attrs do - xml.title self.title - xml.subtitle self.subtitle unless self.subtitle.nil? - self.icon.to_xml(xml) unless self.icon.nil? - self.mods.to_xml(xml) unless self.mods.nil? - self.text.to_xml(xml) unless self.text.nil? - end - end - - def attrs - attrs = {} - %i[ uid arg autocomplete type ].each do |attr| - value = self.send(attr) - attrs[attr] = value unless value.nil? - end - attrs[:valid] = (self.valid) ? "yes" : "no" unless self.valid.nil? - attrs - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/items.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/items.rb deleted file mode 100644 index 71dd6e5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/items.rb +++ /dev/null @@ -1,23 +0,0 @@ -require "builder" -require "delegate" - -module Alphred - class Items < DelegateClass(Array) - attr_reader :items - - def initialize(*items) - @items = items - super(@items) - end - - def to_xml - xml = Builder::XmlMarkup.new(indent: 2) - xml.instruct! :xml - xml.items do - self.items.each do |item| - item.to_xml(xml) - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/mods.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/mods.rb deleted file mode 100644 index 01da3f0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/mods.rb +++ /dev/null @@ -1,22 +0,0 @@ -require "builder" - -module Alphred - class Mods - MODS = %i[ shift fn ctrl alt cmd ] - - attr_accessor *MODS - - def initialize(**kwargs) - MODS.each do |mod| - self.instance_variable_set("@#{mod}", kwargs[mod]) if kwargs.has_key?(mod) - end - end - - def to_xml(xml) - MODS.each do |mod| - value = self.send(mod) - xml.subtitle value, mod: mod unless value.nil? - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/tasks.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/tasks.rb deleted file mode 100644 index 1e4bde8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/tasks.rb +++ /dev/null @@ -1,40 +0,0 @@ -require "rake" - -namespace :alphred do - desc "Prepare a release, named after the directory" - task :release, [:version] => [:tag, :package] - - desc "Tag the current commit in git with VERSION" - task :tag, [:version] do |t, args| - version = args[:version] - - git_status = `git status --porcelain` - fail <<-FAIL unless git_status.empty? -Can't tag #{version}: dirty working directory. - FAIL - - sh "git tag #{version}" - end - - desc "Create an alfredworkflow package with vendored dependencies" - task :package do - restore_bundler_config do - cmd = "bundle install --standalone --path vendor/bundle --without development test" - sh "chruby-exec 2.0.0 -- #{cmd}" - end - sh "zip -r #{application_dir.pathmap("%n.alfredworkflow")} *" - rm_rf "vendor" - end - - def application_dir - Rake.application.original_dir - end - - def restore_bundler_config - path = File.join(application_dir, ".bundle", "config") - config = File.read(path) - yield - ensure - File.write(path, config, mode: ?w) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/text.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/text.rb deleted file mode 100644 index 0f24576..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/text.rb +++ /dev/null @@ -1,17 +0,0 @@ -require "builder" - -module Alphred - class Text - attr_accessor *%i[ copy largetype ] - - def initialize(copy: nil, largetype: nil) - @copy = copy - @largetype = largetype - end - - def to_xml(xml) - xml.text copy, type: :copy unless self.copy.nil? - xml.text largetype, type: :largetype unless self.largetype.nil? - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/version.rb deleted file mode 100644 index 1b0a62e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/alphred-1.1.1/lib/alphred/version.rb +++ /dev/null @@ -1,3 +0,0 @@ -module Alphred - VERSION = "1.1.1" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES deleted file mode 100644 index 0f608fe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/CHANGES +++ /dev/null @@ -1,107 +0,0 @@ -= Change Log - -== Version 3.2.0 - -* Ruby 2.0 compatibility changes. - -* Allow single quoted attributes. - -== Version 3.1.0 - -* Included the to_xs arity patch needed for weird Rails compatibility - issue. - -* Escaping newlines in attributes now. - -* Allow method caching - -== Version 3.0.0 - -* Ruby 1.9 compatiblity issues. - -== Version 2.2.0 - -* Applied patch from Thijs van der Vossen to allow UTF-8 encoded - output when the encoding is UTF-8 and $KCODE is UTF8. - -== Version 2.1.2 - -* Fixed bug where private methods in kernel could leak through using - tag!(). Thanks to Hagen Overdick for finding and diagnosing this - bug. - -== Version 2.1.1 - -* Fixed typo in XmlMarkup class docs (ident => indent). (from Martin - Fowler). -* Removed extra directory indirection from legacy CVS to SVN move. -* Removed some extraneous tabs from source. -* Fixed test on private methods in blankslate to differentiate between - targetted and untargetted private methods. -* Removed legacy capture of @self in XmlBase (@self was used back when - we used instance eval). -* Added additional tests for global functions (both direct and included). - -== Version 2.1.0 - -* Fixed bug in BlankSlate where including a module into Object could - cause methods to leak into BlankSlate. -* Made BlankSlate available as its own gem. Currently the builder gem - still directly includes the BlankSlate code. -* Added reveal capability to BlankSlate. - -== Version 2.0.0 - -* Added doc directory -* Added unit tests for XmlEvents. -* Added XChar module and used it in the _escape method. -* Attributes are now quoted by default when strings. Use Symbol - attribute values for unquoted behavior. - -== Version 1.2.4 - -* Added a cdata! command to an XML Builder (from Josh Knowles). - -== Version 1.2.3 - -The attributes in the instruction will be ordered: -version, encoding, standalone. - -== Version 1.2.2 - -Another fix for BlankSlate. The Kernal/Object traps added in 1.2.1 -failed when a method was defined late more than once. Since the -method was already marked as removed, another attempt to undefine it -raised an error. The fix was to check the list of instance methods -before attempting the undef operation. Thanks to Florian Gross and -David Heinemeier Hansson for the patch. - -== Version 1.2.1 - -BlankSlate now traps method definitions in Kernel and Object to avoid -late method definitions inadvertently becoming part of the definition -of BlankSlate as well. - -== Version 1.2.0 - -Improved support for entity declarations by allowing nested -declarations and removal of the attribute processing. - -Added namespace support. - -== Version 1.1.0 - -Added support for comments, entity declarations and processing instructions. - -== Version 1.0.0 - -Removed use of instace_eval making the use of XmlMarkup much -less prone to error. - -== Version 0.1.1 - -Bug fix. - -== Version 0.1.0 - -Initial version release. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE deleted file mode 100644 index 7d9be51..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/MIT-LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2003-2012 Jim Weirich (jim.weirich@gmail.com) - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md deleted file mode 100644 index 81928cc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/README.md +++ /dev/null @@ -1,258 +0,0 @@ -# Project: Builder - -## Goal - -Provide a simple way to create XML markup and data structures. - -## Classes - -Builder::XmlMarkup:: Generate XML markup notation -Builder::XmlEvents:: Generate XML events (i.e. SAX-like) - -**Notes:** - -* An Builder::XmlTree class to generate XML tree - (i.e. DOM-like) structures is also planned, but not yet implemented. - Also, the events builder is currently lagging the markup builder in - features. - -## Usage - -```ruby - require 'rubygems' - require_gem 'builder', '~> 2.0' - - builder = Builder::XmlMarkup.new -` xml = builder.person { |b| b.name("Jim"); b.phone("555-1234") } - xml #=> Jim555-1234 -``` - -or - -```ruby - require 'rubygems' - require_gem 'builder' - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - # - # Prints: - # - # Jim - # 555-1234 - # -``` - -## Compatibility - -### Version 2.0.0 Compatibility Changes - -Version 2.0.0 introduces automatically escaped attribute values for -the first time. Versions prior to 2.0.0 did not insert escape -characters into attribute values in the XML markup. This allowed -attribute values to explicitly reference entities, which was -occasionally used by a small number of developers. Since strings -could always be explicitly escaped by hand, this was not a major -restriction in functionality. - -However, it did surprise most users of builder. Since the body text is -normally escaped, everybody expected the attribute values to be -escaped as well. Escaped attribute values were the number one support -request on the 1.x Builder series. - -Starting with Builder version 2.0.0, all attribute values expressed as -strings will be processed and the appropriate characters will be -escaped (e.g. "&" will be translated to "&"). Attribute values -that are expressed as Symbol values will not be processed for escaped -characters and will be unchanged in output. (Yes, this probably counts -as Symbol abuse, but the convention is convenient and flexible). - -Example: - -```ruby - xml = Builder::XmlMarkup.new - xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There") - xml.target! => - -``` - -### Version 1.0.0 Compatibility Changes - -Version 1.0.0 introduces some changes that are not backwards -compatible with earlier releases of builder. The main areas of -incompatibility are: - -* Keyword based arguments to +new+ (rather than positional based). It - was found that a developer would often like to specify indentation - without providing an explicit target, or specify a target without - indentation. Keyword based arguments handle this situation nicely. - -* Builder must now be an explicit target for markup tags. Instead of - writing - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { strong("text") } -``` - - you need to write - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { xml_markup.strong("text") } -``` - -* The builder object is passed as a parameter to all nested markup - blocks. This allows you to create a short alias for the builder - object that can be used within the block. For example, the previous - example can be written as: - -```ruby - xml_markup = Builder::XmlMarkup.new - xml_markup.div { |xml| xml.strong("text") } -``` - -* If you have both a pre-1.0 and a post-1.0 gem of builder installed, - you can choose which version to use through the RubyGems - +require_gem+ facility. - -```ruby - require_gem 'builder', "~> 0.0" # Gets the old version - require_gem 'builder', "~> 1.0" # Gets the new version -``` - -## Features - -* XML Comments are supported ... - -```ruby - xml_markup.comment! "This is a comment" - #=> -``` - -* XML processing instructions are supported ... - -```ruby - xml_markup.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8" - #=> -``` - - If the processing instruction is omitted, it defaults to "xml". - When the processing instruction is "xml", the defaults attributes - are: - - version: 1.0 - encoding: "UTF-8" - - (NOTE: if the encoding is set to "UTF-8" and $KCODE is set to - "UTF8", then Builder will emit UTF-8 encoded strings rather than - encoding non-ASCII characters as entities.) - -* XML entity declarations are now supported to a small degree. - -```ruby - xml_markup.declare! :DOCTYPE, :chapter, :SYSTEM, "../dtds/chapter.dtd" - #=> -``` - - The parameters to a declare! method must be either symbols or - strings. Symbols are inserted without quotes, and strings are - inserted with double quotes. Attribute-like arguments in hashes are - not allowed. - - If you need to have an argument to declare! be inserted without - quotes, but the argument does not conform to the typical Ruby - syntax for symbols, then use the :"string" form to specify a symbol. - - For example: - -```ruby - xml_markup.declare! :ELEMENT, :chapter, :"(title,para+)" - #=> -``` - - Nested entity declarations are allowed. For example: - -```ruby - @xml_markup.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, :"(title,para+)" - x.declare! :ELEMENT, :title, :"(#PCDATA)" - x.declare! :ELEMENT, :para, :"(#PCDATA)" - end - - #=> - - - - - ]> -``` - -* Some support for XML namespaces is now available. If the first - argument to a tag call is a symbol, it will be joined to the tag to - produce a namespace:tag combination. It is easier to show this than - describe it. - -```ruby - xml.SOAP :Envelope do ... end -``` - - Just put a space before the colon in a namespace to produce the - right form for builder (e.g. "SOAP:Envelope" => - "xml.SOAP :Envelope") - -* String attribute values are now escaped by default by - Builder (NOTE: this is _new_ behavior as of version 2.0). - - However, occasionally you need to use entities in attribute values. - Using a symbol (rather than a string) for an attribute value will - cause Builder to not run its quoting/escaping algorithm on that - particular value. - - (Note: The +escape_attrs+ option for builder is now - obsolete). - - Example: - -```ruby - xml = Builder::XmlMarkup.new - xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There") - xml.target! => - -``` - -* UTF-8 Support - - Builder correctly translates UTF-8 characters into valid XML. (New - in version 2.0.0). Thanks to Sam Ruby for the translation code. - - You can get UTF-8 encoded output by making sure that the XML - encoding is set to "UTF-8" and that the $KCODE variable is set to - "UTF8". - -```ruby - $KCODE = 'UTF8' - xml = Builder::Markup.new - xml.instruct!(:xml, :encoding => "UTF-8") - xml.sample("Iñtërnâtiônàl") - xml.target! => - "Iñtërnâtiônàl" -``` - -## Links - -| Description | Link | -| :----: | :----: | -| Documents | http://builder.rubyforge.org/ | -| Github Clone | git://github.com/jimweirich/builder.git | -| Issue / Bug Reports | https://github.com/jimweirich/builder/issues?state=open | - -## Contact - -| Description | Value | -| :----: | :----: | -| Author | Jim Weirich | -| Email | jim.weirich@gmail.com | -| Home Page | http://onestepback.org | -| License | MIT Licence (http://www.opensource.org/licenses/mit-license.html) | diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile deleted file mode 100644 index b082fbe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/Rakefile +++ /dev/null @@ -1,195 +0,0 @@ -# Rakefile for rake -*- ruby -*- - -# Copyright 2004, 2005, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. - -require 'rake/clean' -require 'rake/testtask' -begin - require 'rubygems' - require 'rubygems/package_task' - require 'rdoc/task' -rescue Exception - nil -end - -require './lib/builder/version' - -# Determine the current version of the software - -CLOBBER.include('pkg', 'html') -CLEAN.include('pkg/builder-*').include('pkg/blankslate-*').exclude('pkg/*.gem') - -PKG_VERSION = Builder::VERSION - -SRC_RB = FileList['lib/**/*.rb'] - -# The default task is run if rake is given no explicit arguments. - -desc "Default Task" -task :default => :test_all - -# Test Tasks --------------------------------------------------------- - -desc "Run all tests" -task :test_all => [:test_units] -task :ta => [:test_all] - -task :tu => [:test_units] - -Rake::TestTask.new("test_units") do |t| - t.test_files = FileList['test/test*.rb'] - t.libs << "." - t.verbose = false -end - -# Create a task to build the RDOC documentation tree. - -if defined?(RDoc) - rd = RDoc::Task.new("rdoc") { |rdoc| - rdoc.rdoc_dir = 'html' - rdoc.title = "Builder for Markup" - rdoc.options << '--line-numbers' << '--inline-source' << '--main' << 'README.rdoc' - rdoc.rdoc_files.include('lib/**/*.rb', '[A-Z]*', 'doc/**/*.rdoc').exclude("TAGS") - rdoc.template = 'doc/jamis.rb' - } -else - rd = Struct.new(:rdoc_files).new([]) -end - -# ==================================================================== -# Create a task that will package the Rake software into distributable -# gem files. - -PKG_FILES = FileList[ - '[A-Z]*', - 'doc/**/*', - 'lib/**/*.rb', - 'test/**/*.rb', - 'rakelib/**/*' -] -PKG_FILES.exclude('test/test_cssbuilder.rb') -PKG_FILES.exclude('lib/builder/css.rb') -PKG_FILES.exclude('TAGS') - -BLANKSLATE_FILES = FileList[ - 'lib/blankslate.rb', - 'test/test_blankslate.rb' -] - -if ! defined?(Gem) - puts "Package Target requires RubyGEMs" -else - spec = Gem::Specification.new do |s| - - #### Basic information. - - s.name = 'builder' - s.version = PKG_VERSION - s.summary = "Builders for MarkUp." - s.description = %{\ -Builder provides a number of builder objects that make creating structured data -simple to do. Currently the following builder objects are supported: - -* XML Markup -* XML Events -} - - s.files = PKG_FILES.to_a - s.require_path = 'lib' - - s.test_files = PKG_FILES.select { |fn| fn =~ /^test\/test/ } - - s.has_rdoc = true - s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a - s.rdoc_options << - '--title' << 'Builder -- Easy XML Building' << - '--main' << 'README.rdoc' << - '--line-numbers' - - s.author = "Jim Weirich" - s.email = "jim.weirich@gmail.com" - s.homepage = "http://onestepback.org" - s.license = 'MIT' - end - - blankslate_spec = Gem::Specification.new do |s| - - #### Basic information. - - s.name = 'blankslate' - s.version = PKG_VERSION - s.summary = "Blank Slate base class." - s.description = %{\ -BlankSlate provides a base class where almost all of the methods from Object and -Kernel have been removed. This is useful when providing proxy object and other -classes that make heavy use of method_missing. -} - - s.files = BLANKSLATE_FILES.to_a - s.require_path = 'lib' - - s.test_files = PKG_FILES.select { |fn| fn =~ /^test\/test/ } - - s.has_rdoc = true - s.extra_rdoc_files = rd.rdoc_files.reject { |fn| fn =~ /\.rb$/ }.to_a - s.rdoc_options << - '--title' << 'BlankSlate -- Base Class for building proxies.' << - '--main' << 'README.rdoc' << - '--line-numbers' - - s.author = "Jim Weirich" - s.email = "jim.weirich@gmail.com" - s.homepage = "http://onestepback.org" - s.license = 'MIT' - end - - namespace 'builder' do - Gem::PackageTask.new(spec) do |t| - t.need_tar = false - end - end - - namespace 'blankslate' do - Gem::PackageTask.new(blankslate_spec) do |t| - t.need_tar = false - end - end - - task :package => [:remove_tags, 'builder:package', 'blankslate:package'] -end - -task :remove_tags do - rm "TAGS" rescue nil -end - -# RCov --------------------------------------------------------------- -begin - require 'rcov/rcovtask' - - Rcov::RcovTask.new do |t| - t.libs << "test" - t.rcov_opts = [ - '-xRakefile', '--text-report' - ] - t.test_files = FileList[ - 'test/test*.rb' - ] - t.output_dir = 'coverage' - t.verbose = true - end -rescue LoadError - # No rcov available -end - -desc "Install the jamis RDoc template" -task :install_jamis_template do - require 'rbconfig' - dest_dir = File.join(Config::CONFIG['rubylibdir'], "rdoc/generators/template/html") - fail "Unabled to write to #{dest_dir}" unless File.writable?(dest_dir) - install "doc/jamis.rb", dest_dir, :verbose => true -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb deleted file mode 100644 index a00b583..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/jamis.rb +++ /dev/null @@ -1,591 +0,0 @@ -module RDoc -module Page - -FONTS = "\"Bitstream Vera Sans\", Verdana, Arial, Helvetica, sans-serif" - -STYLE = < pre { - padding: 0.5em; - border: 1px dotted black; - background: #FFE; -} - -CSS - -XHTML_PREAMBLE = %{ - -} - -HEADER = XHTML_PREAMBLE + < - - %title% - - - - - - - -ENDHEADER - -FILE_PAGE = < - - - - -
File
%short_name%
- - - - - - - - - -
Path:%full_path% -IF:cvsurl -  (CVS) -ENDIF:cvsurl -
Modified:%dtm_modified%
-
- -
-HTML - -################################################################### - -CLASS_PAGE = < - %classmod%
%full_name% - - - - - - -IF:parent - - - - -ENDIF:parent -
In: -START:infiles -HREF:full_path_url:full_path: -IF:cvsurl - (CVS) -ENDIF:cvsurl -END:infiles -
Parent: -IF:par_url - -ENDIF:par_url -%parent% -IF:par_url - -ENDIF:par_url -
- - - -HTML - -################################################################### - -METHOD_LIST = < -IF:diagram -
- %diagram% -
-ENDIF:diagram - -IF:description -
%description%
-ENDIF:description - -IF:requires -
Required Files
-
    -START:requires -
  • HREF:aref:name:
  • -END:requires -
-ENDIF:requires - -IF:toc -
Contents
-
-ENDIF:toc - -IF:methods -
Methods
-
    -START:methods -
  • HREF:aref:name:
  • -END:methods -
-ENDIF:methods - -IF:includes -
Included Modules
-
    -START:includes -
  • HREF:aref:name:
  • -END:includes -
-ENDIF:includes - -START:sections -IF:sectitle - -IF:seccomment -
-%seccomment% -
-ENDIF:seccomment -ENDIF:sectitle - -IF:classlist -
Classes and Modules
- %classlist% -ENDIF:classlist - -IF:constants -
Constants
- -START:constants - - - - - -IF:desc - - - - -ENDIF:desc -END:constants -
%name%=%value%
 %desc%
-ENDIF:constants - -IF:attributes -
Attributes
- -START:attributes - - - - - -END:attributes -
-IF:rw -[%rw%] -ENDIF:rw - %name%%a_desc%
-ENDIF:attributes - -IF:method_list -START:method_list -IF:methods -
%type% %category% methods
-START:methods -
-
-IF:callseq - %callseq% -ENDIF:callseq -IFNOT:callseq - %name%%params% -ENDIF:callseq -IF:codeurl -[ source ] -ENDIF:codeurl -
-IF:m_desc -
- %m_desc% -
-ENDIF:m_desc -IF:aka -
- This method is also aliased as -START:aka - %name% -END:aka -
-ENDIF:aka -IF:sourcecode -
- -
-
-%sourcecode%
-
-
-
-ENDIF:sourcecode -
-END:methods -ENDIF:methods -END:method_list -ENDIF:method_list -END:sections - -HTML - -FOOTER = < - -ENDFOOTER - -BODY = HEADER + < - -
- #{METHOD_LIST} -
- - #{FOOTER} -ENDBODY - -########################## Source code ########################## - -SRC_PAGE = XHTML_PREAMBLE + < -%title% - - - - -
%code%
- - -HTML - -########################## Index ################################ - -FR_INDEX_BODY = < - - - - - - - -
-START:entries -%name%
-END:entries -
- -HTML - -CLASS_INDEX = FILE_INDEX -METHOD_INDEX = FILE_INDEX - -INDEX = XHTML_PREAMBLE + < - - %title% - - - - - - - - - -IF:inline_source - -ENDIF:inline_source -IFNOT:inline_source - - - - -ENDIF:inline_source - - <body bgcolor="white"> - Click <a href="html/index.html">here</a> for a non-frames - version of this page. - </body> - - - - -HTML - -end -end - - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc deleted file mode 100644 index a1cf54f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-1.2.4.rdoc +++ /dev/null @@ -1,31 +0,0 @@ -= Builder 1.2.4 Released. - -Added a "CDATA" method to the XML Markup builder (from Josh Knowles). - -== What is Builder? - -Builder::XmlMarkup allows easy programmatic creation of XML markup. -For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - puts builder.target! - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Josh Knowles for the cdata! patch. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc deleted file mode 100644 index ed9e086..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.0.0.rdoc +++ /dev/null @@ -1,46 +0,0 @@ -= Builder 2.0.0 Released. - -== Changes in 2.0.0 - -* UTF-8 characters in data are now correctly translated to their XML - equivalents. (Thanks to Sam Ruby) - -* Attribute values are now escaped by default. See the README - file for details. - -NOTE: The escaping attribute values by default is different -than in previous releases of Builder. This makes version 2.0.0 -somewhat incompatible with the 1.x series of Builder. If you use "&", -"<", or ">" in attributes values, you may have to change your -code. (Essentially you remove the manual escaping. The new way is -easier, believe me). - -== What is Builder? - -Builder::XmlMarkup is a library that allows easy programmatic creation -of XML markup. For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Sam Ruby for the XChar module and the related UTF-8 translation - tools. -* Also to Sam Ruby for gently persuading me to start quoting attribute - values. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc deleted file mode 100755 index dbbf121..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/doc/releases/builder-2.1.1.rdoc +++ /dev/null @@ -1,58 +0,0 @@ -= Builder 2.1.1 Released. - -Release 2.1.1 of Builder is mainly a bug fix release. - -== Changes in 2.1.1 - -* Added reveal capability to BlankSlate. - -* Fixed a bug in BlankSlate where including a module into Object could - cause methods to leak into BlankSlate. - -* Fixed typo in XmlMarkup class docs (from Martin Fowler). - -* Fixed test on private methods to differentiate between targetted and - untargetted private methods. - -* Removed legacy capture of @self in XmlBase (@self was used back when - we used instance eval). - -* Added additional tests for global functions (both direct and - included). - -* Several misc internal cleanups, including rearranging the source - code tree. - -NOTE: The escaping attribute values by default is different -than in previous releases of Builder. This makes version 2.0.x -somewhat incompatible with the 1.x series of Builder. If you use "&", -"<", or ">" in attributes values, you may have to change your -code. (Essentially you remove the manual escaping. The new way is -easier, believe me). - -== What is Builder? - -Builder::XmlMarkup is a library that allows easy programmatic creation -of XML markup. For example: - - builder = Builder::XmlMarkup.new(:target=>STDOUT, :indent=>2) - builder.person { |b| b.name("Jim"); b.phone("555-1234") } - -will generate: - - - Jim - 555-1234 - - -== Availability - -The easiest way to get and install builder is via RubyGems ... - - gem install builder (you may need root/admin privileges) - -== Thanks - -* Martin Fowler for spotting some typos in the documentation. - --- Jim Weirich diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb deleted file mode 100644 index 931c8a7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/blankslate.rb +++ /dev/null @@ -1,137 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -class String - if instance_methods.first.is_a?(Symbol) - def _blankslate_as_name - to_sym - end - else - def _blankslate_as_name - self - end - end -end - -class Symbol - if instance_methods.first.is_a?(Symbol) - def _blankslate_as_name - self - end - else - def _blankslate_as_name - to_s - end - end -end - -###################################################################### -# BlankSlate provides an abstract base class with no predefined -# methods (except for \_\_send__ and \_\_id__). -# BlankSlate is useful as a base class when writing classes that -# depend upon method_missing (e.g. dynamic proxies). -# -class BlankSlate - class << self - - # Hide the method named +name+ in the BlankSlate class. Don't - # hide +instance_eval+ or any method beginning with "__". - def hide(name) - warn_level = $VERBOSE - $VERBOSE = nil - if instance_methods.include?(name._blankslate_as_name) && - name !~ /^(__|instance_eval$)/ - @hidden_methods ||= {} - @hidden_methods[name.to_sym] = instance_method(name) - undef_method name - end - ensure - $VERBOSE = warn_level - end - - def find_hidden_method(name) - @hidden_methods ||= {} - @hidden_methods[name] || superclass.find_hidden_method(name) - end - - # Redefine a previously hidden method so that it may be called on a blank - # slate object. - def reveal(name) - hidden_method = find_hidden_method(name) - fail "Don't know how to reveal method '#{name}'" unless hidden_method - define_method(name, hidden_method) - end - end - - instance_methods.each { |m| hide(m) } -end - -###################################################################### -# Since Ruby is very dynamic, methods added to the ancestors of -# BlankSlate after BlankSlate is defined will show up in the -# list of available BlankSlate methods. We handle this by defining a -# hook in the Object and Kernel classes that will hide any method -# defined after BlankSlate has been loaded. -# -module Kernel - class << self - alias_method :blank_slate_method_added, :method_added - - # Detect method additions to Kernel and remove them in the - # BlankSlate class. - def method_added(name) - result = blank_slate_method_added(name) - return result if self != Kernel - BlankSlate.hide(name) - result - end - end -end - -###################################################################### -# Same as above, except in Object. -# -class Object - class << self - alias_method :blank_slate_method_added, :method_added - - # Detect method additions to Object and remove them in the - # BlankSlate class. - def method_added(name) - result = blank_slate_method_added(name) - return result if self != Object - BlankSlate.hide(name) - result - end - - def find_hidden_method(name) - nil - end - end -end - -###################################################################### -# Also, modules included into Object need to be scanned and have their -# instance methods removed from blank slate. In theory, modules -# included into Kernel would have to be removed as well, but a -# "feature" of Ruby prevents late includes into modules from being -# exposed in the first place. -# -class Module - alias blankslate_original_append_features append_features - def append_features(mod) - result = blankslate_original_append_features(mod) - return result if mod != Object - instance_methods.each do |name| - BlankSlate.hide(name) - end - result - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb deleted file mode 100644 index 9719277..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder.rb +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' -require 'builder/xmlevents' diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb deleted file mode 100644 index 67d2f24..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/blankslate.rb +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2006 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -###################################################################### -# BlankSlate has been promoted to a top level name and is now -# available as a standalone gem. We make the name available in the -# Builder namespace for compatibility. -# -module Builder - if Object::const_defined?(:BasicObject) - BlankSlate = ::BasicObject - else - require 'blankslate' - BlankSlate = ::BlankSlate - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb deleted file mode 100644 index cbe7bc4..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/version.rb +++ /dev/null @@ -1,8 +0,0 @@ -module Builder - VERSION_NUMBERS = [ - VERSION_MAJOR = 3, - VERSION_MINOR = 2, - VERSION_BUILD = 2, - ] - VERSION = VERSION_NUMBERS.join(".") -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb deleted file mode 100644 index c7daa48..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xchar.rb +++ /dev/null @@ -1,197 +0,0 @@ -#!/usr/bin/env ruby - -# The XChar library is provided courtesy of Sam Ruby (See -# http://intertwingly.net/stories/2005/09/28/xchar.rb) - -# -------------------------------------------------------------------- - -# If the Builder::XChar module is not currently defined, fail on any -# name clashes in standard library classes. - -module Builder - def self.check_for_name_collision(klass, method_name, defined_constant=nil) - if klass.method_defined?(method_name.to_s) - fail RuntimeError, - "Name Collision: Method '#{method_name}' is already defined in #{klass}" - end - end -end - -if ! defined?(Builder::XChar) and ! String.method_defined?(:encode) - Builder.check_for_name_collision(String, "to_xs") - Builder.check_for_name_collision(Fixnum, "xchr") -end - -###################################################################### -module Builder - - #################################################################### - # XML Character converter, from Sam Ruby: - # (see http://intertwingly.net/stories/2005/09/28/xchar.rb). - # - module XChar # :nodoc: - - # See - # http://intertwingly.net/stories/2004/04/14/i18n.html#CleaningWindows - # for details. - CP1252 = { # :nodoc: - 128 => 8364, # euro sign - 130 => 8218, # single low-9 quotation mark - 131 => 402, # latin small letter f with hook - 132 => 8222, # double low-9 quotation mark - 133 => 8230, # horizontal ellipsis - 134 => 8224, # dagger - 135 => 8225, # double dagger - 136 => 710, # modifier letter circumflex accent - 137 => 8240, # per mille sign - 138 => 352, # latin capital letter s with caron - 139 => 8249, # single left-pointing angle quotation mark - 140 => 338, # latin capital ligature oe - 142 => 381, # latin capital letter z with caron - 145 => 8216, # left single quotation mark - 146 => 8217, # right single quotation mark - 147 => 8220, # left double quotation mark - 148 => 8221, # right double quotation mark - 149 => 8226, # bullet - 150 => 8211, # en dash - 151 => 8212, # em dash - 152 => 732, # small tilde - 153 => 8482, # trade mark sign - 154 => 353, # latin small letter s with caron - 155 => 8250, # single right-pointing angle quotation mark - 156 => 339, # latin small ligature oe - 158 => 382, # latin small letter z with caron - 159 => 376, # latin capital letter y with diaeresis - } - - # See http://www.w3.org/TR/REC-xml/#dt-chardata for details. - PREDEFINED = { - 38 => '&', # ampersand - 60 => '<', # left angle bracket - 62 => '>', # right angle bracket - } - - # See http://www.w3.org/TR/REC-xml/#charsets for details. - VALID = [ - 0x9, 0xA, 0xD, - (0x20..0xD7FF), - (0xE000..0xFFFD), - (0x10000..0x10FFFF) - ] - - # http://www.fileformat.info/info/unicode/char/fffd/index.htm - REPLACEMENT_CHAR = - if String.method_defined?(:encode) - "\uFFFD" - elsif $KCODE == 'UTF8' - "\xEF\xBF\xBD" - else - '*' - end - end - -end - - -if String.method_defined?(:encode) - module Builder - module XChar # :nodoc: - CP1252_DIFFERENCES, UNICODE_EQUIVALENT = Builder::XChar::CP1252.each. - inject([[],[]]) {|(domain,range),(key,value)| - [domain << key,range << value] - }.map {|seq| seq.pack('U*').force_encoding('utf-8')} - - XML_PREDEFINED = Regexp.new('[' + - Builder::XChar::PREDEFINED.keys.pack('U*').force_encoding('utf-8') + - ']') - - INVALID_XML_CHAR = Regexp.new('[^'+ - Builder::XChar::VALID.map { |item| - case item - when Fixnum - [item].pack('U').force_encoding('utf-8') - when Range - [item.first, '-'.ord, item.last].pack('UUU').force_encoding('utf-8') - end - }.join + - ']') - - ENCODING_BINARY = Encoding.find('BINARY') - ENCODING_UTF8 = Encoding.find('UTF-8') - ENCODING_ISO1 = Encoding.find('ISO-8859-1') - - # convert a string to valid UTF-8, compensating for a number of - # common errors. - def XChar.unicode(string) - if string.encoding == ENCODING_BINARY - if string.ascii_only? - string - else - string = string.clone.force_encoding(ENCODING_UTF8) - if string.valid_encoding? - string - else - string.encode(ENCODING_UTF8, ENCODING_ISO1) - end - end - - elsif string.encoding == ENCODING_UTF8 - if string.valid_encoding? - string - else - string.encode(ENCODING_UTF8, ENCODING_ISO1) - end - - else - string.encode(ENCODING_UTF8) - end - end - - # encode a string per XML rules - def XChar.encode(string) - unicode(string). - tr(CP1252_DIFFERENCES, UNICODE_EQUIVALENT). - gsub(INVALID_XML_CHAR, REPLACEMENT_CHAR). - gsub(XML_PREDEFINED) {|c| PREDEFINED[c.ord]} - end - end - end - -else - - ###################################################################### - # Enhance the Fixnum class with a XML escaped character conversion. - # - class Fixnum - XChar = Builder::XChar if ! defined?(XChar) - - # XML escaped version of chr. When escape is set to false - # the CP1252 fix is still applied but utf-8 characters are not - # converted to character entities. - def xchr(escape=true) - n = XChar::CP1252[self] || self - case n when *XChar::VALID - XChar::PREDEFINED[n] or - (n<128 ? n.chr : (escape ? "&##{n};" : [n].pack('U*'))) - else - Builder::XChar::REPLACEMENT_CHAR - end - end - end - - - ###################################################################### - # Enhance the String class with a XML escaped character version of - # to_s. - # - class String - # XML escaped version of to_s. When escape is set to false - # the CP1252 fix is still applied but utf-8 characters are not - # converted to character entities. - def to_xs(escape=true) - unpack('U*').map {|n| n.xchr(escape)}.join # ASCII, UTF-8 - rescue - unpack('C*').map {|n| n.xchr}.join # ISO-8859-1, WIN-1252 - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb deleted file mode 100644 index 8f03a82..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlbase.rb +++ /dev/null @@ -1,199 +0,0 @@ -#!/usr/bin/env ruby - -require 'builder/blankslate' - -module Builder - - # Generic error for builder - class IllegalBlockError < RuntimeError; end - - # XmlBase is a base class for building XML builders. See - # Builder::XmlMarkup and Builder::XmlEvents for examples. - class XmlBase < BlankSlate - - class << self - attr_accessor :cache_method_calls - end - - # Create an XML markup builder. - # - # out :: Object receiving the markup. +out+ must respond to - # <<. - # indent :: Number of spaces used for indentation (0 implies no - # indentation and no line breaks). - # initial :: Level of initial indentation. - # encoding :: When encoding and $KCODE are set to 'utf-8' - # characters aren't converted to character entities in - # the output stream. - def initialize(indent=0, initial=0, encoding='utf-8') - @indent = indent - @level = initial - @encoding = encoding.downcase - end - - def explicit_nil_handling? - @explicit_nil_handling - end - - # Create a tag named +sym+. Other than the first argument which - # is the tag name, the arguments are the same as the tags - # implemented via method_missing. - def tag!(sym, *args, &block) - text = nil - attrs = nil - sym = "#{sym}:#{args.shift}" if args.first.kind_of?(::Symbol) - sym = sym.to_sym unless sym.class == ::Symbol - args.each do |arg| - case arg - when ::Hash - attrs ||= {} - attrs.merge!(arg) - when nil - attrs ||= {} - attrs.merge!({:nil => true}) if explicit_nil_handling? - else - text ||= '' - text << arg.to_s - end - end - if block - unless text.nil? - ::Kernel::raise ::ArgumentError, - "XmlMarkup cannot mix a text argument with a block" - end - _indent - _start_tag(sym, attrs) - _newline - begin - _nested_structures(block) - ensure - _indent - _end_tag(sym) - _newline - end - elsif text.nil? - _indent - _start_tag(sym, attrs, true) - _newline - else - _indent - _start_tag(sym, attrs) - text! text - _end_tag(sym) - _newline - end - @target - end - - # Create XML markup based on the name of the method. This method - # is never invoked directly, but is called for each markup method - # in the markup block that isn't cached. - def method_missing(sym, *args, &block) - cache_method_call(sym) if ::Builder::XmlBase.cache_method_calls - tag!(sym, *args, &block) - end - - # Append text to the output target. Escape any markup. May be - # used within the markup brackets as: - # - # builder.p { |b| b.br; b.text! "HI" } #=>


HI

- def text!(text) - _text(_escape(text)) - end - - # Append text to the output target without escaping any markup. - # May be used within the markup brackets as: - # - # builder.p { |x| x << "
HI" } #=>


HI

- # - # This is useful when using non-builder enabled software that - # generates strings. Just insert the string directly into the - # builder without changing the inserted markup. - # - # It is also useful for stacking builder objects. Builders only - # use << to append to the target, so by supporting this - # method/operation builders can use other builders as their - # targets. - def <<(text) - _text(text) - end - - # For some reason, nil? is sent to the XmlMarkup object. If nil? - # is not defined and method_missing is invoked, some strange kind - # of recursion happens. Since nil? won't ever be an XML tag, it - # is pretty safe to define it here. (Note: this is an example of - # cargo cult programming, - # cf. http://fishbowl.pastiche.org/2004/10/13/cargo_cult_programming). - def nil? - false - end - - private - - require 'builder/xchar' - if ::String.method_defined?(:encode) - def _escape(text) - result = XChar.encode(text) - begin - encoding = ::Encoding::find(@encoding) - raise Exception if encoding.dummy? - result.encode(encoding) - rescue - # if the encoding can't be supported, use numeric character references - result. - gsub(/[^\u0000-\u007F]/) {|c| "&##{c.ord};"}. - force_encoding('ascii') - end - end - else - def _escape(text) - if (text.method(:to_xs).arity == 0) - text.to_xs - else - text.to_xs((@encoding != 'utf-8' or $KCODE != 'UTF8')) - end - end - end - - def _escape_attribute(text) - _escape(text).gsub("\n", " ").gsub("\r", " "). - gsub(%r{"}, '"') # " WART - end - - def _newline - return if @indent == 0 - text! "\n" - end - - def _indent - return if @indent == 0 || @level == 0 - text!(" " * (@level * @indent)) - end - - def _nested_structures(block) - @level += 1 - block.call(self) - ensure - @level -= 1 - end - - # If XmlBase.cache_method_calls = true, we dynamicly create the method - # missed as an instance method on the XMLBase object. Because XML - # documents are usually very repetative in nature, the next node will - # be handled by the new method instead of method_missing. As - # method_missing is very slow, this speeds up document generation - # significantly. - def cache_method_call(sym) - class << self; self; end.class_eval do - unless method_defined?(sym) - define_method(sym) do |*args, &block| - tag!(sym, *args, &block) - end - end - end - end - end - - XmlBase.cache_method_calls = true - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb deleted file mode 100644 index 91fcd21..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlevents.rb +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' - -module Builder - - # Create a series of SAX-like XML events (e.g. start_tag, end_tag) - # from the markup code. XmlEvent objects are used in a way similar - # to XmlMarkup objects, except that a series of events are generated - # and passed to a handler rather than generating character-based - # markup. - # - # Usage: - # xe = Builder::XmlEvents.new(hander) - # xe.title("HI") # Sends start_tag/end_tag/text messages to the handler. - # - # Indentation may also be selected by providing value for the - # indentation size and initial indentation level. - # - # xe = Builder::XmlEvents.new(handler, indent_size, initial_indent_level) - # - # == XML Event Handler - # - # The handler object must expect the following events. - # - # [start_tag(tag, attrs)] - # Announces that a new tag has been found. +tag+ is the name of - # the tag and +attrs+ is a hash of attributes for the tag. - # - # [end_tag(tag)] - # Announces that an end tag for +tag+ has been found. - # - # [text(text)] - # Announces that a string of characters (+text+) has been found. - # A series of characters may be broken up into more than one - # +text+ call, so the client cannot assume that a single - # callback contains all the text data. - # - class XmlEvents < XmlMarkup - def text!(text) - @target.text(text) - end - - def _start_tag(sym, attrs, end_too=false) - @target.start_tag(sym, attrs) - _end_tag(sym) if end_too - end - - def _end_tag(sym) - @target.end_tag(sym) - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb deleted file mode 100644 index 4730d09..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/lib/builder/xmlmarkup.rb +++ /dev/null @@ -1,339 +0,0 @@ -#!/usr/bin/env ruby -#-- -# Copyright 2004, 2005 by Jim Weirich (jim@weirichhouse.org). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -# Provide a flexible and easy to use Builder for creating XML markup. -# See XmlBuilder for usage details. - -require 'builder/xmlbase' - -module Builder - - # Create XML markup easily. All (well, almost all) methods sent to - # an XmlMarkup object will be translated to the equivalent XML - # markup. Any method with a block will be treated as an XML markup - # tag with nested markup in the block. - # - # Examples will demonstrate this easier than words. In the - # following, +xm+ is an +XmlMarkup+ object. - # - # xm.em("emphasized") # => emphasized - # xm.em { xm.b("emp & bold") } # => emph & bold - # xm.a("A Link", "href"=>"http://onestepback.org") - # # => A Link - # xm.div { xm.br } # =>

- # xm.target("name"=>"compile", "option"=>"fast") - # # => - # # NOTE: order of attributes is not specified. - # - # xm.instruct! # - # xm.html { # - # xm.head { # - # xm.title("History") # History - # } # - # xm.body { # - # xm.comment! "HI" # - # xm.h1("Header") #

Header

- # xm.p("paragraph") #

paragraph

- # } # - # } # - # - # == Notes: - # - # * The order that attributes are inserted in markup tags is - # undefined. - # - # * Sometimes you wish to insert text without enclosing tags. Use - # the text! method to accomplish this. - # - # Example: - # - # xm.div { #
- # xm.text! "line"; xm.br # line
- # xm.text! "another line"; xmbr # another line
- # } #
- # - # * The special XML characters <, >, and & are converted to <, - # > and & automatically. Use the << operation to - # insert text without modification. - # - # * Sometimes tags use special characters not allowed in ruby - # identifiers. Use the tag! method to handle these - # cases. - # - # Example: - # - # xml.tag!("SOAP:Envelope") { ... } - # - # will produce ... - # - # ... " - # - # tag! will also take text and attribute arguments (after - # the tag name) like normal markup methods. (But see the next - # bullet item for a better way to handle XML namespaces). - # - # * Direct support for XML namespaces is now available. If the - # first argument to a tag call is a symbol, it will be joined to - # the tag to produce a namespace:tag combination. It is easier to - # show this than describe it. - # - # xml.SOAP :Envelope do ... end - # - # Just put a space before the colon in a namespace to produce the - # right form for builder (e.g. "SOAP:Envelope" => - # "xml.SOAP :Envelope") - # - # * XmlMarkup builds the markup in any object (called a _target_) - # that accepts the << method. If no target is given, - # then XmlMarkup defaults to a string target. - # - # Examples: - # - # xm = Builder::XmlMarkup.new - # result = xm.title("yada") - # # result is a string containing the markup. - # - # buffer = "" - # xm = Builder::XmlMarkup.new(buffer) - # # The markup is appended to buffer (using <<) - # - # xm = Builder::XmlMarkup.new(STDOUT) - # # The markup is written to STDOUT (using <<) - # - # xm = Builder::XmlMarkup.new - # x2 = Builder::XmlMarkup.new(:target=>xm) - # # Markup written to +x2+ will be send to +xm+. - # - # * Indentation is enabled by providing the number of spaces to - # indent for each level as a second argument to XmlBuilder.new. - # Initial indentation may be specified using a third parameter. - # - # Example: - # - # xm = Builder.new(:indent=>2) - # # xm will produce nicely formatted and indented XML. - # - # xm = Builder.new(:indent=>2, :margin=>4) - # # xm will produce nicely formatted and indented XML with 2 - # # spaces per indent and an over all indentation level of 4. - # - # builder = Builder::XmlMarkup.new(:target=>$stdout, :indent=>2) - # builder.name { |b| b.first("Jim"); b.last("Weirich) } - # # prints: - # # - # # Jim - # # Weirich - # # - # - # * The instance_eval implementation which forces self to refer to - # the message receiver as self is now obsolete. We now use normal - # block calls to execute the markup block. This means that all - # markup methods must now be explicitly send to the xml builder. - # For instance, instead of - # - # xml.div { strong("text") } - # - # you need to write: - # - # xml.div { xml.strong("text") } - # - # Although more verbose, the subtle change in semantics within the - # block was found to be prone to error. To make this change a - # little less cumbersome, the markup block now gets the markup - # object sent as an argument, allowing you to use a shorter alias - # within the block. - # - # For example: - # - # xml_builder = Builder::XmlMarkup.new - # xml_builder.div { |xml| - # xml.stong("text") - # } - # - class XmlMarkup < XmlBase - - # Create an XML markup builder. Parameters are specified by an - # option hash. - # - # :target => target_object:: - # Object receiving the markup. +target_object+ must respond to - # the <<(a_string) operator and return - # itself. The default target is a plain string target. - # - # :indent => indentation:: - # Number of spaces used for indentation. The default is no - # indentation and no line breaks. - # - # :margin => initial_indentation_level:: - # Amount of initial indentation (specified in levels, not - # spaces). - # - # :quote => :single:: - # Use single quotes for attributes rather than double quotes. - # - # :escape_attrs => OBSOLETE:: - # The :escape_attrs option is no longer supported by builder - # (and will be quietly ignored). String attribute values are - # now automatically escaped. If you need unescaped attribute - # values (perhaps you are using entities in the attribute - # values), then give the value as a Symbol. This allows much - # finer control over escaping attribute values. - # - def initialize(options={}) - indent = options[:indent] || 0 - margin = options[:margin] || 0 - @quote = (options[:quote] == :single) ? "'" : '"' - @explicit_nil_handling = options[:explicit_nil_handling] - super(indent, margin) - @target = options[:target] || "" - end - - # Return the target of the builder. - def target! - @target - end - - def comment!(comment_text) - _ensure_no_block ::Kernel::block_given? - _special("", comment_text, nil) - end - - # Insert an XML declaration into the XML markup. - # - # For example: - # - # xml.declare! :ELEMENT, :blah, "yada" - # # => - def declare!(inst, *args, &block) - _indent - @target << "" - _newline - end - - # Insert a processing instruction into the XML markup. E.g. - # - # For example: - # - # xml.instruct! - # #=> - # xml.instruct! :aaa, :bbb=>"ccc" - # #=> - # - # Note: If the encoding is setup to "UTF-8" and the value of - # $KCODE is "UTF8", then builder will emit UTF-8 encoded strings - # rather than the entity encoding normally used. - def instruct!(directive_tag=:xml, attrs={}) - _ensure_no_block ::Kernel::block_given? - if directive_tag == :xml - a = { :version=>"1.0", :encoding=>"UTF-8" } - attrs = a.merge attrs - @encoding = attrs[:encoding].downcase - end - _special( - "", - nil, - attrs, - [:version, :encoding, :standalone]) - end - - # Insert a CDATA section into the XML markup. - # - # For example: - # - # xml.cdata!("text to be included in cdata") - # #=> - # - def cdata!(text) - _ensure_no_block ::Kernel::block_given? - _special("", text.gsub(']]>', ']]]]>'), nil) - end - - private - - # NOTE: All private methods of a builder object are prefixed when - # a "_" character to avoid possible conflict with XML tag names. - - # Insert text directly in to the builder's target. - def _text(text) - @target << text - end - - # Insert special instruction. - def _special(open, close, data=nil, attrs=nil, order=[]) - _indent - @target << open - @target << data if data - _insert_attributes(attrs, order) if attrs - @target << close - _newline - end - - # Start an XML tag. If end_too is true, then the start - # tag is also the end tag (e.g.
- def _start_tag(sym, attrs, end_too=false) - @target << "<#{sym}" - _insert_attributes(attrs) - @target << "/" if end_too - @target << ">" - end - - # Insert an ending tag. - def _end_tag(sym) - @target << "" - end - - # Insert the attributes (given in the hash). - def _insert_attributes(attrs, order=[]) - return if attrs.nil? - order.each do |k| - v = attrs[k] - @target << %{ #{k}=#{@quote}#{_attr_value(v)}#{@quote}} if v - end - attrs.each do |k, v| - @target << %{ #{k}=#{@quote}#{_attr_value(v)}#{@quote}} unless order.member?(k) # " WART - end - end - - def _attr_value(value) - case value - when ::Symbol - value.to_s - else - _escape_attribute(value.to_s) - end - end - - def _ensure_no_block(got_block) - if got_block - ::Kernel::raise IllegalBlockError.new( - "Blocks are not allowed on XML instructions" - ) - end - end - - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake deleted file mode 100644 index 9849e0d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/publish.rake +++ /dev/null @@ -1,17 +0,0 @@ -# Optional publish task for Rake - -require 'rake/contrib/sshpublisher' -require 'rake/contrib/rubyforgepublisher' - -publisher = Rake::CompositePublisher.new -publisher.add Rake::RubyForgePublisher.new('builder', 'jimweirich') -publisher.add Rake::SshFilePublisher.new( - 'linode', - 'htdocs/software/builder', - '.', - 'builder.blurb') - -desc "Publish the Documentation to RubyForge." -task :publish => [:rdoc] do - publisher.upload -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake deleted file mode 100644 index 93b47df..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/rakelib/tags.rake +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env ruby - -module Tags - extend Rake::DSL if defined?(Rake::DSL) - - PROG = ENV['TAGS'] || 'ctags' - - RAKEFILES = FileList['Rakefile', '**/*.rake'] - - FILES = FileList['**/*.rb', '**/*.js'] + RAKEFILES - FILES.exclude('pkg', 'dist') - - PROJECT_DIR = ['.'] - - RVM_GEMDIR = File.join(`rvm gemdir`.strip, "gems") - SYSTEM_DIRS = File.exists?(RVM_GEMDIR) ? RVM_GEMDIR : [] - - module_function - - # Convert key_word to --key-word. - def keyword(key) - k = key.to_s.gsub(/_/, '-') - (k.length == 1) ? "-#{k}" : "--#{k}" - end - - # Run ctags command - def run(*args) - opts = { - :e => true, - :totals => true, - :recurse => true, - } - opts = opts.merge(args.pop) if args.last.is_a?(Hash) - command_args = opts.map { |k, v| - (v == true) ? keyword(k) : "#{keyword(k)}=#{v}" - }.join(" ") - sh %{#{Tags::PROG} #{command_args} #{args.join(' ')}} - end -end - -namespace "tags" do - desc "Generate an Emacs TAGS file" - task :emacs, [:all] => Tags::FILES do |t, args| - puts "Making Emacs TAGS file" - verbose(true) do - Tags.run(Tags::PROJECT_DIR) - Tags.run(Tags::RAKEFILES, - :language_force => "ruby", - :append => true) - if args.all - Tags::SYSTEM_DIRS.each do |dir| - Tags.run(dir, - :language_force => "ruby", - :append => true) - end - end - end - end -end - -desc "Generate the TAGS file" -task :tags, [:all] => ["tags:emacs"] diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb deleted file mode 100644 index e764205..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/performance.rb +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env ruby -# encoding: iso-8859-1 - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'builder/xmlmarkup' -require 'benchmark' - -text = "This is a test of the new xml markup. I�t�rn�ti�n�liz�ti�n\n" * 10000 - -include Benchmark # we need the CAPTION and FMTSTR constants -include Builder -n = 50 -Benchmark.benchmark do |bm| - tf = bm.report("base") { - n.times do - x = XmlMarkup.new - x.text(text) - x.target! - end - } - def XmlMarkup._escape(text) - text.to_xs - end - tf = bm.report("to_xs") { - n.times do - x = XmlMarkup.new - x.text(text) - x.target! - end - } -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb deleted file mode 100644 index 395e043..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/preload.rb +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -# We are defining method_added in Kernel and Object so that when -# BlankSlate overrides them later, we can verify that it correctly -# calls the older hooks. - -module Kernel - class << self - attr_reader :k_added_names - alias_method :preload_method_added, :method_added - def method_added(name) - preload_method_added(name) - @k_added_names ||= [] - @k_added_names << name - end - end -end - -class Object - class << self - attr_reader :o_added_names - alias_method :preload_method_added, :method_added - def method_added(name) - preload_method_added(name) - @o_added_names ||= [] - @o_added_names << name - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb deleted file mode 100644 index ea38ced..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_blankslate.rb +++ /dev/null @@ -1,217 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'blankslate' -require 'stringio' - -# Methods to be introduced into the Object class late. -module LateObject - def late_object - 33 - end - def LateObject.included(mod) - # Modules defining an included method should not prevent blank - # slate erasure! - end -end - -# Methods to be introduced into the Kernel module late. -module LateKernel - def late_kernel - 44 - end - def LateKernel.included(mod) - # Modules defining an included method should not prevent blank - # slate erasure! - end -end - -# Introduce some late methods (both module and direct) into the Kernel -# module. -module Kernel - include LateKernel - - def late_addition - 1234 - end - - def double_late_addition - 11 - end - - def double_late_addition - 22 - end -end - - -# Introduce some late methods (both module and direct) into the Object -# class. -class Object - include LateObject - def another_late_addition - 4321 - end -end - -# Introduce some late methods by inclusion. -module GlobalModule - def global_inclusion - 42 - end -end -include GlobalModule - -def direct_global - 43 -end - -###################################################################### -# Test case for blank slate. -# -class TestBlankSlate < Test::Unit::TestCase - def setup - @bs = BlankSlate.new - end - - def test_undefined_methods_remain_undefined - assert_raise(NoMethodError) { @bs.no_such_method } - assert_raise(NoMethodError) { @bs.nil? } - end - - - # NOTE: NameError is acceptable because the lack of a '.' means that - # Ruby can't tell if it is a method or a local variable. - def test_undefined_methods_remain_undefined_during_instance_eval - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do nil? end - end - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do no_such_method end - end - end - - def test_private_methods_are_undefined - assert_raise(NoMethodError) do - @bs.puts "HI" - end - end - - def test_targetted_private_methods_are_undefined_during_instance_eval - assert_raise(NoMethodError, NameError) do - @bs.instance_eval do self.puts "HI" end - end - end - - def test_untargetted_private_methods_are_defined_during_instance_eval - oldstdout = $stdout - $stdout = StringIO.new - @bs.instance_eval do - puts "HI" - end - ensure - $stdout = oldstdout - end - - def test_methods_added_late_to_kernel_remain_undefined - assert_equal 1234, nil.late_addition - assert_raise(NoMethodError) { @bs.late_addition } - end - - def test_methods_added_late_to_object_remain_undefined - assert_equal 4321, nil.another_late_addition - assert_raise(NoMethodError) { @bs.another_late_addition } - end - - def test_methods_added_late_to_global_remain_undefined - assert_equal 42, global_inclusion - assert_raise(NoMethodError) { @bs.global_inclusion } - end - - def test_preload_method_added - assert Kernel.k_added_names.include?(:late_addition) - assert Object.o_added_names.include?(:another_late_addition) - end - - def test_method_defined_late_multiple_times_remain_undefined - assert_equal 22, nil.double_late_addition - assert_raise(NoMethodError) { @bs.double_late_addition } - end - - def test_late_included_module_in_object_is_ok - assert_equal 33, 1.late_object - assert_raise(NoMethodError) { @bs.late_object } - end - - def test_late_included_module_in_kernel_is_ok - assert_raise(NoMethodError) { @bs.late_kernel } - end - - def test_revealing_previously_hidden_methods_are_callable - with_to_s = Class.new(BlankSlate) do - reveal :to_s - end - assert_match(/^#<.*>$/, with_to_s.new.to_s) - end - - def test_revealing_previously_hidden_methods_are_callable_with_block - Object.class_eval <<-EOS - def given_block(&block) - block - end - EOS - - with_given_block = Class.new(BlankSlate) do - reveal :given_block - end - assert_not_nil with_given_block.new.given_block {} - end - - def test_revealing_a_hidden_method_twice_is_ok - with_to_s = Class.new(BlankSlate) do - reveal :to_s - reveal :to_s - end - assert_match(/^#<.*>$/, with_to_s.new.to_s) - end - - def test_revealing_unknown_hidden_method_is_an_error - assert_raises(RuntimeError) do - Class.new(BlankSlate) do - reveal :xyz - end - end - end - - def test_global_includes_still_work - assert_nothing_raised do - assert_equal 42, global_inclusion - assert_equal 42, Object.new.global_inclusion - assert_equal 42, "magic number".global_inclusion - assert_equal 43, direct_global - end - end - - def test_reveal_should_not_bind_to_an_instance - with_object_id = Class.new(BlankSlate) do - reveal(:object_id) - end - - obj1 = with_object_id.new - obj2 = with_object_id.new - - assert obj1.object_id != obj2.object_id, - "Revealed methods should not be bound to a particular instance" - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb deleted file mode 100644 index f434470..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_eventbuilder.rb +++ /dev/null @@ -1,150 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' -require 'builder/xmlevents' - -class TestEvents < Test::Unit::TestCase - - class Target - attr_reader :events - - def initialize - @events = [] - end - - def start_tag(tag, attrs) - @events << [:start_tag, tag, attrs] - end - - def end_tag(tag) - @events << [:end_tag, tag] - end - - def text(string) - @events << [:text, string] - end - - end - - - def setup - @target = Target.new - @xml = Builder::XmlEvents.new(:target=>@target) - end - - def test_simple - @xml.one - expect [:start_tag, :one, nil] - expect [:end_tag, :one] - expect_done - end - - def test_nested - @xml.one { @xml.two } - expect [:start_tag, :one, nil] - expect [:start_tag, :two, nil] - expect [:end_tag, :two] - expect [:end_tag, :one] - expect_done - end - - def test_text - @xml.one("a") - expect [:start_tag, :one, nil] - expect [:text, "a"] - expect [:end_tag, :one] - expect_done - end - - def test_special_text - @xml.one("H&R") - expect [:start_tag, :one, nil] - expect [:text, "H&R"] - expect [:end_tag, :one] - expect_done - end - - def test_text_with_entity - @xml.one("H&R") - expect [:start_tag, :one, nil] - expect [:text, "H&R"] - expect [:end_tag, :one] - expect_done - end - - def test_attributes - @xml.a(:b=>"c", :x=>"y") - expect [:start_tag, :a, {:x => "y", :b => "c"}] - expect [:end_tag, :a] - expect_done - end - - def test_moderately_complex - @xml.tag! "address-book" do |x| - x.entry :id=>"1" do - x.name { - x.first "Bill" - x.last "Smith" - } - x.address "Cincinnati" - end - x.entry :id=>"2" do - x.name { - x.first "John" - x.last "Doe" - } - x.address "Columbus" - end - end - expect [:start_tag, "address-book".intern, nil] - expect [:start_tag, :entry, {:id => "1"}] - expect [:start_tag, :name, nil] - expect [:start_tag, :first, nil] - expect [:text, "Bill"] - expect [:end_tag, :first] - expect [:start_tag, :last, nil] - expect [:text, "Smith"] - expect [:end_tag, :last] - expect [:end_tag, :name] - expect [:start_tag, :address, nil] - expect [:text, "Cincinnati"] - expect [:end_tag, :address] - expect [:end_tag, :entry] - expect [:start_tag, :entry, {:id => "2"}] - expect [:start_tag, :name, nil] - expect [:start_tag, :first, nil] - expect [:text, "John"] - expect [:end_tag, :first] - expect [:start_tag, :last, nil] - expect [:text, "Doe"] - expect [:end_tag, :last] - expect [:end_tag, :name] - expect [:start_tag, :address, nil] - expect [:text, "Columbus"] - expect [:end_tag, :address] - expect [:end_tag, :entry] - expect [:end_tag, "address-book".intern] - expect_done - end - - def expect(value) - assert_equal value, @target.events.shift - end - - def expect_done - assert_nil @target.events.shift - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb deleted file mode 100644 index 562b12a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_markupbuilder.rb +++ /dev/null @@ -1,611 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' -require 'builder/xmlmarkup' - -class TestMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new - end - - def test_create - assert_not_nil @xml - end - - def test_simple - @xml.simple - assert_equal "", @xml.target! - end - - def test_value - @xml.value("hi") - assert_equal "hi", @xml.target! - end - - def test_empty_value - @xml.value("") - assert_equal "", @xml.target! - end - - def test_nil_value - @xml.value(nil) - assert_equal "", @xml.target! - end - - def test_no_value - @xml.value() - assert_equal "", @xml.target! - end - - def test_nested - @xml.outer { |x| x.inner("x") } - assert_equal "x", @xml.target! - end - - def test_attributes - @xml.ref(:id => 12) - assert_equal %{}, @xml.target! - end - - def test_single_quotes_for_attrs - @xml = Builder::XmlMarkup.new(:quote => :single) - @xml.ref(:id => 12) - assert_equal %{}, @xml.target! - end - - def test_mixed_quotes_for_attrs - @xml = Builder::XmlMarkup.new(:quote => :single) - x = Builder::XmlMarkup.new(:target=>@xml, :quote => :double) - @xml.ref(:id => 12) do - x.link(:id => 13) - end - assert_equal %{}, @xml.target! - end - - def test_string_attributes_are_escaped_by_default - @xml.ref(:id => "H&R") - assert_equal %{}, @xml.target! - end - - def test_symbol_attributes_are_unescaped_by_default - @xml.ref(:id => :"H&R") - assert_equal %{}, @xml.target! - end - - def test_attributes_escaping_can_be_turned_on - @xml = Builder::XmlMarkup.new - @xml.ref(:id => "") - assert_equal %{}, @xml.target! - end - - def test_mixed_attribute_escaping_with_nested_builders - x = Builder::XmlMarkup.new(:target=>@xml) - @xml.ref(:id=>:"H&R") { - x.element(:tag=>"Long&Short") - } - assert_equal "", - @xml.target! - end - - def test_multiple_attributes - @xml.ref(:id => 12, :name => "bill") - assert_match %r{^$}, @xml.target! - end - - def test_attributes_with_text - @xml.a("link", :href=>"http://onestepback.org") - assert_equal %{link}, @xml.target! - end - - def test_attributes_with_newlines - @xml.abbr("W3C", :title=>"World\nWide\rWeb\r\nConsortium") - assert_equal %{W3C}, - @xml.target! - end - - def test_complex - @xml.body(:bg=>"#ffffff") { |x| - x.title("T", :style=>"red") - } - assert_equal %{T}, @xml.target! - end - - def test_funky_symbol - @xml.tag!("non-ruby-token", :id=>1) { |x| x.ok } - assert_equal %{}, @xml.target! - end - - def test_tag_can_handle_private_method - @xml.tag!("loop", :id=>1) { |x| x.ok } - assert_equal %{}, @xml.target! - end - - def test_no_explicit_marker - @xml.p { |x| x.b("HI") } - assert_equal "

HI

", @xml.target! - end - - def test_reference_local_vars - n = 3 - @xml.ol { |x| n.times { x.li(n) } } - assert_equal "
  1. 3
  2. 3
  3. 3
", @xml.target! - end - - def test_reference_methods - @xml.title { |x| x.a { x.b(name) } } - assert_equal "<a><b>bob</b></a>", @xml.target! - end - - def test_append_text - @xml.p { |x| x.br; x.text! "HI" } - assert_equal "


HI

", @xml.target! - end - - def test_ambiguous_markup - ex = assert_raise(ArgumentError) { - @xml.h1("data1") { b } - } - assert_match(/\btext\b/, ex.message) - assert_match(/\bblock\b/, ex.message) - end - - def test_capitalized_method - @xml.P { |x| x.B("hi"); x.BR(); x.EM { x.text! "world" } } - assert_equal "

hi
world

", @xml.target! - end - - def test_escaping - @xml.div { |x| x.text! ""; x.em("H&R Block") } - assert_equal %{
<hi>H&R Block
}, @xml.target! - end - - def test_nil - b = Builder::XmlMarkup.new - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_nil_without_explicit_nil_handling - b = Builder::XmlMarkup.new(:explicit_nil_handling => false) - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_nil_with_explicit_nil_handling - b = Builder::XmlMarkup.new(:explicit_nil_handling => true) - b.tag! "foo", nil - assert_equal %{}, b.target! - end - - def test_non_escaping - @xml.div("ns:xml"=>:"&xml;") { |x| x << ""; x.em("H&R Block") } - assert_equal %{
H&R Block
}, @xml.target! - end - - def test_return_value - str = @xml.x("men") - assert_equal @xml.target!, str - end - - def test_stacked_builders - b = Builder::XmlMarkup.new( :target => @xml ) - b.div { @xml.span { @xml.a("text", :href=>"ref") } } - assert_equal "", @xml.target! - end - - def name - "bob" - end -end - -class TestAttributeEscaping < Test::Unit::TestCase - - def setup - @xml = Builder::XmlMarkup.new - end - - def test_element_gt - @xml.title('1<2') - assert_equal '1<2', @xml.target! - end - - def test_element_amp - @xml.title('AT&T') - assert_equal 'AT&T', @xml.target! - end - - def test_element_amp2 - @xml.title('&') - assert_equal '&amp;', @xml.target! - end - - def test_attr_less - @xml.a(:title => '2>1') - assert_equal '', @xml.target! - end - - def test_attr_amp - @xml.a(:title => 'AT&T') - assert_equal '', @xml.target! - end - - def test_attr_quot - @xml.a(:title => '"x"') - assert_equal '', @xml.target! - end - -end - -class TestNameSpaces < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_simple_name_spaces - @xml.rdf :RDF - assert_equal "\n", @xml.target! - end - - def test_long - xml = Builder::XmlMarkup.new(:indent=>2) - xml.instruct! - xml.rdf :RDF, - "xmlns:rdf" => :"&rdf;", - "xmlns:rdfs" => :"&rdfs;", - "xmlns:xsd" => :"&xsd;", - "xmlns:owl" => :"&owl;" do - xml.owl :Class, :'rdf:ID'=>'Bird' do - xml.rdfs :label, 'bird' - xml.rdfs :subClassOf do - xml.owl :Restriction do - xml.owl :onProperty, 'rdf:resource'=>'#wingspan' - xml.owl :maxCardinality,1,'rdf:datatype'=>'&xsd;nonNegativeInteger' - end - end - end - end - assert_match(/^<\?xml/, xml.target!) - assert_match(/\n/m, xml.target!) - end - - def test_ensure - xml = Builder::XmlMarkup.new - xml.html do - xml.body do - begin - xml.p do - raise Exception.new('boom') - end - rescue Exception => e - xml.pre e - end - end - end - assert_match %r{

}, xml.target! - assert_match %r{

}, xml.target! - end -end - -class TestDeclarations < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_declare - @xml.declare! :element - assert_equal "\n", @xml.target! - end - - def test_bare_arg - @xml.declare! :element, :arg - assert_equal"\n", @xml.target! - end - - def test_string_arg - @xml.declare! :element, "string" - assert_equal"\n", @xml.target! - end - - def test_mixed_args - @xml.declare! :element, :x, "y", :z, "-//OASIS//DTD DocBook XML//EN" - assert_equal "\n", @xml.target! - end - - def test_nested_declarations - @xml = Builder::XmlMarkup.new - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - end - assert_equal "]>", @xml.target! - end - - def test_nested_indented_declarations - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - end - assert_equal "\n]>\n", @xml.target! - end - - def test_complex_declaration - @xml.declare! :DOCTYPE, :chapter do |x| - x.declare! :ELEMENT, :chapter, "(title,para+)".intern - x.declare! :ELEMENT, :title, "(#PCDATA)".intern - x.declare! :ELEMENT, :para, "(#PCDATA)".intern - end - expected = %{ - - -]> -} - assert_equal expected, @xml.target! - end -end - - -class TestSpecialMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_comment - @xml.comment!("COMMENT") - assert_equal "\n", @xml.target! - end - - def test_indented_comment - @xml.p { @xml.comment! "OK" } - assert_equal "

\n \n

\n", @xml.target! - end - - def test_instruct - @xml.instruct! :abc, :version=>"0.9" - assert_equal "\n", @xml.target! - end - - def test_indented_instruct - @xml.p { @xml.instruct! :xml } - assert_match %r{

\n <\?xml version="1.0" encoding="UTF-8"\?>\n

\n}, - @xml.target! - end - - def test_instruct_without_attributes - @xml.instruct! :zz - assert_equal "\n", @xml.target! - end - - def test_xml_instruct - @xml.instruct! - assert_match(/^<\?xml version="1.0" encoding="UTF-8"\?>$/, @xml.target!) - end - - def test_xml_instruct_with_overrides - @xml.instruct! :xml, :encoding=>"UCS-2" - assert_match(/^<\?xml version="1.0" encoding="UCS-2"\?>$/, @xml.target!) - end - - def test_xml_instruct_with_standalong - @xml.instruct! :xml, :encoding=>"UCS-2", :standalone=>"yes" - assert_match(/^<\?xml version="1.0" encoding="UCS-2" standalone="yes"\?>$/, @xml.target!) - end - - def test_no_blocks - assert_raise(Builder::IllegalBlockError) do - @xml.instruct! { |x| x.hi } - end - assert_raise(Builder::IllegalBlockError) do - @xml.comment!(:element) { |x| x.hi } - end - end - - def test_cdata - @xml.cdata!("TEST") - assert_equal "\n", @xml.target! - end - - def test_cdata_with_ampersand - @xml.cdata!("TEST&CHECK") - assert_equal "\n", @xml.target! - end - - def test_cdata_with_included_close - @xml.cdata!("TEST]]>CHECK") - assert_equal "CHECK]]>\n", @xml.target! - end -end - -class TestIndentedXmlMarkup < Test::Unit::TestCase - def setup - @xml = Builder::XmlMarkup.new(:indent=>2) - end - - def test_one_level - @xml.ol { |x| x.li "text" } - assert_equal "
    \n
  1. text
  2. \n
\n", @xml.target! - end - - def test_two_levels - @xml.p { |x| - x.ol { x.li "text" } - x.br - } - assert_equal "

\n

    \n
  1. text
  2. \n
\n
\n

\n", @xml.target! - end - - def test_initial_level - @xml = Builder::XmlMarkup.new(:indent=>2, :margin=>4) - @xml.name { |x| x.first("Jim") } - assert_equal " \n Jim\n \n", @xml.target! - end - - class TestUtfMarkup < Test::Unit::TestCase - if ! String.method_defined?(:encode) - def setup - @old_kcode = $KCODE - end - - def teardown - $KCODE = @old_kcode - end - - def test_use_entities_if_no_encoding_is_given_and_kcode_is_none - $KCODE = 'NONE' - xml = Builder::XmlMarkup.new - xml.p("\xE2\x80\x99") - assert_match(%r(

), xml.target!) # - end - - def test_use_entities_if_encoding_is_utf_but_kcode_is_not - $KCODE = 'NONE' - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p("\xE2\x80\x99") - assert_match(%r(

), xml.target!) # - end - else - # change in behavior. As there is no $KCODE anymore, the default - # moves from "does not understand utf-8" to "supports utf-8". - - def test_use_entities_if_no_encoding_is_given_and_kcode_is_none - xml = Builder::XmlMarkup.new - xml.p("\xE2\x80\x99") - assert_match("

\u2019

", xml.target!) # - end - - def test_use_entities_if_encoding_is_utf_but_kcode_is_not - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p("\xE2\x80\x99") - assert_match("

\u2019

", xml.target!) # - end - end - - def encode string, encoding - if !String.method_defined?(:encode) - $KCODE = encoding - string - elsif encoding == 'UTF8' - string.force_encoding('UTF-8') - else - string - end - end - - def test_use_entities_if_kcode_is_utf_but_encoding_is_dummy_encoding - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-16') - xml.p(encode("\xE2\x80\x99", 'UTF8')) - assert_match(%r(

), xml.target!) # - end - - def test_use_entities_if_kcode_is_utf_but_encoding_is_unsupported_encoding - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UCS-2') - xml.p(encode("\xE2\x80\x99", 'UTF8')) - assert_match(%r(

), xml.target!) # - end - - def test_use_utf8_if_encoding_defaults_and_kcode_is_utf8 - xml = Builder::XmlMarkup.new - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_equal encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - - def test_use_utf8_if_both_encoding_and_kcode_are_utf8 - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'UTF-8') - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_match encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - - def test_use_utf8_if_both_encoding_and_kcode_are_utf8_with_lowercase - xml = Builder::XmlMarkup.new - xml.instruct!(:xml, :encoding => 'utf-8') - xml.p(encode("\xE2\x80\x99",'UTF8')) - assert_match encode("

\xE2\x80\x99

",'UTF8'), xml.target! - end - end - - class TestXmlEvents < Test::Unit::TestCase - def setup - @handler = EventHandler.new - @xe = Builder::XmlEvents.new(:target=>@handler) - end - - def test_simple - @xe.p - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal [:end, :p], @handler.events.shift - end - - def test_text - @xe.p("HI") - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal [:text, "HI"], @handler.events.shift - assert_equal [:end, :p], @handler.events.shift - end - - def test_attributes - @xe.p("id"=>"2") - ev = @handler.events.shift - assert_equal [:start, :p], ev[0,2] - assert_equal "2", ev[2]['id'] - assert_equal [:end, :p], @handler.events.shift - end - - def test_indented - @xml = Builder::XmlEvents.new(:indent=>2, :target=>@handler) - @xml.p { |x| x.b("HI") } - assert_equal [:start, :p, nil], @handler.events.shift - assert_equal "\n ", pop_text - assert_equal [:start, :b, nil], @handler.events.shift - assert_equal "HI", pop_text - assert_equal [:end, :b], @handler.events.shift - assert_equal "\n", pop_text - assert_equal [:end, :p], @handler.events.shift - end - - def pop_text - result = '' - while ! @handler.events.empty? && @handler.events[0][0] == :text - result << @handler.events[0][1] - @handler.events.shift - end - result - end - - class EventHandler - attr_reader :events - def initialize - @events = [] - end - - def start_tag(sym, attrs) - @events << [:start, sym, attrs] - end - - def end_tag(sym) - @events << [:end, sym] - end - - def text(txt) - @events << [:text, txt] - end - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb deleted file mode 100644 index 91f7aca..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_method_caching.rb +++ /dev/null @@ -1,62 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2011 by Bart ten Brinke (info@retrosync.com). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'test/preload' -require 'builder' - -class TestMethodCaching < Test::Unit::TestCase - - # We can directly ask if xml object responds to the cache_me or - # do_not_cache_me methods because xml is derived from BasicObject - # (and repond_to? is not defined in BasicObject). - # - # Instead we are going to stub out method_missing so that it throws - # an error, and then make sure that error is either thrown or not - # thrown as appropriate. - - def teardown - super - Builder::XmlBase.cache_method_calls = true - end - - def test_caching_does_not_break_weird_symbols - xml = Builder::XmlMarkup.new - xml.__send__("work-order", 1) - assert_equal "1", xml.target! - end - - def test_method_call_caching - xml = Builder::XmlMarkup.new - xml.cache_me - - def xml.method_missing(*args) - ::Kernel.fail StandardError, "SHOULD NOT BE CALLED" - end - assert_nothing_raised do - xml.cache_me - end - end - - def test_method_call_caching_disabled - Builder::XmlBase.cache_method_calls = false - xml = Builder::XmlMarkup.new - xml.do_not_cache_me - - def xml.method_missing(*args) - ::Kernel.fail StandardError, "SHOULD BE CALLED" - end - assert_raise(StandardError, "SHOULD BE CALLED") do - xml.do_not_cache_me - end - end - -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb deleted file mode 100644 index 5b16b30..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_namecollision.rb +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env ruby - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -require 'test/unit' -require 'builder/xchar' - -class TestNameCollisions < Test::Unit::TestCase - module Collide - def xchr - end - end - - def test_no_collision - assert_nothing_raised do - Builder.check_for_name_collision(Collide, :not_defined) - end - end - - def test_collision - assert_raise RuntimeError do - Builder.check_for_name_collision(Collide, "xchr") - end - end - - def test_collision_with_symbol - assert_raise RuntimeError do - Builder.check_for_name_collision(Collide, :xchr) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb deleted file mode 100644 index 6a00716..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/builder-3.2.2/test/test_xchar.rb +++ /dev/null @@ -1,78 +0,0 @@ -#!/usr/bin/env ruby -# encoding: us-ascii - -#-- -# Portions copyright 2004 by Jim Weirich (jim@weirichhouse.org). -# Portions copyright 2005 by Sam Ruby (rubys@intertwingly.net). -# All rights reserved. - -# Permission is granted for use, copying, modification, distribution, -# and distribution of modified versions of this work as long as the -# above copyright notice is included. -#++ - -#!/usr/bin/env ruby - -require 'test/unit' -require 'builder/xchar' - -if String.method_defined?(:encode) - class String - ENCODING_BINARY = Encoding.find('BINARY') - - # shim method for testing purposes - def to_xs(escape=true) - raise NameError.new('to_xs') unless caller[0].index(__FILE__) - - result = Builder::XChar.encode(self) - if escape - result.gsub(/[^\u0000-\u007F]/) {|c| "&##{c.ord};"} - else - # really only useful for testing purposes - result.force_encoding(ENCODING_BINARY) - end - end - end -end - -class TestXmlEscaping < Test::Unit::TestCase - REPLACEMENT_CHAR = Builder::XChar::REPLACEMENT_CHAR.to_xs - - def test_ascii - assert_equal 'abc', 'abc'.to_xs - end - - def test_predefined - assert_equal '&', '&'.to_xs # ampersand - assert_equal '<', '<'.to_xs # left angle bracket - assert_equal '>', '>'.to_xs # right angle bracket - end - - def test_invalid - assert_equal REPLACEMENT_CHAR, "\x00".to_xs # null - assert_equal REPLACEMENT_CHAR, "\x0C".to_xs # form feed - assert_equal REPLACEMENT_CHAR, "\xEF\xBF\xBF".to_xs # U+FFFF - end - - def test_iso_8859_1 - assert_equal 'ç', "\xE7".to_xs # small c cedilla - assert_equal '©', "\xA9".to_xs # copyright symbol - end - - def test_win_1252 - assert_equal '’', "\x92".to_xs # smart quote - assert_equal '€', "\x80".to_xs # euro - end - - def test_utf8 - assert_equal '’', "\xE2\x80\x99".to_xs # right single quote - assert_equal '©', "\xC2\xA9".to_xs # copy - end - - def test_utf8_verbatim - assert_equal "\xE2\x80\x99", "\xE2\x80\x99".to_xs(false) # right single quote - assert_equal "\xC2\xA9", "\xC2\xA9".to_xs(false) # copy - assert_equal "\xC2\xA9&\xC2\xA9", - "\xC2\xA9&\xC2\xA9".to_xs(false) # copy with ampersand - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/LICENSE.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/LICENSE.md deleted file mode 100644 index 372e935..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/LICENSE.md +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2009-2015 Rick Olson, Zack Hobson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/README.md deleted file mode 100644 index afbbb85..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/README.md +++ /dev/null @@ -1,245 +0,0 @@ -# Faraday - -Faraday is an HTTP client lib that provides a common interface over many -adapters (such as Net::HTTP) and embraces the concept of Rack middleware when -processing the request/response cycle. - -Faraday supports these adapters: - -* [Net::HTTP][net_http] _(default)_ -* [Net::HTTP::Persistent][persistent] -* [Excon][] -* [Typhoeus][] -* [Patron][] -* [EventMachine][] -* [HTTPClient][] - -It also includes a Rack adapter for hitting loaded Rack applications through -Rack::Test, and a Test adapter for stubbing requests by hand. - -## Usage - -```ruby -conn = Faraday.new(:url => 'http://sushi.com') do |faraday| - faraday.request :url_encoded # form-encode POST params - faraday.response :logger # log requests to STDOUT - faraday.adapter Faraday.default_adapter # make requests with Net::HTTP -end - -## GET ## - -response = conn.get '/nigiri/sake.json' # GET http://sushi.com/nigiri/sake.json -response.body - -conn.get '/nigiri', { :name => 'Maguro' } # GET http://sushi.com/nigiri?name=Maguro - -conn.get do |req| # GET http://sushi.com/search?page=2&limit=100 - req.url '/search', :page => 2 - req.params['limit'] = 100 -end - -## POST ## - -conn.post '/nigiri', { :name => 'Maguro' } # POST "name=maguro" to http://sushi.com/nigiri - -# post payload as JSON instead of "www-form-urlencoded" encoding: -conn.post do |req| - req.url '/nigiri' - req.headers['Content-Type'] = 'application/json' - req.body = '{ "name": "Unagi" }' -end - -## Per-request options ## - -conn.get do |req| - req.url '/search' - req.options.timeout = 5 # open/read timeout in seconds - req.options.open_timeout = 2 # connection open timeout in seconds -end -``` - -If you don't need to set up anything, you can roll with just the default middleware -stack and default adapter (see [Faraday::RackBuilder#initialize](https://github.com/lostisland/faraday/blob/master/lib/faraday/rack_builder.rb)): - -```ruby -response = Faraday.get 'http://sushi.com/nigiri/sake.json' -``` - -### Changing how parameters are serialized - -Sometimes you need to send the same URL parameter multiple times with different -values. This requires manually setting the parameter encoder and can be done on -either per-connection or per-request basis. - -```ruby -# per-connection setting -conn = Faraday.new :params_encoder => Faraday::FlatParamsEncoder - -conn.get do |req| - # per-request setting: - # req.options.params_encoder = my_encoder - req.params['roll'] = ['california', 'philadelphia'] -end -# GET 'http://sushi.com?roll=california&roll=philadelphia' -``` - -The value of Faraday `params_encoder` can be any object that responds to: - -* `encode(hash) #=> String` -* `decode(string) #=> Hash` - -The encoder will affect both how query strings are processed and how POST bodies -get serialized. The default encoder is Faraday::NestedParamsEncoder. - -## Advanced middleware usage - -The order in which middleware is stacked is important. Like with Rack, the -first middleware on the list wraps all others, while the last middleware is the -innermost one, so that must be the adapter. - -```ruby -Faraday.new(...) do |conn| - # POST/PUT params encoders: - conn.request :multipart - conn.request :url_encoded - - conn.adapter :net_http -end -``` - -This request middleware setup affects POST/PUT requests in the following way: - -1. `Request::Multipart` checks for files in the payload, otherwise leaves - everything untouched; -2. `Request::UrlEncoded` encodes as "application/x-www-form-urlencoded" if not - already encoded or of another type - -Swapping middleware means giving the other priority. Specifying the -"Content-Type" for the request is explicitly stating which middleware should -process it. - -Examples: - -```ruby -# uploading a file: -payload[:profile_pic] = Faraday::UploadIO.new('/path/to/avatar.jpg', 'image/jpeg') - -# "Multipart" middleware detects files and encodes with "multipart/form-data": -conn.put '/profile', payload -``` - -## Writing middleware - -Middleware are classes that implement a `call` instance method. They hook into -the request/response cycle. - -```ruby -def call(request_env) - # do something with the request - # request_env[:request_headers].merge!(...) - - @app.call(request_env).on_complete do |response_env| - # do something with the response - # response_env[:response_headers].merge!(...) - end -end -``` - -It's important to do all processing of the response only in the `on_complete` -block. This enables middleware to work in parallel mode where requests are -asynchronous. - -The `env` is a hash with symbol keys that contains info about the request and, -later, response. Some keys are: - -``` -# request phase -:method - :get, :post, ... -:url - URI for the current request; also contains GET parameters -:body - POST parameters for :post/:put requests -:request_headers - -# response phase -:status - HTTP response status code, such as 200 -:body - the response body -:response_headers -``` - -## Using Faraday for testing - -```ruby -# It's possible to define stubbed request outside a test adapter block. -stubs = Faraday::Adapter::Test::Stubs.new do |stub| - stub.get('/tamago') { |env| [200, {}, 'egg'] } -end - -# You can pass stubbed request to the test adapter or define them in a block -# or a combination of the two. -test = Faraday.new do |builder| - builder.adapter :test, stubs do |stub| - stub.get('/ebi') { |env| [ 200, {}, 'shrimp' ]} - end -end - -# It's also possible to stub additional requests after the connection has -# been initialized. This is useful for testing. -stubs.get('/uni') { |env| [ 200, {}, 'urchin' ]} - -resp = test.get '/tamago' -resp.body # => 'egg' -resp = test.get '/ebi' -resp.body # => 'shrimp' -resp = test.get '/uni' -resp.body # => 'urchin' -resp = test.get '/else' #=> raises "no such stub" error - -# If you like, you can treat your stubs as mocks by verifying that all of -# the stubbed calls were made. NOTE that this feature is still fairly -# experimental: It will not verify the order or count of any stub, only that -# it was called once during the course of the test. -stubs.verify_stubbed_calls -``` - -## TODO - -* support streaming requests/responses -* better stubbing API - -## Supported Ruby versions - -This library aims to support and is [tested against][travis] the following Ruby -implementations: - -* Ruby 1.8.7+ -* [JRuby][] 1.7+ -* [Rubinius][] 2+ - -If something doesn't work on one of these Ruby versions, it's a bug. - -This library may inadvertently work (or seem to work) on other Ruby -implementations, however support will only be provided for the versions listed -above. - -If you would like this library to support another Ruby version, you may -volunteer to be a maintainer. Being a maintainer entails making sure all tests -run and pass on that implementation. When something breaks on your -implementation, you will be responsible for providing patches in a timely -fashion. If critical issues for a particular implementation exist at the time -of a major release, support for that Ruby version may be dropped. - -## Copyright - -Copyright (c) 2009-2013 [Rick Olson](mailto:technoweenie@gmail.com), Zack Hobson. -See [LICENSE][] for details. - -[net_http]: http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/Net/HTTP.html -[persistent]: https://github.com/drbrain/net-http-persistent -[travis]: http://travis-ci.org/lostisland/faraday -[excon]: https://github.com/geemus/excon#readme -[typhoeus]: https://github.com/typhoeus/typhoeus#readme -[patron]: http://toland.github.com/patron/ -[eventmachine]: https://github.com/igrigorik/em-http-request#readme -[httpclient]: https://github.com/nahi/httpclient -[jruby]: http://jruby.org/ -[rubinius]: http://rubini.us/ -[license]: LICENSE.md diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday.rb deleted file mode 100644 index 38dbf93..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday.rb +++ /dev/null @@ -1,268 +0,0 @@ -require 'thread' -require 'cgi' -require 'set' -require 'forwardable' - -# Public: This is the main namespace for Faraday. You can either use it to -# create Faraday::Connection objects, or access it directly. -# -# Examples -# -# Faraday.get "http://faraday.com" -# -# conn = Faraday.new "http://faraday.com" -# conn.get '/' -# -module Faraday - VERSION = "0.9.2" - - class << self - # Public: Gets or sets the root path that Faraday is being loaded from. - # This is the root from where the libraries are auto-loaded from. - attr_accessor :root_path - - # Public: Gets or sets the path that the Faraday libs are loaded from. - attr_accessor :lib_path - - # Public: Gets or sets the Symbol key identifying a default Adapter to use - # for the default Faraday::Connection. - attr_reader :default_adapter - - # Public: Sets the default Faraday::Connection for simple scripts that - # access the Faraday constant directly. - # - # Faraday.get "https://faraday.com" - attr_writer :default_connection - - # Public: Sets the default options used when calling Faraday#new. - attr_writer :default_connection_options - - # Public: Initializes a new Faraday::Connection. - # - # url - The optional String base URL to use as a prefix for all - # requests. Can also be the options Hash. - # options - The optional Hash used to configure this Faraday::Connection. - # Any of these values will be set on every request made, unless - # overridden for a specific request. - # :url - String base URL. - # :params - Hash of URI query unencoded key/value pairs. - # :headers - Hash of unencoded HTTP header key/value pairs. - # :request - Hash of request options. - # :ssl - Hash of SSL options. - # :proxy - Hash of Proxy options. - # - # Examples - # - # Faraday.new 'http://faraday.com' - # - # # http://faraday.com?page=1 - # Faraday.new 'http://faraday.com', :params => {:page => 1} - # - # # same - # - # Faraday.new :url => 'http://faraday.com', - # :params => {:page => 1} - # - # Returns a Faraday::Connection. - def new(url = nil, options = nil) - block = block_given? ? Proc.new : nil - options = options ? default_connection_options.merge(options) : default_connection_options.dup - Faraday::Connection.new(url, options, &block) - end - - # Internal: Requires internal Faraday libraries. - # - # *libs - One or more relative String names to Faraday classes. - # - # Returns nothing. - def require_libs(*libs) - libs.each do |lib| - require "#{lib_path}/#{lib}" - end - end - - # Public: Updates default adapter while resetting - # #default_connection. - # - # Returns the new default_adapter. - def default_adapter=(adapter) - @default_connection = nil - @default_adapter = adapter - end - - alias require_lib require_libs - - private - # Internal: Proxies method calls on the Faraday constant to - # #default_connection. - def method_missing(name, *args, &block) - default_connection.send(name, *args, &block) - end - end - - self.root_path = File.expand_path "..", __FILE__ - self.lib_path = File.expand_path "../faraday", __FILE__ - self.default_adapter = :net_http - - # Gets the default connection used for simple scripts. - # - # Returns a Faraday::Connection, configured with the #default_adapter. - def self.default_connection - @default_connection ||= Connection.new - end - - # Gets the default connection options used when calling Faraday#new. - # - # Returns a Faraday::ConnectionOptions. - def self.default_connection_options - @default_connection_options ||= ConnectionOptions.new - end - - if (!defined?(RUBY_ENGINE) || "ruby" == RUBY_ENGINE) && RUBY_VERSION < '1.9' - begin - require 'system_timer' - Timer = SystemTimer - rescue LoadError - warn "Faraday: you may want to install system_timer for reliable timeouts" - end - end - - unless const_defined? :Timer - require 'timeout' - Timer = Timeout - end - - # Public: Adds the ability for other modules to register and lookup - # middleware classes. - module MiddlewareRegistry - # Public: Register middleware class(es) on the current module. - # - # mapping - A Hash mapping Symbol keys to classes. Classes can be expressed - # as fully qualified constant, or a Proc that will be lazily - # called to return the former. - # - # Examples - # - # module Faraday - # class Whatever - # # Middleware looked up by :foo returns Faraday::Whatever::Foo. - # register_middleware :foo => Foo - # - # # Middleware looked up by :bar returns Faraday::Whatever.const_get(:Bar) - # register_middleware :bar => :Bar - # - # # Middleware looked up by :baz requires 'baz' and returns Faraday::Whatever.const_get(:Baz) - # register_middleware :baz => [:Baz, 'baz'] - # end - # end - # - # Returns nothing. - def register_middleware(autoload_path = nil, mapping = nil) - if mapping.nil? - mapping = autoload_path - autoload_path = nil - end - middleware_mutex do - @middleware_autoload_path = autoload_path if autoload_path - (@registered_middleware ||= {}).update(mapping) - end - end - - # Public: Lookup middleware class with a registered Symbol shortcut. - # - # key - The Symbol key for the registered middleware. - # - # Examples - # - # module Faraday - # class Whatever - # register_middleware :foo => Foo - # end - # end - # - # Faraday::Whatever.lookup_middleware(:foo) - # # => Faraday::Whatever::Foo - # - # Returns a middleware Class. - def lookup_middleware(key) - load_middleware(key) || - raise(Faraday::Error.new("#{key.inspect} is not registered on #{self}")) - end - - def middleware_mutex(&block) - @middleware_mutex ||= begin - require 'monitor' - Monitor.new - end - @middleware_mutex.synchronize(&block) - end - - def fetch_middleware(key) - defined?(@registered_middleware) && @registered_middleware[key] - end - - def load_middleware(key) - value = fetch_middleware(key) - case value - when Module - value - when Symbol, String - middleware_mutex do - @registered_middleware[key] = const_get(value) - end - when Proc - middleware_mutex do - @registered_middleware[key] = value.call - end - when Array - middleware_mutex do - const, path = value - if root = @middleware_autoload_path - path = "#{root}/#{path}" - end - require(path) - @registered_middleware[key] = const - end - load_middleware(key) - end - end - end - - def self.const_missing(name) - if name.to_sym == :Builder - warn "Faraday::Builder is now Faraday::RackBuilder." - const_set name, RackBuilder - else - super - end - end - - require_libs "utils", "options", "connection", "rack_builder", "parameters", - "middleware", "adapter", "request", "response", "upload_io", "error" - - if !ENV["FARADAY_NO_AUTOLOAD"] - require_lib 'autoload' - end -end - -# not pulling in active-support JUST for this method. And I love this method. -class Object - # The primary purpose of this method is to "tap into" a method chain, - # in order to perform operations on intermediate results within the chain. - # - # Examples - # - # (1..10).tap { |x| puts "original: #{x.inspect}" }.to_a. - # tap { |x| puts "array: #{x.inspect}" }. - # select { |x| x%2 == 0 }. - # tap { |x| puts "evens: #{x.inspect}" }. - # map { |x| x*x }. - # tap { |x| puts "squares: #{x.inspect}" } - # - # Yields self. - # Returns self. - def tap - yield(self) - self - end unless Object.respond_to?(:tap) -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter.rb deleted file mode 100644 index f018b50..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter.rb +++ /dev/null @@ -1,46 +0,0 @@ -module Faraday - # Public: This is a base class for all Faraday adapters. Adapters are - # responsible for fulfilling a Faraday request. - class Adapter < Middleware - CONTENT_LENGTH = 'Content-Length'.freeze - - register_middleware File.expand_path('../adapter', __FILE__), - :test => [:Test, 'test'], - :net_http => [:NetHttp, 'net_http'], - :net_http_persistent => [:NetHttpPersistent, 'net_http_persistent'], - :typhoeus => [:Typhoeus, 'typhoeus'], - :patron => [:Patron, 'patron'], - :em_synchrony => [:EMSynchrony, 'em_synchrony'], - :em_http => [:EMHttp, 'em_http'], - :excon => [:Excon, 'excon'], - :rack => [:Rack, 'rack'], - :httpclient => [:HTTPClient, 'httpclient'] - - # Public: This module marks an Adapter as supporting parallel requests. - module Parallelism - attr_writer :supports_parallel - def supports_parallel?() @supports_parallel end - - def inherited(subclass) - super - subclass.supports_parallel = self.supports_parallel? - end - end - - extend Parallelism - self.supports_parallel = false - - def call(env) - env.clear_body if env.needs_body? - end - - def save_response(env, status, body, headers = nil) - env.status = status - env.body = body - env.response_headers = Utils::Headers.new.tap do |response_headers| - response_headers.update headers unless headers.nil? - yield(response_headers) if block_given? - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_http.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_http.rb deleted file mode 100644 index a248fcf..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_http.rb +++ /dev/null @@ -1,237 +0,0 @@ -module Faraday - class Adapter - # EventMachine adapter is useful for either asynchronous requests - # when in EM reactor loop or for making parallel requests in - # synchronous code. - class EMHttp < Faraday::Adapter - module Options - def connection_config(env) - options = {} - configure_proxy(options, env) - configure_timeout(options, env) - configure_socket(options, env) - configure_ssl(options, env) - options - end - - def request_config(env) - options = { - :body => read_body(env), - :head => env[:request_headers], - # :keepalive => true, - # :file => 'path/to/file', # stream data off disk - } - configure_compression(options, env) - options - end - - def read_body(env) - body = env[:body] - body.respond_to?(:read) ? body.read : body - end - - def configure_proxy(options, env) - if proxy = request_options(env)[:proxy] - options[:proxy] = { - :host => proxy[:uri].host, - :port => proxy[:uri].port, - :authorization => [proxy[:user], proxy[:password]] - } - end - end - - def configure_socket(options, env) - if bind = request_options(env)[:bind] - options[:bind] = { - :host => bind[:host], - :port => bind[:port] - } - end - end - - def configure_ssl(options, env) - if env[:url].scheme == 'https' && env[:ssl] - options[:ssl] = { - :cert_chain_file => env[:ssl][:ca_file], - :verify_peer => env[:ssl].fetch(:verify, true) - } - end - end - - def configure_timeout(options, env) - timeout, open_timeout = request_options(env).values_at(:timeout, :open_timeout) - options[:connect_timeout] = options[:inactivity_timeout] = timeout - options[:connect_timeout] = open_timeout if open_timeout - end - - def configure_compression(options, env) - if env[:method] == :get and not options[:head].key? 'accept-encoding' - options[:head]['accept-encoding'] = 'gzip, compressed' - end - end - - def request_options(env) - env[:request] - end - end - - include Options - - dependency 'em-http' - - self.supports_parallel = true - - def self.setup_parallel_manager(options = nil) - Manager.new - end - - def call(env) - super - perform_request env - @app.call env - end - - def perform_request(env) - if parallel?(env) - manager = env[:parallel_manager] - manager.add { - perform_single_request(env). - callback { env[:response].finish(env) } - } - else - unless EventMachine.reactor_running? - error = nil - # start EM, block until request is completed - EventMachine.run do - perform_single_request(env). - callback { EventMachine.stop }. - errback { |client| - error = error_message(client) - EventMachine.stop - } - end - raise_error(error) if error - else - # EM is running: instruct upstream that this is an async request - env[:parallel_manager] = true - perform_single_request(env). - callback { env[:response].finish(env) }. - errback { - # TODO: no way to communicate the error in async mode - raise NotImplementedError - } - end - end - rescue EventMachine::Connectify::CONNECTError => err - if err.message.include?("Proxy Authentication Required") - raise Error::ConnectionFailed, %{407 "Proxy Authentication Required "} - else - raise Error::ConnectionFailed, err - end - rescue => err - if defined?(OpenSSL) && OpenSSL::SSL::SSLError === err - raise Faraday::SSLError, err - else - raise - end - end - - # TODO: reuse the connection to support pipelining - def perform_single_request(env) - req = EventMachine::HttpRequest.new(env[:url], connection_config(env)) - req.setup_request(env[:method], request_config(env)).callback { |client| - save_response(env, client.response_header.status, client.response) do |resp_headers| - client.response_header.each do |name, value| - resp_headers[name.to_sym] = value - end - end - } - end - - def error_message(client) - client.error or "request failed" - end - - def raise_error(msg) - errklass = Faraday::Error::ClientError - if msg == Errno::ETIMEDOUT - errklass = Faraday::Error::TimeoutError - msg = "request timed out" - elsif msg == Errno::ECONNREFUSED - errklass = Faraday::Error::ConnectionFailed - msg = "connection refused" - elsif msg == "connection closed by server" - errklass = Faraday::Error::ConnectionFailed - end - raise errklass, msg - end - - def parallel?(env) - !!env[:parallel_manager] - end - - # The parallel manager is designed to start an EventMachine loop - # and block until all registered requests have been completed. - class Manager - def initialize - reset - end - - def reset - @registered_procs = [] - @num_registered = 0 - @num_succeeded = 0 - @errors = [] - @running = false - end - - def running?() @running end - - def add - if running? - perform_request { yield } - else - @registered_procs << Proc.new - end - @num_registered += 1 - end - - def run - if @num_registered > 0 - @running = true - EventMachine.run do - @registered_procs.each do |proc| - perform_request(&proc) - end - end - if @errors.size > 0 - raise Faraday::Error::ClientError, @errors.first || "connection failed" - end - end - ensure - reset - end - - def perform_request - client = yield - client.callback { @num_succeeded += 1; check_finished } - client.errback { @errors << client.error; check_finished } - end - - def check_finished - if @num_succeeded + @errors.size == @num_registered - EventMachine.stop - end - end - end - end - end -end - -begin - require 'openssl' -rescue LoadError - warn "Warning: no such file to load -- openssl. Make sure it is installed if you want HTTPS support" -else - require 'faraday/adapter/em_http_ssl_patch' -end if Faraday::Adapter::EMHttp.loaded? diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_http_ssl_patch.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_http_ssl_patch.rb deleted file mode 100644 index 8bbfcbc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_http_ssl_patch.rb +++ /dev/null @@ -1,56 +0,0 @@ -require 'openssl' -require 'em-http' - -module EmHttpSslPatch - def ssl_verify_peer(cert_string) - cert = nil - begin - cert = OpenSSL::X509::Certificate.new(cert_string) - rescue OpenSSL::X509::CertificateError - return false - end - - @last_seen_cert = cert - - if certificate_store.verify(@last_seen_cert) - begin - certificate_store.add_cert(@last_seen_cert) - rescue OpenSSL::X509::StoreError => e - raise e unless e.message == 'cert already in hash table' - end - true - else - raise OpenSSL::SSL::SSLError.new(%(unable to verify the server certificate for "#{host}")) - end - end - - def ssl_handshake_completed - return true unless verify_peer? - - unless OpenSSL::SSL.verify_certificate_identity(@last_seen_cert, host) - raise OpenSSL::SSL::SSLError.new(%(host "#{host}" does not match the server certificate)) - else - true - end - end - - def verify_peer? - parent.connopts.tls[:verify_peer] - end - - def host - parent.connopts.host - end - - def certificate_store - @certificate_store ||= begin - store = OpenSSL::X509::Store.new - store.set_default_paths - ca_file = parent.connopts.tls[:cert_chain_file] - store.add_file(ca_file) if ca_file - store - end - end -end - -EventMachine::HttpStubConnection.send(:include, EmHttpSslPatch) diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony.rb deleted file mode 100644 index cb7ee87..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony.rb +++ /dev/null @@ -1,100 +0,0 @@ -require 'uri' - -module Faraday - class Adapter - class EMSynchrony < Faraday::Adapter - include EMHttp::Options - - dependency do - require 'em-synchrony/em-http' - require 'em-synchrony/em-multi' - require 'fiber' - end - - self.supports_parallel = true - - def self.setup_parallel_manager(options = {}) - ParallelManager.new - end - - def call(env) - super - request = EventMachine::HttpRequest.new(Utils::URI(env[:url].to_s), connection_config(env)) - - http_method = env[:method].to_s.downcase.to_sym - - # Queue requests for parallel execution. - if env[:parallel_manager] - env[:parallel_manager].add(request, http_method, request_config(env)) do |resp| - save_response(env, resp.response_header.status, resp.response) do |resp_headers| - resp.response_header.each do |name, value| - resp_headers[name.to_sym] = value - end - end - - # Finalize the response object with values from `env`. - env[:response].finish(env) - end - - # Execute single request. - else - client = nil - block = lambda { request.send(http_method, request_config(env)) } - - if !EM.reactor_running? - EM.run do - Fiber.new { - client = block.call - EM.stop - }.resume - end - else - client = block.call - end - - raise client.error if client.error - - save_response(env, client.response_header.status, client.response) do |resp_headers| - client.response_header.each do |name, value| - resp_headers[name.to_sym] = value - end - end - end - - @app.call env - rescue Errno::ECONNREFUSED - raise Error::ConnectionFailed, $! - rescue EventMachine::Connectify::CONNECTError => err - if err.message.include?("Proxy Authentication Required") - raise Error::ConnectionFailed, %{407 "Proxy Authentication Required "} - else - raise Error::ConnectionFailed, err - end - rescue Errno::ETIMEDOUT => err - raise Error::TimeoutError, err - rescue RuntimeError => err - if err.message == "connection closed by server" - raise Error::ConnectionFailed, err - else - raise - end - rescue => err - if defined?(OpenSSL) && OpenSSL::SSL::SSLError === err - raise Faraday::SSLError, err - else - raise - end - end - end - end -end - -require 'faraday/adapter/em_synchrony/parallel_manager' - -begin - require 'openssl' -rescue LoadError - warn "Warning: no such file to load -- openssl. Make sure it is installed if you want HTTPS support" -else - require 'faraday/adapter/em_http_ssl_patch' -end if Faraday::Adapter::EMSynchrony.loaded? diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony/parallel_manager.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony/parallel_manager.rb deleted file mode 100644 index 12a1baf..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/em_synchrony/parallel_manager.rb +++ /dev/null @@ -1,66 +0,0 @@ -module Faraday - class Adapter - class EMSynchrony < Faraday::Adapter - class ParallelManager - - # Add requests to queue. The `request` argument should be a - # `EM::HttpRequest` object. - def add(request, method, *args, &block) - queue << { - :request => request, - :method => method, - :args => args, - :block => block - } - end - - # Run all requests on queue with `EM::Synchrony::Multi`, wrapping - # it in a reactor and fiber if needed. - def run - result = nil - if !EM.reactor_running? - EM.run { - Fiber.new do - result = perform - EM.stop - end.resume - } - else - result = perform - end - result - end - - - private - - # The request queue. - def queue - @queue ||= [] - end - - # Main `EM::Synchrony::Multi` performer. - def perform - multi = ::EM::Synchrony::Multi.new - - queue.each do |item| - method = "a#{item[:method]}".to_sym - - req = item[:request].send(method, *item[:args]) - req.callback(&item[:block]) - - req_name = "req_#{multi.requests.size}".to_sym - multi.add(req_name, req) - end - - # Clear the queue, so parallel manager objects can be reused. - @queue = [] - - # Block fiber until all requests have returned. - multi.perform - end - - end # ParallelManager - end # EMSynchrony - end # Adapter -end # Faraday diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb deleted file mode 100644 index 2fab2e6..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb +++ /dev/null @@ -1,81 +0,0 @@ -module Faraday - class Adapter - class Excon < Faraday::Adapter - dependency 'excon' - - def initialize(app, connection_options = {}) - @connection_options = connection_options - super(app) - end - - def call(env) - super - - opts = {} - if env[:url].scheme == 'https' && ssl = env[:ssl] - opts[:ssl_verify_peer] = !!ssl.fetch(:verify, true) - opts[:ssl_ca_path] = ssl[:ca_path] if ssl[:ca_path] - opts[:ssl_ca_file] = ssl[:ca_file] if ssl[:ca_file] - opts[:client_cert] = ssl[:client_cert] if ssl[:client_cert] - opts[:client_key] = ssl[:client_key] if ssl[:client_key] - opts[:certificate] = ssl[:certificate] if ssl[:certificate] - opts[:private_key] = ssl[:private_key] if ssl[:private_key] - - # https://github.com/geemus/excon/issues/106 - # https://github.com/jruby/jruby-ossl/issues/19 - opts[:nonblock] = false - end - - if ( req = env[:request] ) - if req[:timeout] - opts[:read_timeout] = req[:timeout] - opts[:connect_timeout] = req[:timeout] - opts[:write_timeout] = req[:timeout] - end - - if req[:open_timeout] - opts[:connect_timeout] = req[:open_timeout] - opts[:write_timeout] = req[:open_timeout] - end - - if req[:proxy] - opts[:proxy] = { - :host => req[:proxy][:uri].host, - :hostname => req[:proxy][:uri].hostname, - :port => req[:proxy][:uri].port, - :scheme => req[:proxy][:uri].scheme, - :user => req[:proxy][:user], - :password => req[:proxy][:password] - } - end - end - - conn = ::Excon.new(env[:url].to_s, opts.merge(@connection_options)) - - resp = conn.request \ - :method => env[:method].to_s.upcase, - :headers => env[:request_headers], - :body => read_body(env) - - save_response(env, resp.status.to_i, resp.body, resp.headers) - - @app.call env - rescue ::Excon::Errors::SocketError => err - if err.message =~ /\btimeout\b/ - raise Error::TimeoutError, err - elsif err.message =~ /\bcertificate\b/ - raise Faraday::SSLError, err - else - raise Error::ConnectionFailed, err - end - rescue ::Excon::Errors::Timeout => err - raise Error::TimeoutError, err - end - - # TODO: support streaming requests - def read_body(env) - env[:body].respond_to?(:read) ? env[:body].read : env[:body] - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb deleted file mode 100644 index 4839257..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/httpclient.rb +++ /dev/null @@ -1,117 +0,0 @@ -module Faraday - class Adapter - class HTTPClient < Faraday::Adapter - dependency 'httpclient' - - def client - @client ||= ::HTTPClient.new - end - - def call(env) - super - - # enable compression - client.transparent_gzip_decompression = true - - if req = env[:request] - if proxy = req[:proxy] - configure_proxy proxy - end - - if bind = req[:bind] - configure_socket bind - end - - configure_timeouts req - end - - if env[:url].scheme == 'https' && ssl = env[:ssl] - configure_ssl ssl - end - - # TODO Don't stream yet. - # https://github.com/nahi/httpclient/pull/90 - env[:body] = env[:body].read if env[:body].respond_to? :read - - resp = client.request env[:method], env[:url], - :body => env[:body], - :header => env[:request_headers] - - save_response env, resp.status, resp.body, resp.headers - - @app.call env - rescue ::HTTPClient::TimeoutError, Errno::ETIMEDOUT - raise Faraday::Error::TimeoutError, $! - rescue ::HTTPClient::BadResponseError => err - if err.message.include?('status 407') - raise Faraday::Error::ConnectionFailed, %{407 "Proxy Authentication Required "} - else - raise Faraday::Error::ClientError, $! - end - rescue Errno::ECONNREFUSED, EOFError - raise Faraday::Error::ConnectionFailed, $! - rescue => err - if defined?(OpenSSL) && OpenSSL::SSL::SSLError === err - raise Faraday::SSLError, err - else - raise - end - end - - def configure_socket(bind) - client.socket_local.host = bind[:host] - client.socket_local.port = bind[:port] - end - - def configure_proxy(proxy) - client.proxy = proxy[:uri] - if proxy[:user] && proxy[:password] - client.set_proxy_auth proxy[:user], proxy[:password] - end - end - - def configure_ssl(ssl) - ssl_config = client.ssl_config - ssl_config.verify_mode = ssl_verify_mode(ssl) - ssl_config.cert_store = ssl_cert_store(ssl) - - ssl_config.add_trust_ca ssl[:ca_file] if ssl[:ca_file] - ssl_config.add_trust_ca ssl[:ca_path] if ssl[:ca_path] - ssl_config.client_cert = ssl[:client_cert] if ssl[:client_cert] - ssl_config.client_key = ssl[:client_key] if ssl[:client_key] - ssl_config.verify_depth = ssl[:verify_depth] if ssl[:verify_depth] - end - - def configure_timeouts(req) - if req[:timeout] - client.connect_timeout = req[:timeout] - client.receive_timeout = req[:timeout] - client.send_timeout = req[:timeout] - end - - if req[:open_timeout] - client.connect_timeout = req[:open_timeout] - client.send_timeout = req[:open_timeout] - end - end - - def ssl_cert_store(ssl) - return ssl[:cert_store] if ssl[:cert_store] - # Use the default cert store by default, i.e. system ca certs - cert_store = OpenSSL::X509::Store.new - cert_store.set_default_paths - cert_store - end - - def ssl_verify_mode(ssl) - ssl[:verify_mode] || begin - if ssl.fetch(:verify, true) - OpenSSL::SSL::VERIFY_PEER | OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT - else - OpenSSL::SSL::VERIFY_NONE - end - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb deleted file mode 100644 index ad59ddd..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb +++ /dev/null @@ -1,130 +0,0 @@ -begin - require 'net/https' -rescue LoadError - warn "Warning: no such file to load -- net/https. Make sure openssl is installed if you want ssl support" - require 'net/http' -end -require 'zlib' - -module Faraday - class Adapter - class NetHttp < Faraday::Adapter - NET_HTTP_EXCEPTIONS = [ - EOFError, - Errno::ECONNABORTED, - Errno::ECONNREFUSED, - Errno::ECONNRESET, - Errno::EHOSTUNREACH, - Errno::EINVAL, - Errno::ENETUNREACH, - Net::HTTPBadResponse, - Net::HTTPHeaderSyntaxError, - Net::ProtocolError, - SocketError, - Zlib::GzipFile::Error, - ] - - NET_HTTP_EXCEPTIONS << OpenSSL::SSL::SSLError if defined?(OpenSSL) - NET_HTTP_EXCEPTIONS << Net::OpenTimeout if defined?(Net::OpenTimeout) - - def call(env) - super - with_net_http_connection(env) do |http| - configure_ssl(http, env[:ssl]) if env[:url].scheme == 'https' and env[:ssl] - - req = env[:request] - http.read_timeout = http.open_timeout = req[:timeout] if req[:timeout] - http.open_timeout = req[:open_timeout] if req[:open_timeout] - - begin - http_response = perform_request(http, env) - rescue *NET_HTTP_EXCEPTIONS => err - if defined?(OpenSSL) && OpenSSL::SSL::SSLError === err - raise Faraday::SSLError, err - else - raise Error::ConnectionFailed, err - end - end - - save_response(env, http_response.code.to_i, http_response.body || '') do |response_headers| - http_response.each_header do |key, value| - response_headers[key] = value - end - end - end - - @app.call env - rescue Timeout::Error, Errno::ETIMEDOUT => err - raise Faraday::Error::TimeoutError, err - end - - def create_request(env) - request = Net::HTTPGenericRequest.new \ - env[:method].to_s.upcase, # request method - !!env[:body], # is there request body - :head != env[:method], # is there response body - env[:url].request_uri, # request uri path - env[:request_headers] # request headers - - if env[:body].respond_to?(:read) - request.body_stream = env[:body] - else - request.body = env[:body] - end - request - end - - def perform_request(http, env) - if :get == env[:method] and !env[:body] - # prefer `get` to `request` because the former handles gzip (ruby 1.9) - http.get env[:url].request_uri, env[:request_headers] - else - http.request create_request(env) - end - end - - def with_net_http_connection(env) - yield net_http_connection(env) - end - - def net_http_connection(env) - if proxy = env[:request][:proxy] - Net::HTTP::Proxy(proxy[:uri].host, proxy[:uri].port, proxy[:user], proxy[:password]) - else - Net::HTTP - end.new(env[:url].host, env[:url].port || (env[:url].scheme == 'https' ? 443 : 80)) - end - - def configure_ssl(http, ssl) - http.use_ssl = true - http.verify_mode = ssl_verify_mode(ssl) - http.cert_store = ssl_cert_store(ssl) - - http.cert = ssl[:client_cert] if ssl[:client_cert] - http.key = ssl[:client_key] if ssl[:client_key] - http.ca_file = ssl[:ca_file] if ssl[:ca_file] - http.ca_path = ssl[:ca_path] if ssl[:ca_path] - http.verify_depth = ssl[:verify_depth] if ssl[:verify_depth] - http.ssl_version = ssl[:version] if ssl[:version] - end - - def ssl_cert_store(ssl) - return ssl[:cert_store] if ssl[:cert_store] - # Use the default cert store by default, i.e. system ca certs - cert_store = OpenSSL::X509::Store.new - cert_store.set_default_paths - cert_store - end - - def ssl_verify_mode(ssl) - ssl[:verify_mode] || begin - if ssl.fetch(:verify, true) - OpenSSL::SSL::VERIFY_PEER - else - OpenSSL::SSL::VERIFY_NONE - end - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http_persistent.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http_persistent.rb deleted file mode 100644 index d285e93..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http_persistent.rb +++ /dev/null @@ -1,49 +0,0 @@ -# Rely on autoloading instead of explicit require; helps avoid the "already -# initialized constant" warning on Ruby 1.8.7 when NetHttp is refereced below. -# require 'faraday/adapter/net_http' - -module Faraday - class Adapter - class NetHttpPersistent < NetHttp - dependency 'net/http/persistent' - - def with_net_http_connection(env) - if proxy = env[:request][:proxy] - proxy_uri = ::URI::HTTP === proxy[:uri] ? proxy[:uri].dup : ::URI.parse(proxy[:uri].to_s) - proxy_uri.user = proxy_uri.password = nil - # awful patch for net-http-persistent 2.8 not unescaping user/password - (class << proxy_uri; self; end).class_eval do - define_method(:user) { proxy[:user] } - define_method(:password) { proxy[:password] } - end if proxy[:user] - end - - yield Net::HTTP::Persistent.new 'Faraday', proxy_uri - end - - def perform_request(http, env) - http.request env[:url], create_request(env) - rescue Errno::ETIMEDOUT => error - raise Faraday::Error::TimeoutError, error - rescue Net::HTTP::Persistent::Error => error - if error.message.include? 'Timeout' - raise Faraday::Error::TimeoutError, error - elsif error.message.include? 'connection refused' - raise Faraday::Error::ConnectionFailed, error - else - raise - end - end - - def configure_ssl(http, ssl) - http.verify_mode = ssl_verify_mode(ssl) - http.cert_store = ssl_cert_store(ssl) - - http.certificate = ssl[:client_cert] if ssl[:client_cert] - http.private_key = ssl[:client_key] if ssl[:client_key] - http.ca_file = ssl[:ca_file] if ssl[:ca_file] - http.ssl_version = ssl[:version] if ssl[:version] - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/patron.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/patron.rb deleted file mode 100644 index a43c57d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/patron.rb +++ /dev/null @@ -1,78 +0,0 @@ -module Faraday - class Adapter - class Patron < Faraday::Adapter - dependency 'patron' - - def initialize(app, &block) - super(app) - @block = block - end - - def call(env) - super - - # TODO: support streaming requests - env[:body] = env[:body].read if env[:body].respond_to? :read - - session = @session ||= create_session - - if req = env[:request] - session.timeout = session.connect_timeout = req[:timeout] if req[:timeout] - session.connect_timeout = req[:open_timeout] if req[:open_timeout] - - if proxy = req[:proxy] - proxy_uri = proxy[:uri].dup - proxy_uri.user = proxy[:user] && Utils.escape(proxy[:user]).gsub('+', '%20') - proxy_uri.password = proxy[:password] && Utils.escape(proxy[:password]).gsub('+', '%20') - session.proxy = proxy_uri.to_s - end - end - - response = begin - data = env[:body] ? env[:body].to_s : nil - session.request(env[:method], env[:url].to_s, env[:request_headers], :data => data) - rescue Errno::ECONNREFUSED, ::Patron::ConnectionFailed - raise Error::ConnectionFailed, $! - end - - save_response(env, response.status, response.body, response.headers) - - @app.call env - rescue ::Patron::TimeoutError => err - if err.message == "Connection time-out" - raise Faraday::Error::ConnectionFailed, err - else - raise Faraday::Error::TimeoutError, err - end - rescue ::Patron::Error => err - if err.message.include?("code 407") - raise Error::ConnectionFailed, %{407 "Proxy Authentication Required "} - else - raise Error::ConnectionFailed, err - end - end - - if loaded? && defined?(::Patron::Request::VALID_ACTIONS) - # HAX: helps but doesn't work completely - # https://github.com/toland/patron/issues/34 - ::Patron::Request::VALID_ACTIONS.tap do |actions| - if actions[0].is_a?(Symbol) - actions << :patch unless actions.include? :patch - actions << :options unless actions.include? :options - else - # Patron 0.4.20 and up - actions << "PATCH" unless actions.include? "PATCH" - actions << "OPTIONS" unless actions.include? "OPTIONS" - end - end - end - - def create_session - session = ::Patron::Session.new - session.insecure = true - @block.call(session) if @block - session - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/rack.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/rack.rb deleted file mode 100644 index 0d21464..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/rack.rb +++ /dev/null @@ -1,58 +0,0 @@ -module Faraday - class Adapter - # Sends requests to a Rack app. - # - # Examples - # - # class MyRackApp - # def call(env) - # [200, {'Content-Type' => 'text/html'}, ["hello world"]] - # end - # end - # - # Faraday.new do |conn| - # conn.adapter :rack, MyRackApp.new - # end - class Rack < Faraday::Adapter - dependency 'rack/test' - - # not prefixed with "HTTP_" - SPECIAL_HEADERS = %w[ CONTENT_LENGTH CONTENT_TYPE ] - - def initialize(faraday_app, rack_app) - super(faraday_app) - mock_session = ::Rack::MockSession.new(rack_app) - @session = ::Rack::Test::Session.new(mock_session) - end - - def call(env) - super - rack_env = { - :method => env[:method], - :input => env[:body].respond_to?(:read) ? env[:body].read : env[:body], - 'rack.url_scheme' => env[:url].scheme - } - - env[:request_headers].each do |name, value| - name = name.upcase.tr('-', '_') - name = "HTTP_#{name}" unless SPECIAL_HEADERS.include? name - rack_env[name] = value - end if env[:request_headers] - - timeout = env[:request][:timeout] || env[:request][:open_timeout] - response = if timeout - Timer.timeout(timeout, Faraday::Error::TimeoutError) { execute_request(env, rack_env) } - else - execute_request(env, rack_env) - end - - save_response(env, response.status, response.body, response.headers) - @app.call env - end - - def execute_request(env, rack_env) - @session.request(env[:url].to_s, rack_env) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/test.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/test.rb deleted file mode 100644 index 9a34575..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/test.rb +++ /dev/null @@ -1,162 +0,0 @@ -module Faraday - class Adapter - # test = Faraday::Connection.new do - # use Faraday::Adapter::Test do |stub| - # stub.get '/nigiri/sake.json' do - # [200, {}, 'hi world'] - # end - # end - # end - # - # resp = test.get '/nigiri/sake.json' - # resp.body # => 'hi world' - # - class Test < Faraday::Adapter - attr_accessor :stubs - - class Stubs - class NotFound < StandardError - end - - def initialize - # {:get => [Stub, Stub]} - @stack, @consumed = {}, {} - yield(self) if block_given? - end - - def empty? - @stack.empty? - end - - def match(request_method, path, headers, body) - return false if !@stack.key?(request_method) - stack = @stack[request_method] - consumed = (@consumed[request_method] ||= []) - - if stub = matches?(stack, path, headers, body) - consumed << stack.delete(stub) - stub - else - matches?(consumed, path, headers, body) - end - end - - def get(path, headers = {}, &block) - new_stub(:get, path, headers, &block) - end - - def head(path, headers = {}, &block) - new_stub(:head, path, headers, &block) - end - - def post(path, body=nil, headers = {}, &block) - new_stub(:post, path, headers, body, &block) - end - - def put(path, body=nil, headers = {}, &block) - new_stub(:put, path, headers, body, &block) - end - - def patch(path, body=nil, headers = {}, &block) - new_stub(:patch, path, headers, body, &block) - end - - def delete(path, headers = {}, &block) - new_stub(:delete, path, headers, &block) - end - - def options(path, headers = {}, &block) - new_stub(:options, path, headers, &block) - end - - # Raises an error if any of the stubbed calls have not been made. - def verify_stubbed_calls - failed_stubs = [] - @stack.each do |method, stubs| - unless stubs.size == 0 - failed_stubs.concat(stubs.map {|stub| - "Expected #{method} #{stub}." - }) - end - end - raise failed_stubs.join(" ") unless failed_stubs.size == 0 - end - - protected - - def new_stub(request_method, path, headers = {}, body=nil, &block) - normalized_path = Faraday::Utils.normalize_path(path) - (@stack[request_method] ||= []) << Stub.new(normalized_path, headers, body, block) - end - - def matches?(stack, path, headers, body) - stack.detect { |stub| stub.matches?(path, headers, body) } - end - end - - class Stub < Struct.new(:path, :params, :headers, :body, :block) - def initialize(full, headers, body, block) - path, query = full.split('?') - params = query ? - Faraday::Utils.parse_nested_query(query) : - {} - super(path, params, headers, body, block) - end - - def matches?(request_uri, request_headers, request_body) - request_path, request_query = request_uri.split('?') - request_params = request_query ? - Faraday::Utils.parse_nested_query(request_query) : - {} - request_path == path && - params_match?(request_params) && - (body.to_s.size.zero? || request_body == body) && - headers_match?(request_headers) - end - - def params_match?(request_params) - params.keys.all? do |key| - request_params[key] == params[key] - end - end - - def headers_match?(request_headers) - headers.keys.all? do |key| - request_headers[key] == headers[key] - end - end - - def to_s - "#{path} #{body}" - end - end - - def initialize(app, stubs=nil, &block) - super(app) - @stubs = stubs || Stubs.new - configure(&block) if block - end - - def configure - yield(stubs) - end - - def call(env) - super - normalized_path = Faraday::Utils.normalize_path(env[:url]) - params_encoder = env.request.params_encoder || Faraday::Utils.default_params_encoder - - if stub = stubs.match(env[:method], normalized_path, env.request_headers, env[:body]) - env[:params] = (query = env[:url].query) ? - params_encoder.decode(query) : - {} - status, headers, body = stub.block.call(env) - save_response(env, status, body, headers) - else - raise Stubs::NotFound, "no stubbed request for #{env[:method]} #{normalized_path} #{env[:body]}" - end - @app.call(env) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/typhoeus.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/typhoeus.rb deleted file mode 100644 index 69b6a51..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/typhoeus.rb +++ /dev/null @@ -1,123 +0,0 @@ -module Faraday - class Adapter - class Typhoeus < Faraday::Adapter - self.supports_parallel = true - - def self.setup_parallel_manager(options = {}) - options.empty? ? ::Typhoeus::Hydra.hydra : ::Typhoeus::Hydra.new(options) - end - - dependency 'typhoeus' - - def call(env) - super - perform_request env - @app.call env - end - - def perform_request(env) - read_body env - - hydra = env[:parallel_manager] || self.class.setup_parallel_manager - hydra.queue request(env) - hydra.run unless parallel?(env) - rescue Errno::ECONNREFUSED - raise Error::ConnectionFailed, $! - end - - # TODO: support streaming requests - def read_body(env) - env[:body] = env[:body].read if env[:body].respond_to? :read - end - - def request(env) - method = env[:method] - # For some reason, prevents Typhoeus from using "100-continue". - # We want this because Webrick 1.3.1 can't seem to handle it w/ PUT. - method = method.to_s.upcase if method == :put - - req = ::Typhoeus::Request.new env[:url].to_s, - :method => method, - :body => env[:body], - :headers => env[:request_headers], - :disable_ssl_peer_verification => (env[:ssl] && env[:ssl].disable?) - - configure_ssl req, env - configure_proxy req, env - configure_timeout req, env - configure_socket req, env - - req.on_complete do |resp| - if resp.timed_out? - if parallel?(env) - # TODO: error callback in async mode - else - raise Faraday::Error::TimeoutError, "request timed out" - end - end - - case resp.curl_return_code - when 0 - # everything OK - when 7 - raise Error::ConnectionFailed, resp.curl_error_message - when 60 - raise Faraday::SSLError, resp.curl_error_message - else - raise Error::ClientError, resp.curl_error_message - end - - save_response(env, resp.code, resp.body) do |response_headers| - response_headers.parse resp.headers - end - # in async mode, :response is initialized at this point - env[:response].finish(env) if parallel?(env) - end - - req - end - - def configure_ssl(req, env) - ssl = env[:ssl] - - req.ssl_version = ssl[:version] if ssl[:version] - req.ssl_cert = ssl[:client_cert] if ssl[:client_cert] - req.ssl_key = ssl[:client_key] if ssl[:client_key] - req.ssl_cacert = ssl[:ca_file] if ssl[:ca_file] - req.ssl_capath = ssl[:ca_path] if ssl[:ca_path] - end - - def configure_proxy(req, env) - proxy = request_options(env)[:proxy] - return unless proxy - - req.proxy = "#{proxy[:uri].host}:#{proxy[:uri].port}" - - if proxy[:user] && proxy[:password] - req.proxy_username = proxy[:user] - req.proxy_password = proxy[:password] - end - end - - def configure_timeout(req, env) - env_req = request_options(env) - req.timeout = req.connect_timeout = (env_req[:timeout] * 1000) if env_req[:timeout] - req.connect_timeout = (env_req[:open_timeout] * 1000) if env_req[:open_timeout] - end - - def configure_socket(req, env) - if bind = request_options(env)[:bind] - req.interface = bind[:host] - end - end - - def request_options(env) - env[:request] - end - - def parallel?(env) - !!env[:parallel_manager] - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/autoload.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/autoload.rb deleted file mode 100644 index cd390cc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/autoload.rb +++ /dev/null @@ -1,84 +0,0 @@ -module Faraday - # Internal: Adds the ability for other modules to manage autoloadable - # constants. - module AutoloadHelper - # Internal: Registers the constants to be auto loaded. - # - # prefix - The String require prefix. If the path is inside Faraday, then - # it will be prefixed with the root path of this loaded Faraday - # version. - # options - Hash of Symbol => String library names. - # - # Examples. - # - # Faraday.autoload_all 'faraday/foo', - # :Bar => 'bar' - # - # # requires faraday/foo/bar to load Faraday::Bar. - # Faraday::Bar - # - # - # Returns nothing. - def autoload_all(prefix, options) - if prefix =~ /^faraday(\/|$)/i - prefix = File.join(Faraday.root_path, prefix) - end - options.each do |const_name, path| - autoload const_name, File.join(prefix, path) - end - end - - # Internal: Loads each autoloaded constant. If thread safety is a concern, - # wrap this in a Mutex. - # - # Returns nothing. - def load_autoloaded_constants - constants.each do |const| - const_get(const) if autoload?(const) - end - end - - # Internal: Filters the module's contents with those that have been already - # autoloaded. - # - # Returns an Array of Class/Module objects. - def all_loaded_constants - constants.map { |c| const_get(c) }. - select { |a| a.respond_to?(:loaded?) && a.loaded? } - end - end - - class Adapter - extend AutoloadHelper - autoload_all 'faraday/adapter', - :NetHttp => 'net_http', - :NetHttpPersistent => 'net_http_persistent', - :Typhoeus => 'typhoeus', - :EMSynchrony => 'em_synchrony', - :EMHttp => 'em_http', - :Patron => 'patron', - :Excon => 'excon', - :Test => 'test', - :Rack => 'rack', - :HTTPClient => 'httpclient' - end - - class Request - extend AutoloadHelper - autoload_all 'faraday/request', - :UrlEncoded => 'url_encoded', - :Multipart => 'multipart', - :Retry => 'retry', - :Authorization => 'authorization', - :BasicAuthentication => 'basic_authentication', - :TokenAuthentication => 'token_authentication', - :Instrumentation => 'instrumentation' - end - - class Response - extend AutoloadHelper - autoload_all 'faraday/response', - :RaiseError => 'raise_error', - :Logger => 'logger' - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/connection.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/connection.rb deleted file mode 100644 index 241e919..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/connection.rb +++ /dev/null @@ -1,437 +0,0 @@ -module Faraday - # Public: Connection objects manage the default properties and the middleware - # stack for fulfilling an HTTP request. - # - # Examples - # - # conn = Faraday::Connection.new 'http://sushi.com' - # - # # GET http://sushi.com/nigiri - # conn.get 'nigiri' - # # => # - # - class Connection - # A Set of allowed HTTP verbs. - METHODS = Set.new [:get, :post, :put, :delete, :head, :patch, :options] - - # Public: Returns a Hash of URI query unencoded key/value pairs. - attr_reader :params - - # Public: Returns a Hash of unencoded HTTP header key/value pairs. - attr_reader :headers - - # Public: Returns a URI with the prefix used for all requests from this - # Connection. This includes a default host name, scheme, port, and path. - attr_reader :url_prefix - - # Public: Returns the Faraday::Builder for this Connection. - attr_reader :builder - - # Public: Returns a Hash of the request options. - attr_reader :options - - # Public: Returns a Hash of the SSL options. - attr_reader :ssl - - # Public: Returns the parallel manager for this Connection. - attr_reader :parallel_manager - - # Public: Sets the default parallel manager for this connection. - attr_writer :default_parallel_manager - - # Public: Initializes a new Faraday::Connection. - # - # url - URI or String base URL to use as a prefix for all - # requests (optional). - # options - Hash or Faraday::ConnectionOptions. - # :url - URI or String base URL (default: "http:/"). - # :params - Hash of URI query unencoded key/value pairs. - # :headers - Hash of unencoded HTTP header key/value pairs. - # :request - Hash of request options. - # :ssl - Hash of SSL options. - # :proxy - URI, String or Hash of HTTP proxy options - # (default: "http_proxy" environment variable). - # :uri - URI or String - # :user - String (optional) - # :password - String (optional) - def initialize(url = nil, options = nil) - if url.is_a?(Hash) - options = ConnectionOptions.from(url) - url = options.url - else - options = ConnectionOptions.from(options) - end - - @parallel_manager = nil - @headers = Utils::Headers.new - @params = Utils::ParamsHash.new - @options = options.request - @ssl = options.ssl - @default_parallel_manager = options.parallel_manager - - @builder = options.builder || begin - # pass an empty block to Builder so it doesn't assume default middleware - options.new_builder(block_given? ? Proc.new { |b| } : nil) - end - - self.url_prefix = url || 'http:/' - - @params.update(options.params) if options.params - @headers.update(options.headers) if options.headers - - @proxy = nil - proxy(options.fetch(:proxy) { - uri = ENV['http_proxy'] - if uri && !uri.empty? - uri = 'http://' + uri if uri !~ /^http/i - uri - end - }) - - yield(self) if block_given? - - @headers[:user_agent] ||= "Faraday v#{VERSION}" - end - - # Public: Sets the Hash of URI query unencoded key/value pairs. - def params=(hash) - @params.replace hash - end - - # Public: Sets the Hash of unencoded HTTP header key/value pairs. - def headers=(hash) - @headers.replace hash - end - - extend Forwardable - - def_delegators :builder, :build, :use, :request, :response, :adapter, :app - - # Public: Makes an HTTP request without a body. - # - # url - The optional String base URL to use as a prefix for all - # requests. Can also be the options Hash. - # params - Hash of URI query unencoded key/value pairs. - # headers - Hash of unencoded HTTP header key/value pairs. - # - # Examples - # - # conn.get '/items', {:page => 1}, :accept => 'application/json' - # conn.head '/items/1' - # - # # ElasticSearch example sending a body with GET. - # conn.get '/twitter/tweet/_search' do |req| - # req.headers[:content_type] = 'application/json' - # req.params[:routing] = 'kimchy' - # req.body = JSON.generate(:query => {...}) - # end - # - # Yields a Faraday::Response for further request customizations. - # Returns a Faraday::Response. - # - # Signature - # - # (url = nil, params = nil, headers = nil) - # - # verb - An HTTP verb: get, head, or delete. - %w[get head delete].each do |method| - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{method}(url = nil, params = nil, headers = nil) - run_request(:#{method}, url, nil, headers) { |request| - request.params.update(params) if params - yield(request) if block_given? - } - end - RUBY - end - - # Public: Makes an HTTP request with a body. - # - # url - The optional String base URL to use as a prefix for all - # requests. Can also be the options Hash. - # body - The String body for the request. - # headers - Hash of unencoded HTTP header key/value pairs. - # - # Examples - # - # conn.post '/items', data, :content_type => 'application/json' - # - # # Simple ElasticSearch indexing sample. - # conn.post '/twitter/tweet' do |req| - # req.headers[:content_type] = 'application/json' - # req.params[:routing] = 'kimchy' - # req.body = JSON.generate(:user => 'kimchy', ...) - # end - # - # Yields a Faraday::Response for further request customizations. - # Returns a Faraday::Response. - # - # Signature - # - # (url = nil, body = nil, headers = nil) - # - # verb - An HTTP verb: post, put, or patch. - %w[post put patch].each do |method| - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{method}(url = nil, body = nil, headers = nil, &block) - run_request(:#{method}, url, body, headers, &block) - end - RUBY - end - - # Public: Sets up the Authorization header with these credentials, encoded - # with base64. - # - # login - The authentication login. - # pass - The authentication password. - # - # Examples - # - # conn.basic_auth 'Aladdin', 'open sesame' - # conn.headers['Authorization'] - # # => "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" - # - # Returns nothing. - def basic_auth(login, pass) - set_authorization_header(:basic_auth, login, pass) - end - - # Public: Sets up the Authorization header with the given token. - # - # token - The String token. - # options - Optional Hash of extra token options. - # - # Examples - # - # conn.token_auth 'abcdef', :foo => 'bar' - # conn.headers['Authorization'] - # # => "Token token=\"abcdef\", - # foo=\"bar\"" - # - # Returns nothing. - def token_auth(token, options = nil) - set_authorization_header(:token_auth, token, options) - end - - # Public: Sets up a custom Authorization header. - # - # type - The String authorization type. - # token - The String or Hash token. A String value is taken literally, and - # a Hash is encoded into comma separated key/value pairs. - # - # Examples - # - # conn.authorization :Bearer, 'mF_9.B5f-4.1JqM' - # conn.headers['Authorization'] - # # => "Bearer mF_9.B5f-4.1JqM" - # - # conn.authorization :Token, :token => 'abcdef', :foo => 'bar' - # conn.headers['Authorization'] - # # => "Token token=\"abcdef\", - # foo=\"bar\"" - # - # Returns nothing. - def authorization(type, token) - set_authorization_header(:authorization, type, token) - end - - # Internal: Traverse the middleware stack in search of a - # parallel-capable adapter. - # - # Yields in case of not found. - # - # Returns a parallel manager or nil if not found. - def default_parallel_manager - @default_parallel_manager ||= begin - handler = @builder.handlers.detect do |h| - h.klass.respond_to?(:supports_parallel?) and h.klass.supports_parallel? - end - - if handler - handler.klass.setup_parallel_manager - elsif block_given? - yield - end - end - end - - # Public: Determine if this Faraday::Connection can make parallel requests. - # - # Returns true or false. - def in_parallel? - !!@parallel_manager - end - - # Public: Sets up the parallel manager to make a set of requests. - # - # manager - The parallel manager that this Connection's Adapter uses. - # - # Yields a block to execute multiple requests. - # Returns nothing. - def in_parallel(manager = nil) - @parallel_manager = manager || default_parallel_manager { - warn "Warning: `in_parallel` called but no parallel-capable adapter on Faraday stack" - warn caller[2,10].join("\n") - nil - } - yield - @parallel_manager && @parallel_manager.run - ensure - @parallel_manager = nil - end - - # Public: Gets or Sets the Hash proxy options. - def proxy(arg = nil) - return @proxy if arg.nil? - @proxy = ProxyOptions.from(arg) - end - - def_delegators :url_prefix, :scheme, :scheme=, :host, :host=, :port, :port= - def_delegator :url_prefix, :path, :path_prefix - - # Public: Parses the giving url with URI and stores the individual - # components in this connection. These components serve as defaults for - # requests made by this connection. - # - # url - A String or URI. - # - # Examples - # - # conn = Faraday::Connection.new { ... } - # conn.url_prefix = "https://sushi.com/api" - # conn.scheme # => https - # conn.path_prefix # => "/api" - # - # conn.get("nigiri?page=2") # accesses https://sushi.com/api/nigiri - # - # Returns the parsed URI from teh given input.. - def url_prefix=(url, encoder = nil) - uri = @url_prefix = Utils.URI(url) - self.path_prefix = uri.path - - params.merge_query(uri.query, encoder) - uri.query = nil - - with_uri_credentials(uri) do |user, password| - basic_auth user, password - uri.user = uri.password = nil - end - - uri - end - - # Public: Sets the path prefix and ensures that it always has a leading - # slash. - # - # value - A String. - # - # Returns the new String path prefix. - def path_prefix=(value) - url_prefix.path = if value - value = '/' + value unless value[0,1] == '/' - value - end - end - - # Public: Takes a relative url for a request and combines it with the defaults - # set on the connection instance. - # - # conn = Faraday::Connection.new { ... } - # conn.url_prefix = "https://sushi.com/api?token=abc" - # conn.scheme # => https - # conn.path_prefix # => "/api" - # - # conn.build_url("nigiri?page=2") # => https://sushi.com/api/nigiri?token=abc&page=2 - # conn.build_url("nigiri", :page => 2) # => https://sushi.com/api/nigiri?token=abc&page=2 - # - def build_url(url = nil, extra_params = nil) - uri = build_exclusive_url(url) - - query_values = params.dup.merge_query(uri.query, options.params_encoder) - query_values.update extra_params if extra_params - uri.query = query_values.empty? ? nil : query_values.to_query(options.params_encoder) - - uri - end - - # Builds and runs the Faraday::Request. - # - # method - The Symbol HTTP method. - # url - The String or URI to access. - # body - The String body - # headers - Hash of unencoded HTTP header key/value pairs. - # - # Returns a Faraday::Response. - def run_request(method, url, body, headers) - if !METHODS.include?(method) - raise ArgumentError, "unknown http method: #{method}" - end - - request = build_request(method) do |req| - req.url(url) if url - req.headers.update(headers) if headers - req.body = body if body - yield(req) if block_given? - end - - builder.build_response(self, request) - end - - # Creates and configures the request object. - # - # Returns the new Request. - def build_request(method) - Request.create(method) do |req| - req.params = self.params.dup - req.headers = self.headers.dup - req.options = self.options.merge(:proxy => self.proxy) - yield(req) if block_given? - end - end - - # Internal: Build an absolute URL based on url_prefix. - # - # url - A String or URI-like object - # params - A Faraday::Utils::ParamsHash to replace the query values - # of the resulting url (default: nil). - # - # Returns the resulting URI instance. - def build_exclusive_url(url = nil, params = nil, params_encoder = nil) - url = nil if url.respond_to?(:empty?) and url.empty? - base = url_prefix - if url and base.path and base.path !~ /\/$/ - base = base.dup - base.path = base.path + '/' # ensure trailing slash - end - uri = url ? base + url : base - uri.query = params.to_query(params_encoder || options.params_encoder) if params - uri.query = nil if uri.query and uri.query.empty? - uri - end - - # Internal: Creates a duplicate of this Faraday::Connection. - # - # Returns a Faraday::Connection. - def dup - self.class.new(build_exclusive_url, - :headers => headers.dup, - :params => params.dup, - :builder => builder.dup, - :ssl => ssl.dup, - :request => options.dup) - end - - # Internal: Yields username and password extracted from a URI if they both exist. - def with_uri_credentials(uri) - if uri.user and uri.password - yield(Utils.unescape(uri.user), Utils.unescape(uri.password)) - end - end - - def set_authorization_header(header_type, *args) - header = Faraday::Request.lookup_middleware(header_type). - header(*args) - headers[Faraday::Request::Authorization::KEY] = header - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/error.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/error.rb deleted file mode 100644 index 1771230..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/error.rb +++ /dev/null @@ -1,53 +0,0 @@ -module Faraday - class Error < StandardError; end - class MissingDependency < Error; end - - class ClientError < Error - attr_reader :response - - def initialize(ex, response = nil) - @wrapped_exception = nil - @response = response - - if ex.respond_to?(:backtrace) - super(ex.message) - @wrapped_exception = ex - elsif ex.respond_to?(:each_key) - super("the server responded with status #{ex[:status]}") - @response = ex - else - super(ex.to_s) - end - end - - def backtrace - if @wrapped_exception - @wrapped_exception.backtrace - else - super - end - end - - def inspect - %(#<#{self.class}>) - end - end - - class ConnectionFailed < ClientError; end - class ResourceNotFound < ClientError; end - class ParsingError < ClientError; end - - class TimeoutError < ClientError - def initialize(ex = nil) - super(ex || "timeout") - end - end - - class SSLError < ClientError - end - - [:MissingDependency, :ClientError, :ConnectionFailed, :ResourceNotFound, - :ParsingError, :TimeoutError, :SSLError].each do |const| - Error.const_set(const, Faraday.const_get(const)) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/middleware.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/middleware.rb deleted file mode 100644 index c45d51a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/middleware.rb +++ /dev/null @@ -1,37 +0,0 @@ -module Faraday - class Middleware - extend MiddlewareRegistry - - class << self - attr_accessor :load_error - private :load_error= - end - - self.load_error = nil - - # Executes a block which should try to require and reference dependent libraries - def self.dependency(lib = nil) - lib ? require(lib) : yield - rescue LoadError, NameError => error - self.load_error = error - end - - def self.new(*) - raise "missing dependency for #{self}: #{load_error.message}" unless loaded? - super - end - - def self.loaded? - load_error.nil? - end - - def self.inherited(subclass) - super - subclass.send(:load_error=, self.load_error) - end - - def initialize(app = nil) - @app = app - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/options.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/options.rb deleted file mode 100644 index 01bef49..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/options.rb +++ /dev/null @@ -1,359 +0,0 @@ -module Faraday - # Subclasses Struct with some special helpers for converting from a Hash to - # a Struct. - class Options < Struct - # Public - def self.from(value) - value ? new.update(value) : new - end - - # Public - def each - return to_enum(:each) unless block_given? - members.each do |key| - yield(key.to_sym, send(key)) - end - end - - # Public - def update(obj) - obj.each do |key, value| - if sub_options = self.class.options_for(key) - value = sub_options.from(value) if value - elsif Hash === value - hash = {} - value.each do |hash_key, hash_value| - hash[hash_key] = hash_value - end - value = hash - end - - self.send("#{key}=", value) unless value.nil? - end - self - end - - alias merge! update - - # Public - def delete(key) - value = send(key) - send("#{key}=", nil) - value - end - - # Public - def clear - members.each { |member| delete(member) } - end - - # Public - def merge(value) - dup.update(value) - end - - # Public - def fetch(key, *args) - unless symbolized_key_set.include?(key.to_sym) - key_setter = "#{key}=" - if args.size > 0 - send(key_setter, args.first) - elsif block_given? - send(key_setter, Proc.new.call(key)) - else - raise self.class.fetch_error_class, "key not found: #{key.inspect}" - end - end - send(key) - end - - # Public - def values_at(*keys) - keys.map { |key| send(key) } - end - - # Public - def keys - members.reject { |member| send(member).nil? } - end - - # Public - def empty? - keys.empty? - end - - # Public - def each_key - return to_enum(:each_key) unless block_given? - keys.each do |key| - yield(key) - end - end - - # Public - def key?(key) - keys.include?(key) - end - - alias has_key? key? - - # Public - def each_value - return to_enum(:each_value) unless block_given? - values.each do |value| - yield(value) - end - end - - # Public - def value?(value) - values.include?(value) - end - - alias has_value? value? - - # Public - def to_hash - hash = {} - members.each do |key| - value = send(key) - hash[key.to_sym] = value unless value.nil? - end - hash - end - - # Internal - def inspect - values = [] - members.each do |member| - value = send(member) - values << "#{member}=#{value.inspect}" if value - end - values = values.empty? ? ' (empty)' : (' ' << values.join(", ")) - - %(#<#{self.class}#{values}>) - end - - # Internal - def self.options(mapping) - attribute_options.update(mapping) - end - - # Internal - def self.options_for(key) - attribute_options[key] - end - - # Internal - def self.attribute_options - @attribute_options ||= {} - end - - def self.memoized(key) - memoized_attributes[key.to_sym] = Proc.new - class_eval <<-RUBY, __FILE__, __LINE__ + 1 - def #{key}() self[:#{key}]; end - RUBY - end - - def self.memoized_attributes - @memoized_attributes ||= {} - end - - def [](key) - key = key.to_sym - if method = self.class.memoized_attributes[key] - super(key) || (self[key] = instance_eval(&method)) - else - super - end - end - - def symbolized_key_set - @symbolized_key_set ||= Set.new(keys.map { |k| k.to_sym }) - end - - def self.inherited(subclass) - super - subclass.attribute_options.update(attribute_options) - subclass.memoized_attributes.update(memoized_attributes) - end - - def self.fetch_error_class - @fetch_error_class ||= if Object.const_defined?(:KeyError) - ::KeyError - else - ::IndexError - end - end - end - - class RequestOptions < Options.new(:params_encoder, :proxy, :bind, - :timeout, :open_timeout, :boundary, - :oauth) - - def []=(key, value) - if key && key.to_sym == :proxy - super(key, value ? ProxyOptions.from(value) : nil) - else - super(key, value) - end - end - end - - class SSLOptions < Options.new(:verify, :ca_file, :ca_path, :verify_mode, - :cert_store, :client_cert, :client_key, :certificate, :private_key, :verify_depth, :version) - - def verify? - verify != false - end - - def disable? - !verify? - end - end - - class ProxyOptions < Options.new(:uri, :user, :password) - extend Forwardable - def_delegators :uri, :scheme, :scheme=, :host, :host=, :port, :port=, :path, :path= - - def self.from(value) - case value - when String - value = {:uri => Utils.URI(value)} - when URI - value = {:uri => value} - when Hash, Options - if uri = value.delete(:uri) - value[:uri] = Utils.URI(uri) - end - end - super(value) - end - - memoized(:user) { uri.user && Utils.unescape(uri.user) } - memoized(:password) { uri.password && Utils.unescape(uri.password) } - end - - class ConnectionOptions < Options.new(:request, :proxy, :ssl, :builder, :url, - :parallel_manager, :params, :headers, :builder_class) - - options :request => RequestOptions, :ssl => SSLOptions - - memoized(:request) { self.class.options_for(:request).new } - - memoized(:ssl) { self.class.options_for(:ssl).new } - - memoized(:builder_class) { RackBuilder } - - def new_builder(block) - builder_class.new(&block) - end - end - - class Env < Options.new(:method, :body, :url, :request, :request_headers, - :ssl, :parallel_manager, :params, :response, :response_headers, :status) - - ContentLength = 'Content-Length'.freeze - StatusesWithoutBody = Set.new [204, 304] - SuccessfulStatuses = 200..299 - - # A Set of HTTP verbs that typically send a body. If no body is set for - # these requests, the Content-Length header is set to 0. - MethodsWithBodies = Set.new [:post, :put, :patch, :options] - - options :request => RequestOptions, - :request_headers => Utils::Headers, :response_headers => Utils::Headers - - extend Forwardable - - def_delegators :request, :params_encoder - - # Public - def self.from(value) - env = super(value) - if value.respond_to?(:custom_members) - env.custom_members.update(value.custom_members) - end - env - end - - # Public - def [](key) - if in_member_set?(key) - super(key) - else - custom_members[key] - end - end - - # Public - def []=(key, value) - if in_member_set?(key) - super(key, value) - else - custom_members[key] = value - end - end - - # Public - def success? - SuccessfulStatuses.include?(status) - end - - # Public - def needs_body? - !body && MethodsWithBodies.include?(method) - end - - # Public - def clear_body - request_headers[ContentLength] = '0' - self.body = '' - end - - # Public - def parse_body? - !StatusesWithoutBody.include?(status) - end - - # Public - def parallel? - !!parallel_manager - end - - def inspect - attrs = [nil] - members.each do |mem| - if value = send(mem) - attrs << "@#{mem}=#{value.inspect}" - end - end - if !custom_members.empty? - attrs << "@custom=#{custom_members.inspect}" - end - %(#<#{self.class}#{attrs.join(" ")}>) - end - - # Internal - def custom_members - @custom_members ||= {} - end - - # Internal - if members.first.is_a?(Symbol) - def in_member_set?(key) - self.class.member_set.include?(key.to_sym) - end - else - def in_member_set?(key) - self.class.member_set.include?(key.to_s) - end - end - - # Internal - def self.member_set - @member_set ||= Set.new(members) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/parameters.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/parameters.rb deleted file mode 100644 index 8cf43c3..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/parameters.rb +++ /dev/null @@ -1,197 +0,0 @@ -require "forwardable" - -module Faraday - module NestedParamsEncoder - class << self - extend Forwardable - def_delegators :'Faraday::Utils', :escape, :unescape - end - - def self.encode(params) - return nil if params == nil - - if !params.is_a?(Array) - if !params.respond_to?(:to_hash) - raise TypeError, - "Can't convert #{params.class} into Hash." - end - params = params.to_hash - params = params.map do |key, value| - key = key.to_s if key.kind_of?(Symbol) - [key, value] - end - # Useful default for OAuth and caching. - # Only to be used for non-Array inputs. Arrays should preserve order. - params.sort! - end - - # Helper lambda - to_query = lambda do |parent, value| - if value.is_a?(Hash) - value = value.map do |key, val| - key = escape(key) - [key, val] - end - value.sort! - buffer = "" - value.each do |key, val| - new_parent = "#{parent}%5B#{key}%5D" - buffer << "#{to_query.call(new_parent, val)}&" - end - return buffer.chop - elsif value.is_a?(Array) - buffer = "" - value.each_with_index do |val, i| - new_parent = "#{parent}%5B%5D" - buffer << "#{to_query.call(new_parent, val)}&" - end - return buffer.chop - elsif value.nil? - return parent - else - encoded_value = escape(value) - return "#{parent}=#{encoded_value}" - end - end - - # The params have form [['key1', 'value1'], ['key2', 'value2']]. - buffer = '' - params.each do |parent, value| - encoded_parent = escape(parent) - buffer << "#{to_query.call(encoded_parent, value)}&" - end - return buffer.chop - end - - def self.decode(query) - return nil if query == nil - - params = {} - query.split("&").each do |pair| - next if pair.empty? - key, value = pair.split("=", 2) - key = unescape(key) - value = unescape(value.gsub(/\+/, ' ')) if value - - subkeys = key.scan(/[^\[\]]+(?:\]?\[\])?/) - context = params - subkeys.each_with_index do |subkey, i| - is_array = subkey =~ /[\[\]]+\Z/ - subkey = $` if is_array - last_subkey = i == subkeys.length - 1 - - if !last_subkey || is_array - value_type = is_array ? Array : Hash - if context[subkey] && !context[subkey].is_a?(value_type) - raise TypeError, "expected %s (got %s) for param `%s'" % [ - value_type.name, - context[subkey].class.name, - subkey - ] - end - context = (context[subkey] ||= value_type.new) - end - - if context.is_a?(Array) && !is_array - if !context.last.is_a?(Hash) || context.last.has_key?(subkey) - context << {} - end - context = context.last - end - - if last_subkey - if is_array - context << value - else - context[subkey] = value - end - end - end - end - - dehash(params, 0) - end - - # Internal: convert a nested hash with purely numeric keys into an array. - # FIXME: this is not compatible with Rack::Utils.parse_nested_query - def self.dehash(hash, depth) - hash.each do |key, value| - hash[key] = dehash(value, depth + 1) if value.kind_of?(Hash) - end - - if depth > 0 && !hash.empty? && hash.keys.all? { |k| k =~ /^\d+$/ } - hash.keys.sort.inject([]) { |all, key| all << hash[key] } - else - hash - end - end - end - - module FlatParamsEncoder - class << self - extend Forwardable - def_delegators :'Faraday::Utils', :escape, :unescape - end - - def self.encode(params) - return nil if params == nil - - if !params.is_a?(Array) - if !params.respond_to?(:to_hash) - raise TypeError, - "Can't convert #{params.class} into Hash." - end - params = params.to_hash - params = params.map do |key, value| - key = key.to_s if key.kind_of?(Symbol) - [key, value] - end - # Useful default for OAuth and caching. - # Only to be used for non-Array inputs. Arrays should preserve order. - params.sort! - end - - # The params have form [['key1', 'value1'], ['key2', 'value2']]. - buffer = '' - params.each do |key, value| - encoded_key = escape(key) - value = value.to_s if value == true || value == false - if value == nil - buffer << "#{encoded_key}&" - elsif value.kind_of?(Array) - value.each do |sub_value| - encoded_value = escape(sub_value) - buffer << "#{encoded_key}=#{encoded_value}&" - end - else - encoded_value = escape(value) - buffer << "#{encoded_key}=#{encoded_value}&" - end - end - return buffer.chop - end - - def self.decode(query) - empty_accumulator = {} - return nil if query == nil - split_query = (query.split('&').map do |pair| - pair.split('=', 2) if pair && !pair.empty? - end).compact - return split_query.inject(empty_accumulator.dup) do |accu, pair| - pair[0] = unescape(pair[0]) - pair[1] = true if pair[1].nil? - if pair[1].respond_to?(:to_str) - pair[1] = unescape(pair[1].to_str.gsub(/\+/, " ")) - end - if accu[pair[0]].kind_of?(Array) - accu[pair[0]] << pair[1] - elsif accu[pair[0]] - accu[pair[0]] = [accu[pair[0]], pair[1]] - else - accu[pair[0]] = pair[1] - end - accu - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb deleted file mode 100644 index 26a3ca7..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb +++ /dev/null @@ -1,213 +0,0 @@ -module Faraday - # A Builder that processes requests into responses by passing through an inner - # middleware stack (heavily inspired by Rack). - # - # Faraday::Connection.new(:url => 'http://sushi.com') do |builder| - # builder.request :url_encoded # Faraday::Request::UrlEncoded - # builder.adapter :net_http # Faraday::Adapter::NetHttp - # end - class RackBuilder - attr_accessor :handlers - - # Error raised when trying to modify the stack after calling `lock!` - class StackLocked < RuntimeError; end - - # borrowed from ActiveSupport::Dependencies::Reference & - # ActionDispatch::MiddlewareStack::Middleware - class Handler - @@constants_mutex = Mutex.new - @@constants = Hash.new { |h, k| - value = k.respond_to?(:constantize) ? k.constantize : Object.const_get(k) - @@constants_mutex.synchronize { h[k] = value } - } - - attr_reader :name - - def initialize(klass, *args, &block) - @name = klass.to_s - if klass.respond_to?(:name) - @@constants_mutex.synchronize { @@constants[@name] = klass } - end - @args, @block = args, block - end - - def klass() @@constants[@name] end - def inspect() @name end - - def ==(other) - if other.is_a? Handler - self.name == other.name - elsif other.respond_to? :name - klass == other - else - @name == other.to_s - end - end - - def build(app) - klass.new(app, *@args, &@block) - end - end - - def initialize(handlers = []) - @handlers = handlers - if block_given? - build(&Proc.new) - elsif @handlers.empty? - # default stack, if nothing else is configured - self.request :url_encoded - self.adapter Faraday.default_adapter - end - end - - def build(options = {}) - raise_if_locked - @handlers.clear unless options[:keep] - yield(self) if block_given? - end - - def [](idx) - @handlers[idx] - end - - # Locks the middleware stack to ensure no further modifications are possible. - def lock! - @handlers.freeze - end - - def locked? - @handlers.frozen? - end - - def use(klass, *args, &block) - if klass.is_a? Symbol - use_symbol(Faraday::Middleware, klass, *args, &block) - else - raise_if_locked - @handlers << self.class::Handler.new(klass, *args, &block) - end - end - - def request(key, *args, &block) - use_symbol(Faraday::Request, key, *args, &block) - end - - def response(key, *args, &block) - use_symbol(Faraday::Response, key, *args, &block) - end - - def adapter(key, *args, &block) - use_symbol(Faraday::Adapter, key, *args, &block) - end - - ## methods to push onto the various positions in the stack: - - def insert(index, *args, &block) - raise_if_locked - index = assert_index(index) - handler = self.class::Handler.new(*args, &block) - @handlers.insert(index, handler) - end - - alias_method :insert_before, :insert - - def insert_after(index, *args, &block) - index = assert_index(index) - insert(index + 1, *args, &block) - end - - def swap(index, *args, &block) - raise_if_locked - index = assert_index(index) - @handlers.delete_at(index) - insert(index, *args, &block) - end - - def delete(handler) - raise_if_locked - @handlers.delete(handler) - end - - # Processes a Request into a Response by passing it through this Builder's - # middleware stack. - # - # connection - Faraday::Connection - # request - Faraday::Request - # - # Returns a Faraday::Response. - def build_response(connection, request) - app.call(build_env(connection, request)) - end - - # The "rack app" wrapped in middleware. All requests are sent here. - # - # The builder is responsible for creating the app object. After this, - # the builder gets locked to ensure no further modifications are made - # to the middleware stack. - # - # Returns an object that responds to `call` and returns a Response. - def app - @app ||= begin - lock! - to_app(lambda { |env| - response = Response.new - env.response = response - response.finish(env) unless env.parallel? - response - }) - end - end - - def to_app(inner_app) - # last added handler is the deepest and thus closest to the inner app - @handlers.reverse.inject(inner_app) { |app, handler| handler.build(app) } - end - - def ==(other) - other.is_a?(self.class) && @handlers == other.handlers - end - - def dup - self.class.new(@handlers.dup) - end - - # ENV Keys - # :method - a symbolized request method (:get, :post) - # :body - the request body that will eventually be converted to a string. - # :url - URI instance for the current request. - # :status - HTTP response status code - # :request_headers - hash of HTTP Headers to be sent to the server - # :response_headers - Hash of HTTP headers from the server - # :parallel_manager - sent if the connection is in parallel mode - # :request - Hash of options for configuring the request. - # :timeout - open/read timeout Integer in seconds - # :open_timeout - read timeout Integer in seconds - # :proxy - Hash of proxy options - # :uri - Proxy Server URI - # :user - Proxy server username - # :password - Proxy server password - # :ssl - Hash of options for configuring SSL requests. - def build_env(connection, request) - Env.new(request.method, request.body, - connection.build_exclusive_url(request.path, request.params, request.options.params_encoder), - request.options, request.headers, connection.ssl, - connection.parallel_manager) - end - - private - - def raise_if_locked - raise StackLocked, "can't modify middleware stack after making a request" if locked? - end - - def use_symbol(mod, key, *args, &block) - use(mod.lookup_middleware(key), *args, &block) - end - - def assert_index(index) - idx = index.is_a?(Integer) ? index : @handlers.index(index) - raise "No such handler: #{index.inspect}" unless idx - idx - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request.rb deleted file mode 100644 index 481077f..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request.rb +++ /dev/null @@ -1,92 +0,0 @@ -module Faraday - # Used to setup urls, params, headers, and the request body in a sane manner. - # - # @connection.post do |req| - # req.url 'http://localhost', 'a' => '1' # 'http://localhost?a=1' - # req.headers['b'] = '2' # Header - # req.params['c'] = '3' # GET Param - # req['b'] = '2' # also Header - # req.body = 'abc' - # end - # - class Request < Struct.new(:method, :path, :params, :headers, :body, :options) - extend MiddlewareRegistry - - register_middleware File.expand_path('../request', __FILE__), - :url_encoded => [:UrlEncoded, 'url_encoded'], - :multipart => [:Multipart, 'multipart'], - :retry => [:Retry, 'retry'], - :authorization => [:Authorization, 'authorization'], - :basic_auth => [:BasicAuthentication, 'basic_authentication'], - :token_auth => [:TokenAuthentication, 'token_authentication'], - :instrumentation => [:Instrumentation, 'instrumentation'] - - def self.create(request_method) - new(request_method).tap do |request| - yield(request) if block_given? - end - end - - # Public: Replace params, preserving the existing hash type - def params=(hash) - if params - params.replace hash - else - super - end - end - - # Public: Replace request headers, preserving the existing hash type - def headers=(hash) - if headers - headers.replace hash - else - super - end - end - - def url(path, params = nil) - if path.respond_to? :query - if query = path.query - path = path.dup - path.query = nil - end - else - path, query = path.split('?', 2) - end - self.path = path - self.params.merge_query query, options.params_encoder - self.params.update(params) if params - end - - def [](key) - headers[key] - end - - def []=(key, value) - headers[key] = value - end - - # ENV Keys - # :method - a symbolized request method (:get, :post) - # :body - the request body that will eventually be converted to a string. - # :url - URI instance for the current request. - # :status - HTTP response status code - # :request_headers - hash of HTTP Headers to be sent to the server - # :response_headers - Hash of HTTP headers from the server - # :parallel_manager - sent if the connection is in parallel mode - # :request - Hash of options for configuring the request. - # :timeout - open/read timeout Integer in seconds - # :open_timeout - read timeout Integer in seconds - # :proxy - Hash of proxy options - # :uri - Proxy Server URI - # :user - Proxy server username - # :password - Proxy server password - # :ssl - Hash of options for configuring SSL requests. - def to_env(connection) - Env.new(method, body, connection.build_exclusive_url(path, params), - options, headers, connection.ssl, connection.parallel_manager) - end - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/authorization.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/authorization.rb deleted file mode 100644 index 43b4528..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/authorization.rb +++ /dev/null @@ -1,42 +0,0 @@ -module Faraday - class Request::Authorization < Faraday::Middleware - KEY = "Authorization".freeze unless defined? KEY - - # Public - def self.header(type, token) - case token - when String, Symbol - "#{type} #{token}" - when Hash - build_hash(type.to_s, token) - else - raise ArgumentError, "Can't build an Authorization #{type} header from #{token.inspect}" - end - end - - # Internal - def self.build_hash(type, hash) - offset = KEY.size + type.size + 3 - comma = ",\n#{' ' * offset}" - values = [] - hash.each do |key, value| - values << "#{key}=#{value.to_s.inspect}" - end - "#{type} #{values * comma}" - end - - def initialize(app, type, token) - @header_value = self.class.header(type, token) - super(app) - end - - # Public - def call(env) - unless env.request_headers[KEY] - env.request_headers[KEY] = @header_value - end - @app.call(env) - end - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/basic_authentication.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/basic_authentication.rb deleted file mode 100644 index 54c8dee..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/basic_authentication.rb +++ /dev/null @@ -1,13 +0,0 @@ -require 'base64' - -module Faraday - class Request::BasicAuthentication < Request.load_middleware(:authorization) - # Public - def self.header(login, pass) - value = Base64.encode64([login, pass].join(':')) - value.gsub!("\n", '') - super(:Basic, value) - end - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/instrumentation.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/instrumentation.rb deleted file mode 100644 index 42af8bc..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/instrumentation.rb +++ /dev/null @@ -1,36 +0,0 @@ -module Faraday - class Request::Instrumentation < Faraday::Middleware - class Options < Faraday::Options.new(:name, :instrumenter) - def name - self[:name] ||= 'request.faraday' - end - - def instrumenter - self[:instrumenter] ||= ActiveSupport::Notifications - end - end - - # Public: Instruments requests using Active Support. - # - # Measures time spent only for synchronous requests. - # - # Examples - # - # ActiveSupport::Notifications.subscribe('request.faraday') do |name, starts, ends, _, env| - # url = env[:url] - # http_method = env[:method].to_s.upcase - # duration = ends - starts - # $stderr.puts '[%s] %s %s (%.3f s)' % [url.host, http_method, url.request_uri, duration] - # end - def initialize(app, options = nil) - super(app) - @name, @instrumenter = Options.from(options).values_at(:name, :instrumenter) - end - - def call(env) - @instrumenter.instrument(@name, env) do - @app.call(env) - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/multipart.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/multipart.rb deleted file mode 100644 index 38b452a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/multipart.rb +++ /dev/null @@ -1,63 +0,0 @@ -require File.expand_path("../url_encoded", __FILE__) - -module Faraday - class Request::Multipart < Request::UrlEncoded - self.mime_type = 'multipart/form-data'.freeze - DEFAULT_BOUNDARY = "-----------RubyMultipartPost".freeze unless defined? DEFAULT_BOUNDARY - - def call(env) - match_content_type(env) do |params| - env.request.boundary ||= DEFAULT_BOUNDARY - env.request_headers[CONTENT_TYPE] += "; boundary=#{env.request.boundary}" - env.body = create_multipart(env, params) - end - @app.call env - end - - def process_request?(env) - type = request_type(env) - env.body.respond_to?(:each_key) and !env.body.empty? and ( - (type.empty? and has_multipart?(env.body)) or - type == self.class.mime_type - ) - end - - def has_multipart?(obj) - # string is an enum in 1.8, returning list of itself - if obj.respond_to?(:each) && !obj.is_a?(String) - (obj.respond_to?(:values) ? obj.values : obj).each do |val| - return true if (val.respond_to?(:content_type) || has_multipart?(val)) - end - end - false - end - - def create_multipart(env, params) - boundary = env.request.boundary - parts = process_params(params) do |key, value| - Faraday::Parts::Part.new(boundary, key, value) - end - parts << Faraday::Parts::EpiloguePart.new(boundary) - - body = Faraday::CompositeReadIO.new(parts) - env.request_headers[Faraday::Env::ContentLength] = body.length.to_s - return body - end - - def process_params(params, prefix = nil, pieces = nil, &block) - params.inject(pieces || []) do |all, (key, value)| - key = "#{prefix}[#{key}]" if prefix - - case value - when Array - values = value.inject([]) { |a,v| a << [nil, v] } - process_params(values, key, all, &block) - when Hash - process_params(value, key, all, &block) - else - all << block.call(key, value) - end - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/retry.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/retry.rb deleted file mode 100644 index 6ce8597..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/retry.rb +++ /dev/null @@ -1,154 +0,0 @@ -module Faraday - # Catches exceptions and retries each request a limited number of times. - # - # By default, it retries 2 times and handles only timeout exceptions. It can - # be configured with an arbitrary number of retries, a list of exceptions to - # handle, a retry interval, a percentage of randomness to add to the retry - # interval, and a backoff factor. - # - # Examples - # - # Faraday.new do |conn| - # conn.request :retry, max: 2, interval: 0.05, - # interval_randomness: 0.5, backoff_factor: 2 - # exceptions: [CustomException, 'Timeout::Error'] - # conn.adapter ... - # end - # - # This example will result in a first interval that is random between 0.05 and 0.075 and a second - # interval that is random between 0.1 and 0.15 - # - class Request::Retry < Faraday::Middleware - - IDEMPOTENT_METHODS = [:delete, :get, :head, :options, :put] - - class Options < Faraday::Options.new(:max, :interval, :max_interval, :interval_randomness, - :backoff_factor, :exceptions, :methods, :retry_if) - DEFAULT_CHECK = lambda { |env,exception| false } - - def self.from(value) - if Fixnum === value - new(value) - else - super(value) - end - end - - def max - (self[:max] ||= 2).to_i - end - - def interval - (self[:interval] ||= 0).to_f - end - - def max_interval - (self[:max_interval] ||= Float::MAX).to_f - end - - def interval_randomness - (self[:interval_randomness] ||= 0).to_f - end - - def backoff_factor - (self[:backoff_factor] ||= 1).to_f - end - - def exceptions - Array(self[:exceptions] ||= [Errno::ETIMEDOUT, 'Timeout::Error', - Error::TimeoutError]) - end - - def methods - Array(self[:methods] ||= IDEMPOTENT_METHODS) - end - - def retry_if - self[:retry_if] ||= DEFAULT_CHECK - end - - end - - # Public: Initialize middleware - # - # Options: - # max - Maximum number of retries (default: 2) - # interval - Pause in seconds between retries (default: 0) - # interval_randomness - The maximum random interval amount expressed - # as a float between 0 and 1 to use in addition to the - # interval. (default: 0) - # max_interval - An upper limit for the interval (default: Float::MAX) - # backoff_factor - The amount to multiple each successive retry's - # interval amount by in order to provide backoff - # (default: 1) - # exceptions - The list of exceptions to handle. Exceptions can be - # given as Class, Module, or String. (default: - # [Errno::ETIMEDOUT, Timeout::Error, - # Error::TimeoutError]) - # methods - A list of HTTP methods to retry without calling retry_if. Pass - # an empty Array to call retry_if for all exceptions. - # (defaults to the idempotent HTTP methods in IDEMPOTENT_METHODS) - # retry_if - block that will receive the env object and the exception raised - # and should decide if the code should retry still the action or - # not independent of the retry count. This would be useful - # if the exception produced is non-recoverable or if the - # the HTTP method called is not idempotent. - # (defaults to return false) - def initialize(app, options = nil) - super(app) - @options = Options.from(options) - @errmatch = build_exception_matcher(@options.exceptions) - end - - def sleep_amount(retries) - retry_index = @options.max - retries - current_interval = @options.interval * (@options.backoff_factor ** retry_index) - current_interval = [current_interval, @options.max_interval].min - random_interval = rand * @options.interval_randomness.to_f * @options.interval - current_interval + random_interval - end - - def call(env) - retries = @options.max - request_body = env[:body] - begin - env[:body] = request_body # after failure env[:body] is set to the response body - @app.call(env) - rescue @errmatch => exception - if retries > 0 && retry_request?(env, exception) - retries -= 1 - sleep sleep_amount(retries + 1) - retry - end - raise - end - end - - # Private: construct an exception matcher object. - # - # An exception matcher for the rescue clause can usually be any object that - # responds to `===`, but for Ruby 1.8 it has to be a Class or Module. - def build_exception_matcher(exceptions) - matcher = Module.new - (class << matcher; self; end).class_eval do - define_method(:===) do |error| - exceptions.any? do |ex| - if ex.is_a? Module - error.is_a? ex - else - error.class.to_s == ex.to_s - end - end - end - end - matcher - end - - private - - def retry_request?(env, exception) - @options.methods.include?(env[:method]) || @options.retry_if.call(env, exception) - end - - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/token_authentication.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/token_authentication.rb deleted file mode 100644 index 2558608..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/token_authentication.rb +++ /dev/null @@ -1,15 +0,0 @@ -module Faraday - class Request::TokenAuthentication < Request.load_middleware(:authorization) - # Public - def self.header(token, options = nil) - options ||= {} - options[:token] = token - super(:Token, options) - end - - def initialize(app, token, options = nil) - super(app, token, options) - end - end -end - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb deleted file mode 100644 index b02a266..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/request/url_encoded.rb +++ /dev/null @@ -1,36 +0,0 @@ -module Faraday - class Request::UrlEncoded < Faraday::Middleware - CONTENT_TYPE = 'Content-Type'.freeze unless defined? CONTENT_TYPE - - class << self - attr_accessor :mime_type - end - self.mime_type = 'application/x-www-form-urlencoded'.freeze - - def call(env) - match_content_type(env) do |data| - params = Faraday::Utils::ParamsHash[data] - env.body = params.to_query(env.params_encoder) - end - @app.call env - end - - def match_content_type(env) - if process_request?(env) - env.request_headers[CONTENT_TYPE] ||= self.class.mime_type - yield(env.body) unless env.body.respond_to?(:to_str) - end - end - - def process_request?(env) - type = request_type(env) - env.body and (type.empty? or type == self.class.mime_type) - end - - def request_type(env) - type = env.request_headers[CONTENT_TYPE].to_s - type = type.split(';', 2).first if type.index(';') - type - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response.rb deleted file mode 100644 index c10ad48..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response.rb +++ /dev/null @@ -1,93 +0,0 @@ -require 'forwardable' - -module Faraday - class Response - # Used for simple response middleware. - class Middleware < Faraday::Middleware - def call(env) - @app.call(env).on_complete do |environment| - on_complete(environment) - end - end - - # Override this to modify the environment after the response has finished. - # Calls the `parse` method if defined - def on_complete(env) - env.body = parse(env.body) if respond_to?(:parse) && env.parse_body? - end - end - - extend Forwardable - extend MiddlewareRegistry - - register_middleware File.expand_path('../response', __FILE__), - :raise_error => [:RaiseError, 'raise_error'], - :logger => [:Logger, 'logger'] - - def initialize(env = nil) - @env = Env.from(env) if env - @on_complete_callbacks = [] - end - - attr_reader :env - - def_delegators :env, :to_hash - - def status - finished? ? env.status : nil - end - - def headers - finished? ? env.response_headers : {} - end - def_delegator :headers, :[] - - def body - finished? ? env.body : nil - end - - def finished? - !!env - end - - def on_complete - if not finished? - @on_complete_callbacks << Proc.new - else - yield(env) - end - return self - end - - def finish(env) - raise "response already finished" if finished? - @env = env.is_a?(Env) ? env : Env.from(env) - @on_complete_callbacks.each { |callback| callback.call(@env) } - return self - end - - def success? - finished? && env.success? - end - - # because @on_complete_callbacks cannot be marshalled - def marshal_dump - !finished? ? nil : { - :status => @env.status, :body => @env.body, - :response_headers => @env.response_headers - } - end - - def marshal_load(env) - @env = Env.from(env) - end - - # Expand the env with more properties, without overriding existing ones. - # Useful for applying request params after restoring a marshalled Response. - def apply_request(request_env) - raise "response didn't finish yet" unless finished? - @env = Env.from(request_env).update(@env) - return self - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response/logger.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response/logger.rb deleted file mode 100644 index 0b4d714..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response/logger.rb +++ /dev/null @@ -1,59 +0,0 @@ -require 'forwardable' - -module Faraday - class Response::Logger < Response::Middleware - extend Forwardable - - DEFAULT_OPTIONS = { :bodies => false } - - def initialize(app, logger = nil, options = {}) - super(app) - @logger = logger || begin - require 'logger' - ::Logger.new(STDOUT) - end - @options = DEFAULT_OPTIONS.merge(options) - end - - def_delegators :@logger, :debug, :info, :warn, :error, :fatal - - def call(env) - info "#{env.method} #{env.url.to_s}" - debug('request') { dump_headers env.request_headers } - debug('request') { dump_body(env[:body]) } if env[:body] && log_body?(:request) - super - end - - def on_complete(env) - info('Status') { env.status.to_s } - debug('response') { dump_headers env.response_headers } - debug('response') { dump_body env[:body] } if env[:body] && log_body?(:response) - end - - private - - def dump_headers(headers) - headers.map { |k, v| "#{k}: #{v.inspect}" }.join("\n") - end - - def dump_body(body) - if body.respond_to?(:to_str) - body.to_str - else - pretty_inspect(body) - end - end - - def pretty_inspect(body) - require 'pp' unless body.respond_to?(:pretty_inspect) - body.pretty_inspect - end - - def log_body?(type) - case @options[:bodies] - when Hash then @options[:bodies][type] - else @options[:bodies] - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response/raise_error.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response/raise_error.rb deleted file mode 100644 index 437762b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/response/raise_error.rb +++ /dev/null @@ -1,21 +0,0 @@ -module Faraday - class Response::RaiseError < Response::Middleware - ClientErrorStatuses = 400...600 - - def on_complete(env) - case env[:status] - when 404 - raise Faraday::Error::ResourceNotFound, response_values(env) - when 407 - # mimic the behavior that we get with proxy requests with HTTPS - raise Faraday::Error::ConnectionFailed, %{407 "Proxy Authentication Required "} - when ClientErrorStatuses - raise Faraday::Error::ClientError, response_values(env) - end - end - - def response_values(env) - {:status => env.status, :headers => env.response_headers, :body => env.body} - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/upload_io.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/upload_io.rb deleted file mode 100644 index 9130d15..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/upload_io.rb +++ /dev/null @@ -1,67 +0,0 @@ -begin - require 'composite_io' - require 'parts' - require 'stringio' -rescue LoadError - $stderr.puts "Install the multipart-post gem." - raise -end - -module Faraday - # Similar but not compatible with ::CompositeReadIO provided by multipart-post. - class CompositeReadIO - def initialize(*parts) - @parts = parts.flatten - @ios = @parts.map { |part| part.to_io } - @index = 0 - end - - def length - @parts.inject(0) { |sum, part| sum + part.length } - end - - def rewind - @ios.each { |io| io.rewind } - @index = 0 - end - - # Read from IOs in order until `length` bytes have been received. - def read(length = nil, outbuf = nil) - got_result = false - outbuf = outbuf ? outbuf.replace("") : "" - - while io = current_io - if result = io.read(length) - got_result ||= !result.nil? - result.force_encoding("BINARY") if result.respond_to?(:force_encoding) - outbuf << result - length -= result.length if length - break if length == 0 - end - advance_io - end - (!got_result && length) ? nil : outbuf - end - - def close - @ios.each { |io| io.close } - end - - def ensure_open_and_readable - # Rubinius compatibility - end - - private - - def current_io - @ios[@index] - end - - def advance_io - @index += 1 - end - end - - UploadIO = ::UploadIO - Parts = ::Parts -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/utils.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/utils.rb deleted file mode 100644 index 1d01e9d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/utils.rb +++ /dev/null @@ -1,309 +0,0 @@ -require 'thread' - -module Faraday - module Utils - extend self - - # Adapted from Rack::Utils::HeaderHash - class Headers < ::Hash - def self.from(value) - new(value) - end - - def initialize(hash = nil) - super() - @names = {} - self.update(hash || {}) - end - - # on dup/clone, we need to duplicate @names hash - def initialize_copy(other) - super - @names = other.names.dup - end - - # need to synchronize concurrent writes to the shared KeyMap - keymap_mutex = Mutex.new - - # symbol -> string mapper + cache - KeyMap = Hash.new do |map, key| - value = if key.respond_to?(:to_str) - key - else - key.to_s.split('_'). # :user_agent => %w(user agent) - each { |w| w.capitalize! }. # => %w(User Agent) - join('-') # => "User-Agent" - end - keymap_mutex.synchronize { map[key] = value } - end - KeyMap[:etag] = "ETag" - - def [](k) - k = KeyMap[k] - super(k) || super(@names[k.downcase]) - end - - def []=(k, v) - k = KeyMap[k] - k = (@names[k.downcase] ||= k) - # join multiple values with a comma - v = v.to_ary.join(', ') if v.respond_to? :to_ary - super(k, v) - end - - def fetch(k, *args, &block) - k = KeyMap[k] - key = @names.fetch(k.downcase, k) - super(key, *args, &block) - end - - def delete(k) - k = KeyMap[k] - if k = @names[k.downcase] - @names.delete k.downcase - super(k) - end - end - - def include?(k) - @names.include? k.downcase - end - - alias_method :has_key?, :include? - alias_method :member?, :include? - alias_method :key?, :include? - - def merge!(other) - other.each { |k, v| self[k] = v } - self - end - alias_method :update, :merge! - - def merge(other) - hash = dup - hash.merge! other - end - - def replace(other) - clear - @names.clear - self.update other - self - end - - def to_hash() ::Hash.new.update(self) end - - def parse(header_string) - return unless header_string && !header_string.empty? - header_string.split(/\r\n/). - tap { |a| a.shift if a.first.index('HTTP/') == 0 }. # drop the HTTP status line - map { |h| h.split(/:\s+/, 2) }.reject { |p| p[0].nil? }. # split key and value, ignore blank lines - each { |key, value| - # join multiple values with a comma - if self[key] - self[key] << ', ' << value - else - self[key] = value - end - } - end - - protected - - def names - @names - end - end - - # hash with stringified keys - class ParamsHash < Hash - def [](key) - super(convert_key(key)) - end - - def []=(key, value) - super(convert_key(key), value) - end - - def delete(key) - super(convert_key(key)) - end - - def include?(key) - super(convert_key(key)) - end - - alias_method :has_key?, :include? - alias_method :member?, :include? - alias_method :key?, :include? - - def update(params) - params.each do |key, value| - self[key] = value - end - self - end - alias_method :merge!, :update - - def merge(params) - dup.update(params) - end - - def replace(other) - clear - update(other) - end - - def merge_query(query, encoder = nil) - if query && !query.empty? - update((encoder || Utils.default_params_encoder).decode(query)) - end - self - end - - def to_query(encoder = nil) - (encoder || Utils.default_params_encoder).encode(self) - end - - private - - def convert_key(key) - key.to_s - end - end - - def build_query(params) - FlatParamsEncoder.encode(params) - end - - def build_nested_query(params) - NestedParamsEncoder.encode(params) - end - - ESCAPE_RE = /[^a-zA-Z0-9 .~_-]/ - - def escape(s) - s.to_s.gsub(ESCAPE_RE) {|match| - '%' + match.unpack('H2' * match.bytesize).join('%').upcase - }.tr(' ', '+') - end - - def unescape(s) CGI.unescape s.to_s end - - DEFAULT_SEP = /[&;] */n - - # Adapted from Rack - def parse_query(query) - FlatParamsEncoder.decode(query) - end - - def parse_nested_query(query) - NestedParamsEncoder.decode(query) - end - - def default_params_encoder - @default_params_encoder ||= NestedParamsEncoder - end - - class << self - attr_writer :default_params_encoder - end - - # Stolen from Rack - def normalize_params(params, name, v = nil) - name =~ %r(\A[\[\]]*([^\[\]]+)\]*) - k = $1 || '' - after = $' || '' - - return if k.empty? - - if after == "" - if params[k] - params[k] = Array[params[k]] unless params[k].kind_of?(Array) - params[k] << v - else - params[k] = v - end - elsif after == "[]" - params[k] ||= [] - raise TypeError, "expected Array (got #{params[k].class.name}) for param `#{k}'" unless params[k].is_a?(Array) - params[k] << v - elsif after =~ %r(^\[\]\[([^\[\]]+)\]$) || after =~ %r(^\[\](.+)$) - child_key = $1 - params[k] ||= [] - raise TypeError, "expected Array (got #{params[k].class.name}) for param `#{k}'" unless params[k].is_a?(Array) - if params[k].last.is_a?(Hash) && !params[k].last.key?(child_key) - normalize_params(params[k].last, child_key, v) - else - params[k] << normalize_params({}, child_key, v) - end - else - params[k] ||= {} - raise TypeError, "expected Hash (got #{params[k].class.name}) for param `#{k}'" unless params[k].is_a?(Hash) - params[k] = normalize_params(params[k], after, v) - end - - return params - end - - # Normalize URI() behavior across Ruby versions - # - # url - A String or URI. - # - # Returns a parsed URI. - def URI(url) - if url.respond_to?(:host) - url - elsif url.respond_to?(:to_str) - default_uri_parser.call(url) - else - raise ArgumentError, "bad argument (expected URI object or URI string)" - end - end - - def default_uri_parser - @default_uri_parser ||= begin - require 'uri' - Kernel.method(:URI) - end - end - - def default_uri_parser=(parser) - @default_uri_parser = if parser.respond_to?(:call) || parser.nil? - parser - else - parser.method(:parse) - end - end - - # Receives a String or URI and returns just the path with the query string sorted. - def normalize_path(url) - url = URI(url) - (url.path.start_with?('/') ? url.path : '/' + url.path) + - (url.query ? "?#{sort_query_params(url.query)}" : "") - end - - # Recursive hash update - def deep_merge!(target, hash) - hash.each do |key, value| - if Hash === value and Hash === target[key] - target[key] = deep_merge(target[key], value) - else - target[key] = value - end - end - target - end - - # Recursive hash merge - def deep_merge(source, hash) - deep_merge!(source.dup, hash) - end - - protected - - def sort_query_params(query) - query.split('&').sort.join('&') - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/.gitignore b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/.gitignore deleted file mode 100644 index c02a141..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -doc -pkg -*~ -*.swo -*.swp -/Gemfile.lock diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/.travis.yml b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/.travis.yml deleted file mode 100644 index e1ea1fe..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -rvm: - - 1.9.3 - - 2.0.0 - - jruby -branches: - only: - - master diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Gemfile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Gemfile deleted file mode 100644 index e55151b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Gemfile +++ /dev/null @@ -1,14 +0,0 @@ -source 'https://rubygems.org' -gemspec - -platforms :mri_19 do - gem 'ruby-debug19' -end - -platforms :mri_18 do - gem 'ruby-debug' -end - -group :development, :test do - gem 'rake' -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/History.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/History.txt deleted file mode 100644 index 64b1e38..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/History.txt +++ /dev/null @@ -1,60 +0,0 @@ -=== 2.0.0 / 2013-12-21 - -- Drop Ruby 1.8 compatibility -- GH #21: Fix FilePart length calculation for Ruby 1.9 when filename contains - multibyte characters (hexfet) -- GH #20: Ensure upload responds to both #content_type and #original_filename - (Steven Davidovitz) -- GH #31: Support setting headers on any part of the request (Socrates Vicente) -- GH #30: Support array values for params (Gustav Ernberg) -- GH #32: Fix respond_to? signature (Leo Cassarani) -- GH #33: Update README to markdown (Jagtesh Chadha) -- GH #35: Improved handling of array-type parameters (Steffen Grunwald) - -=== 1.2.0 / 2013-02-25 - -- #25: Ruby 2 compatibility (thanks mislav) - -=== 1.1.5 / 2012-02-12 - -- Fix length/bytesize of parts in 1.9 (#7, #14) (Jason Moore) -- Allow CompositeIO objects to be re-read by rewinding, like other IO - objects. (Luke Redpath) - -=== 1.1.4 / 2011-11-23 - -- Non-functional changes in release (switch to Bundler gem tasks) - -=== 1.1.3 / 2011-07-25 - -- More configurable header specification for parts (Gerrit Riessen) - -=== 1.1.2 / 2011-05-24 - -- Fix CRLF file part miscalculation (Johannes Wagener) -- Fix Epilogue CRLF issue (suggestion by Neil Spring) - -=== 1.1.1 / 2011-05-13 - -- GH# 9: Fixed Ruby 1.9.2 StringIO bug (thanks Alex Koppel) - -=== 1.1.0 / 2011-01-11 - -- API CHANGE: UploadIO.convert! removed in favor of UploadIO.new - (Jeff Hodges) - -=== 1.0.1 / 2010-04-27 - -- Doc updates, make gemspec based on more modern Rubygems - -=== 1.0 / 2009-02-12 - -- Many fixes from mlooney, seems to work now. Putting the 0.9 seal of - approval on it. - -=== 0.1 / 2008-08-12 - -* 1 major enhancement - - * Birthday! - diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Manifest.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Manifest.txt deleted file mode 100644 index 109d8f0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Manifest.txt +++ /dev/null @@ -1,9 +0,0 @@ -lib/composite_io.rb -lib/multipartable.rb -lib/parts.rb -lib/net/http/post/multipart.rb -Manifest.txt -Rakefile -README.txt -test/test_composite_io.rb -test/net/http/post/test_multipart.rb diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/README.md b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/README.md deleted file mode 100644 index fc7eae1..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/README.md +++ /dev/null @@ -1,77 +0,0 @@ -## multipart-post - -* http://github.com/nicksieger/multipart-post - -![build status](https://travis-ci.org/nicksieger/multipart-post.png) - -#### DESCRIPTION: - -Adds a streamy multipart form post capability to Net::HTTP. Also -supports other methods besides POST. - -#### FEATURES/PROBLEMS: - -* Appears to actually work. A good feature to have. -* Encapsulates posting of file/binary parts and name/value parameter parts, similar to - most browsers' file upload forms. -* Provides an UploadIO helper class to prepare IO objects for inclusion in the params - hash of the multipart post object. - -#### SYNOPSIS: - - require 'net/http/post/multipart' - - url = URI.parse('http://www.example.com/upload') - File.open("./image.jpg") do |jpg| - req = Net::HTTP::Post::Multipart.new url.path, - "file" => UploadIO.new(jpg, "image/jpeg", "image.jpg") - res = Net::HTTP.start(url.host, url.port) do |http| - http.request(req) - end - end - -To post multiple files or attachments, simply include multiple parameters with -UploadIO values: - - require 'net/http/post/multipart' - - url = URI.parse('http://www.example.com/upload') - req = Net::HTTP::Post::Multipart.new url.path, - "file1" => UploadIO.new(File.new("./image.jpg"), "image/jpeg", "image.jpg"), - "file2" => UploadIO.new(File.new("./image2.jpg"), "image/jpeg", "image2.jpg") - res = Net::HTTP.start(url.host, url.port) do |http| - http.request(req) - end - -#### REQUIREMENTS: - -None - -#### INSTALL: - - gem install multipart-post - -#### LICENSE: - -(The MIT License) - -Copyright (c) 2007-2013 Nick Sieger - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Rakefile b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Rakefile deleted file mode 100644 index dd85431..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/Rakefile +++ /dev/null @@ -1,9 +0,0 @@ -require "bundler/gem_tasks" - -task :default => :test - -require 'rake/testtask' -Rake::TestTask.new do |t| - t.libs << "test" - t.test_files = FileList['test/**/test*.rb'] -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/composite_io.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/composite_io.rb deleted file mode 100644 index 4ba7cf5..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/composite_io.rb +++ /dev/null @@ -1,108 +0,0 @@ -#-- -# Copyright (c) 2007-2012 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -# Concatenate together multiple IO objects into a single, composite IO object -# for purposes of reading as a single stream. -# -# Usage: -# -# crio = CompositeReadIO.new(StringIO.new('one'), StringIO.new('two'), StringIO.new('three')) -# puts crio.read # => "onetwothree" -# -class CompositeReadIO - # Create a new composite-read IO from the arguments, all of which should - # respond to #read in a manner consistent with IO. - def initialize(*ios) - @ios = ios.flatten - @index = 0 - end - - # Read from IOs in order until `length` bytes have been received. - def read(length = nil, outbuf = nil) - got_result = false - outbuf = outbuf ? outbuf.replace("") : "" - - while io = current_io - if result = io.read(length) - got_result ||= !result.nil? - result.force_encoding("BINARY") if result.respond_to?(:force_encoding) - outbuf << result - length -= result.length if length - break if length == 0 - end - advance_io - end - (!got_result && length) ? nil : outbuf - end - - def rewind - @ios.each { |io| io.rewind } - @index = 0 - end - - private - - def current_io - @ios[@index] - end - - def advance_io - @index += 1 - end -end - -# Convenience methods for dealing with files and IO that are to be uploaded. -class UploadIO - # Create an upload IO suitable for including in the params hash of a - # Net::HTTP::Post::Multipart. - # - # Can take two forms. The first accepts a filename and content type, and - # opens the file for reading (to be closed by finalizer). - # - # The second accepts an already-open IO, but also requires a third argument, - # the filename from which it was opened (particularly useful/recommended if - # uploading directly from a form in a framework, which often save the file to - # an arbitrarily named RackMultipart file in /tmp). - # - # Usage: - # - # UploadIO.new("file.txt", "text/plain") - # UploadIO.new(file_io, "text/plain", "file.txt") - # - attr_reader :content_type, :original_filename, :local_path, :io, :opts - - def initialize(filename_or_io, content_type, filename = nil, opts = {}) - io = filename_or_io - local_path = "" - if io.respond_to? :read - # in Ruby 1.9.2, StringIOs no longer respond to path - # (since they respond to :length, so we don't need their local path, see parts.rb:41) - local_path = filename_or_io.respond_to?(:path) ? filename_or_io.path : "local.path" - else - io = File.open(filename_or_io) - local_path = filename_or_io - end - filename ||= local_path - - @content_type = content_type - @original_filename = File.basename(filename) - @local_path = local_path - @io = io - @opts = opts - end - - def self.convert!(io, content_type, original_filename, local_path) - raise ArgumentError, "convert! has been removed. You must now wrap IOs using:\nUploadIO.new(filename_or_io, content_type, filename=nil)\nPlease update your code." - end - - def method_missing(*args) - @io.send(*args) - end - - def respond_to?(meth, include_all = false) - @io.respond_to?(meth, include_all) || super(meth, include_all) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/multipart_post.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/multipart_post.rb deleted file mode 100644 index 76540a8..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/multipart_post.rb +++ /dev/null @@ -1,9 +0,0 @@ -#-- -# Copyright (c) 2007-2013 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -module MultipartPost - VERSION = "2.0.0" -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/multipartable.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/multipartable.rb deleted file mode 100644 index 28fa41e..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/multipartable.rb +++ /dev/null @@ -1,29 +0,0 @@ -#-- -# Copyright (c) 2007-2013 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -require 'parts' - module Multipartable - DEFAULT_BOUNDARY = "-----------RubyMultipartPost" - def initialize(path, params, headers={}, boundary = DEFAULT_BOUNDARY) - headers = headers.clone # don't want to modify the original variable - parts_headers = headers.delete(:parts) || {} - super(path, headers) - parts = params.map do |k,v| - case v - when Array - v.map {|item| Parts::Part.new(boundary, k, item, parts_headers[k]) } - else - Parts::Part.new(boundary, k, v, parts_headers[k]) - end - end.flatten - parts << Parts::EpiloguePart.new(boundary) - ios = parts.map {|p| p.to_io } - self.set_content_type(headers["Content-Type"] || "multipart/form-data", - { "boundary" => boundary }) - self.content_length = parts.inject(0) {|sum,i| sum + i.length } - self.body_stream = CompositeReadIO.new(*ios) - end - end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb deleted file mode 100644 index 7570582..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/net/http/post/multipart.rb +++ /dev/null @@ -1,27 +0,0 @@ -#-- -# Copyright (c) 2007-2012 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -require 'net/http' -require 'stringio' -require 'cgi' -require 'composite_io' -require 'multipartable' -require 'parts' - -module Net #:nodoc: - class HTTP #:nodoc: - class Put - class Multipart < Put - include Multipartable - end - end - class Post #:nodoc: - class Multipart < Post - include Multipartable - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/parts.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/parts.rb deleted file mode 100644 index c06cbd9..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/lib/parts.rb +++ /dev/null @@ -1,96 +0,0 @@ -#-- -# Copyright (c) 2007-2013 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -module Parts - module Part #:nodoc: - def self.new(boundary, name, value, headers = {}) - headers ||= {} # avoid nil values - if file?(value) - FilePart.new(boundary, name, value, headers) - else - ParamPart.new(boundary, name, value, headers) - end - end - - def self.file?(value) - value.respond_to?(:content_type) && value.respond_to?(:original_filename) - end - - def length - @part.length - end - - def to_io - @io - end - end - - class ParamPart - include Part - def initialize(boundary, name, value, headers = {}) - @part = build_part(boundary, name, value, headers) - @io = StringIO.new(@part) - end - - def length - @part.bytesize - end - - def build_part(boundary, name, value, headers = {}) - part = '' - part << "--#{boundary}\r\n" - part << "Content-Disposition: form-data; name=\"#{name.to_s}\"\r\n" - part << "Content-Type: #{headers["Content-Type"]}\r\n" if headers["Content-Type"] - part << "\r\n" - part << "#{value}\r\n" - end - end - - # Represents a part to be filled from file IO. - class FilePart - include Part - attr_reader :length - def initialize(boundary, name, io, headers = {}) - file_length = io.respond_to?(:length) ? io.length : File.size(io.local_path) - @head = build_head(boundary, name, io.original_filename, io.content_type, file_length, - io.respond_to?(:opts) ? io.opts.merge(headers) : headers) - @foot = "\r\n" - @length = @head.bytesize + file_length + @foot.length - @io = CompositeReadIO.new(StringIO.new(@head), io, StringIO.new(@foot)) - end - - def build_head(boundary, name, filename, type, content_len, opts = {}, headers = {}) - trans_encoding = opts["Content-Transfer-Encoding"] || "binary" - content_disposition = opts["Content-Disposition"] || "form-data" - - part = '' - part << "--#{boundary}\r\n" - part << "Content-Disposition: #{content_disposition}; name=\"#{name.to_s}\"; filename=\"#{filename}\"\r\n" - part << "Content-Length: #{content_len}\r\n" - if content_id = opts["Content-ID"] - part << "Content-ID: #{content_id}\r\n" - end - - if headers["Content-Type"] != nil - part << "Content-Type: " + headers["Content-Type"] + "\r\n" - else - part << "Content-Type: #{type}\r\n" - end - - part << "Content-Transfer-Encoding: #{trans_encoding}\r\n" - part << "\r\n" - end - end - - # Represents the epilogue or closing boundary. - class EpiloguePart - include Part - def initialize(boundary) - @part = "--#{boundary}--\r\n\r\n" - @io = StringIO.new(@part) - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/multipart-post.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/multipart-post.gemspec deleted file mode 100644 index 6954f09..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/multipart-post.gemspec +++ /dev/null @@ -1,22 +0,0 @@ -# -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "multipart_post" - -Gem::Specification.new do |s| - s.name = "multipart-post" - s.version = MultipartPost::VERSION - s.authors = ["Nick Sieger"] - s.email = ["nick@nicksieger.com"] - s.homepage = "https://github.com/nicksieger/multipart-post" - s.summary = %q{A multipart form post accessory for Net::HTTP.} - s.license = "MIT" - s.description = %q{Use with Net::HTTP to do multipart form posts. IO values that have #content_type, #original_filename, and #local_path will be posted as a binary file.} - - s.rubyforge_project = "caldersphere" - - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - s.rdoc_options = ["--main", "README.md", "-SHN", "-f", "darkfish"] - s.require_paths = ["lib"] -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/multibyte.txt b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/multibyte.txt deleted file mode 100644 index 24a84b0..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/multibyte.txt +++ /dev/null @@ -1 +0,0 @@ -ファイル diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb deleted file mode 100644 index c127e0a..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/net/http/post/test_multipart.rb +++ /dev/null @@ -1,110 +0,0 @@ -#-- -# Copyright (c) 2007-2013 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -require 'net/http/post/multipart' -require 'test/unit' - -class Net::HTTP::Post::MultiPartTest < Test::Unit::TestCase - TEMP_FILE = "temp.txt" - - HTTPPost = Struct.new("HTTPPost", :content_length, :body_stream, :content_type) - HTTPPost.module_eval do - def set_content_type(type, params = {}) - self.content_type = type + params.map{|k,v|"; #{k}=#{v}"}.join('') - end - end - - def teardown - File.delete(TEMP_FILE) rescue nil - end - - def test_form_multipart_body - File.open(TEMP_FILE, "w") {|f| f << "1234567890"} - @io = File.open(TEMP_FILE) - @io = UploadIO.new @io, "text/plain", TEMP_FILE - assert_results Net::HTTP::Post::Multipart.new("/foo/bar", :foo => 'bar', :file => @io) - end - def test_form_multipart_body_put - File.open(TEMP_FILE, "w") {|f| f << "1234567890"} - @io = File.open(TEMP_FILE) - @io = UploadIO.new @io, "text/plain", TEMP_FILE - assert_results Net::HTTP::Put::Multipart.new("/foo/bar", :foo => 'bar', :file => @io) - end - - def test_form_multipart_body_with_stringio - @io = StringIO.new("1234567890") - @io = UploadIO.new @io, "text/plain", TEMP_FILE - assert_results Net::HTTP::Post::Multipart.new("/foo/bar", :foo => 'bar', :file => @io) - end - - def test_form_multiparty_body_with_parts_headers - @io = StringIO.new("1234567890") - @io = UploadIO.new @io, "text/plain", TEMP_FILE - parts = { :text => 'bar', :file => @io } - headers = { - :parts => { - :text => { "Content-Type" => "part/type" }, - :file => { "Content-Transfer-Encoding" => "part-encoding" } - } - } - - request = Net::HTTP::Post::Multipart.new("/foo/bar", parts, headers) - assert_results request - assert_additional_headers_added(request, headers[:parts]) - end - - def test_form_multipart_body_with_array_value - File.open(TEMP_FILE, "w") {|f| f << "1234567890"} - @io = File.open(TEMP_FILE) - @io = UploadIO.new @io, "text/plain", TEMP_FILE - params = {:foo => ['bar', 'quux'], :file => @io} - headers = { :parts => { - :foo => { "Content-Type" => "application/json; charset=UTF-8" } } } - post = Net::HTTP::Post::Multipart.new("/foo/bar", params, headers, - Net::HTTP::Post::Multipart::DEFAULT_BOUNDARY) - - assert post.content_length && post.content_length > 0 - assert post.body_stream - - body = post.body_stream.read - assert_equal 2, body.lines.grep(/name="foo"/).length - assert body =~ /Content-Type: application\/json; charset=UTF-8/, body - end - - def test_form_multipart_body_with_arrayparam - File.open(TEMP_FILE, "w") {|f| f << "1234567890"} - @io = File.open(TEMP_FILE) - @io = UploadIO.new @io, "text/plain", TEMP_FILE - assert_results Net::HTTP::Post::Multipart.new("/foo/bar", :multivalueParam => ['bar','bah'], :file => @io) - end - - def assert_results(post) - assert post.content_length && post.content_length > 0 - assert post.body_stream - assert_equal "multipart/form-data; boundary=#{Multipartable::DEFAULT_BOUNDARY}", post['content-type'] - body = post.body_stream.read - boundary_regex = Regexp.quote Multipartable::DEFAULT_BOUNDARY - assert body =~ /1234567890/ - # ensure there is at least one boundary - assert body =~ /^--#{boundary_regex}\r\n/ - # ensure there is an epilogue - assert body =~ /^--#{boundary_regex}--\r\n/ - assert body =~ /text\/plain/ - if (body =~ /multivalueParam/) - assert_equal 2, body.scan(/^.*multivalueParam.*$/).size - end - end - - def assert_additional_headers_added(post, parts_headers) - post.body_stream.rewind - body = post.body_stream.read - parts_headers.each do |part, headers| - headers.each do |k,v| - assert body =~ /#{k}: #{v}/ - end - end - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/test_composite_io.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/test_composite_io.rb deleted file mode 100644 index 6e8a193..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/test_composite_io.rb +++ /dev/null @@ -1,115 +0,0 @@ -#-- -# Copyright (c) 2007-2013 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -require 'composite_io' -require 'stringio' -require 'test/unit' -require 'timeout' - -class CompositeReadIOTest < Test::Unit::TestCase - def setup - @io = CompositeReadIO.new(CompositeReadIO.new(StringIO.new('the '), StringIO.new('quick ')), - StringIO.new('brown '), StringIO.new('fox')) - end - - def test_full_read_from_several_ios - assert_equal 'the quick brown fox', @io.read - end - - unless RUBY_VERSION < '1.9' - def test_read_from_multibyte - utf8 = File.open(File.dirname(__FILE__)+'/multibyte.txt') - binary = StringIO.new("\x86") - @io = CompositeReadIO.new(binary,utf8) - - expect = "\x86\xE3\x83\x95\xE3\x82\xA1\xE3\x82\xA4\xE3\x83\xAB\n" - expect.force_encoding('BINARY') if expect.respond_to?(:force_encoding) - assert_equal expect, @io.read - end - end - - def test_partial_read - assert_equal 'the quick', @io.read(9) - end - - def test_partial_read_to_boundary - assert_equal 'the quick ', @io.read(10) - end - - def test_read_with_size_larger_than_available - assert_equal 'the quick brown fox', @io.read(32) - end - - def test_read_into_buffer - buf = '' - @io.read(nil, buf) - assert_equal 'the quick brown fox', buf - end - - def test_multiple_reads - assert_equal 'the ', @io.read(4) - assert_equal 'quic', @io.read(4) - assert_equal 'k br', @io.read(4) - assert_equal 'own ', @io.read(4) - assert_equal 'fox', @io.read(4) - end - - def test_read_after_end - @io.read - assert_equal "", @io.read - end - - def test_read_after_end_with_amount - @io.read(32) - assert_equal nil, @io.read(32) - end - - def test_second_full_read_after_rewinding - @io.read - @io.rewind - assert_equal 'the quick brown fox', @io.read - end - - def test_convert_error - assert_raises(ArgumentError) { - UploadIO.convert!('tmp.txt', 'text/plain', 'tmp.txt', 'tmp.txt') - } - end - - ## FIXME excluding on JRuby due to - ## http://jira.codehaus.org/browse/JRUBY-7109 - if IO.respond_to?(:copy_stream) && !defined?(JRUBY_VERSION) - def test_compatible_with_copy_stream - target_io = StringIO.new - Timeout.timeout(1) do - IO.copy_stream(@io, target_io) - end - assert_equal "the quick brown fox", target_io.string - end - end - - def test_empty - io = CompositeReadIO.new - assert_equal "", io.read - end - - def test_empty_limited - io = CompositeReadIO.new - assert_nil io.read(1) - end - - def test_empty_parts - io = CompositeReadIO.new(StringIO.new, StringIO.new('the '), StringIO.new, StringIO.new('quick')) - assert_equal "the", io.read(3) - assert_equal " qu", io.read(3) - assert_equal "ick", io.read(4) - end - - def test_all_empty_parts - io = CompositeReadIO.new(StringIO.new, StringIO.new) - assert_nil io.read(1) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/test_parts.rb b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/test_parts.rb deleted file mode 100644 index 33c1e39..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/gems/multipart-post-2.0.0/test/test_parts.rb +++ /dev/null @@ -1,86 +0,0 @@ -#-- -# Copyright (c) 2007-2012 Nick Sieger. -# See the file README.txt included with the distribution for -# software license details. -#++ - -require 'test/unit' - -require 'parts' -require 'stringio' -require 'composite_io' -require 'tempfile' - - -MULTIBYTE = File.dirname(__FILE__)+'/multibyte.txt' -TEMP_FILE = "temp.txt" - -module AssertPartLength - def assert_part_length(part) - bytes = part.to_io.read - bytesize = bytes.respond_to?(:bytesize) ? bytes.bytesize : bytes.length - assert_equal bytesize, part.length - end -end - -class PartTest < Test::Unit::TestCase - def setup - @string_with_content_type = Class.new(String) do - def content_type; 'application/data'; end - end - end - - def test_file_with_upload_io - assert Parts::Part.file?(UploadIO.new(__FILE__, "text/plain")) - end - - def test_file_with_modified_string - assert !Parts::Part.file?(@string_with_content_type.new("Hello")) - end - - def test_new_with_modified_string - assert_kind_of Parts::ParamPart, - Parts::Part.new("boundary", "multibyte", @string_with_content_type.new("Hello")) - end -end - -class FilePartTest < Test::Unit::TestCase - include AssertPartLength - - def setup - File.open(TEMP_FILE, "w") {|f| f << "1234567890"} - io = UploadIO.new(TEMP_FILE, "text/plain") - @part = Parts::FilePart.new("boundary", "afile", io) - end - - def teardown - File.delete(TEMP_FILE) rescue nil - end - - def test_correct_length - assert_part_length @part - end - - def test_multibyte_file_length - assert_part_length Parts::FilePart.new("boundary", "multibyte", UploadIO.new(MULTIBYTE, "text/plain")) - end - - def test_multibyte_filename - name = File.read(MULTIBYTE, 300) - file = Tempfile.new(name.respond_to?(:force_encoding) ? name.force_encoding("UTF-8") : name) - assert_part_length Parts::FilePart.new("boundary", "multibyte", UploadIO.new(file, "text/plain")) - file.close - end -end - -class ParamPartTest < Test::Unit::TestCase - include AssertPartLength - - def setup - @part = Parts::ParamPart.new("boundary", "multibyte", File.read(MULTIBYTE)) - end - - def test_correct_length - assert_part_length @part - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/alphred-1.1.1.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/alphred-1.1.1.gemspec deleted file mode 100644 index 936837b..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/alphred-1.1.1.gemspec +++ /dev/null @@ -1,37 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "alphred" - s.version = "1.1.1" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Alpha Chen"] - s.date = "2015-11-05" - s.email = ["alpha.chen@gmail.com"] - s.homepage = "https://github.com/kejadlen/alph" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "Helper utilities for making Alfred workflows." - - if s.respond_to? :specification_version then - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, ["~> 3.2"]) - s.add_development_dependency(%q, ["~> 1.10"]) - s.add_development_dependency(%q, ["~> 10.0"]) - s.add_development_dependency(%q, [">= 0"]) - else - s.add_dependency(%q, ["~> 3.2"]) - s.add_dependency(%q, ["~> 1.10"]) - s.add_dependency(%q, ["~> 10.0"]) - s.add_dependency(%q, [">= 0"]) - end - else - s.add_dependency(%q, ["~> 3.2"]) - s.add_dependency(%q, ["~> 1.10"]) - s.add_dependency(%q, ["~> 10.0"]) - s.add_dependency(%q, [">= 0"]) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec deleted file mode 100644 index 5a2853d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/builder-3.2.2.gemspec +++ /dev/null @@ -1,20 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "builder" - s.version = "3.2.2" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Jim Weirich"] - s.date = "2013-06-01" - s.description = "Builder provides a number of builder objects that make creating structured data\nsimple to do. Currently the following builder objects are supported:\n\n* XML Markup\n* XML Events\n" - s.email = "jim.weirich@gmail.com" - s.extra_rdoc_files = ["CHANGES", "MIT-LICENSE", "README.md", "Rakefile", "doc/releases/builder-1.2.4.rdoc", "doc/releases/builder-2.0.0.rdoc", "doc/releases/builder-2.1.1.rdoc"] - s.files = ["CHANGES", "MIT-LICENSE", "README.md", "Rakefile", "doc/releases/builder-1.2.4.rdoc", "doc/releases/builder-2.0.0.rdoc", "doc/releases/builder-2.1.1.rdoc"] - s.homepage = "http://onestepback.org" - s.licenses = ["MIT"] - s.rdoc_options = ["--title", "Builder -- Easy XML Building", "--main", "README.rdoc", "--line-numbers"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "Builders for MarkUp." -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/faraday-0.9.2.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/faraday-0.9.2.gemspec deleted file mode 100644 index f77cd1d..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/faraday-0.9.2.gemspec +++ /dev/null @@ -1,28 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "faraday" - s.version = "0.9.2" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Rick Olson"] - s.date = "2015-10-05" - s.email = "technoweenie@gmail.com" - s.homepage = "https://github.com/lostisland/faraday" - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = "2.0.14" - s.summary = "HTTP/REST API client library." - - if s.respond_to? :specification_version then - s.specification_version = 3 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q, ["< 3", ">= 1.2"]) - else - s.add_dependency(%q, ["< 3", ">= 1.2"]) - end - else - s.add_dependency(%q, ["< 3", ">= 1.2"]) - end -end diff --git a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/multipart-post-2.0.0.gemspec b/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/multipart-post-2.0.0.gemspec deleted file mode 100644 index 21bff89..0000000 --- a/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.D0D5DB4B-1204-4DB1-BAB0-A1A122E8ABCA/vendor/bundle/ruby/2.0.0/specifications/multipart-post-2.0.0.gemspec +++ /dev/null @@ -1,19 +0,0 @@ -# -*- encoding: utf-8 -*- - -Gem::Specification.new do |s| - s.name = "multipart-post" - s.version = "2.0.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Nick Sieger"] - s.date = "2013-12-21" - s.description = "Use with Net::HTTP to do multipart form posts. IO values that have #content_type, #original_filename, and #local_path will be posted as a binary file." - s.email = ["nick@nicksieger.com"] - s.homepage = "https://github.com/nicksieger/multipart-post" - s.licenses = ["MIT"] - s.rdoc_options = ["--main", "README.md", "-SHN", "-f", "darkfish"] - s.require_paths = ["lib"] - s.rubyforge_project = "caldersphere" - s.rubygems_version = "2.0.14" - s.summary = "A multipart form post accessory for Net::HTTP." -end