dhole 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ea3e26a872bf3ce473226958865031e61b0ff641
4
- data.tar.gz: cb07c43af5be8e7c40df298306ead5f4ba5d2eae
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTk0ODgwOTBmZmNhNTBiOGRhOWQzMTQwMjkwMTA4M2Q3OTFlNmEwNQ==
5
+ data.tar.gz: !binary |-
6
+ M2E1ZjQyYzFkYTNkZTYwNzhhYmVkNmRiMjQ0YWUxNmI0NmE0M2ViZQ==
5
7
  SHA512:
6
- metadata.gz: 94d54aa01271f823c4d56b15a2dabcd2b40f3f47cbcaa5a3781b8ca500207b6878665e86442c086f2863b0b6360af1a73c712082f43b550b394af1d1108750ae
7
- data.tar.gz: a2e11c56c6e24f2d681773cc9bf45f03c7bbbd8f96b869b73f22be3cebb5e2f6f5a7592f73b5727f0f7756fab95eae9e4cf5eb344f30c6adef50bacee1aef575
8
+ metadata.gz: !binary |-
9
+ NzQ4OGZkNzVmZGJkMmMwMDU0OWViM2U3NjYwYzJkMzVjN2NmOTNmN2U1YmQ1
10
+ ZTA4Y2FkYWY5MGMzM2JmYWFmMzY0ZWQwNjYyZjM1NWZhNzA3Y2ZmZDNkYmNj
11
+ YmM3YTMyMTBiN2VjZTViNDFjNDc5ZTZjMmYyNmVjYmRjYTVlNmY=
12
+ data.tar.gz: !binary |-
13
+ NTZhYmM2OWQ0MDQ4OGQ3YzAxY2Q0OTAzYzY2MjZhMzdmZTQwMDliYWY3NTM3
14
+ ZWNkZWNmZGVjMzFkZDc4YmEzYWQ0ZjhiN2FhMDQ5M2EyNGJjOTE3MDA3Nzg2
15
+ ZWRkMmQwNDY1YmJkODQ4ZTZiY2M3NWE5NGMxMWYyOWRmOTE5M2E=
@@ -10,6 +10,9 @@ module Dhole
10
10
  def member_pages
11
11
  members.select{|cl| cl.cl_type == 'page'}.map {|cl| Page.find(cl.cl_from)}
12
12
  end
13
+ def member_files
14
+ members.select{|cl| cl.cl_type == 'file'}.map {|cl| Image.find(cl.cl_from)}
15
+ end
13
16
  # return only members of specified type ('file','page', 'subcat')
14
17
  def members_by_type(mtype)
15
18
  # TBD
data/lib/dhole/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dhole
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dhole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Asaf Bartov
@@ -14,56 +14,56 @@ dependencies:
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activerecord
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
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
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: composite_primary_keys
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  description: ActiveRecord mapping of main Mediawiki entities and relationships
@@ -73,7 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - ".gitignore"
76
+ - .gitignore
77
77
  - Gemfile
78
78
  - LICENSE.txt
79
79
  - README.md
@@ -100,17 +100,17 @@ require_paths:
100
100
  - lib
101
101
  required_ruby_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
103
+ - - ! '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.4.3
113
+ rubygems_version: 2.1.11
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Mediawiki Object-Relational Mapping