crowdin-api 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/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 = ["Anton Maminov"]
6
- gem.email = ["anton.linux@gmail.com"]
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/mamantoha/crowdin-api"
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,3 @@
1
+ source :rubygems
2
+
3
+ gem 'crowdin-api', :path => '../'
@@ -0,0 +1,18 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ crowdin-api (0.0.8)
5
+ rest-client
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ mime-types (1.19)
11
+ rest-client (1.6.7)
12
+ mime-types (>= 1.16)
13
+
14
+ PLATFORMS
15
+ java
16
+
17
+ DEPENDENCIES
18
+ crowdin-api!
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Crowdin
2
2
  class API
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
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.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Anton Maminov
8
+ - Crowdin
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-05 00:00:00.000000000 Z
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
- - anton.linux@gmail.com
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/mamantoha/crowdin-api
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.24
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