phrasing 2.1.3 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +11 -6
- data/README.md +28 -3
- data/app/assets/javascripts/editor.js +1 -9
- data/app/assets/javascripts/phrasing.js.erb +6 -2
- data/app/assets/javascripts/phrasing_engine.js +2 -0
- data/app/assets/stylesheets/phrasing.css.scss +5 -0
- data/app/assets/stylesheets/phrasing_edit_mode_bubble.css.scss +1 -1
- data/app/assets/stylesheets/phrasing_engine.css +583 -292
- data/app/controllers/phrasing_phrase_versions_controller.rb +9 -0
- data/app/controllers/phrasing_phrases_controller.rb +10 -4
- data/app/helpers/inline_helper.rb +23 -9
- data/app/models/phrasing_phrase.rb +24 -63
- data/app/models/phrasing_phrase_version.rb +3 -0
- data/app/views/layouts/phrasing.html.haml +1 -0
- data/app/views/phrasing/_menu.html.haml +3 -3
- data/app/views/phrasing_phrases/edit.html.haml +19 -3
- data/app/views/phrasing_phrases/index.html.haml +13 -10
- data/config/routes.rb +1 -0
- data/db/migrate/20120313191745_create_phrasing_phrases.rb +0 -1
- data/db/migrate/20131010101010_create_phrasing_phrase_versions.rb +9 -0
- data/lib/phrasing.rb +3 -1
- data/lib/phrasing/implementation.rb +5 -1
- data/lib/phrasing/version.rb +1 -1
- data/lib/tasks/phrasing_tasks.rake +26 -13
- data/phrasing.gemspec +5 -2
- metadata +59 -14
- checksums.yaml +0 -7
data/phrasing.gemspec
CHANGED
@@ -11,11 +11,14 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.homepage = "http://github.com/infinum/phrasing"
|
12
12
|
s.description = "Phrasing!"
|
13
13
|
s.authors = ['Tomislav Car', 'Damir Svrtan']
|
14
|
+
s.license = "MIT"
|
14
15
|
|
15
16
|
s.files = `git ls-files`.split("\n")
|
16
17
|
s.require_paths = ["lib"]
|
17
18
|
|
18
|
-
s.add_dependency
|
19
|
+
s.add_dependency "rails", [">= 3.1.0"]
|
19
20
|
s.add_dependency "railties", ">= 3.1"
|
20
|
-
s.add_dependency
|
21
|
+
s.add_dependency "haml-rails"
|
22
|
+
s.add_dependency "jquery-rails"
|
23
|
+
s.add_dependency "jquery-cookie-rails"
|
21
24
|
end
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phrasing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Tomislav Car
|
@@ -9,48 +10,86 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2013-
|
13
|
+
date: 2013-11-11 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rails
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
|
-
- - '>='
|
20
|
+
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
20
22
|
version: 3.1.0
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
|
-
- - '>='
|
28
|
+
- - ! '>='
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: 3.1.0
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: railties
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
|
-
- - '>='
|
36
|
+
- - ! '>='
|
33
37
|
- !ruby/object:Gem::Version
|
34
38
|
version: '3.1'
|
35
39
|
type: :runtime
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
|
-
- - '>='
|
44
|
+
- - ! '>='
|
40
45
|
- !ruby/object:Gem::Version
|
41
46
|
version: '3.1'
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: haml-rails
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
|
-
- - '>='
|
52
|
+
- - ! '>='
|
47
53
|
- !ruby/object:Gem::Version
|
48
54
|
version: '0'
|
49
55
|
type: :runtime
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
|
-
- - '>='
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: jquery-rails
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ! '>='
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: jquery-cookie-rails
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
type: :runtime
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
54
93
|
- !ruby/object:Gem::Version
|
55
94
|
version: '0'
|
56
95
|
description: Phrasing!
|
@@ -74,14 +113,17 @@ files:
|
|
74
113
|
- app/assets/javascripts/editor.js
|
75
114
|
- app/assets/javascripts/head.js
|
76
115
|
- app/assets/javascripts/phrasing.js.erb
|
116
|
+
- app/assets/javascripts/phrasing_engine.js
|
77
117
|
- app/assets/javascripts/spin.js
|
78
118
|
- app/assets/stylesheets/phrasing.css.scss
|
79
119
|
- app/assets/stylesheets/phrasing_edit_mode_bubble.css.scss
|
80
120
|
- app/assets/stylesheets/phrasing_engine.css
|
81
121
|
- app/assets/stylesheets/phrasing_fonts.css.scss
|
122
|
+
- app/controllers/phrasing_phrase_versions_controller.rb
|
82
123
|
- app/controllers/phrasing_phrases_controller.rb
|
83
124
|
- app/helpers/inline_helper.rb
|
84
125
|
- app/models/phrasing_phrase.rb
|
126
|
+
- app/models/phrasing_phrase_version.rb
|
85
127
|
- app/views/layouts/phrasing.html.haml
|
86
128
|
- app/views/phrasing/_initializer.html.haml
|
87
129
|
- app/views/phrasing/_menu.html.haml
|
@@ -93,6 +135,7 @@ files:
|
|
93
135
|
- app/views/phrasing_phrases/index.html.haml
|
94
136
|
- config/routes.rb
|
95
137
|
- db/migrate/20120313191745_create_phrasing_phrases.rb
|
138
|
+
- db/migrate/20131010101010_create_phrasing_phrase_versions.rb
|
96
139
|
- lib/phrasing.rb
|
97
140
|
- lib/phrasing/implementation.rb
|
98
141
|
- lib/phrasing/simple.rb
|
@@ -100,26 +143,28 @@ files:
|
|
100
143
|
- lib/tasks/phrasing_tasks.rake
|
101
144
|
- phrasing.gemspec
|
102
145
|
homepage: http://github.com/infinum/phrasing
|
103
|
-
licenses:
|
104
|
-
|
146
|
+
licenses:
|
147
|
+
- MIT
|
105
148
|
post_install_message:
|
106
149
|
rdoc_options: []
|
107
150
|
require_paths:
|
108
151
|
- lib
|
109
152
|
required_ruby_version: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
110
154
|
requirements:
|
111
|
-
- - '>='
|
155
|
+
- - ! '>='
|
112
156
|
- !ruby/object:Gem::Version
|
113
157
|
version: '0'
|
114
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
115
160
|
requirements:
|
116
|
-
- - '>='
|
161
|
+
- - ! '>='
|
117
162
|
- !ruby/object:Gem::Version
|
118
163
|
version: '0'
|
119
164
|
requirements: []
|
120
165
|
rubyforge_project:
|
121
|
-
rubygems_version:
|
166
|
+
rubygems_version: 1.8.23
|
122
167
|
signing_key:
|
123
|
-
specification_version:
|
168
|
+
specification_version: 3
|
124
169
|
summary: Edit phrases inline for Rails applications!
|
125
170
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 9f13fb0cd87e6860a842769f744435f3098c363b
|
4
|
-
data.tar.gz: d7722faba823f51a180358ee67dc3c79db503fe4
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: ed3b021e2a2f0718b0aac8b825dfacd8b46b7dd03908b30e30d2180d16c5c56d0d1db0fafa9d98299cb2808163d72af85f1678e42d00d3b68f47437b0c68f5c4
|
7
|
-
data.tar.gz: 830f58d0f02508ab970a860503cf0f2fb9740c63cb2be6e2396e2bbaebf22c8577e0e74eba0b585189972e72fca10466dae9ad157b30fd6c8d354ae1c9d65b7c
|