crowdin-api 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/crowdin-api.gemspec +3 -3
- data/examples/Gemfile +3 -0
- data/examples/Gemfile.lock +18 -0
- data/examples/project_info.rb +18 -0
- data/lib/crowdin-api/version.rb +1 -1
- metadata +9 -6
data/crowdin-api.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
require File.expand_path('../lib/crowdin-api/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["
|
6
|
-
gem.email = ["
|
5
|
+
gem.authors = ["Crowdin"]
|
6
|
+
gem.email = ["support@crowdin.net"]
|
7
7
|
gem.description = %q{The Crowdin Ruby Client is used to interact with the Crowdin API from Ruby}
|
8
8
|
gem.summary = %q{The Crowdin Ruby Client is used to interact with the Crowdin API from Ruby}
|
9
|
-
gem.homepage = "https://github.com/
|
9
|
+
gem.homepage = "https://github.com/crowdin/crowdin-cli"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
data/examples/Gemfile
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'bundler'
|
4
|
+
Bundler.setup :default
|
5
|
+
|
6
|
+
require 'crowdin-api'
|
7
|
+
require 'logger'
|
8
|
+
require 'pp'
|
9
|
+
|
10
|
+
puts Crowdin::API::VERSION
|
11
|
+
|
12
|
+
API_KEY = '79323cdcd6b4566154c4fb9c6bbd3be1'
|
13
|
+
PROJECT_ID = 'rubytestapi'
|
14
|
+
|
15
|
+
crowdin = Crowdin::API.new(:api_key => API_KEY, :project_id => PROJECT_ID)
|
16
|
+
crowdin.log = Logger.new $stderr
|
17
|
+
|
18
|
+
pp crowdin.project_info
|
data/lib/crowdin-api/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crowdin-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
|
-
-
|
8
|
+
- Crowdin
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
description: The Crowdin Ruby Client is used to interact with the Crowdin API from
|
31
31
|
Ruby
|
32
32
|
email:
|
33
|
-
-
|
33
|
+
- support@crowdin.net
|
34
34
|
executables: []
|
35
35
|
extensions: []
|
36
36
|
extra_rdoc_files: []
|
@@ -41,11 +41,14 @@ files:
|
|
41
41
|
- README.md
|
42
42
|
- Rakefile
|
43
43
|
- crowdin-api.gemspec
|
44
|
+
- examples/Gemfile
|
45
|
+
- examples/Gemfile.lock
|
46
|
+
- examples/project_info.rb
|
44
47
|
- lib/crowdin-api.rb
|
45
48
|
- lib/crowdin-api/errors.rb
|
46
49
|
- lib/crowdin-api/methods.rb
|
47
50
|
- lib/crowdin-api/version.rb
|
48
|
-
homepage: https://github.com/
|
51
|
+
homepage: https://github.com/crowdin/crowdin-cli
|
49
52
|
licenses: []
|
50
53
|
post_install_message:
|
51
54
|
rdoc_options: []
|
@@ -65,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
68
|
version: '0'
|
66
69
|
requirements: []
|
67
70
|
rubyforge_project:
|
68
|
-
rubygems_version: 1.8.
|
71
|
+
rubygems_version: 1.8.23
|
69
72
|
signing_key:
|
70
73
|
specification_version: 3
|
71
74
|
summary: The Crowdin Ruby Client is used to interact with the Crowdin API from Ruby
|