lolita-translation 0.8.3 → 0.8.4

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: f7aa43dced5530a40b2deabab0fceb0baba591a8
4
- data.tar.gz: 227db9d09d22602cf22342baeeab93f2cf9a092b
3
+ metadata.gz: a90db71d51a53ac68e76a67a0caec21b5186157c
4
+ data.tar.gz: 40100da57c0a1bbf4ca70b85fe831d6b3983ce60
5
5
  SHA512:
6
- metadata.gz: bc7eee49d7a56b20100adc92cc77a9b51a9c3ffed6852302e77338bbddbe50958eed05594d3545000558e777d1ecafcaa2f27640108234f573aad8fc7947f1a8
7
- data.tar.gz: dc739c872ec45cd8939c9a0994c4e972fcfd0b206522f3d5ec356ac92daeedde7e1a4ee2c334ebbef9ad3be2dc1c72223073ce61f8fc0cea49fe3eac00bbcea5
6
+ metadata.gz: 61ecdd4ac11738c3c719a23be9abd4ed143f5fab29516ef64dcdac9b35ade27ccf5dab14ee6618e80523fb154e26069dde151f443b3442f0d5c5de8eac0e9baa
7
+ data.tar.gz: 39e5206555933aa86db99c95b114d2c202fcbf587b7bee2972e7090a7b57bead1ad3f7e3ee4351302c073e4e54a52fc0bd012fefad03babc26799be5d3eabca7
data/Gemfile CHANGED
@@ -3,14 +3,15 @@ source "http://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  group :test do
6
- gem 'rails', '~> 3.2.14'
6
+ gem 'rails', '~> 3.2.21'
7
+ gem 'lolita', '~> 4.0'
7
8
  gem 'rspec-rails', '~> 2.14'
8
9
  gem 'ffaker', '~> 1.16.2'
9
10
  gem 'capybara', '~> 2.1'
10
- gem 'selenium-webdriver', '~> 2.38.0'
11
+ gem 'selenium-webdriver'
11
12
  gem 'sqlite3', '~> 1.3.7'
12
13
  gem 'byebug'
13
14
  gem 'simplecov'
14
15
  gem "coffee-rails"
15
16
  gem "pry-byebug"
16
- end
17
+ end
@@ -3,7 +3,7 @@ module Lolita
3
3
  module Version
4
4
  MAJOR = 0
5
5
  MINOR = 8
6
- PATCH = 3
6
+ PATCH = 4
7
7
  BUILD = nil
8
8
 
9
9
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
@@ -1,6 +1,8 @@
1
1
  require 'lolita-translation'
2
2
  require 'rake'
3
3
 
4
+ task :environment
5
+
4
6
  namespace :lolita_translation do
5
7
  desc "Synca all tables at once"
6
8
  task sync_tables: :environment do
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  ]
19
19
  s.licenses = ["MIT"]
20
20
 
21
- s.add_runtime_dependency(%q<lolita>, ["~> 3.2"])
21
+ s.add_runtime_dependency(%q<lolita>, [">= 3.2"])
22
22
  s.files = `git ls-files`.split("\n")
23
23
  s.test_files = `git ls-files -- {spec}/*`.split("\n")
24
24
  s.require_paths = ["lib"]
@@ -10,4 +10,4 @@ feature "In order to translate resource As system user I want to switch from ori
10
10
  end
11
11
  end
12
12
 
13
- end
13
+ end
@@ -21,7 +21,7 @@ describe "lolita_translation:sync_tables" do
21
21
  translations.should eq(%w(categories_translations posts_translations products_translations).sort)
22
22
  Lolita.mappings[:comment] = Lolita::Mapping.new(:comments)
23
23
  load(File.expand_path("lib/tasks/lolita_translation.rake"))
24
- Rake.application["lolita_translation:sync_tables"].invoke()
24
+ Rake::Task["lolita_translation:sync_tables"].invoke
25
25
  translations.should eq(%w(categories_translations posts_translations comments_translations products_translations).sort)
26
26
  end
27
- end
27
+ end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lolita-translation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ITHouse (Latvia) and Arturs Meisters
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-29 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lolita
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
27
  description: Lolita extension that allow users to change language and translate DB
@@ -33,8 +33,8 @@ extra_rdoc_files:
33
33
  - LICENSE.txt
34
34
  - README.md
35
35
  files:
36
- - .gitignore
37
- - .rspec
36
+ - ".gitignore"
37
+ - ".rspec"
38
38
  - Gemfile
39
39
  - LICENSE.txt
40
40
  - README.md
@@ -112,17 +112,17 @@ require_paths:
112
112
  - lib
113
113
  required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - '>='
120
+ - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.0.14
125
+ rubygems_version: 2.2.0
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: Lolita extension that add multilanguate support to Lolita.