tb_banners 1.2.0.beta1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77d69497d933e4e7d8b92513aef1b785d67fdee0
4
- data.tar.gz: 379864ece8c927552575a6bda6b161172492a805
3
+ metadata.gz: 0c852929b1637e62064e63bdd120059fa48c39c4
4
+ data.tar.gz: 460c049bdd6d53166a067a4a2c47a39a0b9e6109
5
5
  SHA512:
6
- metadata.gz: d4c75394cc35e6c9e43816f31fe477a9ed2047cc20f77193d47fbf8ed7cf0189939e72199cc6a09f35a79221ee6929f155d04d8beb8b3eee0adc5ff112d273cc
7
- data.tar.gz: 123e7574293cf224312fa1b5e080b73a0f18fe1914ad1991e1b57c3556f9e5509d9c78b4901df271278fc81111b4a73f0324b496031dd94db216cd9f5cd31b4d
6
+ metadata.gz: f28f0749dde9be8adee20c9341507185cfa080ccfe79f77b3c4957cce9575555801ca8137833113034376a47dfe4fd209add17468de336350555ff63ef71158c
7
+ data.tar.gz: 6f2ac71955140b0ed8e4576d7879690ebb1bc5969c0942fdb1c0152c7b27a5ef60fd6903c5db24ddb8a0d29c88aec18cc1a85455a2677c38f78310d1bdfd8ec4
@@ -24,6 +24,7 @@ TB Banners accepts the following configuration options:
24
24
  Spud::Banners.configure do |config|
25
25
  config.paperclip_storage = :filesystem #use :s3 to use s3 storage (aws gem required)
26
26
  config.s3_credentials = "#{Rails.root}/config/s3.yml"
27
+ config.s3_protocol = 'https'
27
28
  config.storage_path = ":rails_root/public/system/spud_banners/:id/:style/:basename.:extension"
28
29
  config.storage_url = "/system/spud_banners/:id/:style/:basename.:extension"
29
30
  end
@@ -48,7 +49,12 @@ A number of view helpers are provided for displaying banners in your templates.
48
49
 
49
50
  `spud_banners_for_set(set_or_identifier, options)`
50
51
 
51
- Accepts the banner set name as a String or Symbol and returns an html template. Options hash accepts a `:limit` parameter for limiting the number of banners returned. This helper also accepts a block argument for rendering custom html.
52
+ Accepts the banner set name as a String or Symbol and returns an html template. This helper also accepts a block argument for rendering custom html.
53
+
54
+ **Options:**
55
+
56
+ - `limit`: Limit how many banners you wish to render
57
+ - `background_image`: Pass `true` in order to render the banners as divs with css background images instead of image tags. Defaults to `false`. **This is required when rendering banners with rich text.**
52
58
 
53
59
  ```ruby
54
60
  spud_banner_tag(banner)
@@ -13,6 +13,7 @@ class SpudBanner < ActiveRecord::Base
13
13
  },
14
14
  :storage => Spud::Banners.paperclip_storage,
15
15
  :s3_credentials => Spud::Banners.s3_credentials,
16
+ :s3_protocol => Spud::Banners.s3_protocol,
16
17
  :url => Spud::Banners.storage_url,
17
18
  :path => Spud::Banners.storage_path
18
19
 
@@ -5,7 +5,7 @@ class SpudBannerSet < ActiveRecord::Base
5
5
  validates_uniqueness_of :name
6
6
  validates_numericality_of :width, :height
7
7
 
8
- acts_as_spud_liquid_tag :spud_banner_set, :name
8
+ acts_as_tb_liquid_tag :spud_banner_set, :name
9
9
 
10
10
  after_update :check_for_dimension_change
11
11
 
@@ -1,10 +1,11 @@
1
1
  module Spud
2
2
  module Banners
3
3
  include ActiveSupport::Configurable
4
- config_accessor :paperclip_storage, :s3_credentials, :storage_path, :storage_url
4
+ config_accessor :paperclip_storage, :s3_credentials, :storage_path, :storage_url, :s3_protocol
5
5
  self.paperclip_storage = :filesystem
6
6
  self.s3_credentials = "#{Rails.root}/config/s3.yml"
7
+ self.s3_protocol = 'https'
7
8
  self.storage_path = ":rails_root/public/system/spud_banners/:id/:style/:basename.:extension"
8
9
  self.storage_url = "/system/spud_banners/:id/:style/:basename.:extension"
9
10
  end
10
- end
11
+ end
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Banners
3
- VERSION = "1.2.0.beta1"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
- describe Admin::BannerSetsController do
3
+ describe Admin::BannerSetsController, :type => 'controller' do
4
4
 
5
5
  before(:each) do
6
6
  activate_authlogic
@@ -10,90 +10,89 @@ describe Admin::BannerSetsController do
10
10
  @user = SpudUserSession.create(u)
11
11
  end
12
12
 
13
- describe :index do
13
+ describe 'index' do
14
14
  it "should return an array of banner sets" do
15
15
  5.times do |x|
16
16
  banner_set = FactoryGirl.create(:spud_banner_set)
17
17
  end
18
18
  get :index
19
- assigns(:banner_sets).count.should be > 1
19
+ expect(assigns(:banner_sets).count).to be > 1
20
20
  end
21
21
  end
22
22
 
23
- describe :show do
23
+ describe 'show' do
24
24
  it "should respond with a banner set" do
25
25
  banner_set = FactoryGirl.create(:spud_banner_set)
26
26
  get :show, :id => banner_set.id
27
- assigns(:banner_set).should == banner_set
28
- response.should be_success
27
+ expect(assigns(:banner_set)).to eq(banner_set)
28
+ expect(response).to be_success
29
29
  end
30
30
 
31
31
  it "should redirect if banner set is not found" do
32
32
  get :show, :id => -1
33
- assigns(:banner_set).should be_blank
34
- response.should redirect_to admin_banner_sets_path
33
+ expect(assigns(:banner_set)).to be_blank
34
+ expect(response).to redirect_to admin_banner_sets_path
35
35
  end
36
36
  end
37
37
 
38
- describe :new do
38
+ describe 'new' do
39
39
  it "should respond with a banner set" do
40
40
  get :new
41
- assigns(:banner_set).should_not be_blank
42
- response.should be_success
41
+ expect(response).to be_success
43
42
  end
44
43
  end
45
44
 
46
- describe :create do
45
+ describe 'create' do
47
46
  it "should respond with a banner set" do
48
- lambda {
47
+ expect {
49
48
  post :create, :spud_banner_set => FactoryGirl.attributes_for(:spud_banner_set)
50
- }.should change(SpudBannerSet, :count).by(1)
51
- response.should be_success
49
+ }.to change(SpudBannerSet, :count).by(1)
50
+ expect(response).to be_success
52
51
  end
53
52
 
54
53
  it "should respond unsuccessfully if the banner set is invalid" do
55
- lambda {
54
+ expect {
56
55
  post :create, :spud_banner_set => {:name => '', :width => 'lorem', :height => 'ipsum'}
57
- }.should_not change(SpudBannerSet, :count)
56
+ }.to_not change(SpudBannerSet, :count)
58
57
  assert_response 422
59
58
  end
60
59
  end
61
60
 
62
- describe :edit do
61
+ describe 'edit' do
63
62
  it "should respond with a banner set" do
64
63
  banner_set = FactoryGirl.create(:spud_banner_set)
65
64
  get :edit, :id => banner_set.id
66
- assigns(:banner_set).should == banner_set
67
- response.should be_success
65
+ expect(assigns(:banner_set)).to eq(banner_set)
66
+ expect(response).to be_success
68
67
  end
69
68
  end
70
69
 
71
- describe :update do
70
+ describe 'update' do
72
71
  it "should update the banner set" do
73
72
  banner_set = FactoryGirl.create(:spud_banner_set)
74
73
  new_name = "Updated Set Name"
75
- lambda {
74
+ expect {
76
75
  put :update, :id => banner_set.id, :spud_banner_set => {:name => new_name}
77
76
  banner_set.reload
78
- }.should change(banner_set, :name).to(new_name)
77
+ }.to change(banner_set, :name).to(new_name)
79
78
  end
80
79
 
81
80
  it "should respond unsuccessfully if the updated banner set is invalid" do
82
81
  banner_set = FactoryGirl.create(:spud_banner_set)
83
- lambda {
82
+ expect {
84
83
  put :update, :id => banner_set.id, :spud_banner_set => {:name => '', :width => 'lorem', :height => 'ipsum'}
85
- }.should_not change(SpudBannerSet, :count)
84
+ }.to_not change(SpudBannerSet, :count)
86
85
  assert_response 422
87
86
  end
88
87
  end
89
88
 
90
- describe :destroy do
89
+ describe 'destroy' do
91
90
  it "should destroy the banner set and respond successfully" do
92
91
  banner_set = FactoryGirl.create(:spud_banner_set)
93
- lambda {
92
+ expect {
94
93
  delete :destroy, :id => banner_set.id
95
- }.should change(SpudBannerSet, :count).by(-1)
96
- response.should be_success
94
+ }.to change(SpudBannerSet, :count).by(-1)
95
+ expect(response).to be_success
97
96
  end
98
97
  end
99
98
 
@@ -9,7 +9,7 @@ Dummy::Application.configure do
9
9
  config.action_controller.perform_caching = true
10
10
 
11
11
  # Disable Rails's static asset server (Apache or nginx will already do this)
12
- config.serve_static_assets = false
12
+ config.serve_static_files = false
13
13
 
14
14
  # Compress JavaScripts and CSS
15
15
  config.assets.compress = true
@@ -8,7 +8,7 @@ Dummy::Application.configure do
8
8
  config.cache_classes = true
9
9
 
10
10
  # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
11
+ config.serve_static_files = true
12
12
  config.static_cache_control = "public, max-age=3600"
13
13
 
14
14
  # Deprecated
@@ -42,4 +42,6 @@ Dummy::Application.configure do
42
42
 
43
43
  # Print deprecation notices to the stderr
44
44
  config.active_support.deprecation = :stderr
45
+
46
+ config.active_record.raise_in_transactional_callbacks = true
45
47
  end
@@ -0,0 +1,71 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require 'spec_helper'
6
+ require 'authlogic_helper'
7
+ require 'rspec/rails'
8
+ require 'database_cleaner'
9
+ require 'simplecov'
10
+ require 'factory_girl_rails'
11
+
12
+ SimpleCov.start 'rails'
13
+
14
+ # Add additional requires below this line. Rails is not loaded until this point!
15
+
16
+ # Requires supporting ruby files with custom matchers and macros, etc, in
17
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
18
+ # run as spec files by default. This means that files in spec/support that end
19
+ # in _spec.rb will both be required and run as specs, causing the specs to be
20
+ # run twice. It is recommended that you do not name files matching this glob to
21
+ # end with _spec.rb. You can configure this pattern with the --pattern
22
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
23
+ #
24
+ # The following line is provided for convenience purposes. It has the downside
25
+ # of increasing the boot-up time by auto-requiring all files in the support
26
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
27
+ # require only the support files necessary.
28
+ #
29
+ # Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
30
+
31
+ # Checks for pending migrations before tests are run.
32
+ # If you are not using ActiveRecord, you can remove this line.
33
+ #ActiveRecord::Migration.maintain_test_schema!
34
+
35
+ RSpec.configure do |config|
36
+ config.raise_errors_for_deprecations!
37
+ config.infer_base_class_for_anonymous_controllers = false
38
+
39
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
40
+ # examples within a transaction, remove the following line or assign false
41
+ # instead of true.
42
+ config.use_transactional_fixtures = true
43
+
44
+ # RSpec Rails can automatically mix in different behaviours to your tests
45
+ # based on their file location, for example enabling you to call `get` and
46
+ # `post` in specs under `spec/controllers`.
47
+ #
48
+ # You can disable this behaviour by removing the line below, and instead
49
+ # explicitly tag your specs with their type, e.g.:
50
+ #
51
+ # RSpec.describe UsersController, :type => :controller do
52
+ # # ...
53
+ # end
54
+ #
55
+ # The different available types are documented in the features, such as in
56
+ # https://relishapp.com/rspec/rspec-rails/docs
57
+ # config.infer_spec_type_from_file_location!
58
+
59
+ # Clean the database as needed
60
+ # https://github.com/DatabaseCleaner/database_cleaner#rspec-example
61
+ config.before(:suite) do
62
+ DatabaseCleaner.strategy = :transaction
63
+ DatabaseCleaner.clean_with(:truncation)
64
+ end
65
+ config.around(:each) do |example|
66
+ DatabaseCleaner.cleaning do
67
+ example.run
68
+ end
69
+ end
70
+
71
+ end
@@ -1,40 +1,85 @@
1
- # Track code coverage
2
- require 'simplecov'
3
- SimpleCov.start 'rails' do
4
- # root "dummy/"
5
- add_filter "/factories/"
6
- end
1
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ RSpec.configure do |config|
18
+ # rspec-expectations config goes here. You can use an alternate
19
+ # assertion/expectation library such as wrong or the stdlib/minitest
20
+ # assertions if you prefer.
21
+ config.expect_with :rspec do |expectations|
22
+ # This option will default to `true` in RSpec 4. It makes the `description`
23
+ # and `failure_message` of custom matchers include text for helper methods
24
+ # defined using `chain`, e.g.:
25
+ # be_bigger_than(2).and_smaller_than(4).description
26
+ # # => "be bigger than 2 and smaller than 4"
27
+ # ...rather than:
28
+ # # => "be bigger than 2"
29
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
30
+ end
7
31
 
8
- # This file is copied to spec/ when you run 'rails generate rspec:install'
9
- ENV["RAILS_ENV"] = 'test'
10
- require File.expand_path("../dummy/config/environment", __FILE__)
11
- require 'rspec/rails'
12
- require 'rspec/autorun'
13
- require 'database_cleaner'
14
- require 'shoulda'
15
- require 'factory_girl'
16
- require 'mocha/setup'
32
+ # rspec-mocks config goes here. You can use an alternate test double
33
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
34
+ config.mock_with :rspec do |mocks|
35
+ # Prevents you from mocking or stubbing a method that does not exist on
36
+ # a real object. This is generally recommended, and will default to
37
+ # `true` in RSpec 4.
38
+ mocks.verify_partial_doubles = true
39
+ end
17
40
 
18
- # Requires supporting ruby files with custom matchers and macros, etc,
19
- # in spec/support/ and its subdirectories.
20
- ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
21
- Dir[File.join(ENGINE_RAILS_ROOT,"spec/support/**/*.rb"), File.join(ENGINE_RAILS_ROOT,"factories/*")].each {|f| require f}
41
+ # The settings below are suggested to provide a good initial experience
42
+ # with RSpec, but feel free to customize to your heart's content.
43
+ =begin
44
+ # These two settings work together to allow you to limit a spec run
45
+ # to individual examples or groups you care about by tagging them with
46
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
47
+ # get run.
48
+ config.filter_run :focus
49
+ config.run_all_when_everything_filtered = true
22
50
 
23
- RSpec.configure do |config|
24
- config.mock_with :mocha
25
- config.use_transactional_fixtures = true
26
- config.infer_base_class_for_anonymous_controllers = false
51
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
52
+ # For more details, see:
53
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
54
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
55
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
56
+ config.disable_monkey_patching!
27
57
 
28
- config.before(:suite) do
29
- DatabaseCleaner.strategy = :transaction
30
- DatabaseCleaner.clean_with(:truncation)
58
+ # Many RSpec users commonly either run the entire suite or an individual
59
+ # file, and it's useful to allow more verbose output when running an
60
+ # individual spec file.
61
+ if config.files_to_run.one?
62
+ # Use the documentation formatter for detailed output,
63
+ # unless a formatter has already been configured
64
+ # (e.g. via a command-line flag).
65
+ config.default_formatter = 'doc'
31
66
  end
32
67
 
33
- config.before(:each) do
34
- DatabaseCleaner.start
35
- end
68
+ # Print the 10 slowest examples and example groups at the
69
+ # end of the spec run, to help surface which specs are running
70
+ # particularly slow.
71
+ config.profile_examples = 10
36
72
 
37
- config.after(:each) do
38
- DatabaseCleaner.clean
39
- end
73
+ # Run specs in random order to surface order dependencies. If you find an
74
+ # order dependency and want to debug it, you can fix the order by providing
75
+ # the seed, which is printed after each run.
76
+ # --seed 1234
77
+ config.order = :random
78
+
79
+ # Seed global randomization in this process using the `--seed` CLI option.
80
+ # Setting this allows you to use `--seed` to deterministically reproduce
81
+ # test failures related to randomization by passing the same `--seed` value
82
+ # as the one that triggered the failure.
83
+ Kernel.srand config.seed
84
+ =end
40
85
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_banners
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.beta1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Westlake
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-30 00:00:00.000000000 Z
11
+ date: 2015-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '4.1'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '4.1'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: tb_core
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
- - - ">="
17
+ - - "~>"
32
18
  - !ruby/object:Gem::Version
33
- version: '1.2'
19
+ version: 1.3.0
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - ">="
24
+ - - "~>"
39
25
  - !ruby/object:Gem::Version
40
- version: '1.2'
26
+ version: 1.3.0
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: paperclip
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,104 +66,62 @@ dependencies:
80
66
  - - ">="
81
67
  - !ruby/object:Gem::Version
82
68
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rspec
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - '='
88
- - !ruby/object:Gem::Version
89
- version: 2.14.0
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '='
95
- - !ruby/object:Gem::Version
96
- version: 2.14.0
97
69
  - !ruby/object:Gem::Dependency
98
70
  name: rspec-rails
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - '='
102
- - !ruby/object:Gem::Version
103
- version: 2.14.0
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - '='
109
- - !ruby/object:Gem::Version
110
- version: 2.14.0
111
- - !ruby/object:Gem::Dependency
112
- name: shoulda
113
71
  requirement: !ruby/object:Gem::Requirement
114
72
  requirements:
115
73
  - - "~>"
116
74
  - !ruby/object:Gem::Version
117
- version: 3.0.1
75
+ version: 3.1.0
118
76
  type: :development
119
77
  prerelease: false
120
78
  version_requirements: !ruby/object:Gem::Requirement
121
79
  requirements:
122
80
  - - "~>"
123
81
  - !ruby/object:Gem::Version
124
- version: 3.0.1
82
+ version: 3.1.0
125
83
  - !ruby/object:Gem::Dependency
126
- name: factory_girl
84
+ name: factory_girl_rails
127
85
  requirement: !ruby/object:Gem::Requirement
128
86
  requirements:
129
87
  - - "~>"
130
88
  - !ruby/object:Gem::Version
131
- version: '3.0'
89
+ version: 4.5.0
132
90
  type: :development
133
91
  prerelease: false
134
92
  version_requirements: !ruby/object:Gem::Requirement
135
93
  requirements:
136
94
  - - "~>"
137
95
  - !ruby/object:Gem::Version
138
- version: '3.0'
96
+ version: 4.5.0
139
97
  - !ruby/object:Gem::Dependency
140
98
  name: database_cleaner
141
99
  requirement: !ruby/object:Gem::Requirement
142
100
  requirements:
143
- - - '='
144
- - !ruby/object:Gem::Version
145
- version: 1.0.0.RC1
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - '='
151
- - !ruby/object:Gem::Version
152
- version: 1.0.0.RC1
153
- - !ruby/object:Gem::Dependency
154
- name: mocha
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - '='
101
+ - - "~>"
158
102
  - !ruby/object:Gem::Version
159
- version: 0.14.0
103
+ version: 1.3.0
160
104
  type: :development
161
105
  prerelease: false
162
106
  version_requirements: !ruby/object:Gem::Requirement
163
107
  requirements:
164
- - - '='
108
+ - - "~>"
165
109
  - !ruby/object:Gem::Version
166
- version: 0.14.0
110
+ version: 1.3.0
167
111
  - !ruby/object:Gem::Dependency
168
112
  name: simplecov
169
113
  requirement: !ruby/object:Gem::Requirement
170
114
  requirements:
171
- - - ">="
115
+ - - "~>"
172
116
  - !ruby/object:Gem::Version
173
- version: '0'
117
+ version: 0.9.1
174
118
  type: :development
175
119
  prerelease: false
176
120
  version_requirements: !ruby/object:Gem::Requirement
177
121
  requirements:
178
- - - ">="
122
+ - - "~>"
179
123
  - !ruby/object:Gem::Version
180
- version: '0'
124
+ version: 0.9.1
181
125
  description: Banner Management engine for Twice Baked
182
126
  email:
183
127
  - greg@westlakedesign.com
@@ -226,6 +170,7 @@ files:
226
170
  - lib/spud_banners/version.rb
227
171
  - lib/tasks/spud_banners_tasks.rake
228
172
  - lib/tb_banners.rb
173
+ - spec/authlogic_helper.rb
229
174
  - spec/controllers/admin/banner_sets_controller_spec.rb
230
175
  - spec/dummy/README.rdoc
231
176
  - spec/dummy/Rakefile
@@ -269,8 +214,8 @@ files:
269
214
  - spec/dummy/public/500.html
270
215
  - spec/dummy/public/favicon.ico
271
216
  - spec/dummy/script/rails
217
+ - spec/rails_helper.rb
272
218
  - spec/spec_helper.rb
273
- - spec/support/authlogic_helper.rb
274
219
  homepage: http://bitbucket.org/westlakedesign/tb_banners
275
220
  licenses: []
276
221
  metadata: {}
@@ -285,16 +230,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
285
230
  version: '0'
286
231
  required_rubygems_version: !ruby/object:Gem::Requirement
287
232
  requirements:
288
- - - ">"
233
+ - - ">="
289
234
  - !ruby/object:Gem::Version
290
- version: 1.3.1
235
+ version: '0'
291
236
  requirements: []
292
237
  rubyforge_project:
293
- rubygems_version: 2.4.2
238
+ rubygems_version: 2.4.5
294
239
  signing_key:
295
240
  specification_version: 4
296
241
  summary: Twice Baked Banners
297
242
  test_files:
243
+ - spec/authlogic_helper.rb
298
244
  - spec/controllers/admin/banner_sets_controller_spec.rb
299
245
  - spec/dummy/app/assets/javascripts/application.js
300
246
  - spec/dummy/app/assets/stylesheets/application.css
@@ -338,5 +284,5 @@ test_files:
338
284
  - spec/dummy/Rakefile
339
285
  - spec/dummy/README.rdoc
340
286
  - spec/dummy/script/rails
287
+ - spec/rails_helper.rb
341
288
  - spec/spec_helper.rb
342
- - spec/support/authlogic_helper.rb