phrase 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,4 +1,20 @@
1
1
  *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
2
18
  .phrase
3
19
  .DS_Store
4
- /phrase/
20
+ /phrase
data/Gemfile CHANGED
@@ -1,12 +1,3 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
- gem 'json'
4
- gem "activesupport", :require => "active_support"
5
- gem 'addressable'
6
-
7
- group :test do
8
- gem 'rspec'
9
- gem 'i18n'
10
- gem 'webmock'
11
- gem 'vcr'
12
- end
3
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Dynport GmbH
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,15 +1,7 @@
1
1
  # phrase
2
2
 
3
- ### Installation and usage
3
+ Powerful in-place translation management for your web applications.
4
4
 
5
- gem install phrase
6
-
7
- phrase Prints usage
8
-
9
- phrase init --secret=<YOUR SECRET>
10
- phrase push [FILE_NAME]
11
- phrase pull LOCALE
12
-
13
- ### More Information
5
+ ## More Information
14
6
 
15
7
  https://phraseapp.com
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
@@ -43,6 +43,7 @@ module Phrase
43
43
 
44
44
  autoload :ViewHelpers, 'phrase/view_helpers'
45
45
 
46
+ require 'phrase/version'
46
47
  require 'phrase/engine'
47
48
  require 'phrase/backend'
48
49
  end
@@ -1,3 +1,3 @@
1
1
  module Phrase
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -17,8 +17,14 @@ Gem::Specification.new do |s|
17
17
  s.rubyforge_project = "phrase"
18
18
  git_files = `git ls-files | grep -v spec/`.split("\n") rescue ''
19
19
  s.files = git_files
20
+ s.test_files = s.files.grep(%r{^(spec)/})
20
21
  s.executables = %w(phrase)
21
22
  s.require_paths = ["lib"]
22
23
  s.add_dependency('activesupport', '~> 3.0')
23
24
  s.add_dependency('addressable', '~> 2.2.8')
25
+ s.add_dependency('json')
26
+ s.add_development_dependency('rspec')
27
+ s.add_development_dependency('i18n')
28
+ s.add_development_dependency('webmock')
29
+ s.add_development_dependency('vcr')
24
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-08 00:00:00.000000000 Z
12
+ date: 2012-08-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70308573413560 !ruby/object:Gem::Requirement
16
+ requirement: &70280207261720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70308573413560
24
+ version_requirements: *70280207261720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: addressable
27
- requirement: &70308573428880 !ruby/object:Gem::Requirement
27
+ requirement: &70280207277380 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,62 @@ dependencies:
32
32
  version: 2.2.8
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70308573428880
35
+ version_requirements: *70280207277380
36
+ - !ruby/object:Gem::Dependency
37
+ name: json
38
+ requirement: &70280207276840 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70280207276840
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &70280207276380 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70280207276380
58
+ - !ruby/object:Gem::Dependency
59
+ name: i18n
60
+ requirement: &70280207275960 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70280207275960
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: &70280207275520 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70280207275520
80
+ - !ruby/object:Gem::Dependency
81
+ name: vcr
82
+ requirement: &70280207275080 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *70280207275080
36
91
  description: phrase allows you to edit translations in-place on the page itself. More
37
92
  information at phraseapp.com
38
93
  email:
@@ -45,7 +100,9 @@ files:
45
100
  - .gitignore
46
101
  - Gemfile
47
102
  - Gemfile.lock
103
+ - LICENSE
48
104
  - README.md
105
+ - Rakefile
49
106
  - bin/phrase
50
107
  - cacert.pem
51
108
  - lib/phrase.rb