yatapp 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d57882c06b5a26836d0ae6527ec73d595b838198
4
- data.tar.gz: be7eababe8e94a55f3b79a385c060c78b10300b9
3
+ metadata.gz: 5200403a78e7acd711275d6dada838fbe57d416c
4
+ data.tar.gz: cc684aa48838a2d86f59d0d6ab724c38ac3405f6
5
5
  SHA512:
6
- metadata.gz: f9a13183a3142c6faeb904378369f3cc286c94fe91b0c4bac4c0d1768d8311c06dd1222673902b885357820041a22e2b777b0e760521d74237b2f32d0fb1d448
7
- data.tar.gz: c51734a8c720f139629d296d6f12671752392d7c6d3ba84e8da74c9f7925a43d20d962db9255963703017355c44d19dd4e06fd83a44bbbcae1824c09a11880b3
6
+ metadata.gz: 663eeb97eeb640dc86a1d957b144e33045e03f07749a056d6958a3db67972e3f643c8dc2a2e95be358a883e9ec8b6a1b516fd71ade2e55b822fa099c3a705cbd
7
+ data.tar.gz: bd522fccdabdd2c0cf63924a3f9571ad15522a265f69d87254f28ca017266af76919a72cfe38b954a84230500b1367dca717b80cf5b6314a36db6a45c0618b10
data/README.md CHANGED
@@ -35,7 +35,7 @@ end
35
35
  yata_project do
36
36
  project_id 'your-project-id' # project id you wish to fetch from (you can find it under settings of your organization)
37
37
  languages ['en', 'de'] # add any languages you wish by language code
38
- format :json # format you wish to get files in, available for now are (yaml, js and json)
38
+ translations_format 'json' # format you wish to get files in, available for now are (yaml, js and json)
39
39
  end
40
40
 
41
41
  # another example of the same project, fetching js translation and saving it at custom path
@@ -46,7 +46,7 @@ end
46
46
  yata_project do
47
47
  project_id 'your-project-id' # project id you wish to fetch from (you can find it under settings of your organization)
48
48
  languages ['en', 'de'] # add any languages you wish by language code
49
- format :js # format you wish to get files in, available for now are (yaml, js and json)
49
+ translations_format 'js' # format you wish to get files in, available for now are (yaml, js and json)
50
50
  save_to_path "app/assets/javascripts/"
51
51
  end
52
52
 
@@ -1,6 +1,6 @@
1
1
  namespace :yata do
2
2
  desc "gets all the languages translations"
3
- task :fetch_translations do
3
+ task :fetch_translations => :environment do
4
4
  get_translations
5
5
  end
6
6
  end
@@ -1,3 +1,3 @@
1
1
  module Yatapp
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yatapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - luki3k5
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2016-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  requirements: []
127
127
  rubyforge_project:
128
- rubygems_version: 2.4.5
128
+ rubygems_version: 2.4.8
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: This gem allows for easy integration with Yata to fetch translation files