pebbles_audio_files 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.5
@@ -1,3 +1,3 @@
1
- Dir[File.dirname(__FILE__) + 'lib/**/*.rb'].each {|file| require file}
2
- Dir[File.dirname(__FILE__) + 'generators/**/*.rb'].each {|file| require file}
3
- Product.send(:include, PebblesAudioFiles::Models::Product)
1
+ module PebblesAudioFiles
2
+ Dir[File.dirname(__FILE__) + 'pebbles_audio_files/**/*.rb'].each {|file| require file}
3
+ end
@@ -5,7 +5,6 @@ module PebblesAudioFiles::Models
5
5
  base.send(:extend, ClassMethods)
6
6
  base.send(:include, InstanceMethods)
7
7
  base.class_eval do
8
- unloadable
9
8
  belongs_to :product
10
9
  end
11
10
  end
@@ -5,7 +5,6 @@ module PebblesAudioFiles::Models
5
5
  base.send(:extend, ClassMethods)
6
6
  base.send(:include, InstanceMethods)
7
7
  base.class_eval do
8
- unloadable
9
8
  has_many :audio_clips
10
9
  end
11
10
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pebbles_audio_files}
8
- s.version = "1.0.3"
8
+ s.version = "1.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Smith", "Bobby Wilson"]
@@ -24,6 +24,8 @@ Gem::Specification.new do |s|
24
24
  "lib/pebbles_audio_files/models/product.rb",
25
25
  "lib/pebbles_audio_files/tasks.rb",
26
26
  "pebbles_audio_files.gemspec",
27
+ "pkg/pebbles_audio_files-1.0.3.gem",
28
+ "pkg/pebbles_audio_files-1.0.4.gem",
27
29
  "rails/init.rb"
28
30
  ]
29
31
  s.homepage = %q{http://github.com/entryway/pebbles_audio_files}
@@ -1,4 +1,6 @@
1
- #require File.expand_path(File.dirname(__FILE__) + "/../pebbles_audio_files")
2
- require 'pebbles_audio_files'
3
- require 'rails_generator'
4
1
  Dir[File.dirname(__FILE__) + 'generators/**/*.rb'].each {|file| require file}
2
+
3
+ config.to_prepare do
4
+ require_dependency 'pebbles_audio_files'
5
+ Product.send(:include, PebblesAudioFiles::Models::Product)
6
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebbles_audio_files
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 5
10
+ version: 1.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Smith
@@ -40,6 +40,8 @@ files:
40
40
  - lib/pebbles_audio_files/models/product.rb
41
41
  - lib/pebbles_audio_files/tasks.rb
42
42
  - pebbles_audio_files.gemspec
43
+ - pkg/pebbles_audio_files-1.0.3.gem
44
+ - pkg/pebbles_audio_files-1.0.4.gem
43
45
  - rails/init.rb
44
46
  has_rdoc: true
45
47
  homepage: http://github.com/entryway/pebbles_audio_files