trusty-rad-social-extension 1.1.4 → 2.0.0.pre.beta

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YWIyOTc4ZWFiMTRjZTg2MDc2MDE5NjY4NDU5ODRlZjhmZjAyODkyYg==
4
+ NGQ0OWIxNjNiNTRhMmZkNjQwZDEzYzU5YzUzNDc3Y2UyNWZjYzkwYQ==
5
5
  data.tar.gz: !binary |-
6
- ZDA2Mzc3NTQyYTQyYjMyZTY4NTgwOTBkZmE3ZmM2ZDBlZDM4NWM3NQ==
6
+ MjMyMWIxNTU4ODVmOWVlMjM4NmU0MDAyMzc0ZWEzM2U1MTRhNjE4OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- Y2NiZGI2ZWQ1ZjM2MTM4YmMwOGQ0ZGUyOTA3ZTBiNzg0YmRjOWM0OGFjMDBk
10
- YTRiODc0YjVkMzNlNjM2MWM0Y2M4Y2MyZTRjZjg4NWU5M2JjYjZjMzFhZjZl
11
- MzExOThiMDFhNGQxMWUwMmUxM2NkODdiZDZiM2YzMjE0NjAwMWQ=
9
+ YmZlZTBhZWVjNTZjYjZlZDI2Nzg4NTE2NDVjMTBlNjIyYjRkMDFkM2M1NDQ3
10
+ NDNkZTM3NjljMTgyZmU1MTcyOGQwYmE2ZWJhYTU0YTVlYTBiODg5ODRmMGY2
11
+ NjA3NzY2MzJkNGQ4NWQwYzE5MTg5ZjI2ZTZmY2ZkN2M2NGM1MTc=
12
12
  data.tar.gz: !binary |-
13
- NWUzNzQ1MTRhNGU2NWNmMmRhZDQwMTJjOWI2YWZkMDZiNjQ0ZGMxZGM1YWEz
14
- M2ZlNDAxNGE1ZGY1NzI3OWU4NjUxMGQ2OTUzMGY0OGY0Y2QyMjM1MjRkZGNh
15
- YzU2ZjAyNTI0NjJlZmNkZDgwMTI3YTc2N2IwZDk5ODNjM2RjNmY=
13
+ Y2ZjNjU2Y2MxNDNhODI3YjYyNTE1ZjRkN2E4ZWEyZGRlNDc2ODIyMzlhNjIz
14
+ MjY0MjRjMzVmZWU0NzY0ZjE2YTQ4MzU5N2ZhZDkwMjIyZjIzMWYwODIwMDMw
15
+ MzA1YjU0MmIxODJkMTk4YmJlNzZjZjg1NDI3M2ExZTcwZDQ1OTA=
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gem 'trustygems', '~> 0.1.0'
data/Gemfile.lock ADDED
@@ -0,0 +1,12 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ rake (10.4.2)
5
+ trustygems (0.1.0)
6
+ rake
7
+
8
+ PLATFORMS
9
+ ruby
10
+
11
+ DEPENDENCIES
12
+ trustygems (~> 0.1.0)
data/Rakefile CHANGED
@@ -1,109 +1,111 @@
1
- # Determine where the RSpec plugin is by loading the boot
2
- unless defined? RADIANT_ROOT
3
- ENV["RAILS_ENV"] = "test"
4
- case
5
- when ENV["RADIANT_ENV_FILE"]
6
- require File.dirname(ENV["RADIANT_ENV_FILE"]) + "/boot"
7
- when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
8
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../")}/config/boot"
9
- else
10
- require "#{File.expand_path(File.dirname(__FILE__) + "/../../../")}/config/boot"
11
- end
12
- end
1
+ require 'trustygems'
13
2
 
14
- require 'rake'
15
- require 'rdoc/task'
16
- require 'rake/testtask'
17
-
18
- rspec_base = File.expand_path(RADIANT_ROOT + '/vendor/plugins/rspec/lib')
19
- $LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base)
20
- require 'spec/rake/spectask'
21
- require 'cucumber'
22
- require 'cucumber/rake/task'
23
-
24
- # Cleanup the RADIANT_ROOT constant so specs will load the environment
25
- Object.send(:remove_const, :RADIANT_ROOT)
26
-
27
- extension_root = File.expand_path(File.dirname(__FILE__))
28
-
29
- task :default => [:spec, :features]
30
- task :stats => "spec:statsetup"
31
-
32
- desc "Run all specs in spec directory"
33
- Spec::Rake::SpecTask.new(:spec) do |t|
34
- t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
35
- t.spec_files = FileList['spec/**/*_spec.rb']
36
- end
37
-
38
- task :features => 'spec:integration'
39
-
40
- namespace :spec do
41
- desc "Run all specs in spec directory with RCov"
42
- Spec::Rake::SpecTask.new(:rcov) do |t|
43
- t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
44
- t.spec_files = FileList['spec/**/*_spec.rb']
45
- t.rcov = true
46
- t.rcov_opts = ['--exclude', 'spec', '--rails']
47
- end
48
-
49
- desc "Print Specdoc for all specs"
50
- Spec::Rake::SpecTask.new(:doc) do |t|
51
- t.spec_opts = ["--format", "specdoc", "--dry-run"]
52
- t.spec_files = FileList['spec/**/*_spec.rb']
53
- end
54
-
55
- [:models, :controllers, :views, :helpers].each do |sub|
56
- desc "Run the specs under spec/#{sub}"
57
- Spec::Rake::SpecTask.new(sub) do |t|
58
- t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
59
- t.spec_files = FileList["spec/#{sub}/**/*_spec.rb"]
60
- end
61
- end
62
-
63
- desc "Run the Cucumber features"
64
- Cucumber::Rake::Task.new(:integration) do |t|
65
- t.fork = true
66
- t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
67
- # t.feature_pattern = "#{extension_root}/features/**/*.feature"
68
- t.profile = "default"
69
- end
70
-
71
- # Setup specs for stats
72
- task :statsetup do
73
- require 'code_statistics'
74
- ::STATS_DIRECTORIES << %w(Model\ specs spec/models)
75
- ::STATS_DIRECTORIES << %w(View\ specs spec/views)
76
- ::STATS_DIRECTORIES << %w(Controller\ specs spec/controllers)
77
- ::STATS_DIRECTORIES << %w(Helper\ specs spec/views)
78
- ::CodeStatistics::TEST_TYPES << "Model specs"
79
- ::CodeStatistics::TEST_TYPES << "View specs"
80
- ::CodeStatistics::TEST_TYPES << "Controller specs"
81
- ::CodeStatistics::TEST_TYPES << "Helper specs"
82
- ::STATS_DIRECTORIES.delete_if {|a| a[0] =~ /test/}
83
- end
84
-
85
- namespace :db do
86
- namespace :fixtures do
87
- desc "Load fixtures (from spec/fixtures) into the current environment's database. Load specific fixtures using FIXTURES=x,y"
88
- task :load => :environment do
89
- require 'active_record/fixtures'
90
- ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
91
- (ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/) : Dir.glob(File.join(RAILS_ROOT, 'spec', 'fixtures', '*.{yml,csv}'))).each do |fixture_file|
92
- Fixtures.create_fixtures('spec/fixtures', File.basename(fixture_file, '.*'))
93
- end
94
- end
95
- end
96
- end
97
- end
98
-
99
- desc 'Generate documentation for the rad_social extension.'
100
- RDoc::Task.new(:rdoc) do |rdoc|
101
- rdoc.rdoc_dir = 'rdoc'
102
- rdoc.title = 'RadSocialExtension'
103
- rdoc.options << '--line-numbers' << '--inline-source'
104
- rdoc.rdoc_files.include('README')
105
- rdoc.rdoc_files.include('lib/**/*.rb')
106
- end
107
-
108
- # Load any custom rakefiles for extension
109
- Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
3
+ # # Determine where the RSpec plugin is by loading the boot
4
+ # unless defined? RADIANT_ROOT
5
+ # ENV["RAILS_ENV"] = "test"
6
+ # case
7
+ # when ENV["RADIANT_ENV_FILE"]
8
+ # require File.dirname(ENV["RADIANT_ENV_FILE"]) + "/boot"
9
+ # when File.dirname(__FILE__) =~ %r{vendor/radiant/vendor/extensions}
10
+ # require "#{File.expand_path(File.dirname(__FILE__) + "/../../../../../")}/config/boot"
11
+ # else
12
+ # require "#{File.expand_path(File.dirname(__FILE__) + "/../../../")}/config/boot"
13
+ # end
14
+ # end
15
+ #
16
+ # require 'rake'
17
+ # require 'rdoc/task'
18
+ # require 'rake/testtask'
19
+ #
20
+ # rspec_base = File.expand_path(RADIANT_ROOT + '/vendor/plugins/rspec/lib')
21
+ # $LOAD_PATH.unshift(rspec_base) if File.exist?(rspec_base)
22
+ # require 'spec/rake/spectask'
23
+ # require 'cucumber'
24
+ # require 'cucumber/rake/task'
25
+ #
26
+ # # Cleanup the RADIANT_ROOT constant so specs will load the environment
27
+ # Object.send(:remove_const, :RADIANT_ROOT)
28
+ #
29
+ # extension_root = File.expand_path(File.dirname(__FILE__))
30
+ #
31
+ # task :default => [:spec, :features]
32
+ # task :stats => "spec:statsetup"
33
+ #
34
+ # desc "Run all specs in spec directory"
35
+ # Spec::Rake::SpecTask.new(:spec) do |t|
36
+ # t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
37
+ # t.spec_files = FileList['spec/**/*_spec.rb']
38
+ # end
39
+ #
40
+ # task :features => 'spec:integration'
41
+ #
42
+ # namespace :spec do
43
+ # desc "Run all specs in spec directory with RCov"
44
+ # Spec::Rake::SpecTask.new(:rcov) do |t|
45
+ # t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
46
+ # t.spec_files = FileList['spec/**/*_spec.rb']
47
+ # t.rcov = true
48
+ # t.rcov_opts = ['--exclude', 'spec', '--rails']
49
+ # end
50
+ #
51
+ # desc "Print Specdoc for all specs"
52
+ # Spec::Rake::SpecTask.new(:doc) do |t|
53
+ # t.spec_opts = ["--format", "specdoc", "--dry-run"]
54
+ # t.spec_files = FileList['spec/**/*_spec.rb']
55
+ # end
56
+ #
57
+ # [:models, :controllers, :views, :helpers].each do |sub|
58
+ # desc "Run the specs under spec/#{sub}"
59
+ # Spec::Rake::SpecTask.new(sub) do |t|
60
+ # t.spec_opts = ['--options', "\"#{extension_root}/spec/spec.opts\""]
61
+ # t.spec_files = FileList["spec/#{sub}/**/*_spec.rb"]
62
+ # end
63
+ # end
64
+ #
65
+ # desc "Run the Cucumber features"
66
+ # Cucumber::Rake::Task.new(:integration) do |t|
67
+ # t.fork = true
68
+ # t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
69
+ # # t.feature_pattern = "#{extension_root}/features/**/*.feature"
70
+ # t.profile = "default"
71
+ # end
72
+ #
73
+ # # Setup specs for stats
74
+ # task :statsetup do
75
+ # require 'code_statistics'
76
+ # ::STATS_DIRECTORIES << %w(Model\ specs spec/models)
77
+ # ::STATS_DIRECTORIES << %w(View\ specs spec/views)
78
+ # ::STATS_DIRECTORIES << %w(Controller\ specs spec/controllers)
79
+ # ::STATS_DIRECTORIES << %w(Helper\ specs spec/views)
80
+ # ::CodeStatistics::TEST_TYPES << "Model specs"
81
+ # ::CodeStatistics::TEST_TYPES << "View specs"
82
+ # ::CodeStatistics::TEST_TYPES << "Controller specs"
83
+ # ::CodeStatistics::TEST_TYPES << "Helper specs"
84
+ # ::STATS_DIRECTORIES.delete_if {|a| a[0] =~ /test/}
85
+ # end
86
+ #
87
+ # namespace :db do
88
+ # namespace :fixtures do
89
+ # desc "Load fixtures (from spec/fixtures) into the current environment's database. Load specific fixtures using FIXTURES=x,y"
90
+ # task :load => :environment do
91
+ # require 'active_record/fixtures'
92
+ # ActiveRecord::Base.establish_connection(RAILS_ENV.to_sym)
93
+ # (ENV['FIXTURES'] ? ENV['FIXTURES'].split(/,/) : Dir.glob(File.join(RAILS_ROOT, 'spec', 'fixtures', '*.{yml,csv}'))).each do |fixture_file|
94
+ # Fixtures.create_fixtures('spec/fixtures', File.basename(fixture_file, '.*'))
95
+ # end
96
+ # end
97
+ # end
98
+ # end
99
+ # end
100
+ #
101
+ # desc 'Generate documentation for the rad_social extension.'
102
+ # RDoc::Task.new(:rdoc) do |rdoc|
103
+ # rdoc.rdoc_dir = 'rdoc'
104
+ # rdoc.title = 'RadSocialExtension'
105
+ # rdoc.options << '--line-numbers' << '--inline-source'
106
+ # rdoc.rdoc_files.include('README')
107
+ # rdoc.rdoc_files.include('lib/**/*.rb')
108
+ # end
109
+ #
110
+ # # Load any custom rakefiles for extension
111
+ # Dir[File.dirname(__FILE__) + '/tasks/*.rake'].sort.each { |f| require f }
@@ -0,0 +1,2 @@
1
+ gemspec: trusty-rad-social-extension.gemspec
2
+ deploy_command: gem push
@@ -1,5 +1,5 @@
1
1
  module TrustyRadSocialExtension
2
- VERSION = "1.1.4"
2
+ VERSION = "2.0.0-beta"
3
3
  SUMMARY = "Rad Social for Trusty CMS"
4
4
  DESCRIPTION = "Makes Trusty CMS better by adding rad_social!"
5
5
  URL = "http://example.com/rad_social"
@@ -16,8 +16,8 @@ Gem::Specification.new do |s|
16
16
  # Don't include a dependency on radiant itself: it causes problems when radiant is in vendor/radiant.
17
17
  # s.add_dependency "something", "~> 1.0.0"
18
18
  s.add_dependency "recaptcha", "~> 0.3.6"
19
- s.add_dependency "trusty-cms", "~> 1.2"
20
- s.add_dependency "trusty-layouts-extension", "~> 1.0"
19
+ s.add_dependency "trusty-cms", "~> 2.0.0-beta"
20
+ s.add_dependency "trusty-layouts-extension", "~> 2.0.0-beta"
21
21
 
22
22
  ignores = if File.exist?('.gitignore')
23
23
  File.read('.gitignore').split("\n").inject([]) {|a,p| a + Dir[p] }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-rad-social-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 2.0.0.pre.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Sipple
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-14 00:00:00.000000000 Z
11
+ date: 2015-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: recaptcha
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '1.2'
33
+ version: 2.0.0.pre.beta
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '1.2'
40
+ version: 2.0.0.pre.beta
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: trusty-layouts-extension
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: 2.0.0.pre.beta
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: 2.0.0.pre.beta
55
55
  description: Makes Trusty CMS better by adding rad_social!
56
56
  email:
57
57
  - sipple@trustarts.org
@@ -59,6 +59,8 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - Gemfile
63
+ - Gemfile.lock
62
64
  - README.md
63
65
  - Rakefile
64
66
  - app/assets/images/rad_social/ajax-loader-small.gif
@@ -89,6 +91,7 @@ files:
89
91
  - config/initializers/trusty_config.rb
90
92
  - config/locales/en.yml
91
93
  - config/routes.rb
94
+ - config/trustygems.yml
92
95
  - cucumber.yml
93
96
  - features/support/env.rb
94
97
  - features/support/paths.rb
@@ -114,9 +117,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
117
  version: '0'
115
118
  required_rubygems_version: !ruby/object:Gem::Requirement
116
119
  requirements:
117
- - - ! '>='
120
+ - - ! '>'
118
121
  - !ruby/object:Gem::Version
119
- version: '0'
122
+ version: 1.3.1
120
123
  requirements: []
121
124
  rubyforge_project:
122
125
  rubygems_version: 2.4.5