applocale-ruby 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 992e5cd3f0948c9f7cb7a20d8937d6ec62e1bd2b9f009260ca18f01e8770868d
4
+ data.tar.gz: 27138c786bd8aa1cba40b574ec316f0b9ba0ac1ed8101f5a0f12d576ecd59417
5
+ SHA512:
6
+ metadata.gz: fbb57f422b89498e5e095d2ddbe24e578cc04c278e33fca46f6ddad75c05b2a2cb880b3f9cfa3a1d386f33a1e4cfabdc330c4884f73f2273c9ac2528e97742d7
7
+ data.tar.gz: 81d5b21b2dc7bcbd5b1d1abea9d4c6dea6058ba77b4d0b59af1b4ae43b647ad5b990b1bb7bedc476cd72a64e1ea3fb31cbc699753aa39f78458f969565007865
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /test/sample-locales
10
+
11
+ /config/applocale.yml
12
+ *.applocale.yml
@@ -0,0 +1,3 @@
1
+ # 0.0.10
2
+
3
+ - Initial public release, welcome to a better way to manage your app translations 👋
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at andrew@zerlex.net. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in applocale-ruby.gemspec
4
+ gemspec
@@ -0,0 +1,32 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ applocale-ruby (0.0.10)
5
+ httparty (~> 0.18.0)
6
+ thor (>= 0.18.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ httparty (0.18.0)
12
+ mime-types (~> 3.0)
13
+ multi_xml (>= 0.5.2)
14
+ mime-types (3.3.1)
15
+ mime-types-data (~> 3.2015)
16
+ mime-types-data (3.2020.0512)
17
+ minitest (5.14.0)
18
+ multi_xml (0.6.0)
19
+ rake (10.5.0)
20
+ thor (1.0.1)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ applocale-ruby!
27
+ bundler (~> 2.0)
28
+ minitest (~> 5.0)
29
+ rake (~> 10.0)
30
+
31
+ BUNDLED WITH
32
+ 2.0.2
@@ -0,0 +1,77 @@
1
+ # AppLocale
2
+
3
+ Welcome to AppLocale's Ruby gem. This gem helps customers of AppLocale.dev to easily pull down their
4
+ latest translations with a simple `bundle exec applocale pull`.
5
+
6
+ Getting started with AppLocale will give you a free 14-day trial.
7
+
8
+ ## Installation
9
+
10
+ ### With our RailsBytes application template:
11
+
12
+ This application template will install the gem for you, and walk you through setting up a configration file for your project. You'll need to login to your https://applocale.dev account, click on your avatar and click API Tokens to have the information ready for this step.
13
+
14
+ You should **always** review contents of scripts you run before hand, you may do so by visiting this url and reading the script: https://railsbytes.com/public/templates/X8Bsjj
15
+
16
+ ```
17
+ rails app:template LOCATION="https://railsbytes.com/script/X8Bsjj"
18
+ ```
19
+
20
+ ### Manually:
21
+
22
+ Add this line to your application's Gemfile:
23
+
24
+ ```ruby
25
+
26
+ group :development do
27
+ gem 'applocale-ruby'
28
+ end
29
+ ```
30
+
31
+ And then execute:
32
+
33
+ $ bundle
34
+
35
+ Or install it yourself as:
36
+
37
+ $ gem install applocale-ruby
38
+
39
+ Then follow the instructions in Usage to setup your configuration file.
40
+
41
+ ## Usage
42
+
43
+ Using AppLocale's gem requires a configuration file to be present. By default we assume this file to
44
+ live at `config/applocale.yml` but you can alternatively run each command with `--config-file=path-to-applocale.yml`
45
+
46
+ You'll need to login to your https://applocale.dev account, click on your avatar and click API Tokens to have the information ready for this step after creating an API Token and Project.
47
+
48
+ **Sample configuration file:**
49
+
50
+ ```yaml
51
+ applocale:
52
+ project_id: 234qfewaf
53
+ api_key: API_KEY_HERE
54
+ locale_directory: "config/locales" # Default, you can override this if you wish.
55
+ ```
56
+
57
+ Once you have your configuration file setup for your project you can proceed to use the following commands.
58
+
59
+ After that, to pull ALL your setup languages in AppLocale:
60
+
61
+ ```
62
+ bundle exec applocale pull
63
+ ```
64
+
65
+ Or just your specified languages:
66
+
67
+ ```
68
+ bundle exec applocale en es
69
+ ```
70
+
71
+ ## Contributing
72
+
73
+ Bug reports and pull requests are welcome on GitHub at https://github.com/applocale/applocale-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
74
+
75
+ ## Code of Conduct
76
+
77
+ Everyone interacting in the Applocale::Ruby project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/applocale/applocale-ruby/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,38 @@
1
+ lib = File.expand_path("lib", __dir__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "applocale/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "applocale-ruby"
7
+ spec.version = AppLocale::VERSION
8
+ spec.authors = ["Andrew Fomera"]
9
+ spec.email = ["andrew@zerlex.net"]
10
+
11
+ spec.summary = %q{Easily pull in your locales from AppLocale.dev}
12
+ spec.description = %q{Easily pull in your locales from AppLocale.dev}
13
+ spec.homepage = "https://applocale.dev"
14
+
15
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
16
+
17
+ spec.metadata["homepage_uri"] = spec.homepage
18
+ spec.metadata["source_code_uri"] = "https://github.com/applocale/applocale-ruby"
19
+ spec.metadata["changelog_uri"] = "https://github.com/applocale/applocale-ruby/blob/master/CHANGELOG.md"
20
+
21
+ # Specify which files should be added to the gem when it is released.
22
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ end
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.required_ruby_version = ">= 2.3.0"
31
+
32
+ spec.add_dependency 'httparty', '~> 0.18.0'
33
+ spec.add_dependency 'thor', '>= 0.18.0'
34
+
35
+ spec.add_development_dependency "bundler", "~> 2.0"
36
+ spec.add_development_dependency "rake", "~> 10.0"
37
+ spec.add_development_dependency "minitest", "~> 5.0"
38
+ end
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ $LOAD_PATH.unshift("#{__dir__}/../lib")
3
+
4
+ require "applocale/ruby"
5
+
6
+ AppLocale::Cli.start(ARGV)
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "applocale/ruby"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ $LOAD_PATH.unshift("#{__dir__}/../lib")
3
+
4
+ require "applocale/ruby"
5
+
6
+ AppLocale::Cli.start(ARGV)
@@ -0,0 +1,10 @@
1
+ module AppLocale
2
+ class BaseCommand
3
+ attr_accessor(:config, :options)
4
+
5
+ def initialize(config, options)
6
+ @config = config
7
+ @options = options
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,36 @@
1
+ require "thor"
2
+
3
+ module AppLocale
4
+ class Cli < ::Thor
5
+ class_option 'config-file',
6
+ default: "config/applocale.yml",
7
+ desc: "Customize the location of the config file"
8
+ class_option 'verbose',
9
+ type: :boolean,
10
+ desc: "Turn on additional logging, helpful for debugging."
11
+
12
+ desc "pull [en es]", "Downloads all translations, optionally pass specifc locales"
13
+ long_desc <<-LONGDESC
14
+ `applocale pull` will fetch all locales from AppLocale.
15
+
16
+ You can optionally specify language codes, which will only
17
+ fetch locales for those specifc languages.
18
+
19
+ > $ applocale pull en es de
20
+ LONGDESC
21
+ def pull(*languages)
22
+ AppLocale::Pull.new(config, options).call(languages)
23
+ end
24
+
25
+ desc "version", "Print the current version"
26
+ def version
27
+ puts "AppLocale Version: #{AppLocale::VERSION}"
28
+ end
29
+
30
+ private
31
+
32
+ def config
33
+ @config ||= AppLocale::Config.load(options['config-file'])
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,83 @@
1
+ require 'httparty'
2
+
3
+ module AppLocale
4
+ class Client
5
+ include HTTParty
6
+ attr_reader(:params)
7
+
8
+ def initialize(params = {})
9
+ @params = params
10
+ end
11
+
12
+ # Required params:
13
+ # - api_key
14
+ # - project_id
15
+ #
16
+ # Optionally:
17
+ # - locale
18
+ # pass single code of language for export
19
+ def export(language = nil)
20
+ request(:export, body: export_params(language))
21
+ end
22
+
23
+ def project_information
24
+ request(:project_show)
25
+ end
26
+
27
+ private
28
+
29
+ def project_id
30
+ params[:project_id]
31
+ end
32
+
33
+ def export_params(language)
34
+ export_params = { project_id: project_id }
35
+ if language
36
+ export_params.merge!(locale: language)
37
+ end
38
+ export_params
39
+ end
40
+
41
+ def request(action, body: {}, options: {})
42
+ HTTParty.send(
43
+ routes[action][:method],
44
+ routes[action][:endpoint],
45
+ base_payload(body, options)
46
+ ).parsed_response
47
+ end
48
+
49
+ # rubocop: disable Metrics/MethodLength
50
+ def routes
51
+ {
52
+ project_show: {
53
+ method: :get,
54
+ endpoint: "#{base_uri}/projects/#{project_id}"
55
+ },
56
+ export: {
57
+ method: :post,
58
+ endpoint: "#{base_uri}/exports"
59
+ }
60
+ }
61
+ end
62
+ # rubocop: enable Metrics/MethodLength
63
+
64
+ def base_payload(body = {}, options = {})
65
+ {
66
+ headers: {
67
+ 'Accept' => 'application/json',
68
+ 'Authorization' => "Bearer #{params[:api_key]}",
69
+ 'User-Agent' => "AppLocale-Ruby:#{AppLocale::VERSION}"
70
+ },
71
+ body: body
72
+ }.merge(options)
73
+ end
74
+
75
+ # Private: base_uri
76
+ #
77
+ def base_uri
78
+ return "http://localhost:5000/api/v1" if ENV['APPLOCALE_DEVELOPMENT']
79
+
80
+ "https://applocale.dev/api/v1"
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,58 @@
1
+ require "erb"
2
+ require "yaml"
3
+
4
+ module AppLocale
5
+ class Config
6
+ attr_accessor(:config_file, :configuration_data, :api_key, :project_id, :locale_directory)
7
+
8
+ def self.load(config_file)
9
+ new(config_file)
10
+ end
11
+
12
+ def initialize(config_file)
13
+ @config_file = config_file
14
+ parse_config_file!
15
+ @api_key = env_or_config_value('api_key')
16
+ @project_id = env_or_config_value('project_id')
17
+ @locale_directory = env_or_config_value('locale_directory', default: 'config/locales')
18
+ end
19
+
20
+ def parse_config_file!
21
+ validate_config_file!
22
+
23
+ file_content = File.read(config_file_path)
24
+ parsed_config_file = ERB.new(file_content).result
25
+ @configuration_data = YAML.load(parsed_config_file).dig("applocale") || {}
26
+ end
27
+
28
+ def validate_config_file!
29
+ unless File.exists?(config_file_path)
30
+ puts "[AppLocale] Error: #{config_file_path} does not exist."
31
+ exit 1
32
+ end
33
+
34
+ unless File.readable?(config_file_path)
35
+ puts "[AppLocale] Error: #{config_file_path} is not readable by AppLocale."
36
+ exit 1
37
+ end
38
+ end
39
+
40
+ private
41
+
42
+ def config_file_path
43
+ File.expand_path(config_file)
44
+ end
45
+
46
+ def env_or_config_value(key, required: true, default: nil)
47
+ value = ENV["APPLOCALE_#{key.upcase}"] || configuration_data.dig(key.to_s)
48
+ if required && (!value || value == "") && !default
49
+ raise ArgumentError, "Missing APPLOCALE_#{key.upcase} or key in config/applocale.yml"
50
+ end
51
+ value || default
52
+ end
53
+
54
+ def config_value_or_default(key, default: nil)
55
+ configuration_data.dig(key.to_s) || default
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,21 @@
1
+ require 'fileutils'
2
+
3
+ module AppLocale
4
+ class FileWriter < AppLocale::BaseCommand
5
+ def call(response)
6
+ create_locale_directory unless File.directory?(config.locale_directory)
7
+
8
+ relative_file_path = "#{config.locale_directory}/#{response.dig('language_code')}.yml"
9
+ file_path = File.expand_path(relative_file_path)
10
+ File.write(file_path, response.dig('yaml'))
11
+ puts "[AppLocale] ↳ Wrote translations for #{response.dig('language_code')} to #{relative_file_path}"
12
+ end
13
+
14
+ private
15
+
16
+ def create_locale_directory
17
+ FileUtils.mkdir_p(config.locale_directory)
18
+ puts "[AppLocale] Created #{config.locale_directory} directory"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,46 @@
1
+ module AppLocale
2
+ class Pull < AppLocale::BaseCommand
3
+ def call(languages)
4
+ # The user did not pass in specifc languages to ask AppLocale about.
5
+ # Let's fetch the languages for the project and then loop over them.
6
+ if languages.empty?
7
+ puts "[AppLocale] Fetching list of languages..."
8
+ response = client.project_information
9
+ if response.dig("success")
10
+ languages = response.dig("languages")
11
+ puts "[AppLocale] ↳ Received #{languages} from AppLocale..." if options[:verbose]
12
+ else
13
+ puts "[AppLocale] #{response.dig('message')}"
14
+ exit 1
15
+ end
16
+ end
17
+
18
+ if languages.any?
19
+ languages.each do |language_code|
20
+ puts "[AppLocale] Fetching translations for #{language_code}..."
21
+ response = client.export(language_code)
22
+ if response.dig("success")
23
+ puts "[AppLocale] ↳ Received #{response} from AppLocale" if options[:verbose]
24
+ AppLocale::FileWriter.new(config, options).call(response)
25
+ else
26
+ puts "[AppLocale] #{response.dig('message')}"
27
+ exit 1
28
+ end
29
+ end
30
+ else
31
+ puts "[AppLocale] Sorry, no languages were found for the project."
32
+ exit 1
33
+ end
34
+ end
35
+
36
+ private
37
+
38
+ def params
39
+ { api_key: config.api_key, project_id: config.project_id }
40
+ end
41
+
42
+ def client
43
+ @client ||= AppLocale::Client.new(params)
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,19 @@
1
+ # This ruby.rb file is required to keep the gem working properly since the
2
+ # applocale gem was already taken :(
3
+ # But we want to name our gem files AppLocale anyway and the commands the same.
4
+
5
+ require "applocale/version"
6
+ require "applocale/client"
7
+ require "applocale/cli"
8
+ require "applocale/config"
9
+
10
+ # BaseCommand holds configuration option used in various other classes
11
+ require "applocale/base_command"
12
+ require "applocale/pull"
13
+ require "applocale/file_writer"
14
+
15
+ module Applocale
16
+ module Ruby
17
+ class Error < StandardError; end
18
+ end
19
+ end
@@ -0,0 +1,3 @@
1
+ module AppLocale
2
+ VERSION = "0.0.10".freeze
3
+ end
metadata ADDED
@@ -0,0 +1,136 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: applocale-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.10
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Fomera
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.18.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.18.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.18.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 0.18.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: minitest
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '5.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '5.0'
83
+ description: Easily pull in your locales from AppLocale.dev
84
+ email:
85
+ - andrew@zerlex.net
86
+ executables:
87
+ - applocale
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - CHANGELOG.md
93
+ - CODE_OF_CONDUCT.md
94
+ - Gemfile
95
+ - Gemfile.lock
96
+ - README.md
97
+ - Rakefile
98
+ - applocale-ruby.gemspec
99
+ - bin/applocale
100
+ - bin/console
101
+ - bin/setup
102
+ - exe/applocale
103
+ - lib/applocale/base_command.rb
104
+ - lib/applocale/cli.rb
105
+ - lib/applocale/client.rb
106
+ - lib/applocale/config.rb
107
+ - lib/applocale/file_writer.rb
108
+ - lib/applocale/pull.rb
109
+ - lib/applocale/ruby.rb
110
+ - lib/applocale/version.rb
111
+ homepage: https://applocale.dev
112
+ licenses: []
113
+ metadata:
114
+ homepage_uri: https://applocale.dev
115
+ source_code_uri: https://github.com/applocale/applocale-ruby
116
+ changelog_uri: https://github.com/applocale/applocale-ruby/blob/master/CHANGELOG.md
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: 2.3.0
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ requirements: []
132
+ rubygems_version: 3.0.3
133
+ signing_key:
134
+ specification_version: 4
135
+ summary: Easily pull in your locales from AppLocale.dev
136
+ test_files: []