haml-i18n-extractor 0.0.16 → 0.0.17

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjYzZTc2Yjc3NjllMWFhY2NmNTM3YjhmMWZjNzU2YjU1YzQ2N2Y1Yg==
4
+ ZmU2NmEwOTM0NDU5MGJhMjljNmM3YTY0MmQzNWYwZTAxNzJjNzI2ZQ==
5
5
  data.tar.gz: !binary |-
6
- ZDE5MDJiZjliOGI0YjQ2ZWQwNzYyYjU1NjU2OTE5ZDY4NDcwM2EzNQ==
6
+ NzE0OTIzMjBhODIwYjJhOWNhNWQ1OWYxYTY5ODQ0MDFlNzdiOTgwMg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Mjc0NzM0NmVkODVhZjBkNTFhNzc0NjliZmE1MzJjM2M5ODhjYTU0NTRlMzIx
10
- MmNkYTcxOTE4NTQzMWFlYTM3NTk2YzFiYzVhYjdjZDQxNjkyMjdiNDAwMzEx
11
- OWIwMTVmODljNDk2MDQyNWI5ZWE4MzUwYzM4NDNkMTdkYTNlOWU=
9
+ ZjNkMTgxY2NmMjVhZDVlYTU0ZGEwN2ZhNjUzMTIwZGZjODU0NmVlYjVkNWJk
10
+ YTVjYTQxMDQzZTQ2MGQ1YzhkYjc5ODUyN2IxMjAzMDhjZWJiYzBlY2U5Mzdl
11
+ MzcxMmY3NDdiMDMzMjVhMWQyYzkyODBmMDcxOTRlYWQwNTZmNDM=
12
12
  data.tar.gz: !binary |-
13
- MmRiNGRlNzJhNzU2YWJlODEyM2MwN2MyMzc4ZGY5YTU0NzQzOTg5MWNmNGFj
14
- ZDQ0YjAzODhmNGYxODlkZTQ0MDdkZWJhOWFhN2MwN2JmYTMyM2UyMWQ1OGYz
15
- ZDJmOTllOGRkYTMzOTgyYThiYjRjNjU1MjhkYzI5OTU2NDkwMWU=
13
+ MDllZWY1ODZhNWY3YWYxM2FjNTM3MTI1ZTk0ZDJjMTg1YzdlZTEwYzUyNTZm
14
+ MWMxOGE3ZDMxNDA4MmRiZTE4Y2YwZjY4YTllYTI4NDVjNDlmNzQ1MDU5NTlj
15
+ MDMyMmZjN2IwNDc2YTYyMTMwOGZjMTEwYWRhZjM3MjgwYzM1ZDE=
data/README.md CHANGED
@@ -33,6 +33,7 @@ Check out the quite brief movie/swf file demo of this lib's executable in `demo/
33
33
 
34
34
  [Demo](http://shairosenfeld.com/haml-i18n-extractor-demo.swf)
35
35
 
36
+ One thing missing there just added is the "tag" functionality, which enables you to tag a line you want to review for later, if you are unsure you want to replace it. It will create a list of /file/path:42 tags for you to go and revisit later.
36
37
 
37
38
  ## Example output
38
39
 
@@ -79,6 +79,7 @@ module Haml
79
79
 
80
80
  if user_action.tag?
81
81
  @tagging_tool.write(line_locale_hash[:path], line_no)
82
+ add_to_body("#{whitespace}#{orig_line}")
82
83
  elsif user_action.replace_line?
83
84
  append_to_locale_hash(line_no, line_locale_hash)
84
85
  add_to_body("#{whitespace}#{text_to_replace}")
@@ -1,7 +1,7 @@
1
1
  module Haml
2
2
  module I18n
3
3
  class Extractor
4
- VERSION = "0.0.16"
4
+ VERSION = "0.0.17"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-i18n-extractor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shai Rosenfeld
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-15 00:00:00.000000000 Z
11
+ date: 2013-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt