phrasing 3.2.5 → 3.2.6

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7beeef1b9f247721be61f1145d595bd4884a1e01
4
- data.tar.gz: 9ee46ef1833200480b81dfbd828f730ccaae03f4
3
+ metadata.gz: d97f8a533296f6b75d91eb43950857798e24fb50
4
+ data.tar.gz: 6f016b5c2e5d80b109bb5205e85e4114cb335516
5
5
  SHA512:
6
- metadata.gz: 631d19be4a4d954a1107a655ef7dcf9f6eb404e25c87dfa99cccc7a3c1aa5fb3f0e5de51b9656593a073fbb407f02d4671fb81f17333c7c8ce19347a2d92eccb
7
- data.tar.gz: a0db0d5598f7f6b554c7dd9179b581fb737432dbe0550fdb501315ceb86c36cc89fa8c01b87ff7292c6acdb97776af7e8bcb7cf260ae466aecc8e6948db26433
6
+ metadata.gz: ef6b52abbb184295b59973a1ec19f40aeb06be53e1780fd55a005a4a795cd4dd38f78ea0f14b8f9cb5f638a21371655346b458efb6c7d1122a5db4f441cdf16b
7
+ data.tar.gz: d1c565e1f216317d7c18755cd3cd3201695b6127d92bab56a52ff6509048961f8c627e04f70aac9ff957f80c7706460c821bfa2ac284ce9c320c4bc9f0959d07
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
+ - 1.9.3
3
4
  - 2.0.0
5
+ - 2.1.2
4
6
  env:
5
7
  - "RAILS_VERSION=3.2.0"
6
8
  - "RAILS_VERSION=4.0.0"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Phrasing Change Log
2
2
 
3
+ ## 3.2.6 (September 15th, 2014)
4
+
5
+ Show Home page only when view responds to :root_path.
6
+
3
7
  ## 3.2.5 (June 17th, 2014)
4
8
 
5
9
  Added index for phrasing_phrase_id in versions table.
data/Gemfile CHANGED
@@ -3,19 +3,13 @@ source "https://rubygems.org"
3
3
 
4
4
  gemspec
5
5
 
6
- rails_version = ENV["RAILS_VERSION"] || "default"
6
+ rails_version = ENV["RAILS_VERSION"] || "4.1.4"
7
7
 
8
- rails = case rails_version
9
- when "default"
10
- ">= 3.2.0"
11
- else
12
- "~> #{rails_version}"
13
- end
14
-
15
- gem "rails", rails
8
+ gem "rails", "~> #{rails_version}"
16
9
 
17
10
  gem 'factory_girl_rails'
18
11
  gem 'haml-rails'
19
12
  gem 'sqlite3'
20
13
  gem 'rspec-rails'
21
14
  gem 'capybara', '~> 2.2.0'
15
+ gem 'jasmine-rails'
data/Rakefile CHANGED
@@ -32,4 +32,4 @@ require 'rspec/core/rake_task'
32
32
  desc "Run all RSpec tests"
33
33
  RSpec::Core::RakeTask.new(:spec)
34
34
 
35
- task :default => :spec
35
+ task default: :spec
@@ -13,7 +13,7 @@ class PhrasingPhrasesController < ActionController::Base
13
13
  query = PhrasingPhrase
14
14
  query = query.order("#{query.table_name}.key")
15
15
  query = query.where(locale: params[:locale]) unless params[:locale].blank?
16
-
16
+
17
17
  if params[:search] and !params[:search].blank?
18
18
  key_like = PhrasingPhrase.arel_table[:key].matches("%#{params[:search]}%")
19
19
  value_like = PhrasingPhrase.arel_table[:value].matches("%#{params[:search]}%")
@@ -21,7 +21,7 @@ class PhrasingPhrasesController < ActionController::Base
21
21
  else
22
22
  @phrasing_phrases = query.where("value is not null") + query.where("value is null")
23
23
  end
24
-
24
+
25
25
  @locale_names = PhrasingPhrase.uniq.pluck(:locale)
26
26
  end
27
27
 
@@ -36,11 +36,11 @@ class PhrasingPhrasesController < ActionController::Base
36
36
 
37
37
  respond_to do |format|
38
38
  format.html do
39
- redirect_to phrasing_phrases_path, notice: "#{@phrasing_phrase.key} updated!"
39
+ redirect_to phrasing_phrases_path, notice: "#{@phrasing_phrase.key} updated!"
40
40
  end
41
41
 
42
42
  format.js do
43
- render :json => @phrasing_phrase
43
+ render json: @phrasing_phrase
44
44
  end
45
45
  end
46
46
  end
@@ -97,16 +97,16 @@ class PhrasingPhrasesController < ActionController::Base
97
97
 
98
98
  def remote_update_phrase
99
99
  klass, attribute = params[:klass], params[:attribute]
100
-
100
+
101
101
  if Phrasing.is_whitelisted?(klass, attribute)
102
102
  class_object = klass.classify.constantize
103
103
  @object = class_object.where(id: params[:id]).first
104
104
  @object.send("#{attribute}=",params[:new_value])
105
105
  @object.save!
106
- render :json => @object
106
+ render json: @object
107
107
  else
108
108
  render status: 403, text: "Attribute not whitelisted!"
109
- end
109
+ end
110
110
 
111
111
  rescue ActiveRecord::RecordInvalid => e
112
112
  render status: 403, text: e
@@ -2,10 +2,10 @@
2
2
  %html
3
3
  %head
4
4
  %title Phrasing
5
- = stylesheet_link_tag "phrasing_engine", :media => "all"
5
+ = stylesheet_link_tag "phrasing_engine", media: "all"
6
6
  = javascript_include_tag "phrasing_engine"
7
7
  = csrf_meta_tag
8
- %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
8
+ %meta{content: "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
9
9
  %body
10
10
  #page
11
11
  = render 'phrasing/production_warning' if Rails.env.production?
@@ -4,5 +4,5 @@
4
4
  %li= link_to "Phrases", phrasing_phrases_path
5
5
  %li= link_to "Import / Export", import_export_phrasing_phrases_path
6
6
  %li= link_to "Help", help_phrasing_phrases_path
7
- - if root_path
7
+ - if respond_to? :root_path
8
8
  %li= link_to "Home page", root_path
@@ -1,8 +1,8 @@
1
1
  .edit
2
2
  %h2= @phrasing_phrase.key
3
3
  = link_to "Delete Phrase", phrasing_phrase_path(@phrasing_phrase), class: "btn btn-danger delete-phrase", method: :delete, onclick: "return confirm('Are you sure?');"
4
- = form_for @phrasing_phrase, :url => { :action => "update" } do |f|
5
- = f.text_area :value, :rows => 12
4
+ = form_for @phrasing_phrase, url: { action: "update" } do |f|
5
+ = f.text_area :value, rows: 12
6
6
  = f.submit "Update", class: "btn btn-success submit-edit-phrase"
7
7
  %br
8
8
  - unless @phrasing_phrase.versions.empty?
@@ -3,8 +3,8 @@
3
3
  %p
4
4
  Upload a YAML (.yml) file following
5
5
  = succeed "." do
6
- %a{:href => "http://guides.rubyonrails.org/i18n.html"} I18n conventions
7
- = form_tag 'upload', :multipart => true, :'accept-charset' => 'UTF-8' do
6
+ %a{href: "http://guides.rubyonrails.org/i18n.html"} I18n conventions
7
+ = form_tag 'upload', multipart: true, :'accept-charset' => 'UTF-8' do
8
8
  = file_field_tag "file"
9
9
  = submit_tag "Upload"
10
10
 
@@ -1,8 +1,8 @@
1
1
  #search
2
- = form_tag phrasing_phrases_path, :method => :get do
2
+ = form_tag phrasing_phrases_path, method: :get do
3
3
  - locale_options = options_for_select([nil] + @locale_names.map{|l| [l,l]}, params[:locale])
4
4
  = select_tag 'locale', locale_options
5
- = text_field_tag :search, params[:search], :placeholder => 'Search for keys or values', :size => 40
5
+ = text_field_tag :search, params[:search], placeholder: 'Search for keys or values', size: 40
6
6
  = submit_tag 'Search', class: "btn btn-success"
7
7
  - if @phrasing_phrases.any?
8
8
  %table.all-phrases
data/config/routes.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  Rails.application.routes.draw do
2
- resources Phrasing.route, :as => 'phrasing_phrases', :controller => 'phrasing_phrases', :only => [:index, :edit, :update, :destroy] do
2
+ resources Phrasing.route, as: 'phrasing_phrases', controller: 'phrasing_phrases', only: [:index, :edit, :update, :destroy] do
3
3
  collection do
4
4
  get 'help'
5
5
  get 'import_export'
@@ -9,5 +9,5 @@ Rails.application.routes.draw do
9
9
  put 'remote_update_phrase'
10
10
  end
11
11
  end
12
- resources :phrasing_phrase_versions, :as => 'phrasing_phrase_versions', :controller => 'phrasing_phrase_versions', only: [:destroy]
12
+ resources :phrasing_phrase_versions, as: 'phrasing_phrase_versions', controller: 'phrasing_phrase_versions', only: [:destroy]
13
13
  end
data/lib/phrasing.rb CHANGED
@@ -9,7 +9,7 @@ require 'haml-rails'
9
9
  module Phrasing
10
10
  module Rails
11
11
  class Engine < ::Rails::Engine
12
- initializer :assets, :group => :all do
12
+ initializer :assets, group: :all do
13
13
  ::Rails.application.config.assets.paths << ::Rails.root.join('app', 'assets', 'fonts')
14
14
  ::Rails.application.config.assets.paths << ::Rails.root.join('app', 'assets', 'images')
15
15
  ::Rails.application.config.assets.precompile += ['editor.js', 'phrasing_engine.css', 'phrasing_engine.js', 'icomoon.dev.svg', 'icomoon.svg', 'icomoon.eot', 'icomoon.ttf', 'icomoon.woff', 'phrasing_icon_edit_all.png']
@@ -20,11 +20,11 @@ end
20
20
 
21
21
 
22
22
  module Phrasing
23
-
23
+
24
24
  mattr_accessor :allow_update_on_all_models_and_attributes
25
25
  mattr_accessor :route
26
26
  mattr_accessor :staging_server_endpoint
27
-
27
+
28
28
  @@route = 'phrasing'
29
29
 
30
30
  def self.log
@@ -41,7 +41,7 @@ module Phrasing
41
41
  end
42
42
 
43
43
  WHITELIST = "PhrasingPhrase.value"
44
-
44
+
45
45
  def self.whitelist
46
46
  if defined? @@whitelist
47
47
  @@whitelist + [WHITELIST]
@@ -1,3 +1,3 @@
1
1
  module Phrasing
2
- VERSION = "3.2.5"
2
+ VERSION = "3.2.6"
3
3
  end
@@ -9,7 +9,7 @@ Phrasing.whitelist = []
9
9
  # Phrasing.allow_update_on_all_models_and_attributes = true;
10
10
  CONFIG
11
11
 
12
- MODULE_FILE = <<-MODULE
12
+ MODULE_FILE = <<-MODULE
13
13
  module PhrasingHelper
14
14
  # You must implement the can_edit_phrases? method.
15
15
  # Example:
@@ -50,13 +50,13 @@ namespace :phrasing do
50
50
  filepath = Rails.root.join *%w(app helpers phrasing_helper.rb)
51
51
  if File.exists?(filepath)
52
52
  alert "Phrasing helper file already exists."
53
- else
53
+ else
54
54
  File.open(filepath, 'w') do |f|
55
55
  f << MODULE_FILE
56
56
  end
57
57
  notice "created", "app/helpers/phrasing_helper.rb"
58
58
  notice "Now run 'rake db:migrate'."
59
- end
59
+ end
60
60
  end
61
61
  end
62
62
 
data/phrasing.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.authors = ['Tomislav Car', 'Damir Svrtan']
14
14
  s.license = "MIT"
15
15
 
16
- s.files = `git ls-files`.split("\n")
16
+ s.files = `git ls-files`.split("\n")
17
17
  s.require_paths = ["lib"]
18
18
 
19
19
  s.add_dependency "rails", ">= 3.2.0"
@@ -23,6 +23,5 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency "jquery-cookie-rails"
24
24
  s.add_dependency "sass"
25
25
 
26
- s.add_development_dependency 'pry-debugger'
27
- s.add_development_dependency 'jasmine-rails'
26
+ s.add_development_dependency 'pry'
28
27
  end
@@ -1,3 +1,3 @@
1
1
  Dummy::Application.routes.draw do
2
- root :to => "site#index"
2
+ root to: "site#index"
3
3
  end
@@ -1,5 +1,4 @@
1
1
  #encoding: utf-8
2
- require 'pry-debugger'
3
2
  require 'spec_helper'
4
3
 
5
4
  feature "use #phrase" do
@@ -79,7 +78,7 @@ end
79
78
  feature "yaml" do
80
79
 
81
80
  describe 'on first visit value should be' do
82
-
81
+
83
82
  it "same as keys if there is no translation available" do
84
83
  visit root_path
85
84
  PhrasingPhrase.find_by_key('site.index.intro').value.should == 'site.index.intro'
@@ -1,6 +1,5 @@
1
1
  #encoding: utf-8
2
2
  require 'spec_helper'
3
- require 'pry-debugger'
4
3
 
5
4
  feature 'edit mode bubble' do
6
5
 
@@ -44,7 +43,7 @@ end
44
43
  feature "phrasing index" do
45
44
 
46
45
  before do
47
- FactoryGirl.create(:phrasing_phrase, :key => "foo", :value => "bar")
46
+ FactoryGirl.create(:phrasing_phrase, key: "foo", value: "bar")
48
47
  visit phrasing_phrases_path
49
48
  end
50
49
 
@@ -60,42 +59,42 @@ feature "phrasing index" do
60
59
  end
61
60
 
62
61
  it "allows search by key" do
63
- fill_in 'search', :with => 'foo'
62
+ fill_in 'search', with: 'foo'
64
63
  click_button 'Search'
65
64
  page.should have_content 'foo'
66
65
  page.should have_content 'bar'
67
66
  end
68
67
 
69
68
  it "allows search by key" do
70
- fill_in 'search', :with => 'xfoo'
69
+ fill_in 'search', with: 'xfoo'
71
70
  click_button 'Search'
72
71
  page.should_not have_content 'foo'
73
72
  page.should_not have_content 'bar'
74
73
  end
75
74
 
76
75
  it "allows search by value" do
77
- fill_in 'search', :with => 'bar'
76
+ fill_in 'search', with: 'bar'
78
77
  click_button 'Search'
79
78
  page.should have_content 'foo'
80
79
  page.should have_content 'bar'
81
80
  end
82
81
 
83
82
  it "allows search by value" do
84
- fill_in 'search', :with => 'xbar'
83
+ fill_in 'search', with: 'xbar'
85
84
  click_button 'Search'
86
85
  page.should_not have_content 'foo'
87
86
  page.should_not have_content 'bar'
88
87
  end
89
88
 
90
89
  it "searches in the middles of strings" do
91
- FactoryGirl.create(:phrasing_phrase, :key => "site.index.something")
92
- fill_in 'search', :with => 'index'
90
+ FactoryGirl.create(:phrasing_phrase, key: "site.index.something")
91
+ fill_in 'search', with: 'index'
93
92
  click_button 'Search'
94
93
  page.should have_content 'site.index.something'
95
94
  end
96
95
 
97
96
  it "can show all" do
98
- FactoryGirl.create(:phrasing_phrase, :key => "foe", :value => "beer")
97
+ FactoryGirl.create(:phrasing_phrase, key: "foe", value: "beer")
99
98
  click_button 'Search'
100
99
  page.should have_content 'foo'
101
100
  page.should have_content 'foe'
@@ -143,7 +142,7 @@ feature "phrasing index" do
143
142
  end
144
143
 
145
144
  it "blank locale, blank search" do
146
- select '', :from => 'locale'
145
+ select '', from: 'locale'
147
146
  click_button 'Search'
148
147
  page.should have_content 'bar1'
149
148
  page.should have_content 'bar2'
@@ -151,13 +150,13 @@ feature "phrasing index" do
151
150
  end
152
151
 
153
152
  it "blank locale, present search" do
154
- select '', :from => 'locale'
155
- fill_in 'search', :with => 'foo'
153
+ select '', from: 'locale'
154
+ fill_in 'search', with: 'foo'
156
155
  click_button 'Search'
157
156
  page.should have_content 'bar1'
158
157
  page.should have_content 'bar2'
159
158
  page.should have_content 'bar3'
160
- fill_in 'search', :with => 'fuu'
159
+ fill_in 'search', with: 'fuu'
161
160
  click_button 'Search'
162
161
  page.should_not have_content 'foo'
163
162
  end
@@ -169,17 +168,17 @@ feature "phrasing index" do
169
168
  end
170
169
 
171
170
  it "present locale, blank search" do
172
- select 'en', :from => 'locale'
171
+ select 'en', from: 'locale'
173
172
  click_button 'Search'
174
173
  page.should have_content 'bar1'
175
174
  page.should_not have_content 'bar2'
176
175
  page.should_not have_content 'bar3'
177
- select 'fa', :from => 'locale'
176
+ select 'fa', from: 'locale'
178
177
  click_button 'Search'
179
178
  page.should_not have_content 'bar1'
180
179
  page.should have_content 'bar2'
181
180
  page.should_not have_content 'bar3'
182
- select 'it', :from => 'locale'
181
+ select 'it', from: 'locale'
183
182
  click_button 'Search'
184
183
  page.should_not have_content 'bar1'
185
184
  page.should_not have_content 'bar2'
@@ -187,26 +186,26 @@ feature "phrasing index" do
187
186
  end
188
187
 
189
188
  it "present locale, present search" do
190
- select 'en', :from => 'locale'
191
- fill_in 'search', :with => 'foo'
189
+ select 'en', from: 'locale'
190
+ fill_in 'search', with: 'foo'
192
191
  click_button 'Search'
193
192
  page.should have_content 'bar1'
194
193
  page.should_not have_content 'bar2'
195
194
  page.should_not have_content 'bar3'
196
- select 'fa', :from => 'locale'
197
- fill_in 'search', :with => 'foo'
195
+ select 'fa', from: 'locale'
196
+ fill_in 'search', with: 'foo'
198
197
  click_button 'Search'
199
198
  page.should_not have_content 'bar1'
200
199
  page.should have_content 'bar2'
201
200
  page.should_not have_content 'bar3'
202
- select 'it', :from => 'locale'
203
- fill_in 'search', :with => 'foo'
201
+ select 'it', from: 'locale'
202
+ fill_in 'search', with: 'foo'
204
203
  click_button 'Search'
205
204
  page.should_not have_content 'bar1'
206
205
  page.should_not have_content 'bar2'
207
206
  page.should have_content 'bar3'
208
- select 'en', :from => 'locale'
209
- fill_in 'search', :with => 'fuu'
207
+ select 'en', from: 'locale'
208
+ fill_in 'search', with: 'fuu'
210
209
  click_button 'Search'
211
210
  page.should_not have_content 'foo'
212
211
  end
@@ -217,7 +216,7 @@ end
217
216
 
218
217
  feature "phrasing edit" do
219
218
  before do
220
- FactoryGirl.create(:phrasing_phrase, :key => "foo", :value => "bar")
219
+ FactoryGirl.create(:phrasing_phrase, key: "foo", value: "bar")
221
220
  visit phrasing_phrases_path
222
221
  end
223
222
  after do
@@ -225,24 +224,24 @@ feature "phrasing edit" do
225
224
  end
226
225
 
227
226
  scenario "visit edit form" do
228
- fill_in 'search', :with => 'foo'
227
+ fill_in 'search', with: 'foo'
229
228
  click_button 'Search'
230
229
  click_link 'foo'
231
- fill_in "phrasing_phrase[value]", :with => 'baz'
230
+ fill_in "phrasing_phrase[value]", with: 'baz'
232
231
  end
233
232
  end
234
233
 
235
234
  feature "phrasing update" do
236
235
  before do
237
- FactoryGirl.create(:phrasing_phrase, :key => "foo", :value => "bar")
236
+ FactoryGirl.create(:phrasing_phrase, key: "foo", value: "bar")
238
237
  visit phrasing_phrases_path
239
- fill_in 'search', :with => 'foo'
238
+ fill_in 'search', with: 'foo'
240
239
  click_button 'Search'
241
240
  click_link 'foo'
242
241
  end
243
242
 
244
243
  scenario "update" do
245
- fill_in "phrasing_phrase[value]", :with => 'baz'
244
+ fill_in "phrasing_phrase[value]", with: 'baz'
246
245
  click_button "Update"
247
246
  current_path.should == phrasing_phrases_path
248
247
  PhrasingPhrase.find_by_key("foo").value.should == 'baz'
@@ -256,11 +255,11 @@ feature "downloading and uploading yaml files" do
256
255
  end
257
256
 
258
257
  it "round-trips the YAML" do
259
- FactoryGirl.create(:phrasing_phrase, :key => "a.foo1", :value => "bar1")
260
- FactoryGirl.create(:phrasing_phrase, :key => "a.foo2:", :value => "bar2")
261
- FactoryGirl.create(:phrasing_phrase, :key => "a.b.foo3", :value => "bar3")
262
- FactoryGirl.create(:phrasing_phrase, :key => "c.foo4", :value => "bar4")
263
- FactoryGirl.create(:phrasing_phrase, :key => 2, :value => "bar5")
258
+ FactoryGirl.create(:phrasing_phrase, key: "a.foo1", value: "bar1")
259
+ FactoryGirl.create(:phrasing_phrase, key: "a.foo2:", value: "bar2")
260
+ FactoryGirl.create(:phrasing_phrase, key: "a.b.foo3", value: "bar3")
261
+ FactoryGirl.create(:phrasing_phrase, key: "c.foo4", value: "bar4")
262
+ FactoryGirl.create(:phrasing_phrase, key: 2, value: "bar5")
264
263
  assert PhrasingPhrase.count == 5
265
264
 
266
265
  visit import_export_phrasing_phrases_path
@@ -289,7 +288,7 @@ feature "downloading and uploading yaml files" do
289
288
 
290
289
  it "round-trips the yaml with complicated text" do
291
290
  value = "“hello world“ üokåa®fgsdf;::fs;kdf"
292
- FactoryGirl.create(:phrasing_phrase, :key => "a.foo", :value => value)
291
+ FactoryGirl.create(:phrasing_phrase, key: "a.foo", value: value)
293
292
 
294
293
  visit import_export_phrasing_phrases_path
295
294
  click_link 'Download as YAML'
@@ -1,6 +1,5 @@
1
1
  #encoding: utf-8
2
2
  require 'spec_helper'
3
- require 'pry-debugger'
4
3
 
5
4
  describe Phrasing::Serializer do
6
5
 
@@ -1,6 +1,5 @@
1
1
  #encoding: utf-8
2
2
  require 'spec_helper'
3
- require 'pry-debugger'
4
3
 
5
4
  describe PhrasingPhrase do
6
5
 
data/spec/spec_helper.rb CHANGED
@@ -3,6 +3,7 @@ require File.expand_path("../dummy/config/environment.rb", __FILE__)
3
3
  require 'rspec/rails'
4
4
  require 'capybara/rspec'
5
5
  require 'tempfile'
6
+ require 'pry'
6
7
 
7
8
  Dir["#{File.dirname(__FILE__)}/factories/**/*.rb"].each { |f| require f }
8
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrasing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.5
4
+ version: 3.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car
@@ -9,118 +9,104 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-17 00:00:00.000000000 Z
12
+ date: 2014-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.2.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.2.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: railties
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '3.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '3.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: haml-rails
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: jquery-rails
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: jquery-cookie-rails
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: sass
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
- name: pry-debugger
99
+ name: pry
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
- - !ruby/object:Gem::Dependency
113
- name: jasmine-rails
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - '>='
117
- - !ruby/object:Gem::Version
118
- version: '0'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - '>='
109
+ - - ">="
124
110
  - !ruby/object:Gem::Version
125
111
  version: '0'
126
112
  description: Phrasing!
@@ -129,8 +115,8 @@ executables: []
129
115
  extensions: []
130
116
  extra_rdoc_files: []
131
117
  files:
132
- - .gitignore
133
- - .travis.yml
118
+ - ".gitignore"
119
+ - ".travis.yml"
134
120
  - CHANGELOG.md
135
121
  - Gemfile
136
122
  - MIT-LICENSE
@@ -228,17 +214,17 @@ require_paths:
228
214
  - lib
229
215
  required_ruby_version: !ruby/object:Gem::Requirement
230
216
  requirements:
231
- - - '>='
217
+ - - ">="
232
218
  - !ruby/object:Gem::Version
233
219
  version: '0'
234
220
  required_rubygems_version: !ruby/object:Gem::Requirement
235
221
  requirements:
236
- - - '>='
222
+ - - ">="
237
223
  - !ruby/object:Gem::Version
238
224
  version: '0'
239
225
  requirements: []
240
226
  rubyforge_project:
241
- rubygems_version: 2.0.3
227
+ rubygems_version: 2.2.2
242
228
  signing_key:
243
229
  specification_version: 4
244
230
  summary: Edit phrases inline for Rails applications!