rails_locale_sorter 0.0.2 → 0.0.3

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/.gitignore CHANGED
@@ -2,3 +2,5 @@
2
2
  .bundle
3
3
  Gemfile.lock
4
4
  pkg/*
5
+ spec/resources/out/*
6
+ spec/resources/src/*
@@ -57,7 +57,7 @@ module RailsLocaleSorter
57
57
  end
58
58
 
59
59
  me = OrderFact.convert_and_sort(me, true)
60
- File.open("#{@out}/__#{filename}", "w+") do |fw|
60
+ File.open("#{@out}/#{filename}", "w+") do |fw|
61
61
  fw.puts me.ya2yaml(:syck_compatible => true)
62
62
  end
63
63
  end
@@ -1,3 +1,3 @@
1
1
  module RailsLocaleSorter
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -19,7 +19,7 @@ describe RailsLocaleSorter::LocaleManager do
19
19
  it "writes blank keys for new values" do
20
20
  @lm.parse_to_yaml "src.yml"
21
21
 
22
- result = File.open("#{OUT_DIR}/__out.yml").read
22
+ result = File.open("#{OUT_DIR}/out.yml").read
23
23
  result.should include "source_only: ~"
24
24
  result.should include "src_only: ~"
25
25
  result.should include "out:"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_locale_sorter
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Wheeler
@@ -87,8 +87,6 @@ files:
87
87
  - spec/resources/locale_fixtures/src.yml
88
88
  - spec/resources/locale_tests/source.yml
89
89
  - spec/resources/locale_tests/target.yml
90
- - spec/resources/out/__out.yml
91
- - spec/resources/out/__src.yml
92
90
  - spec/resources/src/out.yml
93
91
  - spec/resources/src/src.yml
94
92
  - spec/rls-spec.rb
@@ -132,8 +130,6 @@ test_files:
132
130
  - spec/resources/locale_fixtures/src.yml
133
131
  - spec/resources/locale_tests/source.yml
134
132
  - spec/resources/locale_tests/target.yml
135
- - spec/resources/out/__out.yml
136
- - spec/resources/out/__src.yml
137
133
  - spec/resources/src/out.yml
138
134
  - spec/resources/src/src.yml
139
135
  - spec/rls-spec.rb
@@ -1,7 +0,0 @@
1
- ---
2
- out:
3
- date:
4
- src_only: ~
5
- text:
6
- both: ~
7
- source_only: ~
@@ -1,7 +0,0 @@
1
- ---
2
- src:
3
- date:
4
- src_only: Only
5
- text:
6
- both: Both
7
- source_only: "Source Only"