sinatra-assets_linker 2.0.0 → 2.0.1

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
- YjY4YjZhYTZmY2NmYTlmNGQwNWU4OTZkZTQwNDI1N2MyNzkyMmFhMw==
4
+ Mzk4OGVlMjUxYzhiZjZlNzQxMmY1MTUyZTI0OWVkOGRhNmMyNTE3OQ==
5
5
  data.tar.gz: !binary |-
6
- N2JlNzMwMWU3NWJjNmUyMTdjODVmOWE1N2JjZDdmZDdlY2UxZTk2Nw==
6
+ YjQ2YzZjMzIzOWVlZjE4MDhmM2U5ZDFlOTJmMDAwNzMyZjkzZTAxNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGI0YWE3NDA4Njk2NmIyZTQ4ZjU1OTc5OTA3OGE1NDhkMjVmMjhlY2Y5MDJj
10
- YWRiYmUwNmEzMmY5OWY2NTk2MjE5YjY0NzNhYWM2Y2Y2MzQzNWY3ZTE3NjY0
11
- MzRmM2NiZmNmNjIxYTIzZDFhMDA3NWI2NmJmNjVkN2U3NmRlN2M=
9
+ MGRlNmEwMmNlYWJlYjA3OTljY2U2OWQ4NmYwYzM1OTBkMjAxZDlkMjczYjgy
10
+ MWJjN2U1MDJjM2RmYTM4OWNhMzA3NjNkNDU4NDZiNDU5MzJlMjdkNmQ1ZDk2
11
+ YmFlNmZjYTQyMmI3OGVkNTkxYTNhNjIyOWQwODZlNTRmOTY3N2U=
12
12
  data.tar.gz: !binary |-
13
- ZGZkNTRhYjIzMGU4ZTI0YzA0MDQ0MmZiYjExZjY0NDlmM2EwYWIyYTMzMjUz
14
- ZWIwMzRlNDc0ZjQ1YmYwMzYzNGU1MjBkNWZmYWI1YzY1ZDg2MmM5NDZjY2Fm
15
- OWE5YzY3NDA0ZWMwOWE5NDg5MmFjMWU5OWE5NjgzZTMwYWI0NzA=
13
+ ZDhhZWI3ZGRhNmM4MzQ2MDE3NTdiYjdiMjI3Y2NmYzRkMmVhYmNmMjI2YTM0
14
+ ZjM0MmUzYzIyYmUwZWEzMWIzMzlmNDFhMmJkMTA5ZWY3MWEzZGQ1NzNlNGYz
15
+ OWFjNTJkYTI0N2JjNGU1OTdlNGYxNzQxZmUwOWM0YzI5OWEzMGE=
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ === 2.0.1 (2015.07.15)
2
+
3
+ * assets verbose points to javascripts dir, not to js dir
4
+
1
5
  === 2.0.0 (2015.07.04)
2
6
 
3
7
  * rename settings variables
data/README.md CHANGED
@@ -67,10 +67,10 @@ img_uri('file.jpg') # -> http://cdn.net/img_dir/file.jpg
67
67
  ## Configuration and defaults
68
68
 
69
69
  * :project_css_dir [stylesheets]
70
- * :project_js_dir [javascripts]
70
+ * :project_js_dir [javastripts]
71
71
  * :project_rjs_dir [js]
72
72
  * :project_cdn_url [nil]
73
- * :project_assets_env [development]
73
+ * :project_assets_verbose [false]
74
74
 
75
75
  ## Requirejs integration
76
76
 
@@ -29,7 +29,7 @@ module Sinatra
29
29
  def js_uri(file_name, add_script_name = true)
30
30
  js_dir = get_settings(:project_js_dir, "javascripts")
31
31
  rjs_dir = get_settings(:project_rjs_dir, "js")
32
- choosen_dir = get_settings(:project_assets_verbose, false) ? rjs_dir : js_dir
32
+ choosen_dir = get_settings(:project_assets_verbose, false) ? js_dir : rjs_dir
33
33
  generate_uri(choosen_dir, file_name, add_script_name)
34
34
  end
35
35
 
@@ -18,5 +18,5 @@
18
18
  # along with this program. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
  module SinatraAssetsLinker
21
- VERSION = "2.0.0"
21
+ VERSION = "2.0.1"
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-assets_linker
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Szymon Kopciewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-04 00:00:00.000000000 Z
11
+ date: 2015-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sinatra