static_blocks 1.0.3 → 1.1.0

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.
@@ -21,4 +21,13 @@ feature "translations" do
21
21
  page.should_not have_content("wookie bar")
22
22
  end
23
23
 
24
+ scenario "should not have translations if globalize config false" do
25
+ page.should have_content("Import translations")
26
+ page.should have_content("Export translations")
27
+ StaticBlocks.config.globalize = false
28
+ visit "/static_blocks"
29
+ page.should_not have_content("Import translations")
30
+ page.should_not have_content("Export translations")
31
+ end
32
+
24
33
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-01 00:00:00.000000000 Z
12
+ date: 2013-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -279,6 +279,7 @@ files:
279
279
  - app/views/layouts/static_blocks/application.html.erb
280
280
  - app/views/static_blocks/snippets/new.html.erb
281
281
  - app/views/static_blocks/snippets/edit.html.erb
282
+ - app/views/static_blocks/snippets/_search.html.erb
282
283
  - app/views/static_blocks/snippets/_form.html.erb
283
284
  - app/views/static_blocks/snippets/show.html.erb
284
285
  - app/views/static_blocks/snippets/index.html.erb
@@ -367,7 +368,6 @@ files:
367
368
  - spec/dummy/tmp/capybara/capybara-201306271722471821301599.html
368
369
  - spec/dummy/tmp/capybara/capybara-201306271737422569974960.html
369
370
  - spec/dummy/tmp/capybara/capybara-201306271733118671160246.html
370
- - spec/dummy/tmp/cache/77F/2B0/snippet%3A%3Aen%3A%3Afoo
371
371
  - spec/dummy/tmp/cache/96E/0B0/static_block%3A%3Afoo%3A%3Aen
372
372
  - spec/dummy/tmp/cache/97D/2C0/static_block%3A%3Afoo%3A%3Awk
373
373
  - spec/dummy/tmp/cache/sass/4f0ce0b83bd09d93536268da405600ef1b98018d/bootstrap.scssc
@@ -408,7 +408,6 @@ files:
408
408
  - spec/dummy/tmp/cache/sass/cec3b0e976607689afac1fc85095e1fdcb40263a/_forms.scssc
409
409
  - spec/dummy/tmp/cache/sass/539156597b6c6280022503b5a967d95c6f1abc4c/static_blocks.css.scssc
410
410
  - spec/dummy/tmp/cache/sass/c406acb89bd590cc76375f46baeadeb0ce5cba8e/info.css.scssc
411
- - spec/dummy/tmp/cache/78E/D30/snippet%3A%3Awk%3A%3Afoo
412
411
  - spec/dummy/tmp/cache/assets/D6D/E40/sprockets%2F96988fa2bc8e98bcf908f897cd4f3582
413
412
  - spec/dummy/tmp/cache/assets/CBD/290/sprockets%2F7941ab3c9bc78f426e20c9095a659329
414
413
  - spec/dummy/tmp/cache/assets/CBD/B40/sprockets%2F0a00f98a83686470ee2838ef1c3c8693
@@ -507,7 +506,7 @@ rubyforge_project:
507
506
  rubygems_version: 1.8.25
508
507
  signing_key:
509
508
  specification_version: 3
510
- summary: Static Blocks is an ultra light-weight CMS for Ruby on Rails.
509
+ summary: Static Blocks is a light-weight CMS for Ruby on Rails.
511
510
  test_files:
512
511
  - spec/spec_helper.rb
513
512
  - spec/integration/translations_spec.rb
@@ -571,7 +570,6 @@ test_files:
571
570
  - spec/dummy/tmp/capybara/capybara-201306271722471821301599.html
572
571
  - spec/dummy/tmp/capybara/capybara-201306271737422569974960.html
573
572
  - spec/dummy/tmp/capybara/capybara-201306271733118671160246.html
574
- - spec/dummy/tmp/cache/77F/2B0/snippet%3A%3Aen%3A%3Afoo
575
573
  - spec/dummy/tmp/cache/96E/0B0/static_block%3A%3Afoo%3A%3Aen
576
574
  - spec/dummy/tmp/cache/97D/2C0/static_block%3A%3Afoo%3A%3Awk
577
575
  - spec/dummy/tmp/cache/sass/4f0ce0b83bd09d93536268da405600ef1b98018d/bootstrap.scssc
@@ -612,7 +610,6 @@ test_files:
612
610
  - spec/dummy/tmp/cache/sass/cec3b0e976607689afac1fc85095e1fdcb40263a/_forms.scssc
613
611
  - spec/dummy/tmp/cache/sass/539156597b6c6280022503b5a967d95c6f1abc4c/static_blocks.css.scssc
614
612
  - spec/dummy/tmp/cache/sass/c406acb89bd590cc76375f46baeadeb0ce5cba8e/info.css.scssc
615
- - spec/dummy/tmp/cache/78E/D30/snippet%3A%3Awk%3A%3Afoo
616
613
  - spec/dummy/tmp/cache/assets/D6D/E40/sprockets%2F96988fa2bc8e98bcf908f897cd4f3582
617
614
  - spec/dummy/tmp/cache/assets/CBD/290/sprockets%2F7941ab3c9bc78f426e20c9095a659329
618
615
  - spec/dummy/tmp/cache/assets/CBD/B40/sprockets%2F0a00f98a83686470ee2838ef1c3c8693
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372475822.8639858: @value"&I"Snippet for foo missing:EF
@@ -1 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372475824.3630154: @value"&I"Snippet for foo missing:EF