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 +8 -8
- data/Gemfile +2 -0
- data/Gemfile.lock +12 -0
- data/Rakefile +110 -108
- data/config/trustygems.yml +2 -0
- data/lib/trusty-rad-social-extension.rb +1 -1
- data/trusty-rad-social-extension.gemspec +2 -2
- metadata +11 -8
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGQ0OWIxNjNiNTRhMmZkNjQwZDEzYzU5YzUzNDc3Y2UyNWZjYzkwYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjMyMWIxNTU4ODVmOWVlMjM4NmU0MDAyMzc0ZWEzM2U1MTRhNjE4OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmZlZTBhZWVjNTZjYjZlZDI2Nzg4NTE2NDVjMTBlNjIyYjRkMDFkM2M1NDQ3
|
10
|
+
NDNkZTM3NjljMTgyZmU1MTcyOGQwYmE2ZWJhYTU0YTVlYTBiODg5ODRmMGY2
|
11
|
+
NjA3NzY2MzJkNGQ4NWQwYzE5MTg5ZjI2ZTZmY2ZkN2M2NGM1MTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2ZjNjU2Y2MxNDNhODI3YjYyNTE1ZjRkN2E4ZWEyZGRlNDc2ODIyMzlhNjIz
|
14
|
+
MjY0MjRjMzVmZWU0NzY0ZjE2YTQ4MzU5N2ZhZDkwMjIyZjIzMWYwODIwMDMw
|
15
|
+
MzA1YjU0MmIxODJkMTk4YmJlNzZjZjg1NDI3M2ExZTcwZDQ1OTA=
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/Rakefile
CHANGED
@@ -1,109 +1,111 @@
|
|
1
|
-
|
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
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
require
|
22
|
-
|
23
|
-
|
24
|
-
#
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
end
|
107
|
-
|
108
|
-
#
|
109
|
-
|
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 }
|
@@ -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", "~>
|
20
|
-
s.add_dependency "trusty-layouts-extension", "~>
|
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:
|
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-
|
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:
|
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:
|
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:
|
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:
|
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:
|
122
|
+
version: 1.3.1
|
120
123
|
requirements: []
|
121
124
|
rubyforge_project:
|
122
125
|
rubygems_version: 2.4.5
|